private void OnClickSetting(object sender, RoutedEventArgs e) { List <RobotOnlineInfo> list = new List <RobotOnlineInfo>(); RobotInfoCollect.GetInstance().FliterRobotOnline(ref list); SystemSettingsWindow.Show(This, list, BlockSize); }
private void 系统设置SToolStripMenuItem_Click(object sender, EventArgs e) { AbortTimers(); Visible = false; SystemSettingsWindow SysCfgWindow = new SystemSettingsWindow(this); SysCfgWindow.ShowDialog(); }
/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void UCSystemSettings_DoubleClick(object sender, EventArgs e) { this.win = new SystemSettingsWindow(this.CoreService); win.StartPosition = FormStartPosition.CenterParent; win.ShowDialog(); }