예제 #1
0
 private async void PackingListAction(object obj)
 {
     var order = (OrderPenjualan)obj;
     var vm    = new CreatePackingListViewModel(order);
     var form  = new CreatePackingList()
     {
         BindingContext = vm
     };
     await Shell.Current.Navigation.PushAsync(form);
 }
예제 #2
0
 private async void Button_Clicked(object sender, EventArgs e)
 {
     var order = (OrderPenjualan)ItemsListView.SelectedItem;
     var vm    = new CreatePackingListViewModel(order);
     var form  = new CreatePackingList()
     {
         BindingContext = vm
     };
     await Shell.Current.Navigation.PushAsync(form);
 }