/[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	2014/09/17 04:59:00	890
+++ trunk/RomCheater/Main.cs	2014/09/17 05:14:20	891
@@ -192,6 +192,23 @@
             if (persistString == typeof(FloatingWebBrowser).ToString()) { return m_wb; }
             else { return null; }
         }
+        private void SetDockIcon(DockContent c) { c.Icon = Core.Properties.Resources.romcheater_icon; }
+        private void SetDockIcon(Form c) { c.Icon = Core.Properties.Resources.romcheater_icon; }
+        private void SetDockIcons()
+        {
+            SetDockIcon(m_LogWindow);            
+            SetDockIcon(m_AboutBox);
+            SetDockIcon(m_RamDump);
+            SetDockIcon(m_PIDSelector);
+            SetDockIcon(m_memoryview);
+            SetDockIcon(m_typeconverter);
+            SetDockIcon(m_memsearcher);
+            SetDockIcon(m_peviewer);
+            SetDockIcon(m_rvacalc);
+            SetDockIcon(m_ucd);
+            SetDockIcon(m_msv);
+            SetDockIcon(m_wb);
+        }
         public void SetupDocks()
         {
             m_LogWindow = new FloatingLogWindow();
@@ -211,6 +228,7 @@
             m_msv = new FloatingMemorySectionViewer();
             m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
             m_wb = new FloatingWebBrowser();
+            SetDockIcons();
         }
         #region SetupDockWindowHandler support
         public void SetupDockWindowHandler()
@@ -226,6 +244,7 @@
             SetupMemorySectionViewerWindowHandler();
             SetupUserControlDockWindowHandler();
             SetupWebBrowserWindowHandler();
+            SetDockIcons();
         }
         private void SetupLogWindowHandler()
         {

 

  ViewVC Help
Powered by ViewVC 1.1.22