/[RomCheater]/trunk/RomCheater.RVACalculator/RVACalculatorDockControl.cs
ViewVC logotype

Diff of /trunk/RomCheater.RVACalculator/RVACalculatorDockControl.cs

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

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

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

  ViewVC Help
Powered by ViewVC 1.1.22