protected virtual void OnXmlDocumentLoaded() { EventHandler handler = XmlDocumentLoaded; if (handler != null) handler(this, EventArgs.Empty); }