--- trunk/RomCheater/Main.cs 2012/05/31 07:29:44 200 +++ trunk/RomCheater/Main.cs 2012/05/31 08:10:25 201 @@ -118,11 +118,13 @@ namespace RomCheater public void ShowRamDump() { m_RamDump = new FloatingRamDumperDialog(ConfigPlugin); + m_RamDump.AcceptedProcess = SelectedProcess; m_RamDump.Show(dockPanel); } public void ShowMemoryView() { m_memoryview = new FloatingMemoryView(ConfigPlugin); + m_memoryview.AcceptedProcess = SelectedProcess; m_memoryview.Show(dockPanel); } public void ShowPidSelector() @@ -263,7 +265,10 @@ namespace RomCheater { ShowPidSelector(); } - + private void mnuItemShowMemoryView_Click(object sender, EventArgs e) + { + ShowMemoryView(); + } private void Main_FormClosing(object sender, FormClosingEventArgs e) { string configFile = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "DockPanel.config"); @@ -277,5 +282,18 @@ namespace RomCheater { PEReader reader = new PEReader(@"C:\Windows\System32\notepad.exe"); } + + private void mnuItemFindMaxNonNegativeHexValue_Click(object sender, EventArgs e) + { + + //uint start = 0xf0000000; + uint end = uint.MaxValue; + //for (uint i = start; i < end; i++) + //{ + ulong value = Convert.ToUInt64(end.ToString(), 16); + //} + } + + } } |