Example #1
0
 private void OnSafeSquareRevealed(object sender, SquareEventArgs e)
 {
     mainView.ShowRevealed(e.Row, e.Column, e.AdjacentMines);
 }
Example #2
0
 private void OnSquareFlagged(object sender, SquareEventArgs e)
 {
     mainView.ShowFlag(e.Row, e.Column);
 }
Example #3
0
 private void OnMineRevealed(object sender, SquareEventArgs e)
 {
     mainView.ShowMine(e.Row, e.Column);
 }
Example #4
0
 private void OnSquareUnflagged(object sender, SquareEventArgs e)
 {
     mainView.ShowUnrevealed(e.Row, e.Column);
 }