/// <summary> /// This is the Event Handler for the ImperialRadioButton CheckedChanged event /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ImperialRadioButton_CheckedChanged(object sender, EventArgs e) { ImperialTableLayoutPanel.Visible = true; MetricTableLayoutPanel.Visible = false; HeightmTextBox.Clear(); WeightkgTextBox.Clear(); }
/// <summary> /// This is Event Handler for ResetButton's Click event /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ResetButton_Click(object sender, EventArgs e) { HeightmTextBox.Clear(); WeightkgTextBox.Clear(); HeightInTextBox.Clear(); WeightlbTextBox.Clear(); BMITextBox.Clear(); MultlineTextBox.Clear(); MultlineTextBox.BackColor = Color.White; }