private void textBoxFind_KeyDown(object sender, KeyEventArgs e) { if (e.Key == Key.Enter) { if (textBoxFind.Text.Length > 0) { Find(0); } } }