- Timestamp:
- 03/22/10 16:53:27 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginAdministrator/3.3/ProductEditor.cs
r3081 r3179 91 91 92 92 private void refreshProductsWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { 93 this.products = new List<PluginDeploymentService.ProductDescription>( 94 (PluginDeploymentService.ProductDescription[])((object[])e.Result)[0]); 95 this.plugins = new List<PluginDeploymentService.PluginDescription>( 96 (PluginDeploymentService.PluginDescription[])((object[])e.Result)[1]); 97 98 UpdateProductsList(); 99 dirtyProducts.Clear(); 100 101 Cursor = Cursors.Default; 102 SetControlsEnabled(true); 93 if (!e.Cancelled && e.Result != null) { 94 this.products = new List<PluginDeploymentService.ProductDescription>( 95 (PluginDeploymentService.ProductDescription[])((object[])e.Result)[0]); 96 this.plugins = new List<PluginDeploymentService.PluginDescription>( 97 (PluginDeploymentService.PluginDescription[])((object[])e.Result)[1]); 98 99 UpdateProductsList(); 100 dirtyProducts.Clear(); 101 102 Cursor = Cursors.Default; 103 SetControlsEnabled(true); 104 } 103 105 } 104 106 #endregion … … 136 138 newProductButton.Enabled = enabled; 137 139 splitContainer.Enabled = enabled; 140 productsListView.Enabled = enabled; 141 nameLabel.Enabled = enabled; 142 nameTextBox.Enabled = enabled; 143 versionLabel.Enabled = enabled; 144 versionTextBox.Enabled = enabled; 145 pluginListView.Enabled = enabled; 138 146 } 139 147
Note: See TracChangeset
for help on using the changeset viewer.