public SubtitleTrackListView() { InitializeComponent(); _helper = new TrackListViewHelper(listViewAudioTracks, track => track.IsSubtitle && Filter(track), GetListItem); Load += _helper.OnLoad; _helper.PlaylistReconfigured += HelperOnPlaylistReconfigured; }
public AudioTrackListView() { InitializeComponent(); _helper = new TrackListViewHelper(listViewAudioTracks, track => track.IsAudio && Filter(track), GetListItem); Load += _helper.OnLoad; _helper.PlaylistReconfigured += HelperOnPlaylistReconfigured; // Set initial sort order for columns that should default to descending instead of ascending columnHeaderChannels.Tag = SortOrder.Descending; }
public VideoTrackListView() { InitializeComponent(); _helper = new TrackListViewHelper(listViewVideoTracks, track => track.IsVideo && Filter(track), GetListItem); Load += _helper.OnLoad; _helper.PlaylistReconfigured += HelperOnPlaylistReconfigured; // Set initial sort order for columns that should default to descending instead of ascending columnHeaderResolution.Tag = SortOrder.Descending; columnHeaderFrameRate.Tag = SortOrder.Descending; }