private void PropulateServerObjects() { _backgroundExecutorWithStatus?.Cancel(); switch (_selectedServerObject) { case ServerObjectType.Resource: BTN_CheckOut.Enabled = false; LoadResources(); break; default: BTN_CheckOut.Enabled = true; LoadProjects(); break; } }
private void BTN_Cancel_Click(object sender, EventArgs e) { _backgroundExecutorWithStatus?.Cancel(); }
private void BTN_Cancel_Click(object sender, EventArgs e) { _bge?.Cancel(); }