private void button1_Click(object sender, EventArgs e) { console csle = new console(textBox1.Text, textBox2.Text, Convert.ToInt32(numericUpDown1.Value), Convert.ToInt32(numericUpDown2.Value), comboBox1.Text, textBox3.Text, comboBox2.Text, comboBox3.Text, checkBox1.Checked, checkBox2.Checked, textBox4.Text, textBox4.SelectedText); csle.MdiParent = parent; csle.Show(); }