public static bool?ShowDialog(AscFile ascFile)
        {
            ExportSlopeFromDEMDialog dialog = new ExportSlopeFromDEMDialog();

            dialog._ascFile = ascFile;
            return(dialog.ShowDialog());
        }
示例#2
0
        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());
        }