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 |
|
{ |
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 |
|
} |
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; |
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>>(); } |
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 |
|
|