//======================== CLEAR ALL ===================================== private void ClearAllButton_Click(object sender, EventArgs e) { HeadPictureBox.BringToFront(); TailPictureBox.SendToBack(); FlipCoinButton.Text = "Coin Face"; Number1TextBox.Text = ""; Number2TextBox.Text = ""; Number3TextBox.Text = ""; AdditionOutputLabel.Text = "0"; ApplePictureBox.Visible = false; KiwiPictureBox.Visible = false; AvocadoPictureBox.Visible = false; FruitListBox.ClearSelected(); EvenOddInput.Text = ""; EvenOddOutput.Text = ""; GroceryListBox.Items.Clear(); MoneyOutputLabel.Text = "$0.00"; groceriesList.Clear(); priceList.Clear(); PickLabel1.Text = ""; PickLabel2.Text = ""; PickLabel3.Text = ""; PickLabel4.Text = ""; PickLabel5.Text = ""; PickLabel6.Text = ""; PickLabel7.Text = ""; PickOutput.Text = ""; ListArrayComboBox.SelectedIndex = -1; LoadArrayFirstOutput.Text = ""; LoadListOutput.Text = ""; DaysForListBox.Items.Clear(); DaysForeachListBox.Items.Clear(); NameInput.Text = ""; ScoreListBox.Items.Clear(); HighestScoreOutput.Text = ""; LowestScoreOutput.Text = ""; AverageScoreOutput.Text = ""; A1Button.Text = "A1"; A2Button.Text = "A2"; A3Button.Text = "A3"; A4Button.Text = "A4"; B1Button.Text = "B1"; B2Button.Text = "B2"; B3Button.Text = "B3"; B4Button.Text = "B4"; B5Button.Text = "B5"; B6Button.Text = "B6"; C1Button.Text = "C1"; C2Button.Text = "C2"; C3Button.Text = "C3"; C4Button.Text = "C4"; C5Button.Text = "C5"; C6Button.Text = "C6"; C7Button.Text = "C7"; C8Button.Text = "C8"; }
private void TailOn() { HeadPictureBox.SendToBack(); FlipCoinButton.Text = "Tails"; }