Cancel() public méthode

public Cancel ( ) : void
Résultat void
Exemple #1
0
        private void PropulateServerObjects()
        {
            _backgroundExecutorWithStatus?.Cancel();

            switch (_selectedServerObject)
            {
            case ServerObjectType.Resource:
                BTN_CheckOut.Enabled = false;
                LoadResources();
                break;

            default:
                BTN_CheckOut.Enabled = true;
                LoadProjects();
                break;
            }
        }
Exemple #2
0
 private void BTN_Cancel_Click(object sender, EventArgs e)
 {
     _backgroundExecutorWithStatus?.Cancel();
 }
 private void BTN_Cancel_Click(object sender, EventArgs e)
 {
     _bge?.Cancel();
 }