neue Interface
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user