private void btnReport_Click(object sender, EventArgs e) { var BOLReport = new BillOfLading_Report(); var isFormOpen = IsAlreadyOpen(typeof(BillOfLading_Report)); if (!isFormOpen) { BOLReport.Show(); } }
private void btnBOLReport_Click(object sender, EventArgs e) { BillOfLading_Report BOLReport = new BillOfLading_Report(); bool isFormOpen = IsAlreadyOpen(typeof(BillOfLading_Report)); if (isFormOpen == false) { BOLReport.Show(); } }