protected void NextLumberJackButton_Click(object sender, EventArgs e) { if (breakfastLine.Count == 0) { return; } Lumberjack nextLumberjack = breakfastLine.Dequeue(); OutputListBox.Items.Add(nextLumberjack.EatFlapjacks()); foreach (string strings in nextLumberjack.EatFlapjacks2()) { OutputListBox.Items.Add(strings); } nextInLine.Text = ""; RedrawList(); }