protected void onPlayerStateChange(WMPPlayerArgs args) { if (OnPlayerStateChange != null) { OnPlayerStateChange(this, args); } }
protected void onPlayContextChange(WMPPlayerArgs args) { if (OnPlayContextChange != null) { System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = false; OnPlayContextChange(this, args); } }
public void Dispose() { _timer.Dispose(); _timer = null; _wmp.close(); _wmp = null; _args = null; }