Esempio n. 1
0
 public CartViewModel(INavigation navigation, ObservableCollection <clsInvoice> items, TBillCount tbill)
 {
     total            = new TBillCount();
     this.Items       = items;
     _InvoiceApi      = new InvoiceApi();
     this.total       = tbill;
     this.navigation1 = navigation;
 }
Esempio n. 2
0
        public BarcodeViewModel(INavigation navigation)
        {
            this.navigation = navigation;
            IsVisisble      = false;
            Total           = new TBillCount();
            Total.TCount    = 0;
            Total.TBill     = 0;
            Items           = new ObservableCollection <clsInvoice>();


            _itemlistapi = new ItemsListApi();

            _ = GetListOfItemsAsync();
        }
Esempio n. 3
0
 public CartViewPage(ObservableCollection <clsInvoice> items, TBillCount tbill)
 {
     InitializeComponent();
     BindingContext = new CartViewModel(Navigation, items, tbill);
 }