public DoctorsOfficeView() { Doctor Phil = new Doctor(new ContactInformation {FirstName = "Phil", LastName = "Steele"}); Doctor Jane = new Doctor(new ContactInformation {FirstName = "Jane", LastName = "Alexander"}); Doctor Barry = new Doctor(new ContactInformation {FirstName = "Barry", LastName = "Hall"}); this.Operations = new DoctorsOffice(new List<Doctor>() { Phil, Jane, Barry }); this.VMC = new ViewModelConverter(); }
public AppointmentInfo() { InitializeComponent(); this.Office = (DoctorsOffice)Application.Current.FindResource("Office"); }