--- trunk/RomCheater.RVAScratchPad/Form1.cs 2013/06/20 20:01:05 754 +++ trunk/RomCheater.RVAScratchPad/Form1.cs 2013/06/20 20:04:53 755 @@ -17,6 +17,7 @@ namespace RomCheater.RVAScratchPad { public partial class Form1 : Form { + const string DockPanelConfig = "RVAScratchPad-DockPanel.conf"; private SettingSubscriber SettingsSubscriber = null; private bool m_bSaveLayout = true; PluginLoader loader = null; @@ -233,7 +234,7 @@ namespace RomCheater.RVAScratchPad private void Form1_FormClosing(object sender, FormClosingEventArgs e) { SettingsSubscriber.SaveSettings(); - string configFile = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "RVAScratchPad-DockPanel.config"); + string configFile = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), DockPanelConfig); if (m_bSaveLayout) dockPanel.SaveAsXml(configFile); else if (File.Exists(configFile)) @@ -249,7 +250,7 @@ namespace RomCheater.RVAScratchPad { ////dockPanel.SuspendLayout(true); ////ShowDocks(); - string configFile = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "RVAScratchPad-DockPanel.config"); + string configFile = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), DockPanelConfig); if (File.Exists(configFile)) { try |