/[RomCheater]/trunk/RomCheater/Docking/FloatingRamDumperDialog.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/FloatingRamDumperDialog.cs

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

revision 148 by william, Sun May 27 23:33:54 2012 UTC revision 153 by william, Mon May 28 02:20:29 2012 UTC
# Line 7  using System.Linq; Line 7  using System.Linq;
7  using System.Text;  using System.Text;
8  using System.Windows.Forms;  using System.Windows.Forms;
9  using WeifenLuo.WinFormsUI.Docking;  using WeifenLuo.WinFormsUI.Docking;
10    using RomCheater.PluginFramework.Interfaces;
11    using System.Diagnostics;
12    
13  namespace RomCheater.Docking  namespace RomCheater.Docking
14  {  {
15      public partial class FloatingRamDumperDialog : DockContent      public partial class FloatingRamDumperDialog : DockContent, IProcessConfig
16      {      {
17          public FloatingRamDumperDialog()          public FloatingRamDumperDialog() { InitializeComponent(); this.AcceptedPlugin = null; this.AcceptedProcess = null; }
18          {          public FloatingRamDumperDialog(IConfigPlugin config) : this() { this.AcceptedPlugin = config; }
19              InitializeComponent();          public FloatingRamDumperDialog(IConfigPlugin config, Process process) : this() { this.AcceptedPlugin = config; this.AcceptedProcess = process; }
20          }          
21            //public IConfigPlugin AcceptedPlugin { get; set; }
22            //public Process AcceptedProcess { get; set; }
23    
24          private void FloatingRamDumperDialog_Load(object sender, EventArgs e)          private void FloatingRamDumperDialog_Load(object sender, EventArgs e)
25          {          {
26              txtStart.Value = 0;              txtStart.Value = 0;
27              txtEnd.Value = int.MaxValue;              txtEnd.Value = int.MaxValue;
28          }          }
29    
30    
31            #region IProcessConfig Members'
32            public Process AcceptedProcess { get; set; }
33            #endregion
34            #region IAcceptsPlugin<IConfigPlugin> Members
35            public IConfigPlugin AcceptedPlugin { get; set; }
36            #endregion
37      }      }
38  }  }

Legend:
Removed from v.148  
changed lines
  Added in v.153

  ViewVC Help
Powered by ViewVC 1.1.22