示例#1
0
 private GameView()
 {
     InitializeComponent();
     DataContext = new GameViewModel();
 }
示例#2
0
 public GameWindow(GameViewModel gameViewModel)
 {
     InitializeComponent();
     DataContext = gameViewModel;
 }