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

Diff of /trunk/RomCheater/Main.cs

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

--- trunk/RomCheater/Main.cs	2012/05/27 22:24:30	146
+++ trunk/RomCheater/Main.cs	2012/05/27 23:05:18	147
@@ -22,6 +22,7 @@
     {
         private DeserializeDockContent m_deserializeDockContent;
         private FloatingLogWindow m_LogWindow = new FloatingLogWindow();
+        private FloatingAboutBox m_AboutBox = new FloatingAboutBox();
         //private bool log_window_expanded = false;
         //private double log_window_splitter_default_position = 1.4045;
         PluginLoader loader = null;
@@ -56,6 +57,8 @@
         public void SetupDocks()
         {
             m_LogWindow = new FloatingLogWindow();
+
+            m_AboutBox = new FloatingAboutBox();
             m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
         }
         public void ShowDocks()
@@ -63,9 +66,13 @@
             ShowLogWindow();
         }
         public void ShowLogWindow()
-        {
+        {           
             m_LogWindow.Show(dockPanel);
         }
+        public void ShowAboutBox()
+        {
+            m_AboutBox.Show(dockPanel);
+        }
         #endregion
 
 
@@ -146,5 +153,10 @@
         {
             ShowLogWindow();
         }
+
+        private void mnuItemHelpAbout_Click(object sender, EventArgs e)
+        {
+            ShowAboutBox();
+        }
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22