private void btnViewSales_Click(object sender, EventArgs e) { frmSalesReport obj = frmSalesReport.getInstance(); obj.Show(); obj.BringToFront(); }
public static frmSalesReport getInstance() { if (instance == null || instance.IsDisposed) { instance = new frmSalesReport(); } return(instance); }