コード例 #1
0
 /// <summary>
 /// 实时界面数据刷新
 /// </summary>
 private void Page_Frush()
 {
     characterBase.CharacterList.Clear();
     foreach (var model in CharacterViewModel.GetCharacterList())
     {
         characterBase.CharacterList.Add(model);
     }
     this.CharacterDataDrid.ItemsSource = characterBase.CharacterList;
 }