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