Пример #1
0
 protected override void AttachInterfaces()
 {
     try
     {
         this.ocx = (IShockwaveFlash)base.GetOcx();
     }
     catch (Exception)
     {
     }
 }
Пример #2
0
 /// <summary>
 /// When overridden in a derived class, attaches interfaces to the underlying ActiveX control. 
 /// </summary>
 protected override void AttachInterfaces()
 {
   try
   {
     this.ocx = (IShockwaveFlash)this.GetOcx();
   }
   catch (System.Exception)
   {
   }
 }