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