public void SetupGameProvider(GameProvider provider) { this.viewModel = new ChessBoardViewModel(provider); this.DataContext = this.viewModel; }