示例#1
0
 public SubtitleTrackListView()
 {
     InitializeComponent();
     _helper = new TrackListViewHelper(listViewAudioTracks, track => track.IsSubtitle && Filter(track), GetListItem);
     Load   += _helper.OnLoad;
     _helper.PlaylistReconfigured += HelperOnPlaylistReconfigured;
 }
 public SubtitleTrackListView()
 {
     InitializeComponent();
     _helper = new TrackListViewHelper(listViewAudioTracks, track => track.IsSubtitle && Filter(track), GetListItem);
     Load += _helper.OnLoad;
     _helper.PlaylistReconfigured += HelperOnPlaylistReconfigured;
 }
示例#3
0
        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;
        }
示例#4
0
        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;
        }
示例#5
0
        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;
        }
示例#6
0
        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;
        }