File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -27,23 +27,28 @@ public AdvancedOperationHistoryPage()
2727 {
2828 InitializeComponent ( ) ;
2929
30+ AdvancedOperationHistoryList . ItemsSource = Items ;
31+ }
32+
33+ private void LoadOperationHistory ( )
34+ {
35+ Items . Clear ( ) ;
36+
3037 Items . Add ( new OperationHistoryEntry { Title = "Test 1" , Content = "Content 1" } ) ;
3138 Items . Add ( new OperationHistoryEntry { Title = "Test 2" , Content = "Content 2" } ) ;
3239 Items . Add ( new OperationHistoryEntry { Title = "Test 3" , Content = "Content 3" } ) ;
3340 Items . Add ( new OperationHistoryEntry { Title = "Test 4" , Content = "Content 4" } ) ;
3441 Items . Add ( new OperationHistoryEntry { Title = "Test 5" , Content = "Content 5" } ) ;
35-
36- AdvancedOperationHistoryList . ItemsSource = Items ;
3742 }
3843
3944 public void ReloadTriggered ( )
40- { }
45+ => LoadOperationHistory ( ) ;
4146 public void SelectAllTriggered ( )
4247 { }
4348 public void SearchTriggered ( )
4449 { }
4550 public void OnEnter ( )
46- { }
51+ => LoadOperationHistory ( ) ;
4752 public void OnLeave ( )
4853 { }
4954 }
You can’t perform that action at this time.
0 commit comments