--- trunk/RomCheater.EmuMMAPPlugin/EmuMEMMapDockControl.cs 2013/06/17 09:31:52 686 +++ trunk/RomCheater.EmuMMAPPlugin/EmuMEMMapDockControl.cs 2013/06/17 10:02:53 689 @@ -44,6 +44,19 @@ this.plugin.OnSelectedProcessChanged += new BaseEventHandler(plugin_OnSelectedProcessChanged); this.plugin.OnSelectedConfigChanged += new BaseEventHandler(plugin_OnSelectedConfigChanged); this.plugin.OnPEDataUpdated += new BaseEventHandler(plugin_OnPEDataUpdated); + RaisePluginFrameworkEvents(); + } + + bool EventsRaised = false; + private void RaisePluginFrameworkEvents() + { + + if (this.plugin == null) { EventsRaised = true; return; } + if (!EventsRaised) + { + this.plugin.RaisePluginFrameworkEvents(); + EventsRaised = true; + } } void plugin_OnPEDataUpdated(PEViewerDataUpdatedEventArgs e) {