private void MainWindow_Loaded(object sender, RoutedEventArgs e) { try { DataContext = _viewModel = new PlayerViewModel(); AddCheckboxes(); } catch (Exception) { // ignored } }
public Event(String format, PlayerViewModel player) { _format = format; Player = player; }