hi i have a listview that keep time(Second) and text. i want when player time was equal to my listview item times label1 show its text(RealTime). it is very similar to subtitle. i tried this:
private void axWindowsMediaPlayer1_PlayStateChange(object sender, AxWMPLib._WMPOCXEvents_PlayStateChangeEvent e)
{
while (axWindowsMediaPlayer1.playState == WMPLib.WMPPlayState.wmppsPlaying)
foreach (ListViewItem item in listView1.Items) if(axWindowsMediaPlayer1.Ctlcontrols.currentPosition==Convert.ToInt32(item.subitem[0].text))
label1.Text = item.subitem[1].text;
}