Esempio n. 1
0
 public virtual void DurationUnitChange(int newDurationUnit)
 {
     _WMPOCXEvents_DurationUnitChangeEvent durationunitchangeEvent = new _WMPOCXEvents_DurationUnitChangeEvent(newDurationUnit);
     this.parent.RaiseOnDurationUnitChange(this.parent, durationunitchangeEvent);
 }
Esempio n. 2
0
 internal void RaiseOnDurationUnitChange(object sender, _WMPOCXEvents_DurationUnitChangeEvent e)
 {
     if ((this.DurationUnitChange != null)) {
         this.DurationUnitChange(sender, e);
     }
 }
Esempio n. 3
0
 private void BGM_Play_Pos_Change(object sender, _WMPOCXEvents_DurationUnitChangeEvent e)
 {
     MessageBox.Show("");
     fademedia(BGM_Player, "fadein");
 }