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

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

          objform.Show();
          _UserDetailModel.MenuName = "FrmProductionMaterial";
          //   objform.UserDetailModel  = _UserDetailModel; objform.UserAuthentication(_UserDetailModel.ProfileId, _UserDetailModel.MenuName);
          radDock1.ActivateMdiChild(objform);
      }
        private void mnuProductionMaterial_Click(object sender, EventArgs e)
        {
            if (CheckMdiClientDuplicates("FrmProductionMaterial")) return;

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