Überarbeitung von Mainwindow
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Text;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
@@ -17,9 +18,13 @@ namespace Casino
|
||||
public partial class MainWindow : Window
|
||||
{
|
||||
public static int currentUser;
|
||||
ObservableCollection<User> users = new ObservableCollection<User>();
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
TxtName.Text = "User: " + users[currentUser].Name.ToString();
|
||||
TxtKonto.Text = "Konto: " + users[currentUser].Geld.ToString();
|
||||
}
|
||||
private void Slots_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user