private void toolStripMenuItem1_Click_1(object sender, EventArgs e)
        {
            CloseAllOpenedChildForm();
            frmSearchSalesMasterReport objLoadReport = new frmSearchSalesMasterReport(rollFKey, cId);

            objLoadReport.MdiParent = this;
            objLoadReport.Show();
            objLoadReport.WindowState = FormWindowState.Minimized;
            objLoadReport.WindowState = FormWindowState.Maximized;
        }
 private void salesSummaryReportMenu_Click(object sender, EventArgs e)
 {
     try
     {
         CloseAllOpenedChildForm();
         frmSearchSalesMasterReport objLoadReport = new frmSearchSalesMasterReport(rollFKey, cId);
         objLoadReport.MdiParent = this;
         objLoadReport.Show();
         objLoadReport.WindowState = FormWindowState.Minimized;
         objLoadReport.WindowState = FormWindowState.Maximized;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message.ToString(), "salesSummaryReportMenu_Click", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }