private void InputInvalidationCheck()
{
if (textBoxPi.Text.Trim() == string.Empty)
textBoxPi.Text = "600";
if (textBoxTheta.Text.Trim() == string.Empty || _PI < _THETA)
textBoxTheta.Text = textBoxPi.Text;
if (_incrementUnit <= 0 || textBoxIncrementUnit.Text.Trim() == string.Empty)
{
_incrementUnit = 1;
textBoxIncrementUnit.Text = "1";
}
if (_overhead <= 0 || _overhead >= _incrementUnit || textBoxContextSwitchOverhead.Text.Trim() == string.Empty)
{
_overhead = 0;
textBoxContextSwitchOverhead.Text = "0";
}
}