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

            _instance = null;
        }