public static bool?ShowDialog(AscFile ascFile) { ExportSlopeFromDEMDialog dialog = new ExportSlopeFromDEMDialog(); dialog._ascFile = ascFile; return(dialog.ShowDialog()); }
public static bool?ShowDialog(AscFile ascFile) { ExportSmoothedDEMDialog dialog = new ExportSmoothedDEMDialog(); dialog._ascFile = ascFile; var folder = Path.GetDirectoryName(ascFile.Path); dialog.PathTextBox.Text = folder; return(dialog.ShowDialog()); }