doctor can see patients who logged on before

This commit is contained in:
shinichi
2020-10-16 15:02:19 +02:00
parent 6fb9d0efaa
commit fd9b321292
4 changed files with 15 additions and 90 deletions

View File

@@ -21,11 +21,12 @@ namespace DoctorApp.ViewModels
{
this.MainWindowViewModel = mainWindowViewModel;
client = this.MainWindowViewModel.client;
Tabs= new ObservableCollection<object>();
Tabs = new ObservableCollection<object>();
}
public void NewConnectedUser(string username)
{
System.Diagnostics.Debug.WriteLine("CREATING TAB FOR " + username);
App.Current.Dispatcher.Invoke((Action)delegate
{
Tabs.Add(new ClientInfoViewModel
@@ -42,5 +43,5 @@ namespace DoctorApp.ViewModels
}
}
}