private void button1_Click(object sender, EventArgs e) { Form17 f17 = new Form17(); f17.Show(); this.Hide(); }
private void label10_Click(object sender, EventArgs e) { //If there is no Form 17 instance if (f17 == null) { //Instantiate Form 17 f17 = new Form17(); } //Show the new Form 17 instance f17.Show(); //Set Form 17's Form 6 variable as this instance f17.f6 = this; //Set Form 17's Form 7 variable as null f17.f7 = null; //Hide this form this.Hide(); }
private void label9_Click(object sender, EventArgs e) { Form17 f17 = new Form17(); f17.Show(); }
private void компанияToolStripMenuItem1_Click(object sender, EventArgs e) { Form f10 = new Form17(); f10.Show(); }