public void Clicked_Seat17(object sender, EventArgs e) { tapCount16++; if (tapCount16 % 2 == 0) { s17.BackgroundColor = Color.FromHex("#52add4"); qty--; } else { s17.BackgroundColor = Color.FromHex("#63539e"); qty++; } Quantity.Text = "" + qty; TotAmt.Text = (qty * BusController.GetBusFee()).ToString(); }
public async void Done_Clicked(object a, EventArgs e) { Controller.PaymentController.SetTotAmt((int.Parse(qtyseats.Text) * BusController.GetBusFee())); Controller.PaymentController.SetTotQty(int.Parse(qtyseats.Text)); await Navigation.PushAsync(new PaymentPage()); }
public SeatPlanPage() { InitializeComponent(); overlay.IsVisible = false; Price.Text = (BusController.GetBusFee()).ToString(); }