Ejemplo n.º 1
0
 /// <summary>
 /// 实时界面数据刷新
 /// </summary>
 private void Page_Frush()
 {
     supplierBase.SupplierList.Clear();
     foreach (var model in SupplierViewModel.GetSupplierList())
     {
         supplierBase.SupplierList.Add(model);
     }
     this.SupplierDataGrid.ItemsSource = supplierBase.SupplierList;
 }