/// <summary> /// Handles the CellContentDoubleClick event of the grdPlaylist control. /// </summary> private void grdPlaylist_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e) { var currentTrack = GetLibraryTrack(SetCurrentTrack(e.RowIndex)); var forcePlay = new ForcePlayTrackHandler(ForcePlayTrack); BeginInvoke(forcePlay, currentTrack); }
/// <summary> /// Handles the CellContentDoubleClick event of the grdPlaylist control. /// </summary> private void grdPlaylist_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e) { var currentTrack = GetLibraryTrack(SetCurrentTrack(e.RowIndex)); var forcePlay = new ForcePlayTrackHandler(ForcePlayTrack); BeginInvoke(forcePlay, currentTrack); }