private Char1DS_TextChanged ( object sender, |
||
sender | object | |
e | ||
Результат | void |
private void Char1DS_TextChanged(object sender, EventArgs e)
{
try
{
this.Group[0].skill.SetDeciferScript(Convert.ToInt32(Char1DS.Text));
}
catch
{
if (isError && !Char1DS.Text.Equals(""))
{
ErrorMSG error = new ErrorMSG();
//set error message
error.ErrorLabel.Text = "Error: This box takes integers only (0-9)";
error.Show();
isError = false;
///
Char1DS.Text = "";
////
isError = true;
}//end if
}
}