示例#1
0
 private void mTools_DropDownItemClicked(object sender, ToolStripItemClickedEventArgs e)
 {
     mTools.DropDown.Close();
     if (e.ClickedItem == mOptions)
     {
         Global.MainForm.ShowOptionsForm();
     }
     else if (e.ClickedItem == mWebBrowser)
     {
         Global.MainForm.AddBrowser(null);
     }
     else if (e.ClickedItem == mMathTools)
     {
         MathTools mt = new MathTools();
         mt.Show(Global.MainForm.DockPane, DockState.DockLeft);
     }
     else if (e.ClickedItem == mClipboardRing)
     {
         ClipboardRing cr = new ClipboardRing();
         cr.Show(Global.MainForm.DockPane, DockState.DockBottom);
     }
     else if (e.ClickedItem == conZoleToolStripMenuItem)
     {
         ConZole cz = new ConZole();
         cz.Show(Global.MainForm.DockPane, DockState.DockBottom);
     }
     else if (e.ClickedItem == systemInformationToolStripMenuItem)
     {
         SystemInformationTool sy = new SystemInformationTool();
         sy.Show(Global.MainForm.DockPane, DockState.DockBottom);
     }
     else if (e.ClickedItem == directoryWatcherToolStripMenuItem)
     {
         DirectoryWatcher dw = new DirectoryWatcher();
         dw.Show(Global.MainForm.DockPane, DockState.DockLeft);
     }
 }
示例#2
0
 private void mTools_DropDownItemClicked(object sender, ToolStripItemClickedEventArgs e)
 {
     mTools.DropDown.Close();
     if (e.ClickedItem == mOptions) Global.MainForm.ShowOptionsForm();
     else if (e.ClickedItem == mWebBrowser) Global.MainForm.AddBrowser(null);
     else if (e.ClickedItem == mMathTools)
     {
         MathTools mt = new MathTools();
         mt.Show(Global.MainForm.DockPane, DockState.DockLeft);
     }
     else if (e.ClickedItem == mClipboardRing)
     {
         ClipboardRing cr = new ClipboardRing();
         cr.Show(Global.MainForm.DockPane, DockState.DockBottom);
     }
     else if (e.ClickedItem == conZoleToolStripMenuItem)
     {
         ConZole cz = new ConZole();
         cz.Show(Global.MainForm.DockPane, DockState.DockBottom);
     }
     else if (e.ClickedItem == systemInformationToolStripMenuItem)
     {
         SystemInformationTool sy = new SystemInformationTool();
         sy.Show(Global.MainForm.DockPane, DockState.DockBottom);
     }
     else if (e.ClickedItem == directoryWatcherToolStripMenuItem)
     {
         DirectoryWatcher dw = new DirectoryWatcher();
         dw.Show(Global.MainForm.DockPane, DockState.DockLeft);
     }
 }