private void FillFields(MOG_User user) { this.NameTextBox.Text = user.GetUserName(); this.ClassComboBox.SelectedItem = user.GetUserCategory(); this.BlessTargetComboBox.SelectedItem = user.GetBlessTarget(); this.EmailTextBox.Text = user.GetUserEmail(); }
public void UserUpdate() { mUser.SetUserName(this.UserNameTextBox.Text); mUser.SetUserCategory(this.UserClassComboBox.Text); mUser.SetBlessTarget(this.UserBlessTargetComboBox.Text); MOG_ControllerProject.GetProject().UserUpdate(mUser.GetUserName(), mUser.GetUserName(), mUser.GetUserEmail(), mUser.GetBlessTarget(), mUser.GetUserCategory()); }