public void OnDataSent(object source, EventArgs e) { GusBurger.AllZero(_gb); Sandwich.AllZero(_sand); SoupPage.AllZero(_sp); BikBurgerPage.AllZero(_bp); }
public Zakaz(BikBurgerPage bp, SoupPage sp, Sandwich sand, GusBurger gb) { InitializeComponent(); InitList(); BindingContext = this; _bp = bp; _sp = sp; _sand = sand; _gb = gb; }
public static void AllZero(GusBurger burger) { if (burger != null) { burger._total.Text = ""; burger._howMany.Text = ""; burger._gusBurgerCounter = 0; } Order.CountGus = 0; Order.OrderTotal = 0; }
public BikBurgerPage(SoupPage sp, Sandwich sand, GusBurger gb) { InitializeComponent(); CreateLayout(); SetFoodImage(); SetCart(); SetCheckOut(); SetItemName(); _sp = sp; _sand = sand; _gb = gb; }
public Sandwich(BikBurgerPage bp, SoupPage sp, GusBurger gb) { InitializeComponent(); CreateLayout(); SetFoodImage(); SetCart(); SetCheckOut(); SetItemName(); _bp = bp; _sp = sp; _gb = gb; }