Example #1
0
 public static SalePurchaseRegisterSetUpAdd Instance()
 {
     if (sForm == null)
     {
         sForm = new SalePurchaseRegisterSetUpAdd();
     }
     return(sForm);
 }
Example #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            Form sForm = SalePurchaseRegisterSetUpAdd.Instance();

            //sForm.MdiParent = this;
            sForm.Show();
            sForm.Activate();
        }