public void LoadGenerator(NumberGenerator Generator) { textBoxName.Text = Generator.Name; comboBoxEncoding.SelectedIndex = GeneratorEncoding.ReturnEncodingIndex(Generator.Encoding); numericUpDownIncrement.Value = Convert.ToDecimal(Generator.Increment); numericUpDownStartNumber.Value = Convert.ToDecimal(Generator.StartNumber); numericUpDownStopNumber.Value = Convert.ToDecimal(Generator.StopNumber); }
public void LoadGenerator(StringGenerator Generator) { textBoxName.Text = Generator.Name; comboBoxEncoding.SelectedIndex = GeneratorEncoding.ReturnEncodingIndex(Generator.Encoding); textBoxCharacterSet.Text = Generator.CharacterSet; numericUpDownStringLength.Value = Convert.ToDecimal(Generator.StringLength); checkBoxAllowRepetitions.Checked = Generator.AllowRepetitions; }
public void LoadGenerator(CharacterRepeater Generator) { textBoxName.Text = Generator.Name; comboBoxEncoding.SelectedIndex = GeneratorEncoding.ReturnEncodingIndex(Generator.Encoding); numericUpDownIncrement.Value = Convert.ToDecimal(Generator.Increment); numericUpDownInitialCount.Value = Convert.ToDecimal(Generator.InitialCount); numericUpDownFinalCount.Value = Convert.ToDecimal(Generator.FinalCount); textBoxCharacterString.Text = Generator.Character; }
public void LoadGenerator(FileGenerator Generator) { textBoxName.Text = Generator.Name; comboBoxEncoding.SelectedIndex = GeneratorEncoding.ReturnEncodingIndex(Generator.Encoding); textBoxFileName.Text = Generator.FilePath; }