Example #1
0
        private bool ValidateConfiguration()
        {
            string msg = "";

            if (!ValidateBO.IsInt32(this.txtMaximumRetryCount.Text))
            {
                msg += OBBO.dom();
            }
            if (!ValidateBO.IsInt32(this.txtTimerLength.Text))
            {
                msg += OBBO.mok();
            }
            if (msg.Length > 0)
            {
                System.Windows.Forms.Form iForm = new InfoMessageForm(msg, OBBO.er());
                iForm.ShowDialog();
                return(false);
            }
            return(true);
        }
Example #2
0
 private bool Verify()
 {
     return(ValidateBO.IsInt32(txtMaximumRetryCount.Text) && ValidateBO.IsInt32(txtTimerLength.Text));
 }