protected virtual void OnNavigating(GeckoNavigatingEventArgs e) { if (((GeckoNavigatingEventHandler)this.Events[NavigatingEvent]) != null) ((GeckoNavigatingEventHandler)this.Events[NavigatingEvent])(this, e); }