void AddCommisionItems2_Click(object sender, EventArgs e)
 {
     try
     {
         if (grdLister.CurrentRow != null && grdLister.CurrentRow is GridViewDataRowInfo)
         {
             int id = grdLister.CurrentRow.Cells["Id"].Value.ToInt();
             frmCommisionList4 frm = new frmCommisionList4(id);
             frm.Show();
         }
     }
     catch (Exception ex)
     {
         ENUtils.ShowMessage(ex.Message);
     }
 }
        void ShowForm(int id)
        {
            frmCommisionList4 frm = new frmCommisionList4(id);

            frm.Show();

            //frmDriverCommision frm = new frmDriverCommision();
            //frm.OnDisplayRecord(id);


            //DockWindow doc = UI.MainMenuForm.MainMenuFrm.GetDockByName("frmDriverCommision1");

            //if (doc != null)
            //{
            //    doc.Close();
            //}

            //MainMenuForm.MainMenuFrm.ShowForm(frm);
        }