Пример #1
0
 public virtual void OpenStateChange(int newState)
 {
     _WMPOCXEvents_OpenStateChangeEvent openstatechangeEvent = new _WMPOCXEvents_OpenStateChangeEvent(newState);
     this.parent.RaiseOnOpenStateChange(this.parent, openstatechangeEvent);
 }
Пример #2
0
 internal void RaiseOnOpenStateChange(object sender, _WMPOCXEvents_OpenStateChangeEvent e)
 {
     if ((this.OpenStateChange != null)) {
         this.OpenStateChange(sender, e);
     }
 }