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