ATMLCommonLibrary.controls.instrument.InstrumentControl.GetErrorMessage C# (CSharp) 메소드

GetErrorMessage() 공개 메소드

public GetErrorMessage ( ) : string
리턴 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();
        }