/// <summary> /// This is the Event Handler for the MetricRadioButton CheckedChanged event /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void MetricRadioButton_CheckedChanged(object sender, EventArgs e) { MetricTableLayoutPanel.Visible = true; ImperialTableLayoutPanel.Visible = false; HeightInTextBox.Clear(); WeightlbTextBox.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; }