BeginGroup in C#?

ThienZ

Freshman
Joined
Feb 10, 2005
Messages
45
Location
Germany
i want to insert a line in a menu context. how can i do this? in VB it was the .BeginGroup attribute.

a cut from my code how i insert the menuitem :
C#:
contextMenutreeview.MenuItems.Add("Alle Unterbilder selektieren", 
	new System.EventHandler(this.SelectAllChildren));

Thx in advance :)
 
Ummmm create a menu item and put the text as a hyphen i.e. "-" (without quotes)

That's how you createa seperator in VB, i think it applies to C# as well.
 
Back
Top