Example #1
0
 protected override void CreateSink()
 {
     try {
         this.eventMulticaster = new AxMicrImageEventMulticaster(this);
         this.cookie           = new System.Windows.Forms.AxHost.ConnectionPointCookie(this.ocx, this.eventMulticaster, typeof(MTMicrImage.@__MicrImage));
     }
     catch (System.Exception) {
     }
 }
Example #2
0
 protected override void CreateSink() {
     try {
         this.eventMulticaster = new AxMicrImageEventMulticaster(this);
         this.cookie = new System.Windows.Forms.AxHost.ConnectionPointCookie(this.ocx, this.eventMulticaster, typeof(MTMicrImage.@__MicrImage));
     }
     catch (System.Exception ) {
     }
 }