Example #1
0
 public InstanceLocator()
 {
     Main               = new MainViewModel();
     ShoppingCar        = new ShoppingCarViewModel();
     Delivered          = new DeliveredViewModel();
     AppointmentPage    = new AppointmentPageViewModel();
     CallNowPage        = new CallNowPageViewModel();
     LocationPage       = new LocationPageViewModel();
     OffersPage         = new OffersPageViewModel();
     QualityPage        = new QualityPageViewModel();
     SocialNetworksPage = new SocialNetworksPageViewModel();
 }
 public void Init()
 {
     InitializeComponent();
     this.BindingContext = viewModel = new AppointmentPageViewModel();
     calendar.Culture    = System.Globalization.CultureInfo.GetCultureInfo("vi-VN");
 }
Example #3
0
 public AppointmentPage(Appointment appointment)
 {
     InitializeComponent();
     ViewModel   = new AppointmentPageViewModel(appointment);
     DataContext = ViewModel;
 }