private async void chkEnable_CheckedChanged(object sender, EventArgs e) { if (chkEnable.Checked) { CmUpdate.Activate(); await UpdateProjectReverseAsync(CmUpdate); } else { CmUpdate.Cancel(); } }
private async void chkEnable_CheckedChanged(object sender, EventArgs e) { if (chkEnable.Checked) { CmUpdate.Activate(); Flag = null; await UpdateProjectInvestmentMonthAsync(CmUpdate); } else { CmUpdate.Cancel(); } }
public void Cancel() { CmRefresh.Cancel(); CmUpdate.Cancel(); }