Пример #1
0
 public void UpdateHarborContent()
 {
     if (UpdateUI != null)
     {
         Dispatcher.BeginInvoke(new Action(() =>
         {
             Harbor.GetWharfItems(1, Src1);
             Harbor.GetWharfItems(2, Src2);
             UpdateUI(Harbor.GetStatistics());
         }));
     }
 }