Cancel() public method

public Cancel ( ) : void
return void
示例#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;
            }
        }
示例#2
0
 private void BTN_Cancel_Click(object sender, EventArgs e)
 {
     _backgroundExecutorWithStatus?.Cancel();
 }
示例#3
0
 private void BTN_Cancel_Click(object sender, EventArgs e)
 {
     _bge?.Cancel();
 }