Beispiel #1
0
        public UcPassAtt(WPro aPro, UserModel userModel)
        {
            _APro = aPro;
            _UserModel = userModel;

            InitializeComponent();
        }
Beispiel #2
0
        public UcGuidAtt(WPro aPro, SafeModel safeModel, DataTable dataTable)
        {
            _APro = aPro;
            _SafeModel = safeModel;
            _DataTable = dataTable;

            InitializeComponent();
        }
Beispiel #3
0
        public UcLogoAtt(WPro aPro)
        {
            _APro = aPro;

            InitializeComponent();
        }
Beispiel #4
0
        /// <summary>
        /// 专业模式
        /// </summary>
        public void ShowAPro()
        {
            if (_ProView == null)
            {
                _ProView = new WPro();
                _ProView.Model = CPwd.PATTERN_PRO;
                _ProView.Init(this, _UserModel, _SafeModel, _DataModel, _ViewModel);
            }

            if (_PwdView != null)
            {
                if (_PwdView.Model == _ProView.Model)
                {
                    return;
                }
                _PwdView.HideView(ScData.Panel2);
            }

            _PwdView = _ProView;
            _PwdView.InitView(ScData.Panel2);
            _ViewModel.Pattern = CPwd.PATTERN_PRO;
            DoShowCmp();
            DoShowKey(_SafeModel.Key);

            ItemGroup group = _XmlMenu.GetGroup("att-edit");
            if (group != null)
            {
                group.Visible(true);
            }
        }