コード例 #1
0
        public UserEditorForm(UserEditorModel model)
        {
            InitializeComponent();

            _presenter = new UserEditorPresenter(this, model);

            valUserName.SetIconAlignment(txtUserName, ErrorIconAlignment.MiddleRight);
            valFirstName.SetIconAlignment(txtFirstName, ErrorIconAlignment.MiddleRight);
            valLastName.SetIconAlignment(txtLastName, ErrorIconAlignment.MiddleRight);
            valPassword.SetIconAlignment(txtPassword, ErrorIconAlignment.MiddleRight);
            valReTypePassword.SetIconAlignment(txtReTypePassword, ErrorIconAlignment.MiddleRight);

            this.Load += UserEditorForm_Load;
        }
コード例 #2
0
        public UserEditorForm(UserEditorModel model)
        {
            InitializeComponent();

            _presenter = new UserEditorPresenter(this, model);

            valUserName.SetIconAlignment(txtUserName, ErrorIconAlignment.MiddleRight);
            valFirstName.SetIconAlignment(txtFirstName, ErrorIconAlignment.MiddleRight);
            valLastName.SetIconAlignment(txtLastName, ErrorIconAlignment.MiddleRight);
            valPassword.SetIconAlignment(txtPassword, ErrorIconAlignment.MiddleRight);
            valReTypePassword.SetIconAlignment(txtReTypePassword, ErrorIconAlignment.MiddleRight);

            this.Load += UserEditorForm_Load;
        }