private void button1_Click(object sender, EventArgs e)
        {
            frmAddNewWorker obj = frmAddNewWorker.getInstance();

            obj.Show();
            obj.BringToFront();
        }
Exemple #2
0
 public static frmAddNewWorker getInstance()
 {
     if (instance == null || instance.IsDisposed)
     {
         instance = new frmAddNewWorker();
     }
     return(instance);
 }