Ejemplo n.º 1
0
        private async void SelectCommandAction(object obj)
        {
            fromdetail = true;
            var order = (PenjualanAndOrderModel)obj;
            var form  = new Views.SalesOrderView();
            var vm    = new SalesOrderViewModel(order);

            form.BindingContext = vm;
            await Shell.Current.Navigation.PushAsync(form);
        }
Ejemplo n.º 2
0
        private void AddNewCommandAction(object obj)
        {
            var vm   = new SalesOrderViewModel(null);
            var form = new Views.SalesOrderView()
            {
                BindingContext = vm
            };

            Shell.Current.Navigation.PushAsync(form);
        }