private void createNewButton_Click(object sender, EventArgs e) { //Call the createnewTeam form CreateTeam teamForm = new CreateTeam(this); //Get back the the team model teamForm.Show(); /** * CreateTeam form=new CreateTeam(); * form.Show(); * * GetAllTeams(); * * foreach (TeamModel team in SelectedTeamList) { * teamList.Remove(team); * } * selectTeamCombo.DataSource = null; * selectTeamCombo.DataSource = teamList; * selectTeamCombo.DisplayMember = "TeamName"; **/ }
private void CreateNewTeamButton_Click(object sender, RoutedEventArgs e) { var teamWin = new CreateTeam(this); teamWin.Show(); }
private void llCreateNew_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { CreateTeam team = new CreateTeam(this); team.Show(); }
private void createNewLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { CreateTeam form = new CreateTeam(this); form.Show(); }