/[RomCheater]/trunk/RomCheater/Docking/FloatingPEViewer.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/FloatingPEViewer.cs

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

revision 382 by william, Tue Jun 19 09:30:48 2012 UTC revision 587 by william, Thu Jun 6 09:12:35 2013 UTC
# Line 22  namespace RomCheater.Docking Line 22  namespace RomCheater.Docking
22          IAcceptsPlugin<IConfigPlugin>,          IAcceptsPlugin<IConfigPlugin>,
23          IAcceptsProcess<Process>,          IAcceptsProcess<Process>,
24          IAcceptsProcessAndConfig,          IAcceptsProcessAndConfig,
25            IAcceptPEData,
26          IAcceptsPEData          IAcceptsPEData
27      {      {
28          public FloatingPEViewer() { InitializeComponent(); this.AcceptedPlugin = null; this.AcceptedProcess = null; OnPEDataUpdated = null; }          public FloatingPEViewer() { InitializeComponent(); this.AcceptedPlugin = null; this.AcceptedProcess = null; OnPEDataUpdated = null; }
# Line 36  namespace RomCheater.Docking Line 37  namespace RomCheater.Docking
37          public IConfigPlugin AcceptedPlugin { get { return _AcceptedPlugin; } set { _AcceptedPlugin = value; UpdateAcceptedPlugin(value); } }          public IConfigPlugin AcceptedPlugin { get { return _AcceptedPlugin; } set { _AcceptedPlugin = value; UpdateAcceptedPlugin(value); } }
38          #endregion          #endregion
39          #region IAcceptsPEData Members          #region IAcceptsPEData Members
40          public event BaseEventHandler<PEViewerDataUpdatedEvent> OnPEDataUpdated;          public event BaseEventHandler<PEViewerDataUpdatedEventArgs> OnPEDataUpdated;
41          #endregion          #endregion
42          uint MemoryRangeStart { get; set; }          ulong MemoryRangeStart { get; set; }
43          uint MemoryRangeSize { get; set; }          ulong MemoryRangeSize { get; set; }
44    
45          private void UpdateAcceptedPlugin(IConfigPlugin config)          private void UpdateAcceptedPlugin(IConfigPlugin config)
46          {          {
# Line 67  namespace RomCheater.Docking Line 68  namespace RomCheater.Docking
68                  peprops.PropertySort = PropertySort.NoSort;                  peprops.PropertySort = PropertySort.NoSort;
69                  if (OnPEDataUpdated != null)                  if (OnPEDataUpdated != null)
70                      if (peData != null)                      if (peData != null)
71                          OnPEDataUpdated(new PEViewerDataUpdatedEvent(this, peData));                          OnPEDataUpdated(new PEViewerDataUpdatedEventArgs(this, peData));
72              }              }
73              else              else
74              {              {

Legend:
Removed from v.382  
changed lines
  Added in v.587

  ViewVC Help
Powered by ViewVC 1.1.22