neue Interface

This commit is contained in:
2025-06-11 14:06:59 +02:00
parent 35ff069ffe
commit 866027afc2
89 changed files with 611 additions and 44 deletions

View File

@@ -21,7 +21,7 @@ namespace WpfApp1
public MainWindow()
{
InitializeComponent();
ErzeugeZufallszahlen();
Zufallszahlen();
InLabels();
}
@@ -31,7 +31,7 @@ namespace WpfApp1
}
private void ErzeugeZufallszahlen()
private void Zufallszahlen()
{
Random random = new Random();
@@ -61,5 +61,10 @@ namespace WpfApp1
Label4.Content = ZufallsZahlen[4].ToString();
Label5.Content = ZufallsZahlen[5].ToString();
}
private void Mybutton_Click(object sender, RoutedEventArgs e)
{
Mybutton.Background = new SolidColorBrush(Colors.Red);
}
}
}