コード例 #1
0
 public AgendaViewModel()
 {
     CustomerServiceAdapter = new ServiceAdapter <ICustomerService>();
     Refresh();
     View = new AgendaView {
         DataContext = this
     };
     View.ShowDialog();
 }
コード例 #2
0
 public AgendaViewModel()
 {
     CustomerServiceInstance = ClientServiceLocator.Instance().ContractLocator.CustomerServices;
     Refresh();
     View = new AgendaView {
         DataContext = this
     };
     View.ShowDialog();
 }