private void btnCompetition_Click(object sender, RoutedEventArgs e) { btnCompetition.IsEnabled = false; btnOrdinary.IsEnabled = true; MainWindow.ShowPage(MainWindow.CompetitionPage); }