/[RomCheater]/trunk/RomCheater.EmuMMAPPlugin/EmuMEMMapDockControl.cs
ViewVC logotype

Diff of /trunk/RomCheater.EmuMMAPPlugin/EmuMEMMapDockControl.cs

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

revision 686 by william, Mon Jun 17 09:31:52 2013 UTC revision 689 by william, Mon Jun 17 10:02:53 2013 UTC
# Line 44  namespace RomCheater.EmuMMAPPlugin Line 44  namespace RomCheater.EmuMMAPPlugin
44              this.plugin.OnSelectedProcessChanged += new BaseEventHandler<ProcessChangedEventArgs>(plugin_OnSelectedProcessChanged);              this.plugin.OnSelectedProcessChanged += new BaseEventHandler<ProcessChangedEventArgs>(plugin_OnSelectedProcessChanged);
45              this.plugin.OnSelectedConfigChanged += new BaseEventHandler<ConfigChangedEventArgs>(plugin_OnSelectedConfigChanged);              this.plugin.OnSelectedConfigChanged += new BaseEventHandler<ConfigChangedEventArgs>(plugin_OnSelectedConfigChanged);
46              this.plugin.OnPEDataUpdated += new BaseEventHandler<PEViewerDataUpdatedEventArgs>(plugin_OnPEDataUpdated);              this.plugin.OnPEDataUpdated += new BaseEventHandler<PEViewerDataUpdatedEventArgs>(plugin_OnPEDataUpdated);
47                RaisePluginFrameworkEvents();
48            }
49    
50            bool EventsRaised = false;
51            private void RaisePluginFrameworkEvents()
52            {
53    
54                if (this.plugin == null) { EventsRaised = true; return; }
55                if (!EventsRaised)
56                {
57                    this.plugin.RaisePluginFrameworkEvents();
58                    EventsRaised = true;
59                }
60          }          }
61          void plugin_OnPEDataUpdated(PEViewerDataUpdatedEventArgs e)          void plugin_OnPEDataUpdated(PEViewerDataUpdatedEventArgs e)
62          {          {

Legend:
Removed from v.686  
changed lines
  Added in v.689

  ViewVC Help
Powered by ViewVC 1.1.22