ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater/Main.cs
(Generate patch)

Comparing trunk/RomCheater/Main.cs (file contents):
Revision 146 by william, Sun May 27 22:24:30 2012 UTC vs.
Revision 147 by william, Sun May 27 23:05:18 2012 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines