private void MenuItemDownloadDamnu_Click(object sender, RoutedEventArgs e)
        {
            Log.GetLogger().Info("MainWindow->menuItemDownloadDamnu_Click", "Clicked menuItemDownloadDamnu");
            if (dataGrid.SelectedItems.Count == 0)
            {
                return;
            }
            var task = GetSelectedTask(dataGrid);

            DanmuOpt.SaveToFile(task);
        }
        private void MenuItemFiltAndDownload_Click(object sender, RoutedEventArgs e)
        {
            Log.GetLogger().Info("MainWindow->menuItemFiltAndDownload_Checked", "Clicked menuItemFiltAndDownload");
            if (dataGrid.SelectedItems.Count == 0)
            {
                return;
            }
            var task = GetSelectedTask(dataGrid);
            var act  = new Action <int, string>(delegate(int i, string s)
            {
                if (i == 0)
                {
                    return;
                }
                Dispatcher.Invoke(() =>
                {
                    DanmuOpt.DownAndRegxFilt(task, new System.Text.RegularExpressions.Regex(s));
                });
            });

            Views.InputWindow.Start("提示", "请输入正则表达式", act);
        }