private void btnManageOrder_Click(object sender, EventArgs e) { frmManageOrders obj = frmManageOrders.getInstance(empID); obj.Show(); obj.BringToFront(); }
public static frmManageOrders getInstance(string empID) { if (instance == null || instance.IsDisposed) { instance = new frmManageOrders(empID); } return(instance); }