void Auto_Click(object sender, EventArgs e) { if (sender is ToolStripMenuItem) { int Num = (int)(((ToolStripMenuItem)sender).Tag); Forms.AutoModeConfiguration dlg = new DmxSoft.Forms.AutoModeConfiguration(Num); dlg.DockPanel = dockPanel1; dlg.DockState = WeifenLuo.WinFormsUI.Docking.DockState.Float; dlg.Show(); } }
private void automaticModeToolStripMenuItem_Click(object sender, EventArgs e) { Forms.AutoModeConfiguration dlg = new DmxSoft.Forms.AutoModeConfiguration(0); dlg.Show(); }