This commit is contained in:
sc committed 2024-09-04 00:44:55 +08:00
commit 3a42ce60d2
1 file changed
+5
+5
View File
@@ -33,6 +33,11 @@ namespace DyeingComputer.View
InitializeComponent();
set_sql();
//Grid.Focus();
Grid.SelectedIndex = 0;
// var row = Grid.ItemContainerGenerator.ContainerFromIndex(0) as FrameworkElement;
//if (row != null ) {row.Focus(); }
}
private SQLiteHelper SQLiteHelpers = null; //定义数据库