Пример #1
0
      private void mnuInvoice_Click(object sender, EventArgs e)
      {
          if (CheckMdiClientDuplicates("FrmInvoice"))
          {
              return;
          }

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

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

          radDock1.ActivateMdiChild(objform);
      }
Пример #2
0
        private void mnuInvoice_Click(object sender, EventArgs e)
        {
            if (CheckMdiClientDuplicates("FrmInvoice")) return;

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

            radDock1.ActivateMdiChild(objform);
        }