My if condition is never true. I think that I am converting the TextBox.Text property to a decimal value by using the decimal.Parse( ) method, but it does nto work. So, I must be wrong. Anyone see a glaring problem here?
You know, for me, this is a whole lot easier to debug in Visual FoxPro.
Cecil
private void basePriceTextBox_Leave(object sender, EventArgs e)
{
if (decimal.Parse(this.basePriceTextBox.Text) > 1)
{
this.stereoCheckBox.Enabled = true;
this.leatherInteriorCheckBox.Enabled = true;
this.computerNavigationCheckBox.Enabled = true;
}
}