private void button1_Click(object sender, EventArgs e) { Form form16 = new Form16(); form16.Show(); // отображаем Form2 this.Close(); }
private void button3_Click(object sender, EventArgs e) { Types.SelectedIndexObject = Convert.ToString(listBox1.SelectedItem); Form form16 = new Form16(); form16.Show(); // отображаем Form2 this.Close(); }