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