private void mnuUnit_Click(object sender, EventArgs e)
      {
          if (CheckMdiClientDuplicates("FrmUnit"))
          {
              return;
          }

          var objform = new FrmUnit()
          {
              MdiParent       = this,
              UserDetailModel = _UserDetailModel
          };

          objform.Show();
          _UserDetailModel.MenuName = "FrmUnit";
          //objform.UserDetailModel  = _UserDetailModel; objform.UserAuthentication(_UserDetailModel.ProfileId, _UserDetailModel.MenuName);

          radDock1.ActivateMdiChild(objform);
      }
        private void mnuUnit_Click(object sender, EventArgs e)
        {
            if (CheckMdiClientDuplicates("FrmUnit")) return;

            var objform = new FrmUnit()
            {
                MdiParent = this,
                UserDetailModel = _UserDetailModel
            };
            objform.Show();
            _UserDetailModel.MenuName = "FrmUnit";
            //objform.UserDetailModel  = _UserDetailModel; objform.UserAuthentication(_UserDetailModel.ProfileId, _UserDetailModel.MenuName);

            radDock1.ActivateMdiChild(objform);
        }