Пример #1
0
 public static VoucherAdd Instance()
 {
     if (sForm == null)
     {
         sForm = new VoucherAdd();
     }
     return(sForm);
 }
Пример #2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            Form sForm = VoucherAdd.Instance();

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