コード例 #1
0
 public DeliveryManViewModel(DeliveryMan MydeliveryMan)
 {
     deliveryMan          = MydeliveryMan;
     addDeliveryManCMD    = new AddDeliveryManCommand(this);
     deliveryMan_M        = new DeliveryManModel();
     cities               = deliveryMan_M.GetCities();
     streetsGroupedByCity = deliveryMan_M.GetstreetsGroupedByCity();
 }
コード例 #2
0
 public DeliveryManViewModel(DeliveryMan MydeliveryMan, LogIn_AdministratorViewModel logIn_AdministratorViewModel)
 {
     deliveryMan          = MydeliveryMan;
     addDeliveryManCMD    = new AddDeliveryManCommand(this);
     deliveryMan_M        = new DeliveryManModel();
     cities               = deliveryMan_M.GetCities();
     streetsGroupedByCity = deliveryMan_M.GetstreetsGroupedByCity();
     this.LogIn_AdministratorViewModel = logIn_AdministratorViewModel;
 }