protected void OnUIAutomationEvent(object src, classic.AutomationEventArgs e) { if (!checkNotNull(src, e)) return; RunEventScriptBlocks(this); try { WriteVerbose(this, e.EventId + " on " + (src as classic.AutomationElement) + " fired"); } catch { } } #endregion OnUIAutomationEvent