/// <summary> /// launch the newTestUser form and update the main form at return. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void setUserButton_Click(object sender, EventArgs e) { using (var testUserForm = new TestUserForm(_testRunnerObj.UserRepository)) { testUserForm.ShowDialog(); } currentUserLabel.Text = _testRunnerObj.UserRepository.GetTestUserCn(); }
/// <summary> /// launch the newTestUser form and update the main form at return. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void setUserButton_Click(object sender, EventArgs e) { using (var testUserForm = new TestUserForm(_testRunnerObj.UserRepository)) { testUserForm.ShowDialog(); } currentUserLabel.Text = _testRunnerObj.UserRepository.GetTestUserCn(); }