ATMLCommonLibrary.controls.instrument.InstrumentControl.GetErrorMessage C# (CSharp) Method

GetErrorMessage() public method

public GetErrorMessage ( ) : string
return string
        public string GetErrorMessage()
        {
            StringBuilder sb = new StringBuilder();
            sb.Append( errorProvider1.GetError(this) ).Append( Resources.CRLF );
            foreach (  System.Windows.Forms.Control control in this.Controls)
            {
                sb.Append( errorProvider.GetError( control ) );
            }
            return sb.ToString();
        }