ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater/Main.cs
(Generate patch)

Comparing trunk/RomCheater/Main.cs (file contents):
Revision 85 by william, Wed May 9 17:48:15 2012 UTC vs.
Revision 86 by william, Wed May 9 19:41:06 2012 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines