コード例 #1
0
 protected override void CreateSink()
 {
     try {
         this.eventMulticaster = new AxLameColorControlEventMulticaster(this);
         this.cookie           = new System.Windows.Forms.AxHost.ConnectionPointCookie(this.ocx, this.eventMulticaster, typeof(SimpleVb6AxCtrl.__LameColorControl));
     }
     catch (System.Exception) {
     }
 }
コード例 #2
0
ファイル: Class1.cs プロジェクト: rojac07/COM
 protected override void CreateSink()
 {
     try
     {
         this.eventMulticaster = new AxLameColorControlEventMulticaster(this);
         this.cookie = new System.Windows.Forms.AxHost.ConnectionPointCookie(this.ocx, this.eventMulticaster, typeof(SimpleVb6AxCtrl.__LameColorControl));
     }
     catch (System.Exception )
     {
     }
 }