ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater/Docking/FloatingMemorySearcher.cs
(Generate patch)

Comparing trunk/RomCheater/Docking/FloatingMemorySearcher.cs (file contents):
Revision 446 by william, Sun Jun 2 19:52:03 2013 UTC vs.
Revision 447 by william, Sun Jun 2 19:58:37 2013 UTC

# Line 1821 | Line 1821 | namespace RomCheater.Docking
1821              this.DoCancelSpecific();
1822              IsFirstSearch = true;
1823              grpDataType.Enabled = true;
1824 +            btnReset.Enabled = false;
1825          }
1826          private void search_progress_updater_Tick(object sender, EventArgs e)
1827          {
# Line 1838 | Line 1839 | namespace RomCheater.Docking
1839              if (this.SearchGuid == Guid.Empty)
1840                  this.SearchGuid = Guid.NewGuid();
1841              this.SearchInProgess = true;
1842 <            //btnCancel.Enabled = true;
1843 <            //btnReset.Enabled = false;
1844 <            //btnSearch.Enabled = false;
1842 >            btnCancel.Enabled = true;
1843 >            btnReset.Enabled = true;
1844 >            btnSearch.Enabled = false;
1845              this.FreezeResultsUpdate();
1846              this.handle_btnSearch_Click();
1847          }
# Line 1958 | Line 1959 | namespace RomCheater.Docking
1959              search_progress_updater.Enabled = true;
1960              //padPluginSelector.Enabled = false;
1961              //gsPluginSelector.Enabled = false;
1962 <            btnReset.Enabled = false;
1962 >            btnReset.Enabled = true;
1963              btnSearch.Enabled = false;
1964              btnCancel.Enabled = true;
1965              grpDataType.Enabled = false;
# Line 1973 | Line 1974 | namespace RomCheater.Docking
1974          {
1975              this.SearchGuid = Guid.Empty;
1976              this.SearchInProgess = false;
1977 <            //btnSearch.Enabled = true;
1978 <            //btnCancel.Enabled = false;
1977 >            btnSearch.Enabled = true;
1978 >            btnReset.Enabled = false;
1979 >            btnCancel.Enabled = false;
1980              this.DoResetSpecific();
1981              lstResults.Items.Clear();
1982              //try { SearchArgs.Results = new List<ResultType<object>>(); }
# Line 1984 | Line 1986 | namespace RomCheater.Docking
1986          private void btnCancel_Click(object sender, EventArgs e)
1987          {
1988              this.SearchInProgess = false;
1989 <            //btnCancel.Enabled = false;
1990 <            //btnSearch.Enabled = true;
1991 <            //btnReset.Enabled = true;
1989 >            btnCancel.Enabled = false;
1990 >            btnSearch.Enabled = true;
1991 >            btnReset.Enabled = true;
1992              this.DoCancelSpecific();
1993          }
1994  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines