void ShowTerminListe() { var aList = ModelManager.AppointmentService.GetAppointmentList(this.myKunde); var alv = new AppointmentListView(aList, this.myKunde.CompanyName1); alv.Show(); }
void ShowServicetermine() { if (this.mySelectedMachine == null) { return; } var machineAsLink = this.mySelectedMachine as ILinkedItem; var aList = ModelManager.AppointmentService.GetAppointmentList(this.mySelectedMachine); var adv = new AppointmentListView(aList, mySelectedMachine.Maschinenmodell.Modellbezeichnung); adv.Show(); }