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