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