/[RomCheater]/trunk/RomCheater/Main.cs
ViewVC logotype

Diff of /trunk/RomCheater/Main.cs

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

revision 83 by william, Wed May 9 17:48:15 2012 UTC revision 86 by william, Wed May 9 19:41:06 2012 UTC
# Line 10  using RomCheater.Logging; Line 10  using RomCheater.Logging;
10  using RomCheater.Properties;  using RomCheater.Properties;
11  using RomCheater.UserSettingsSupport;  using RomCheater.UserSettingsSupport;
12  using RomCheater.PluginFramework.Core;  using RomCheater.PluginFramework.Core;
13    using System.Diagnostics;
14    
15  namespace RomCheater  namespace RomCheater
16  {  {
17      public partial class Main : Form      public partial class Main : Form
18      {      {
19            PluginLoader loader = null;
20          static Main()          static Main()
21          {          {
22              SettingSubscriber.AddSubscriber(Settings.Default);              SettingSubscriber.AddSubscriber(Settings.Default);
# Line 55  namespace RomCheater Line 57  namespace RomCheater
57    
58          private void Main_Load(object sender, EventArgs e)          private void Main_Load(object sender, EventArgs e)
59          {          {
60              PluginLoader loader = new PluginLoader();              loader = new PluginLoader();
61              loader.LoadPlugins();              loader.LoadPlugins();            
62          }          }
63    
64          private void mnuItemConfig_Click(object sender, EventArgs e)          private void mnuItemConfig_Click(object sender, EventArgs e)
65          {          {
66              RomCheaterConfigDialog dlg = new RomCheaterConfigDialog();              RomCheaterConfigDialog dlg = new RomCheaterConfigDialog(loader);
67              dlg.ShowDialog();              dlg.ShowDialog();
68          }          }
69    
70          private void mnuItemOpenProcess_Click(object sender, EventArgs e)          private void mnuItemOpenProcess_Click(object sender, EventArgs e)
71          {          {
72                //List<Process> procs = loader.LoadedConfigPlugins[0].ValidProcessesForPlugin;
73          }          }
74      }      }
75  }  }

Legend:
Removed from v.83  
changed lines
  Added in v.86

  ViewVC Help
Powered by ViewVC 1.1.22