/[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

--- trunk/RomCheater.RVACalculator/RVACalculatorDockControl.cs	2013/06/17 08:33:06	683
+++ trunk/RomCheater.RVACalculator/RVACalculatorDockControl.cs	2013/06/17 08:52:54	684
@@ -33,9 +33,28 @@
         public RVACalculatorDockControl(UserControlPlugin plugin)
         {
             this.plugin = plugin;
+            InitPluginFramework();
             InitializeComponent();
         }
-
+        private void InitPluginFramework()
+        {
+            if (this.plugin == null) { return; }
+            this.plugin.OnSelectedProcessChanged += new PluginFramework.Events.BaseEventHandler<PluginFramework.Events.ProcessChangedEventArgs>(plugin_OnSelectedProcessChanged);
+            this.plugin.OnSelectedConfigChanged += new PluginFramework.Events.BaseEventHandler<PluginFramework.Events.ConfigChangedEventArgs>(plugin_OnSelectedConfigChanged);
+            this.plugin.OnPEDataUpdated += new PluginFramework.Events.BaseEventHandler<PluginFramework.Events.PEViewerDataUpdatedEventArgs>(plugin_OnPEDataUpdated);
+        }
+        void plugin_OnPEDataUpdated(PluginFramework.Events.PEViewerDataUpdatedEventArgs e)
+        {
+            logger.Warn.WriteLine("plugin_OnPEDataUpdated::has not been implemented!");
+        }
+        void plugin_OnSelectedConfigChanged(PluginFramework.Events.ConfigChangedEventArgs e)
+        {
+            logger.Warn.WriteLine("plugin_OnSelectedConfigChanged::has not been implemented!");
+        }
+        void plugin_OnSelectedProcessChanged(PluginFramework.Events.ProcessChangedEventArgs e)
+        {
+            logger.Warn.WriteLine("plugin_OnSelectedProcessChanged::has not been implemented!");
+        }
         /*
          *  foreach (var col in Enumerable.Range(0, lstCheats.Columns.Count))
             {

 

  ViewVC Help
Powered by ViewVC 1.1.22