Show the amount of time it takes to complete a search
Remove Debug Messages Eliminate crash due to SQL connections The location for search result was changed from bullets to meaningful values.
This commit is contained in:
@@ -290,6 +290,7 @@ namespace VEPROMS
|
||||
Database.LastDatabase = Properties.Settings.Default.DefaultDB;
|
||||
// Setup the Context menu for DisplaySearch including the symbols
|
||||
displaySearch1.SetupContextMenu();
|
||||
displaySearch1.SearchComplete += displaySearch1_SearchComplete;
|
||||
if (!FormatInfo.HasLatestChanges())
|
||||
throw new Exception("Inconsistent Formats");
|
||||
if (!ItemAuditInfo.IsChangeManagerVersion())
|
||||
@@ -323,6 +324,10 @@ namespace VEPROMS
|
||||
tv.PauseRefresh += tv_PauseRefresh;
|
||||
tv.UnPauseRefresh += tv_UnPauseRefresh;
|
||||
}
|
||||
void displaySearch1_SearchComplete(object sender, DisplaySearchEventArgs args)
|
||||
{
|
||||
ProgBarText = string.Format("{0} Seconds", args.HowLong.TotalSeconds);
|
||||
}
|
||||
private bool _PauseRefresh = false;
|
||||
public bool PauseRefresh
|
||||
{
|
||||
|
Reference in New Issue
Block a user