public static SalePurchaseRegisterSetUpAdd Instance() { if (sForm == null) { sForm = new SalePurchaseRegisterSetUpAdd(); } return(sForm); }
private void btnAdd_Click(object sender, EventArgs e) { Form sForm = SalePurchaseRegisterSetUpAdd.Instance(); //sForm.MdiParent = this; sForm.Show(); sForm.Activate(); }