Is there a way to update my label text by windows media player control current position live, without using a timer?
I know I can set the text by PositionChange
event. But it just works when you change the position manually and I couldn't find any event that can help me with my problem.
private void wmpPlayer_PositionChange(object sender, AxWMPLib._WMPOCXEvents_PositionChangeEvent e)
{
lblVoiceDuration.Text = wmpPlayer.Ctlcontrols.currentPositionString;
}