This commit is contained in:
2010-08-04 15:17:19 +00:00
parent 1d5a43627c
commit 935802a57a
13 changed files with 151 additions and 188 deletions

View File

@@ -863,10 +863,8 @@ namespace Volian.Controls.Library
private void btnSearch_Click(object sender, EventArgs e)
{
#if DEBUG
DateTime start = DateTime.Now;
#endif
Cursor savcursor = Cursor;
DateTime start = DateTime.Now;
Cursor savcursor = Cursor;
try
{
string[] strSearchText = null;
@@ -948,10 +946,9 @@ namespace Volian.Controls.Library
{
Cursor = savcursor;
}
#if DEBUG
MessageBox.Show(string.Format("{0} Milliseconds", TimeSpan.FromTicks(DateTime.Now.Ticks - start.Ticks).TotalMilliseconds));
#endif
}
if (vlnStackTrace.DebugMode)
MessageBox.Show(string.Format("{0} Milliseconds", TimeSpan.FromTicks(DateTime.Now.Ticks - start.Ticks).TotalMilliseconds));
}
private void cbxTextSearchText_Leave(object sender, EventArgs e)
{