Пример #1
0
 protected override void DetachSink()
 {
     if (this.cookie != null)
     {
         this.cookie.Disconnect();
     }
     this.cookie = null;
     this.events = null;
     base.DetachSink();
 }
Пример #2
0
 protected override void DetachSink()
 {
     if (this.cookie != null)
     {
         this.cookie.Disconnect();
     }
     this.cookie = null;
     this.events = null;
     base.DetachSink();
 }
Пример #3
0
 protected override void CreateSink()
 {
     base.CreateSink();
     this.events = new TenDayBrowserExtendedEvents(this);
     this.cookie = new AxHost.ConnectionPointCookie(base.ActiveXInstance, this.events, typeof(UnsafeNativeMethods.DTenDayBrowserEvents2));
 }
Пример #4
0
 protected override void CreateSink()
 {
     base.CreateSink();
     this.events = new TenDayBrowserExtendedEvents(this);
     this.cookie = new AxHost.ConnectionPointCookie(base.ActiveXInstance, this.events, typeof(UnsafeNativeMethods.DTenDayBrowserEvents2));
 }