/[RomCheater]/trunk/RomCheater.RVAScratchPad/Form1.cs
ViewVC logotype

Diff of /trunk/RomCheater.RVAScratchPad/Form1.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 732 by william, Wed Jun 19 15:18:52 2013 UTC revision 755 by william, Thu Jun 20 20:04:53 2013 UTC
# Line 17  namespace RomCheater.RVAScratchPad Line 17  namespace RomCheater.RVAScratchPad
17  {  {
18      public partial class Form1 : Form      public partial class Form1 : Form
19      {      {
20            const string DockPanelConfig = "RVAScratchPad-DockPanel.conf";
21          private SettingSubscriber SettingsSubscriber = null;          private SettingSubscriber SettingsSubscriber = null;
22          private bool m_bSaveLayout = true;          private bool m_bSaveLayout = true;
23          PluginLoader loader = null;          PluginLoader loader = null;
# Line 233  namespace RomCheater.RVAScratchPad Line 234  namespace RomCheater.RVAScratchPad
234          private void Form1_FormClosing(object sender, FormClosingEventArgs e)          private void Form1_FormClosing(object sender, FormClosingEventArgs e)
235          {          {
236              SettingsSubscriber.SaveSettings();              SettingsSubscriber.SaveSettings();
237              string configFile = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "RVAScratchPad-DockPanel.config");              string configFile = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), DockPanelConfig);
238              if (m_bSaveLayout)              if (m_bSaveLayout)
239                  dockPanel.SaveAsXml(configFile);                  dockPanel.SaveAsXml(configFile);
240              else if (File.Exists(configFile))              else if (File.Exists(configFile))
# Line 249  namespace RomCheater.RVAScratchPad Line 250  namespace RomCheater.RVAScratchPad
250          {          {
251              ////dockPanel.SuspendLayout(true);              ////dockPanel.SuspendLayout(true);
252              ////ShowDocks();              ////ShowDocks();
253              string configFile = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "RVAScratchPad-DockPanel.config");              string configFile = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), DockPanelConfig);
254              if (File.Exists(configFile))              if (File.Exists(configFile))
255              {              {
256                  try                  try

Legend:
Removed from v.732  
changed lines
  Added in v.755

  ViewVC Help
Powered by ViewVC 1.1.22