Пример #1
0
 private void button4_Click(object sender, EventArgs e)
 {
     if (SingleObject.GetSingle().FrmFive == null)
     {
         SingleObject.GetSingle().FrmFive = new Form5();
     }
     SingleObject.GetSingle().FrmFive.Show();
 }
Пример #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (SingleObject.GetSingle().FrmThree == null)
     {
         SingleObject.GetSingle().FrmThree = new Form3();
     }
     SingleObject.GetSingle().FrmThree.Show();
 }
Пример #3
0
        private void button3_Click(object sender, EventArgs e)
        {
            if (SingleObject.GetSingle().FrmFour == null)
            {
                SingleObject.GetSingle().FrmFour = new Form4();
            }

            SingleObject.GetSingle().FrmFour.Show();
        }