private void button2_Click(object sender, EventArgs e) { Form21 f20 = new Form21(); this.Hide(); f20.Show(); }
private void label1_Click(object sender, EventArgs e) { Form21 fm21 = new Form21(); fm21.ShowDialog(); this.Close(); }
private void 修改用户信息ToolStripMenuItem_Click(object sender, EventArgs e) { this.Visible = false; Form21 f4 = new Form21(); f4.ShowDialog(); this.Visible = true; }
private void button11_Click(object sender, EventArgs e) { //If there is no Form 21 instance if (f21 == null) { //Instantiate Form 21 f21 = new Form21(); } //Show the new Form 21 instance f21.Show(); //Set Form 21's Form 7 value as this instance f21.f7 = this; //Set Form 21's Form 6 value as null f21.f6 = null; this.Hide(); }
private void label11_Click(object sender, EventArgs e) { //If there is no Form 21 instance if (f21 == null) { //Instantiate Form 21 f21 = new Form21(); } //Show the new Form 21 instance f21.Show(); //Set Form 21's Form 6 variable as this instance f21.f6 = this; //Set Form 21's Form 7 variable as null f21.f7 = null; //Hide this form this.Hide(); }
private void button2_Click(object sender, EventArgs e) { Form21 f21 = new Form21(); f21.Show(); }
private void продажиТоваровToolStripMenuItem_Click(object sender, EventArgs e) { Form f10 = new Form21(); f10.Show(); }