1

我在 Windows 窗体中使用 WindowsMediaPlayer 元素,我希望有一个事件侦听器来监视 Position 属性(双精度)的变化。

内置的 Position changed 事件似乎不是它。

如何在不修改原始类或扩展它的情况下添加事件?

提前致谢

4

1 回答 1

2

Use a timer control or separate process to monitor the Ctlcontrols.currentPosition of the axwindowsmediaplayer and update your display.

于 2014-05-15T01:18:00.240 回答