예제 #1
0
 public static InvoiceForm GetInstance(object args)
 {
     if (_instance == null)
     {
         _instance = new InvoiceForm();
     }
     _instance.Focus();
     return(_instance);
 }
예제 #2
0
        protected override void OnClosed(EventArgs e)
        {
            base.OnClosed(e);

            _instance = null;
        }