private void StopEvents() { if (this.GetAxHostState(ActiveXHelper.sinkAttached)) { this.SetAxHostState(ActiveXHelper.sinkAttached, false); DetachSink(); } this.ActiveXSite.StopEvents(); }