private void Button_Click(object sender, RoutedEventArgs e) { this.Hide(); CompetitionWindow competitionWindow = new CompetitionWindow(this); competitionWindow.Show(); }
public Window1(CompetitionWindow competitionWindow) { InitializeComponent(); this.competitionWindow = competitionWindow; }