Exemple #1
0
 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();
     }
 }
Exemple #3
0
 public void Cancel()
 {
     CmRefresh.Cancel();
     CmUpdate.Cancel();
 }