public void UpdateHarborContent() { if (UpdateUI != null) { Dispatcher.BeginInvoke(new Action(() => { Harbor.GetWharfItems(1, Src1); Harbor.GetWharfItems(2, Src2); UpdateUI(Harbor.GetStatistics()); })); } }
public void UpdateHarborContent() { if (UpdateUI != null) { Dispatcher.BeginInvoke(new Action(() => { Harbor.GetWharfItems(1, Src1); Harbor.GetWharfItems(2, Src2); UpdateUI(Harbor.GetStatistics()); })); } }