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

            _bp   = bp;
            _sp   = sp;
            _sand = sand;
            _gb   = gb;
        }
示例#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;
        }
示例#4
0
        public BikBurgerPage(SoupPage sp, Sandwich sand, GusBurger gb)
        {
            InitializeComponent();
            CreateLayout();
            SetFoodImage();
            SetCart();
            SetCheckOut();
            SetItemName();

            _sp   = sp;
            _sand = sand;
            _gb   = gb;
        }
示例#5
0
        public Sandwich(BikBurgerPage bp, SoupPage sp, GusBurger gb)
        {
            InitializeComponent();
            CreateLayout();
            SetFoodImage();
            SetCart();
            SetCheckOut();
            SetItemName();

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