コード例 #1
0
        public MainPage()
        {
            this.InitializeComponent();
            this.viewModel = new ProvinceViewModel();

            //FetchData data = new FetchData();
            //data.GetData();
        }
コード例 #2
0
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     base.OnNavigatedTo(e);
     try
     {
         this.viewModel = new ProvinceViewModel();
     }
     catch
     {
     }
 }
コード例 #3
0
 public MainPage()
 {
     this.InitializeComponent();
     this.viewModel = new ProvinceViewModel();
 }
コード例 #4
0
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     base.OnNavigatedTo(e);
     this.viewModel = (ProvinceViewModel)e.Parameter;
 }
コード例 #5
0
 public VaccinationPage()
 {
     this.InitializeComponent();
     this.viewModel = new ProvinceViewModel();
 }