Added timing code to debug version of search
This commit is contained in:
parent
d4832f12ff
commit
51c044791c
@ -787,6 +787,9 @@ namespace Volian.Controls.Library
|
||||
|
||||
private void btnSearch_Click(object sender, EventArgs e)
|
||||
{
|
||||
#if DEBUG
|
||||
DateTime start = DateTime.Now;
|
||||
#endif
|
||||
Cursor savcursor = Cursor;
|
||||
try
|
||||
{
|
||||
@ -869,6 +872,9 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
Cursor = savcursor;
|
||||
}
|
||||
#if DEBUG
|
||||
MessageBox.Show(string.Format("{0} Milliseconds", TimeSpan.FromTicks(DateTime.Now.Ticks - start.Ticks).TotalMilliseconds));
|
||||
#endif
|
||||
}
|
||||
|
||||
private void cbxTextSearchText_Leave(object sender, EventArgs e)
|
||||
|
Loading…
x
Reference in New Issue
Block a user