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

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

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

--- trunk/RomCheater/Docking/FloatingMemorySearcher.cs	2013/06/02 19:52:03	446
+++ trunk/RomCheater/Docking/FloatingMemorySearcher.cs	2013/06/02 19:58:37	447
@@ -1821,6 +1821,7 @@
             this.DoCancelSpecific();
             IsFirstSearch = true;
             grpDataType.Enabled = true;
+            btnReset.Enabled = false;
         }
         private void search_progress_updater_Tick(object sender, EventArgs e)
         {
@@ -1838,9 +1839,9 @@
             if (this.SearchGuid == Guid.Empty)
                 this.SearchGuid = Guid.NewGuid();
             this.SearchInProgess = true;
-            //btnCancel.Enabled = true;
-            //btnReset.Enabled = false;
-            //btnSearch.Enabled = false;
+            btnCancel.Enabled = true;
+            btnReset.Enabled = true;
+            btnSearch.Enabled = false;
             this.FreezeResultsUpdate();
             this.handle_btnSearch_Click();
         }
@@ -1958,7 +1959,7 @@
             search_progress_updater.Enabled = true;
             //padPluginSelector.Enabled = false;
             //gsPluginSelector.Enabled = false;
-            btnReset.Enabled = false;
+            btnReset.Enabled = true;
             btnSearch.Enabled = false;
             btnCancel.Enabled = true;
             grpDataType.Enabled = false;
@@ -1973,8 +1974,9 @@
         {
             this.SearchGuid = Guid.Empty;
             this.SearchInProgess = false;
-            //btnSearch.Enabled = true;
-            //btnCancel.Enabled = false;
+            btnSearch.Enabled = true;
+            btnReset.Enabled = false;
+            btnCancel.Enabled = false;
             this.DoResetSpecific();
             lstResults.Items.Clear();
             //try { SearchArgs.Results = new List<ResultType<object>>(); }
@@ -1984,9 +1986,9 @@
         private void btnCancel_Click(object sender, EventArgs e)
         {
             this.SearchInProgess = false;
-            //btnCancel.Enabled = false;
-            //btnSearch.Enabled = true;
-            //btnReset.Enabled = true;
+            btnCancel.Enabled = false;
+            btnSearch.Enabled = true;
+            btnReset.Enabled = true;
             this.DoCancelSpecific();
         }
 

 

  ViewVC Help
Powered by ViewVC 1.1.22