private void btnManageStock_Click(object sender, EventArgs e)
        {
            frmManageStock obj = frmManageStock.getInstance(empID);

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