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

  • Kanaal van Dj0fifty

    Kanaal van D

    28 EKİM 2011
  • Caramella Girls

    Caramella Gi

    19 Mayıs 2008
  • Theodore Leaf

    Theodore Lea

    29 AĞUSTOS 2006