Browse Source

添加标准库打开默认路径

cxs 2 years ago
parent
commit
5ce8e5c769
1 changed files with 1 additions and 0 deletions
  1. 1 0
      OTSPartA_STDEditor/Form_ConstantsEditor2.cs

+ 1 - 0
OTSPartA_STDEditor/Form_ConstantsEditor2.cs

@@ -1299,6 +1299,7 @@ namespace OTSPartA_STDEditor
             OpenFileDialog openFileDialog = new OpenFileDialog();
             openFileDialog.Filter = "(*.db)|*.db";
             openFileDialog.RestoreDirectory = true;
+            openFileDialog.InitialDirectory = Application.StartupPath + "\\Config\\SysData\\";
             openFileDialog.FilterIndex = 1;
             if (openFileDialog.ShowDialog() == DialogResult.OK)
             {