/[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 322 by william, Tue Jun 5 17:57:37 2012 UTC revision 323 by william, Thu Jun 7 16:33:41 2012 UTC
# Line 75  namespace RomCheater Line 75  namespace RomCheater
75    
76              m_peviewer.AcceptedPlugin = this.ConfigPlugin;              m_peviewer.AcceptedPlugin = this.ConfigPlugin;
77              m_peviewer.AcceptedProcess = SelectedProcess;              m_peviewer.AcceptedProcess = SelectedProcess;
78                m_peviewer.OnPEDataUpdated += new BaseEventHandler<PEViewerDataUpdatedEvent>(OnPEDataUpdated);
79    
80          }          }
81    
82            void OnPEDataUpdated(PEViewerDataUpdatedEvent e)
83            {
84                m_memoryview.SetPEViewerData(e.PEData);
85            }
86          private void OnBrowseMemoryRegion(BrowseMemoryRegionEvent e)          private void OnBrowseMemoryRegion(BrowseMemoryRegionEvent e)
87          {          {
88              m_memoryview.BrowseMemoryRegion(e.MemoryRegion);              m_memoryview.BrowseMemoryRegion(e.MemoryRegion);
# Line 130  namespace RomCheater Line 136  namespace RomCheater
136              m_memsearcher = new FloatingMemorySearcher();              m_memsearcher = new FloatingMemorySearcher();
137              m_memsearcher.OnBrowseMemoryRegion += new BaseEventHandler<BrowseMemoryRegionEvent>(OnBrowseMemoryRegion);              m_memsearcher.OnBrowseMemoryRegion += new BaseEventHandler<BrowseMemoryRegionEvent>(OnBrowseMemoryRegion);
138              m_peviewer = new FloatingPEViewer();              m_peviewer = new FloatingPEViewer();
139                m_peviewer.OnPEDataUpdated+=new BaseEventHandler<PEViewerDataUpdatedEvent>(OnPEDataUpdated);
140              m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);              m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
141          }          }
142          #region SetupDockWindowHandler support          #region SetupDockWindowHandler support
# Line 263  namespace RomCheater Line 270  namespace RomCheater
270              load_plugins();              load_plugins();
271              m_peviewer = new FloatingPEViewer(ConfigPlugin);              m_peviewer = new FloatingPEViewer(ConfigPlugin);
272              m_peviewer.AcceptedProcess = SelectedProcess;              m_peviewer.AcceptedProcess = SelectedProcess;
273                m_peviewer.OnPEDataUpdated +=new BaseEventHandler<PEViewerDataUpdatedEvent>(OnPEDataUpdated);
274              m_peviewer.Show(dockPanel);              m_peviewer.Show(dockPanel);
275          }          }
276                

Legend:
Removed from v.322  
changed lines
  Added in v.323

  ViewVC Help
Powered by ViewVC 1.1.22