Skip to content

Commit

Permalink
Verbessert Benennung (Bonus 2-4)
Browse files Browse the repository at this point in the history
  • Loading branch information
suchja committed Mar 24, 2020
1 parent fcf2e6d commit aa5c089
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TicTacToeWPF/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<!-- Du kannst den Name setzen wie du möchtest. Meine Benennung trägt -->
<!-- hoffentlich etwas zum besseren Verständnis bei. -->
<Button x:Name="kaestchen_0_0" Grid.Column="0" Grid.Row="0" Content="X" Click="kaestchen_0_0_Click"/>
<Button x:Name="kaestchen_0_0" Grid.Column="0" Grid.Row="0" Content="X" Click="Kaestchen_0_0_Click"/>
<Button x:Name="kaestchen_1_0" Grid.Column="1" Grid.Row="0" Content="O"/>
<Button x:Name="kaestchen_2_0" Grid.Column="2" Grid.Row="0"/>

Expand Down
2 changes: 1 addition & 1 deletion TicTacToeWPF/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public MainWindow()
InitializeComponent();
}

private void kaestchen_0_0_Click(object sender, RoutedEventArgs e)
private void Kaestchen_0_0_Click(object sender, RoutedEventArgs e)
{
var bisherigerVordergrund = kaestchen_0_0.Foreground;
kaestchen_0_0.Foreground = kaestchen_0_0.Background;
Expand Down

0 comments on commit aa5c089

Please sign in to comment.