private void btnViewSource_Click(object sender, RoutedEventArgs e) { if (string.IsNullOrEmpty(csvFilePath)) { MessageBox.Show("请先选择文件"); return; } ViewSource source = new ViewSource(csvFilePath); source.Show(); }
private void btnViewResult_Click(object sender, RoutedEventArgs e) { if (OutputList.Count > 0) { foreach (string item in OutputList) { ViewSource source = new ViewSource(item); source.Show(); } } }