コード例 #1
0
ファイル: CellControl.xaml.cs プロジェクト: ZuTa/Othello
 public CellControl(int id, Game game, ImageBalls ball)
 {
     InitializeComponent();
     this.id = id;
     this.game = game;
     Ball = ball;
 }
コード例 #2
0
ファイル: GameWindow.xaml.cs プロジェクト: ZuTa/Othello
 private void StartGame()
 {
     game = new Game(name1, name2);
     game.OnGameFinished = FinishingGame;
     game.Start();
     this.DataContext = game;
 }