/[RomCheater]/trunk/RomCheater/Main.cs
ViewVC logotype

Diff of /trunk/RomCheater/Main.cs

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

revision 146 by william, Sun May 27 22:24:30 2012 UTC revision 147 by william, Sun May 27 23:05:18 2012 UTC
# Line 22  namespace RomCheater Line 22  namespace RomCheater
22      {      {
23          private DeserializeDockContent m_deserializeDockContent;          private DeserializeDockContent m_deserializeDockContent;
24          private FloatingLogWindow m_LogWindow = new FloatingLogWindow();          private FloatingLogWindow m_LogWindow = new FloatingLogWindow();
25            private FloatingAboutBox m_AboutBox = new FloatingAboutBox();
26          //private bool log_window_expanded = false;          //private bool log_window_expanded = false;
27          //private double log_window_splitter_default_position = 1.4045;          //private double log_window_splitter_default_position = 1.4045;
28          PluginLoader loader = null;          PluginLoader loader = null;
# Line 56  namespace RomCheater Line 57  namespace RomCheater
57          public void SetupDocks()          public void SetupDocks()
58          {          {
59              m_LogWindow = new FloatingLogWindow();              m_LogWindow = new FloatingLogWindow();
60    
61                m_AboutBox = new FloatingAboutBox();
62              m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);              m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
63          }          }
64          public void ShowDocks()          public void ShowDocks()
# Line 63  namespace RomCheater Line 66  namespace RomCheater
66              ShowLogWindow();              ShowLogWindow();
67          }          }
68          public void ShowLogWindow()          public void ShowLogWindow()
69          {          {          
70              m_LogWindow.Show(dockPanel);              m_LogWindow.Show(dockPanel);
71          }          }
72            public void ShowAboutBox()
73            {
74                m_AboutBox.Show(dockPanel);
75            }
76          #endregion          #endregion
77    
78    
# Line 146  namespace RomCheater Line 153  namespace RomCheater
153          {          {
154              ShowLogWindow();              ShowLogWindow();
155          }          }
156    
157            private void mnuItemHelpAbout_Click(object sender, EventArgs e)
158            {
159                ShowAboutBox();
160            }
161      }      }
162  }  }

Legend:
Removed from v.146  
changed lines
  Added in v.147

  ViewVC Help
Powered by ViewVC 1.1.22