예제 #1
0
      private void mnuJobOrder_Click(object sender, EventArgs e)
      {
          if (CheckMdiClientDuplicates("FrmJobOrder"))
          {
              return;
          }


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

          objform.Show();
          _UserDetailModel.MenuName = "FrmJobOrder";
          //  objform.UserDetailModel = _UserDetailModel; objform.UserAuthentication(_UserDetailModel.ProfileId, _UserDetailModel.MenuName);
          radDock1.ActivateMdiChild(objform);
      }
예제 #2
0
        private void radMenuItem5_Click(object sender, EventArgs e)
        {
            if (CheckMdiClientDuplicates("FrmJobOrder")) return;

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