Esempio n. 1
0
 public void SetCore(IWMPCore PassedCore)
 {
     lock (this)
     {
         Core = (PassedCore == null) ? null : PassedCore;
     }
 }
Esempio n. 2
0
        public void SetCore(IWMPCore PassedCore)
        {
            if (PassedCore == null)
            {
                MyCore = null;
                return;
            }

            MyCore = PassedCore;
        }
Esempio n. 3
0
 /// <summary>
 /// must be overrided to initialize the ocx field
 /// </summary>
 protected override void AttachInterfaces()
 {
     try
     {
         this.ocx = (IWMPCore)COMWrapper.Wrap(this.GetOcx(), typeof(IWMPCore));
     }
     catch (System.Exception)
     {
     }
 }
Esempio n. 4
0
        /// <summary>
        /// must be overrided to initialize the ocx field
        /// </summary>
        protected override void AttachInterfaces()
        {
            try
            {
                this.ocx = (IWMPCore)COMWrapper.Wrap(this.GetOcx(), typeof(IWMPCore));
            }
            catch (System.Exception)
            {

            }
        }