/[RomCheater]/trunk/RomCheater.CheatPlugin/CheatCodeDockContent.cs
ViewVC logotype

Diff of /trunk/RomCheater.CheatPlugin/CheatCodeDockContent.cs

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

revision 683 by william, Mon Jun 17 08:33:06 2013 UTC revision 684 by william, Mon Jun 17 08:52:54 2013 UTC
# Line 22  using System.Text; Line 22  using System.Text;
22  using System.Windows.Forms;  using System.Windows.Forms;
23  using WeifenLuo.WinFormsUI.Docking;  using WeifenLuo.WinFormsUI.Docking;
24  using RomCheater.PluginFramework.Core;  using RomCheater.PluginFramework.Core;
25    using RomCheater.Logging;
26    
27  namespace RomCheater.CheatPlugin  namespace RomCheater.CheatPlugin
28  {  {
# Line 31  namespace RomCheater.CheatPlugin Line 32  namespace RomCheater.CheatPlugin
32          public CheatCodeDockContent(UserControlPlugin plugin)          public CheatCodeDockContent(UserControlPlugin plugin)
33          {          {
34              this.plugin = plugin;              this.plugin = plugin;
35                InitPluginFramework();
36              InitializeComponent();              InitializeComponent();
37          }          }
38            private void InitPluginFramework()
39            {
40                if (this.plugin == null) { return; }
41                this.plugin.OnSelectedProcessChanged += new PluginFramework.Events.BaseEventHandler<PluginFramework.Events.ProcessChangedEventArgs>(plugin_OnSelectedProcessChanged);
42                this.plugin.OnSelectedConfigChanged += new PluginFramework.Events.BaseEventHandler<PluginFramework.Events.ConfigChangedEventArgs>(plugin_OnSelectedConfigChanged);
43                this.plugin.OnPEDataUpdated += new PluginFramework.Events.BaseEventHandler<PluginFramework.Events.PEViewerDataUpdatedEventArgs>(plugin_OnPEDataUpdated);
44            }
45            void plugin_OnPEDataUpdated(PluginFramework.Events.PEViewerDataUpdatedEventArgs e)
46            {
47                logger.Warn.WriteLine("plugin_OnPEDataUpdated::has not been implemented!");
48            }
49            void plugin_OnSelectedConfigChanged(PluginFramework.Events.ConfigChangedEventArgs e)
50            {
51                logger.Warn.WriteLine("plugin_OnSelectedConfigChanged::has not been implemented!");
52            }
53            void plugin_OnSelectedProcessChanged(PluginFramework.Events.ProcessChangedEventArgs e)
54            {
55                logger.Warn.WriteLine("plugin_OnSelectedProcessChanged::has not been implemented!");
56            }
57      }      }
58  }  }

Legend:
Removed from v.683  
changed lines
  Added in v.684

  ViewVC Help
Powered by ViewVC 1.1.22