private void Char2CON_TextChanged(object sender, EventArgs e)
{
try
{
this.Group[1].SetCON(Convert.ToInt32(Char2CON.Text));
Char2CON_MOD.Text = this.Group[1].GetCON_Mod().ToString();
}
catch
{
if (isError && !Char2CON.Text.Equals(""))
{
ErrorMSG error = new ErrorMSG();
//set error message
error.ErrorLabel.Text = "Error: This box takes integers only (0-9)";
error.Show();
isError = false;
///
Char2CON.Text = "";
////
isError = true;
}//end if
if (Char2CON.Text.Equals(""))
Char2CON_MOD.Text = "0";
}
}