SORU
28 AĞUSTOS 2009, Cuma


Nasıl C Win bir menü için bir ayırıcı eklemek musun#?

Benim kontrolüm içinde, var:

ContextMenu = new ContextMenu();
ContextMenu.MenuItems.Add(new MenuItem("&Add Item", onAddSpeaker));
ContextMenu.MenuItems.Add(new MenuItem("&Edit Item", onEditSpeaker));
ContextMenu.MenuItems.Add(new MenuItem("&Delete Item", onDeleteSpeaker));
ContextMenu.MenuItems.Add( ??? );
ContextMenu.MenuItems.Add(new MenuItem("Cancel"));

Ben bir menü ayırıcı yapmak için içine ne koydun ?

CEVAP
28 AĞUSTOS 2009, Cuma


Sadece bir çizgi olduğuna inanıyorum:

ContextMenu.MenuItems.Add("-");

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Film Riot

    Film Riot

    16 NİSAN 2006
  • RomanAtwood

    RomanAtwood

    18 Kasım 2009
  • Valdorsha

    Valdorsha

    8 Mayıs 2006