public ChooseDifficultyPage()
 {
     this.InitializeComponent();
     this.SizeChanged += (s, e) =>
     {
         Reversi.SetView(this.filledView, this.filledView, this.filledView, this.snapView);
     };
 }
Example #2
0
 public CreditsPage()
 {
     this.InitializeComponent();
     this.SizeChanged += (s, e) =>
     {
         Reversi.SetView(this.unsnappedView, this.unsnappedView, this.unsnappedView, this.snapView);
     };
 }
Example #3
0
 public GamePage()
 {
     this.InitializeComponent();
     this.SizeChanged += (s, e) =>
     {
         Reversi.SetView(this.unsnappedView, this.unsnappedView, this.unsnappedView, this.snapView);
     };
     tickHandler         = new EventHandler <object>(dispatcherTimer_Tick);
     boardUpdatedHandler = new EventHandler <GameUpdateArgs>(game_BoardUpdated);
     gameOverHandler     = new EventHandler(game_GameOver);
     timer.Tick         += tickHandler;
 }