예제 #1
0
 public void onLocationButtonClicked(object source, navargs2 n)
 {
     address = n.location;
     ExpClearBtn_Click(null, null);
     RatingClearBtn_Click(null, null);
     DeptListbox.SelectedIndex = 1;
 }
예제 #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;
 }
예제 #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();
 }
예제 #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);
            }
        }
예제 #5
0
 public void onLocationButtonClicked(object sender, navargs2 args)
 {
     addr = args.location;
 }
예제 #6
0
 public void onAutoSuggestChanged(object sender, navargs2 args)
 {
     addr = args.location;
 }
예제 #7
0
 public async void onAutoSuggestChanged(object sender, navargs2 n)
 {
     address = n.location;
     await viewModel.GetDoctorsByDept(address, deptindex);
 }
예제 #8
0
 public async void onLocationButtonClicked(object source, navargs2 n)
 {
     address = n.location;
     await viewModel.GetDoctorsByDept(address, deptindex);
 }