private void btnModalTeamEdit_Click(object sender, RoutedEventArgs e) { if (btnModalTeamEdit.Content.ToString() == "Edit") { TeamWindow dialogue = new TeamWindow("Edit Team"); Close(); dialogue.Show(); } else { System.Diagnostics.Debug.WriteLine("DEBUG - stub for delete"); } }
private void btnAddTeam_Click(object sender, RoutedEventArgs e) { TeamWindow dialogue = new TeamWindow(); dialogue.Show(); }