private void XMBMngAdd_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Manager NewXMBMng = new Manager();

            NewXMBMng.UserType = 1;
            frmXMBMng form = new frmXMBMng();

            form.ExitsUserList = LstManager;
            form.RefXMBManager = NewXMBMng;
            //form.IsEdit = true;
            form.MainHandler = this;
            form.ShowDialog();
        }
 private void gvXMBMng_RowClick(object sender, DevExpress.XtraGrid.Views.Grid.RowClickEventArgs e)
 {
     if (e.Clicks > 1)
     {
         Manager SelectXMBManager = gvXMBMng.GetRow(e.RowHandle) as Manager;
         if (SelectXMBManager != null)
         {
             frmXMBMng form = new frmXMBMng();
             form.RefXMBManager = SelectXMBManager;
             //form.IsEdit = false;
             form.MainHandler = this;
             form.ShowDialog();
         }
     }
 }