private void SetTableColors() { foreach (Button button in tableButtons) { button.BackColor = Color.Green; } foreach (int tafel in order_Service.GetInUseTables()) { tableButtons[tafel - 1].BackColor = Color.Red; } }
private void SetTableColors() { foreach (Button button in tableButtons) { button.BackColor = Color.Green; } foreach (int tafel in order_Service.GetInUseTables()) { tableButtons[tafel - 1].BackColor = Color.Red; } }