Viewmodel erweitert
This commit is contained in:
@@ -29,11 +29,20 @@ namespace KanSan
|
||||
InitializeComponent();
|
||||
this.Title = ProgrammHashVersion.GIT_HASH;
|
||||
|
||||
|
||||
UI.UCKundeEdit uCKundeEdit = new UI.UCKundeEdit();
|
||||
ContentController.Content = uCKundeEdit;
|
||||
|
||||
/*UI.UCKundeEdit uCKundeEdit = new UI.UCKundeEdit();
|
||||
ContentController.Content = uCKundeEdit;*/
|
||||
|
||||
UI.UCKundeList uCKundeList = new UI.UCKundeList();
|
||||
uCKundeList.KundeAdded += UCKundeList_KundeAdded;
|
||||
ContentController.Content = uCKundeList;
|
||||
}
|
||||
|
||||
private void UCKundeList_KundeAdded(object sender, UI.KundeAddedKlickEventArgs e)
|
||||
{
|
||||
UI.UCKundeEdit uCKundeEdit = new UI.UCKundeEdit(e.kunde);
|
||||
ContentController.Content = uCKundeEdit;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user