Ejemplo n.º 1
0
        private void AddNewCommandAction(object obj)
        {
            var vm   = new PenjualanDetailViewModel(null);
            var form = new PenjualanDetailView()
            {
                BindingContext = vm
            };

            Shell.Current.Navigation.PushAsync(form);
        }
Ejemplo n.º 2
0
        private void SelectCommandAction(object obj)
        {
            fromdetail = true;
            var order = (PenjualanAndOrderModel)obj;
            var vm    = new PenjualanDetailViewModel(order);
            var form  = new PenjualanDetailView()
            {
                BindingContext = vm
            };

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