Exemple #1
0
        private void AddNewCommandAction(object obj)
        {
            var vm   = new PenjualanDetailViewModel(null);
            var form = new PenjualanDetailView()
            {
                BindingContext = vm
            };

            Shell.Current.Navigation.PushAsync(form);
        }
Exemple #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);
        }