Exemplo n.º 1
0
        private void OpenSubtitles()
        {
            var fileOpen = new Microsoft.Win32.OpenFileDialog();
            fileOpen.Filter = "Subtitles (.srt)|*.srt";

            bool? userClickedOk = fileOpen.ShowDialog();
            if (userClickedOk == true)
            {
                //SubView = new SubtitlesView(fileOpen.FileName);
                //this.Frame.Content = SubView;
                //var content = this.Frame.Content;
                Frame = new SubtitlesView(fileOpen.FileName);
            }
        }
Exemplo n.º 2
0
 private void Debug_AutoSelectSub()
 {
     SubView = new SubtitlesView(@"E:\from ubuntu\videos\The Wire 1-5\The Wire Season 4\The Wire [4x02] Soft Eyes.srt");
     this.Frame.Content = SubView;
 }