protected virtual void OnHistoryGotoIndex(GeckoHistoryGotoIndexEventArgs e) { if (((GeckoHistoryGotoIndexEventHandler)this.Events[HistoryGotoIndexEvent]) != null) ((GeckoHistoryGotoIndexEventHandler)this.Events[HistoryGotoIndexEvent])(this, e); }