private void textBoxContextSwitchOverhead_TextChanged(object sender, EventArgs e)
{
TextBox t = sender as TextBox;
try
{
_overhead = double.Parse(textBoxContextSwitchOverhead.Text);
}
catch (FormatException fe)
{
}
catch (Exception)
{
_overhead = 0;
textBoxContextSwitchOverhead.Text = "0";
}
if (_overhead < 0)
{
_overhead = 0;
textBoxContextSwitchOverhead.Text = "0";
}
if (_overhead > double.Parse(textBoxIncrementUnit.Text))
textBoxIncrementUnit.Text = t.Text;
}
private void textBoxLCM_TextChanged(object sender, EventArgs e)