private void AddHumanBtn_Click(object sender, EventArgs e) { UserInput userInput = new UserInput(); userInput.ShowDialog(); if (ValidInput(userInput.ReturnNewName()) && (userInput.IsValid(userInput.ReturnNewName()))) { runner.AddHumanPlayer(userInput.ReturnNewName()); RefreshDataBindings(); userInput.Close(); } }