private void MenuInvoicePrint_Click(object sender, EventArgs e) { FrmInvoicePrint frm = FrmInvoicePrint.GetSingleton(); frm.MdiParent = this; frm.Show(); frm.Activate(); }
public static FrmInvoicePrint GetSingleton() { if (frm == null || frm.IsDisposed) { frm = new FrmInvoicePrint(); } return(frm); }