UpdatePresetFiles();\r
return true;\r
}\r
+/*\r
+ else\r
+ {\r
+ MessageBox.Show("そのプリセット名はすでに存在しています。 別の名前を選択してください", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
+ return false;\r
+ }\r
+*/\r
return false;\r
}\r
\r
\r
foreach (Preset preset in _userPresets) // User Presets\r
{\r
+/*\r
+ MessageBox.Show("ファイルの書き込みに失敗しました。\n Error Information: \n\n" + exc.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);\r
+*/\r
TreeNode presetTreeview = new TreeNode(preset.Name) { ForeColor = Color.Black };\r
presetPanel.Nodes.Add(presetTreeview);\r
}\r
}\r
catch (Exception exc)\r
{\r
- MessageBox.Show("Unable to write to the file. Please make sure the location has the correct permissions for file writing.\n Error Information: \n\n" + exc, "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);\r
+ MessageBox.Show("ファイルの書き込みに失敗しました。\n Error Information: \n\n" + exc, "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);\r
}\r
}\r
\r