MyControlLibrary.CharTabPage.Char4CHA_TextChanged C# (CSharp) Method

Char4CHA_TextChanged() private method

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