refactor(io): migrate nest file extension from .zip to .opnest
Add FileExtension and FileFilter constants to NestFormat and update all references across Console, MCP, Training, and WinForms projects. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -288,7 +288,7 @@ namespace OpenNest.Forms
|
||||
public void SaveAs()
|
||||
{
|
||||
var dlg = new SaveFileDialog();
|
||||
dlg.Filter = "Nest Files|*.zip|Template File|*.nstdot";
|
||||
dlg.Filter = $"{NestFormat.FileFilter}|Template File|*.nstdot";
|
||||
dlg.FileName = Nest.Name;
|
||||
|
||||
if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
|
||||
@@ -403,7 +403,7 @@ namespace OpenNest.Forms
|
||||
private void Open_Click(object sender, EventArgs e)
|
||||
{
|
||||
var dlg = new OpenFileDialog();
|
||||
dlg.Filter = "Nest Files (*.zip) | *.zip";
|
||||
dlg.Filter = NestFormat.FileFilter;
|
||||
dlg.Multiselect = true;
|
||||
|
||||
if (dlg.ShowDialog() == DialogResult.OK)
|
||||
|
||||
Reference in New Issue
Block a user