Esempio n. 1
0
 public static SaleTypeSetupAdd Instance()
 {
     if (sForm == null)
     {
         sForm = new SaleTypeSetupAdd();
     }
     return(sForm);
 }
Esempio n. 2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            // new SaleTypeSetupAdd(this, 0).ShowDialog();

            Form sForm = SaleTypeSetupAdd.Instance();

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