Ejemplo n.º 1
0
 public NMenuItem()
 {
     // This call is required by the Windows.Forms Form Designer.
     InitializeComponent();
     this.OwnerDraw = true;
     // TODO: Add any initialization after the InitializeComponent call
     m_ItemColors = new MenuItemColors(this);
 }
Ejemplo n.º 2
0
 public NMenuItem(String caption, Image image) : base()
 {
     m_Image      = image;
     this.Text    = caption;
     m_ItemColors = new MenuItemColors(this);
 }