private void textBoxTheta_TextChanged(object sender, EventArgs e)
{
try
{
_THETA = double.Parse(textBoxTheta.Text);
}
catch (FormatException fe)
{
}
catch (Exception)
{
_THETA = 1;
textBoxTheta.Text = "1";
//MessageBox.Show("Invalid input!\r\nCheck your input again.", "Caution", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
if (comboBoxTaskSet.SelectedItem.ToString() == "EMS")
textBoxEmsTheta.Text = _THETA.ToString();
else
textBoxTmsTheta.Text = _THETA.ToString();
if (_THETA > _PI)
textBoxPi.Text = textBoxTheta.Text;
}
private void textBoxPi_TextChanged(object sender, EventArgs e)