예제 #1
0
 private async void HorizontalListView_SelectedItemChanged(object sender, System.EventArgs e)
 {
     if (sender is ConnectionViewModel)
     {
         ConnectionViewModel selected = (ConnectionViewModel)sender;
         model.Select(selected);
         LocationsPlanViewModel lpvm = new LocationsPlanViewModel(Navigation);
         LocationsSchemePage    lsp  = new LocationsSchemePage(lpvm);
         await Navigation.PushAsync(lsp);
     }
 }
예제 #2
0
 private async Task LocationsTaped()
 {
     LocationsPlanViewModel lpvm = new LocationsPlanViewModel(Navigation);
     LocationsSchemePage    lsp  = new LocationsSchemePage(lpvm);
     await Navigation.PushAsync(lsp);
 }