示例#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);
 }
示例#2
0
 public NMenuItem(String caption, Image image) : base()
 {
     m_Image      = image;
     this.Text    = caption;
     m_ItemColors = new MenuItemColors(this);
 }