Example #1
0
        public SignFk(SignAc signAc, AUserModel userModel)
        {
            _SignAc = signAc;
            _UserModel = userModel;

            InitializeComponent();

            //_SignAc.ShowTips(null, "");
        }
Example #2
0
        public SignUl(SignAc signAc, AUserModel userModel)
        {
            _SignAc = signAc;
            _UserModel = userModel;

            InitializeComponent();

            TbPath.Text = Path.Combine(_UserModel.SysHome, CApp.DIR_DATA);
            _SignAc.ShowTips(BtPath, "选择目录");
        }
Example #3
0
        public SignIn(SignAc signAc, AUserModel userModel)
        {
            _SignAc = signAc;
            _UserModel = userModel;

            InitializeComponent();

            _SignAc.ShowTips(PbSignUp, "用户注册");
            _SignAc.ShowTips(PbSignFk, "找回口令");
        }
Example #4
0
File: Main.cs Project: burstas/rmps
        private void ShowUser()
        {
            if (_User == null)
            {
                _User = new SignAc(this, _UserModel);
                //_User.Location = new System.Drawing.Point(0, 0);
                _User.Name = "panel1";
                //_User.Size = new System.Drawing.Size(310, 100);
                _User.TabIndex = 0;

                _User.CallBack = new AmonHandler<string>(DoSignIn);
                _User.InitData();

                Controls.Clear();
                Controls.Add(_User);
            }
        }