FireValidated() private method

private FireValidated ( ) : void
return void
Exemplo n.º 1
0
        private bool ValidateControl(Control c)
        {
            CancelEventArgs e = new CancelEventArgs();

            c.FireValidating(e);

            if (e.Cancel)
            {
                return(false);
            }

            c.FireValidated();
            return(true);
        }
Exemplo n.º 2
0
		private bool ValidateControl (Control c)
		{
			CancelEventArgs e = new CancelEventArgs ();
			c.FireValidating (e);
			if (e.Cancel)
				return false;
			c.FireValidated ();
			return true;
		}