public void Initialize(IMainForm Parent) { parent = Parent; // frm = new CodeSnippet(); frm.ParentMainForm = parent; frm.Name = FullName; frm.HideOnClose = true; // menu = new ToolStripMenuItem(); menu.Text = Name; menu.Click += new EventHandler(menu_Click); // parent.AddPluginMenu(menu); frm.Show(parent.DockPane, DockState.DockLeft); }
public void Initialize(IMainForm Parent) { parent = Parent; // frm = new CodeSnippet(); frm.ParentMainForm = parent; frm.Name = FullName; frm.HideOnClose = true; // menu = new ToolStripMenuItem(); menu.Text = Name; menu.Click += new EventHandler(menu_Click); // parent.AddPluginMenu(menu); frm.Show(parent.DockPane, DockState.DockLeft); }