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