/[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	2013/06/17 07:31:15	679
+++ trunk/RomCheater/Main.cs	2013/06/17 08:03:34	680
@@ -103,6 +103,15 @@
             m_msv.OnBrowseMemoryRegion += new BaseEventHandler<BrowseMemoryRegionEvent>(OnBrowseMemoryRegion);
 
 
+            AcceptedProcessAndConfig iapc = new AcceptedProcessAndConfig(this.ConfigPlugin, SelectedProcess);
+
+            this.ConfigPlugin.SetAcceptedProcessAndConfig(iapc);
+            this.WindowPlugin.SetAcceptedProcessAndConfig(iapc);
+            this.InputPlugin.SetAcceptedProcessAndConfig(iapc);
+            for (int i = 0; i < UserControlPlugins.Count; i++)
+            {
+                UserControlPlugins[i].SetAcceptedProcessAndConfig(iapc);
+            }
         }
 
         void OnPEDataUpdated(PEViewerDataUpdatedEventArgs e)
@@ -113,6 +122,15 @@
                 m_RamDump.SetPEViewerData(e.peData);
                 m_msv.SetPEViewerData(e.peData);
 
+                ConfigPlugin.SetPEViewerData(e.peData);
+                WindowPlugin.SetPEViewerData(e.peData);
+                InputPlugin.SetPEViewerData(e.peData);
+
+                for (int i = 0; i < UserControlPlugins.Count; i++)
+                {
+                    UserControlPlugins[i].SetPEViewerData(e.peData);
+                }
+
         }
         private void OnBrowseMemoryRegion(BrowseMemoryRegionEvent e)
         {

 

  ViewVC Help
Powered by ViewVC 1.1.22