Exemplo n.º 1
0
 public void OnDataSent(object source, EventArgs e)
 {
     GusBurger.AllZero(_gb);
     Sandwich.AllZero(_sand);
     SoupPage.AllZero(_sp);
     BikBurgerPage.AllZero(_bp);
 }
Exemplo n.º 2
0
        public Zakaz(BikBurgerPage bp, SoupPage sp, Sandwich sand, GusBurger gb)
        {
            InitializeComponent();
            InitList();
            BindingContext = this;

            _bp   = bp;
            _sp   = sp;
            _sand = sand;
            _gb   = gb;
        }
Exemplo n.º 3
0
        public static void AllZero(GusBurger burger)
        {
            if (burger != null)
            {
                burger._total.Text       = "";
                burger._howMany.Text     = "";
                burger._gusBurgerCounter = 0;
            }

            Order.CountGus   = 0;
            Order.OrderTotal = 0;
        }
Exemplo n.º 4
0
        public BikBurgerPage(SoupPage sp, Sandwich sand, GusBurger gb)
        {
            InitializeComponent();
            CreateLayout();
            SetFoodImage();
            SetCart();
            SetCheckOut();
            SetItemName();

            _sp   = sp;
            _sand = sand;
            _gb   = gb;
        }
Exemplo n.º 5
0
        public Sandwich(BikBurgerPage bp, SoupPage sp, GusBurger gb)
        {
            InitializeComponent();
            CreateLayout();
            SetFoodImage();
            SetCart();
            SetCheckOut();
            SetItemName();

            _bp = bp;
            _sp = sp;
            _gb = gb;
        }