7 |
|
using System.Text; |
8 |
|
using System.Windows.Forms; |
9 |
|
using WeifenLuo.WinFormsUI.Docking; |
10 |
+ |
using RomCheater.PluginFramework.Interfaces; |
11 |
+ |
using System.Diagnostics; |
12 |
|
|
13 |
|
namespace RomCheater.Docking |
14 |
|
{ |
15 |
< |
public partial class FloatingRamDumperDialog : DockContent |
15 |
> |
public partial class FloatingRamDumperDialog : DockContent, IProcessConfig |
16 |
|
{ |
17 |
< |
public FloatingRamDumperDialog() |
18 |
< |
{ |
19 |
< |
InitializeComponent(); |
20 |
< |
} |
17 |
> |
public FloatingRamDumperDialog() { InitializeComponent(); this.AcceptedPlugin = null; this.AcceptedProcess = null; } |
18 |
> |
public FloatingRamDumperDialog(IConfigPlugin config) : this() { this.AcceptedPlugin = config; } |
19 |
> |
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) |
25 |
|
{ |
26 |
|
txtStart.Value = 0; |
27 |
|
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 |
|
} |