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

  • Julia Graf

    Julia Graf

    6 Mayıs 2006
  • The Amazing Atheist

    The Amazing

    20 Kasım 2006
  • Thehalopianoplayer

    Thehalopiano

    4 ŞUBAT 2011