Example #1
0
        public void inputCustomer()
        {
            frmVipCard vipForm = frmVipCard.CreateForm();

            vipForm.PosFrom = this;
            vipForm.ShowDialog(this);
        }
Example #2
0
 public static frmVipCard CreateForm()
 {
     //判断是否存在该窗体,或时候该字窗体是否被释放过,如果不存在该窗体,则 new 一个字窗体
     if (_instance == null || _instance.IsDisposed)
     {
         _instance = new frmVipCard();
     }
     return(_instance);
 }