private void SelectFile_Click(object sender, RoutedEventArgs e) { if (IODialogs.TrySelectFile(WorkbookPath, SelectFile, "Select Workbook", "xlsx")) { CollectInput(); WindowHelper.RunWithCancel("Check for worksheets", CheckWorksheets, cancelMessage: "Cancelled worksheet check"); } }
private void SelectFile_Click(object sender, RoutedEventArgs e) { IODialogs.TrySelectFile(DocumentPath, SelectFile, "Select document", "docx"); }