private void toolStripMenuItem1_Click(object sender, EventArgs e)
        {
            CloseAllOpenedChildForm();
            frmCategoryMaster objform = new frmCategoryMaster(rollFKey, cId);

            objform.MdiParent = this;
            objform.Show();
            objform.WindowState = FormWindowState.Minimized;
            objform.WindowState = FormWindowState.Maximized;
        }
 /***************** Menu Event Start ****************************/
 private void categoryMenu_Click(object sender, EventArgs e)
 {
     try
     {
         CloseAllOpenedChildForm();
         frmCategoryMaster objform = new frmCategoryMaster(rollFKey, cId);
         objform.MdiParent = this;
         objform.Show();
         objform.WindowState = FormWindowState.Minimized;
         objform.WindowState = FormWindowState.Maximized;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message.ToString(), "categoryMenu_Click", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }