Example #1
0
 public bool OptionsValid()
 {
     if (this.Table != null)
     {
         return(ResultValidator.OptionsValid(this.Table.ValidationOptions));
     }
     else
     {
         return(true);
     }
 }
Example #2
0
 public bool OptionsValid()
 {
     if ((ResultValidator.OptionsValid(this._table.ValidationOptions)) && this.PageHeader.OptionsValid())
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Example #3
0
        public void OnTimeoutReached()
        {
            if (GuiTimeout.Instance.IgnoreValidation == true)
            {
                foreach (IValidationGuiOption valop in this._optionlibrary.ValidationOptions)
                {
                    //validation needs disabling because LostFocus is a validation event
                    if (valop.ValidationHandler != null)
                    {
                        valop.ValidationHandler.Enabled = false;
                    }
                    valop.ClearToolTips();
                }

                if (GuiTimeout.Instance.CancelOnTimeout == false)
                {
                    this.Finish();
                }
                else
                {
                    this.Cancel();
                }
            }
            else
            {
                if (ResultValidator.OptionsValid(this._optionlibrary.ValidationOptions))
                {
                    if (GuiTimeout.Instance.CancelOnTimeout == false)
                    {
                        this.Finish();
                    }
                    else
                    {
                        this.Cancel();
                    }
                }
            }
        }