Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            frmStart l = frmStart.getInstance();

            l.Show();
            this.Hide();
        }
Пример #2
0
 public static frmStart getInstance()
 {
     if (l == null)
     {
         l = new frmStart();
         l.Show();
         return(l);
     }
     else
     {
         return(l);
     }
 }