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