Develop #10

Merged
SemvdH merged 229 commits from develop into master 2020-10-29 22:50:49 +00:00
4 changed files with 4 additions and 5 deletions
Showing only changes of commit d8a3baeec1 - Show all commits

View File

@@ -8,6 +8,6 @@ namespace DoctorApp.ViewModels
class ClientInfoViewModel
{
public string Username { get; set; }
public string TabName { get; set; }
public string Status { get; set; }
}
}

View File

@@ -30,7 +30,6 @@ namespace DoctorApp.ViewModels
Tabs.Add(new ClientInfoViewModel
{
Username = username,
TabName = username
});
});
}

View File

@@ -24,8 +24,8 @@
<Setter Property="Margin" Value="0,0,20,0"/>
</Style>
</StackPanel.Resources>
<Label Content="UserName" Name="Username_Label"/>
<Label Content="Status: " Name="Status_Label"/>
<Label Content="{Binding Username}"/>
<Label Content="{Binding Status}"/>
</StackPanel>
<StackPanel Margin="0,10,0,0" Grid.RowSpan="2" Grid.Row="1">
<StackPanel.Resources>

View File

@@ -11,7 +11,7 @@
<TabControl TabStripPlacement="Left" ItemsSource="{Binding Tabs}" SelectedItem="{Binding Selected}">
<TabControl.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding TabName}"/>
<TextBlock Text="{Binding Username}"/>
</DataTemplate>
</TabControl.ItemTemplate>
<TabControl.ContentTemplate>