Ejemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Form20 f20 = new Form20();

            f20.Show();
            this.Hide();
        }
 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();
 }
Ejemplo n.º 3
0
        private void заказыПокупателяToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            Form f10 = new Form20();

            f10.Show();
        }