Example #1
0
        private void initializeData()
        {
            if (Event.keywords.Contains(_evRunner.getName()))
            {
                comboBox_evType.SelectedItem = _evRunner.getName();
            }
            else
            {
                comboBox_evType.SelectedIndex = 0;
                comboSelect(0);
                setValues(_evRunner.Ev.FavorNr, _evRunner.Ev.PossibleNr);
            }
            checkBox_not.Checked = _evRunner.CheckParam == 0;
            resetName();

            textBox_tries.Text = EventRunner.defaultTries.ToString();

            button_save.Enabled   = false;
            button_cancel.Enabled = false;
            textBox_output.Focus();
        }
Example #2
0
 private void initializeData()
 {
     button_showSimpleEv.Text = _evRunner.getName();
     numeric_repeat.Value     = _evRunner.Repeat;
 }