Пример #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (a == true)
     {
         if (f11 == null)
         {
             f11 = new Form11();
         }
         f11.fo = label4.Text;
         f11.Show();
         this.Hide();
     }
     else if (b == true)
     {
         if (f12 == null)
         {
             f12 = new Form12();
         }
         f12.fo = label4.Text;
         f12.Show();
         this.Hide();
     }
     else if (c == true)
     {
         if (f13 == null)
         {
             f13 = new Form13();
         }
         f13.fo = label4.Text;
         f13.Show();
         this.Hide();
     }
 }
Пример #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            if (a == true)
            {
                if (f11 == null)
                    f11 = new Form11();
                f11.fo = label4.Text;
                f11.Show();
                this.Hide();
            }
            else if (b == true)
            {
                if (f12 == null)
                    f12 = new Form12();
                f12.fo = label4.Text;
                f12.Show();
                this.Hide();
            }
            else if (c == true)
            {
                if (f13 == null)
                    f13 = new Form13();
                f13.fo = label4.Text;
                f13.Show();
                this.Hide();
            }

        }
Пример #3
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (f13 == null)
         f13 = new Form13();
     f13.fo = label4.Text;
     f13.Show();
     this.Hide();
 }
Пример #4
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (f13 == null)
     {
         f13 = new Form13();
     }
     f13.fo = label4.Text;
     f13.Show();
     this.Hide();
 }