Ejemplo n.º 1
0
 public SubtitleTrackListView()
 {
     InitializeComponent();
     _helper = new TrackListViewHelper(listViewAudioTracks, track => track.IsSubtitle && Filter(track), GetListItem);
     Load   += _helper.OnLoad;
     _helper.PlaylistReconfigured += HelperOnPlaylistReconfigured;
 }
Ejemplo n.º 2
0
 public SubtitleTrackListView()
 {
     InitializeComponent();
     _helper = new TrackListViewHelper(listViewAudioTracks, track => track.IsSubtitle && Filter(track), GetListItem);
     Load += _helper.OnLoad;
     _helper.PlaylistReconfigured += HelperOnPlaylistReconfigured;
 }
Ejemplo n.º 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;
        }
Ejemplo n.º 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;
        }
Ejemplo n.º 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;
        }
Ejemplo n.º 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;
        }