コード例 #1
0
 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();
 }
コード例 #2
0
 public AppointmentInfo()
 {
     InitializeComponent();
     this.Office = (DoctorsOffice)Application.Current.FindResource("Office");
 }