public void SetTable(int tableID) { this.tableID = tableID; mealToPay = ConnectionObject.GetMealInformation(tableID); DisplayMealPriceToPay(); DisplayMealOrdersDisplay(); }
private void Button1_Click(object sender, EventArgs e) { ConnectionObject.SetMealAsPaid(tableID); ConnectionObject.CloseTable(tableID); }