private void initializeData() { if (_index != -1) { string chName = _evRunner.getCheckName(_index); groupBox_thisCheck.Text = chName + "(" + _evRunner.CheckParamsList[_index] + ")"; comboBox_checkType.SelectedItem = chName; textBox_param.Text = _evRunner.CheckParamsList[_index].ToString(); button_save.Enabled = false; } else { comboBox_checkType.SelectedIndex = 0; button_save.Text = "Add"; button_save.Enabled = true; } button_cancel.Enabled = false; }
private void initializeData() { button_showCheck.Text = _evRunner.getCheckName(Index) + "(" + _evRunner.CheckParamsList[Index] + ")"; }
public Pan_Check(ComplexEvRunner evR, int initIndex) { InitializeComponent(); _evRunner = evR; button_showCheck.Text = _evRunner.getCheckName(initIndex) + "(" + _evRunner.CheckParamsList[initIndex] + ")"; }