protected virtual void OnOnError( string message ) { OnErrorDelegate handler = OnError; if (handler != null) handler( parent, message ); }