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