Exemplo n.º 1
0
 private void ChangeDisplaying_Click(object sender, RoutedEventArgs e)
 {
     foreach (var child in this.canvas.Children)
     {
         Tile tile = (Tile)child;
         if (tile != null)
         {
             tile.SetColor(showRegionsCheckBox.IsChecked ?? false);
         }
     }
 }