void startup() { comboBox1.DataSource = RSAservice.getPossibleKeyLengths(); //comboBox3.DataSource = MyKey.getKeyNames(); numericUpDown2.Value = 32; textBox4.Enabled = false; textBox5.Enabled = false; //comboBox3.Enabled = false; button1.Enabled = false; button2.Enabled = false; loadSettings(); }
void getKeyLength() { //Setting.get(); comboBox1.DataSource = RSAservice.getPossibleKeyLengths(); comboBox1.SelectedIndex = comboBox1.FindStringExact(Setting.rsaKeyLength.ToString()); }