public void Update(object count) { for (int i = 0; i < (int)count; i++) { //更新UI UpdateUIHandle?.Invoke(1); } //完成更新 TaskHandle?.Invoke(); }
public FrmClients() { InitializeComponent(); updateUIHandle = new UpdateUIHandle(methordUpdateUI); isExist = false; }