コード例 #1
0
        private void btnAddUser_Click(object sender, EventArgs e)
        {
            var user = new User();

            user.EMail     = txtEmail.Text;
            user.FirstName = txtFirstName.Text;
            user.LastName  = txtLastName.Text;

            user.Password = txtPassword.Text;

            UserId = _sdk.AddUser(user);

            DialogResult = DialogResult.OK;
        }