添加行为记录查看
This commit is contained in:
commit
6c27d7c0e5
2 files changed
+15
-3
No files matched your search
@@ -1,5 +1,8 @@
|
||||
using System;
|
||||
using SunlightAggregationManager.UserClass;
|
||||
using SunlightAggregationManager.ViewModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
@@ -25,7 +28,9 @@ namespace SunlightAggregationManager.View
|
||||
|
||||
private void UserControl_Loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
|
||||
var data =MainWindowViewModel.SQLiteHelpers.ExecuteDataSet(
|
||||
"select * from ActionLog order by Time DESC", null)?.Tables[0] ?? new DataTable();
|
||||
CurrentData.ItemsSource=data.AsDataView();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user