示例#1
0
        private void buttonOpenM2ts_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                if (!checkEac3to())
                {
                    return;
                }
                FileListWindow flw = new FileListWindow();
                flw.ShowDialog();
                if (flw.DialogResult == true)
                {
                    comboBoxTitle.Items.Clear();
                    listBoxStreams.ItemsSource = null;

                    titleList.Clear();
                    m2tsList.Clear();
                    foreach (string s in flw.fileList)
                    {
                        m2tsList.Add(s);
                    }
                    DoM2tsInfo();
                }
            }
            catch (Exception)
            {
            }
        }
示例#2
0
        private void buttonOpenM2ts_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                if (!checkEac3to()) return;
                FileListWindow flw = new FileListWindow();
                flw.ShowDialog();
                if (flw.DialogResult == true)
                {
                    comboBoxTitle.Items.Clear();
                    listBoxStreams.ItemsSource = null;

                    titleList.Clear();
                    m2tsList.Clear();
                    foreach (string s in flw.fileList)
                    {
                        m2tsList.Add(s);
                    }
                    DoM2tsInfo();
                }
            }
            catch (Exception)
            {
            }
        }