Exemple #1
0
 public void onLocationButtonClicked(object source, navargs2 n)
 {
     address = n.location;
     ExpClearBtn_Click(null, null);
     RatingClearBtn_Click(null, null);
     DeptListbox.SelectedIndex = 1;
 }
Exemple #2
0
 public async void onAutoSuggestChanged(object sender, navargs2 n)
 {
     //this.mySplitView.IsPaneOpen = false;
     address = n.location;
     ExpClearBtn_Click(null, null);
     RatingClearBtn_Click(null, null);
     DeptListbox.SelectedIndex = 1;
 }
Exemple #3
0
 public async void onAutoSuggestChanged(object sender, navargs2 n)
 {
     address = n.location;
     if (DeptListbox.SelectedItem != null)
     {
         await viewModel.GetHospitalByDept(address.ToUpper(), DeptListbox.SelectedIndex);
     }
     else
     {
         await viewModel.GetHospitals(address.ToUpper());
     }
     //Bindings.Update();
 }
Exemple #4
0
        public async void onAutoSuggestChanged(object sender, navargs2 n)
        {
            address = n.location;
            if (dept != -1)
            {
                await viewModel.GetDoctorsByDept(address, dept);

                await viewModel.GetHospitalByDept(address, dept);
            }
            else
            {
                await viewModel.GetDoctorByLocation(address);

                await viewModel.GetHospitalByLocation(address);
            }
        }
 public void onLocationButtonClicked(object sender, navargs2 args)
 {
     addr = args.location;
 }
 public void onAutoSuggestChanged(object sender, navargs2 args)
 {
     addr = args.location;
 }
Exemple #7
0
 public async void onAutoSuggestChanged(object sender, navargs2 n)
 {
     address = n.location;
     await viewModel.GetDoctorsByDept(address, deptindex);
 }
Exemple #8
0
 public async void onLocationButtonClicked(object source, navargs2 n)
 {
     address = n.location;
     await viewModel.GetDoctorsByDept(address, deptindex);
 }