Exemplo n.º 1
0
      private void radMenuItem2_Click(object sender, EventArgs e)
      {
          if (CheckMdiClientDuplicates("FrmDispatchOrder"))
          {
              return;
          }

          var objform = new FrmDispatchOrder()
          {
              MdiParent = this
          };

          //  UserDetailModel.MenuName = "FrmIncomeVoucher";
          // objform._userDetailModel = _UserDetailModel; objform.UserAuthentication(_UserDetailModel.ProfileId, _UserDetailModel.MenuName);
          objform.UserDetailModel = _UserDetailModel;
          objform.Show();
          radDock1.ActivateMdiChild(objform);
      }
Exemplo n.º 2
0
        private void radMenuItem2_Click(object sender, EventArgs e)
        {
            if (CheckMdiClientDuplicates("FrmDispatchOrder")) return;

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