示例#1
0
文件: UcPassAtt.cs 项目: burstas/rmps
        public UcPassAtt(KeyBody body, UserModel userModel)
        {
            _Body = body;
            _UserModel = userModel;

            InitializeComponent();
        }
示例#2
0
文件: UcMemoAtt.cs 项目: burstas/rmps
        public UcMemoAtt(KeyBody body)
        {
            _Body = body;

            InitializeComponent();
        }
示例#3
0
文件: WWiz.cs 项目: burstas/rmps
        private void ShowBody()
        {
            if (_KeyBody == null)
            {
                _KeyBody = new KeyBody(this, _UserModel, _SafeModel);
                _KeyBody.Init(_DataModel, _ViewModel);
                _KeyBody.Name = "body";
                _KeyBody.InitView(PlMain);
            }

            if (_LastView != null && _LastView != _KeyBody)
            {
                _LastView.HideView(PlMain);
                _KeyBody.InitView(PlMain);

                BtPrevStep.Enabled = true;
                BtNextStep.Text = "保存(&S)";
            }

            _LastView = _KeyBody;
            _LastView.ShowData();
        }