/// <summary> /// When the HeightTextBox is clicked, the following code starts functioning /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void HeightTextBox_Click(object sender, EventArgs e) { OneButtton.Show(); TwoButton.Show(); ThreeButton.Show(); FourButton.Show(); FiveButton.Show(); SixButton.Show(); SevenButton.Show(); EightButton.Show(); NineButton.Show(); BackSpaceButton.Show(); HeightTextBox.Enabled = true; if ((ImperialRadioButton.Checked) || (MetricRadioButton.Checked)) { if (HeightTextBox.Text != "") { ProgressBar.Value = 25; } } }