[FIX] removed bad getter for model

This commit is contained in:
Sem van der Hoeven
2020-10-20 15:21:11 +02:00
parent 3aaff90178
commit 1e11bc5416
2 changed files with 2 additions and 7 deletions

View File

@@ -43,9 +43,6 @@ namespace Client
{
get
{
if (_model == null)
_model = new Model();
return _model;
}

View File

@@ -12,7 +12,7 @@
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition/>
@@ -34,7 +34,6 @@
<Label Grid.Row="0" Content="This client information:" FontSize="17"/>
<Label Grid.Row="1" Grid.Column="0" Content="Your username:" FontSize="15" VerticalAlignment="Center"/>
<TextBox Name="usernameTextbox" Grid.Row="1" Grid.Column="1" MaxLength="10" FontSize="15" VerticalAlignment="Center"/>
<Label Grid.Row="2" Grid.Column="0" Content="Which color you want to be:" FontSize="15" VerticalAlignment="Center"/>
<ComboBox Name="colorSelection" Grid.Row="2" Grid.Column="1" VerticalAlignment="Center" FontSize="15">
@@ -46,8 +45,7 @@
<ComboBoxItem Content="ORANGE"/>
<ComboBoxItem Content="PURPLE"/>
</ComboBox>
<Label Grid.Row="3" Name="testLabel" FontSize="15" VerticalAlignment="Center"/>
<Label Content="{Binding Username}" Grid.Column="1" HorizontalAlignment="Center" Margin="0,12,0,0" VerticalAlignment="Top" Grid.Row="1"/>
</Grid>