|
@@ -180,5 +180,14 @@ namespace PDF_Office.Views.BOTA
|
|
|
{
|
|
|
SearchResultList.SelectedIndex = -1;
|
|
|
}
|
|
|
+
|
|
|
+ private void UserControl_SizeChanged(object sender, SizeChangedEventArgs e)
|
|
|
+ {
|
|
|
+ SearchContent searchContent = sender as SearchContent;
|
|
|
+ if (searchContent!=null&& searchContent.ActualWidth>209&& searchContent.ActualWidth<216)
|
|
|
+ {
|
|
|
+ SearchText.Focus();
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|