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

  • BigDawsVlogs

    BigDawsVlogs

    17 HAZİRAN 2013
  • Epic Tutorials for iPhone, iPad and iOS

    Epic Tutoria

    18 EYLÜL 2011
  • USI Events

    USI Events

    6 AĞUSTOS 2013