private void button1_Click(object sender, EventArgs e) { Form20 f20 = new Form20(); f20.Show(); this.Hide(); }
private void 用户表管理ToolStripMenuItem_Click(object sender, EventArgs e) { this.Visible = false; Form20 f4 = new Form20(); f4.ShowDialog(); this.Visible = true; }
private void label3_Click(object sender, EventArgs e) { //If there is no Form 20 instance if (f20 == null) { //Instantiate Form 20 f20 = new Form20(); } //Show the new Form 20 instance f20.Show(); //Set Form 20's Form 6 variable as this instance f20.f6 = this; //Set Form 20's Form 7 variable as null f20.f7 = null; //Hide this form this.Hide(); }
private void заказыПокупателяToolStripMenuItem1_Click(object sender, EventArgs e) { Form f10 = new Form20(); f10.Show(); }