mirror of
https://github.com/kwsch/NHSE.git
synced 2026-09-29 05:16:33 -05:00
Design Patterns: Load orders by filename, export prompts for filename format
Closes #512
This commit is contained in:
@@ -67,7 +67,8 @@ private void B_DumpDesign_Click(object sender, EventArgs e)
|
||||
var dir = Path.GetDirectoryName(fbd.SelectedPath);
|
||||
if (dir == null || !Directory.Exists(dir))
|
||||
return;
|
||||
Patterns.Dump(fbd.SelectedPath);
|
||||
bool indexed = WinFormsUtil.Prompt(MessageBoxButtons.YesNo, MessageStrings.MsgAskExportResultsWithFileIndex) == DialogResult.Yes;
|
||||
Patterns.Dump(fbd.SelectedPath, indexed);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -66,7 +66,8 @@ private void B_DumpDesign_Click(object sender, EventArgs e)
|
||||
var dir = Path.GetDirectoryName(fbd.SelectedPath);
|
||||
if (dir == null || !Directory.Exists(dir))
|
||||
return;
|
||||
Patterns.Dump(fbd.SelectedPath);
|
||||
bool indexed = WinFormsUtil.Prompt(MessageBoxButtons.YesNo, MessageStrings.MsgAskExportResultsWithFileIndex) == DialogResult.Yes;
|
||||
Patterns.Dump(fbd.SelectedPath, indexed);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user