/[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	2012/06/03 16:09:05	249
+++ trunk/RomCheater/Docking/FloatingMemorySearcher.cs	2012/06/03 21:11:45	271
@@ -923,7 +923,26 @@
 
         private void btnSearch_Click(object sender, EventArgs e)
         {
+            this.SearchInProgess = true;
+            btnCancel.Enabled = true;
+            btnReset.Enabled = false;
+            btnSearch.Enabled = false;
             this.FreezeResultsUpdate();
         }
+
+        private void btnReset_Click(object sender, EventArgs e)
+        {
+            this.SearchInProgess = false;
+            btnSearch.Enabled = true;
+            btnCancel.Enabled = false;
+        }
+
+        private void btnCancel_Click(object sender, EventArgs e)
+        {
+            this.SearchInProgess = false;
+            btnCancel.Enabled = false;
+            btnSearch.Enabled = true;
+            btnReset.Enabled = true;
+        }
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22