Changeset 5458 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager
- Timestamp:
- 02/14/11 18:23:37 (14 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager/HiveExperimentView.Designer.cs
r5402 r5458 63 63 this.pauseButton = new System.Windows.Forms.Button(); 64 64 this.resourceIdsLabel = new System.Windows.Forms.Label(); 65 this.resource IdsTextBox = new System.Windows.Forms.TextBox();65 this.resourceNamesTextBox = new System.Windows.Forms.TextBox(); 66 66 this.disconnectButton = new System.Windows.Forms.Button(); 67 67 this.reconnectButton = new System.Windows.Forms.Button(); … … 289 289 // resourceIdsTextBox 290 290 // 291 this.resource IdsTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)292 | System.Windows.Forms.AnchorStyles.Right))); 293 this.resource IdsTextBox.Location = new System.Drawing.Point(72, 52);294 this.resource IdsTextBox.Name = "resourceIdsTextBox";295 this.resource IdsTextBox.Size = new System.Drawing.Size(559, 20);296 this.resource IdsTextBox.TabIndex = 14;297 this.resource IdsTextBox.Validated += new System.EventHandler(this.resourceIdsTextBox_Validated);291 this.resourceNamesTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 292 | System.Windows.Forms.AnchorStyles.Right))); 293 this.resourceNamesTextBox.Location = new System.Drawing.Point(72, 52); 294 this.resourceNamesTextBox.Name = "resourceIdsTextBox"; 295 this.resourceNamesTextBox.Size = new System.Drawing.Size(559, 20); 296 this.resourceNamesTextBox.TabIndex = 14; 297 this.resourceNamesTextBox.Validated += new System.EventHandler(this.resourceNamesTextBox_Validated); 298 298 // 299 299 // disconnectButton … … 364 364 this.Controls.Add(this.disconnectButton); 365 365 this.Controls.Add(this.startButton); 366 this.Controls.Add(this.resource IdsTextBox);366 this.Controls.Add(this.resourceNamesTextBox); 367 367 this.Controls.Add(this.executionTimeTextBox); 368 368 this.Controls.Add(this.resourceIdsLabel); … … 385 385 this.Controls.SetChildIndex(this.resourceIdsLabel, 0); 386 386 this.Controls.SetChildIndex(this.executionTimeTextBox, 0); 387 this.Controls.SetChildIndex(this.resource IdsTextBox, 0);387 this.Controls.SetChildIndex(this.resourceNamesTextBox, 0); 388 388 this.Controls.SetChildIndex(this.startButton, 0); 389 389 this.Controls.SetChildIndex(this.disconnectButton, 0); … … 413 413 private System.Windows.Forms.Button pauseButton; 414 414 private System.Windows.Forms.Label resourceIdsLabel; 415 private System.Windows.Forms.TextBox resource IdsTextBox;415 private System.Windows.Forms.TextBox resourceNamesTextBox; 416 416 private System.Windows.Forms.Button viewExperimentButton; 417 417 private Core.Views.NamedItemView experimentNamedItemView; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager/HiveExperimentView.cs
r5402 r5458 83 83 if (Content == null) { 84 84 executionTimeTextBox.Text = string.Empty; 85 resource IdsTextBox.Text = string.Empty;85 resourceNamesTextBox.Text = string.Empty; 86 86 useLocalPluginsCheckBox.Checked = false; 87 87 logView.Content = null; 88 88 } else { 89 89 executionTimeTextBox.Text = Content.ExecutionTime.ToString(); 90 resource IdsTextBox.Text = Content.ResourceIds;90 resourceNamesTextBox.Text = Content.ResourceNames; 91 91 useLocalPluginsCheckBox.Checked = Content.UseLocalPlugins; 92 92 logView.Content = Content.Log; … … 104 104 this.nameTextBox.ReadOnly = Content.ExecutionState != ExecutionState.Prepared; 105 105 this.descriptionTextBox.ReadOnly = Content.ExecutionState != ExecutionState.Prepared; 106 this.resource IdsTextBox.ReadOnly = Content.ExecutionState != ExecutionState.Prepared;106 this.resourceNamesTextBox.ReadOnly = Content.ExecutionState != ExecutionState.Prepared; 107 107 this.hiveJobView.ReadOnly = Content.ExecutionState != ExecutionState.Prepared; 108 108 this.useLocalPluginsCheckBox.Enabled = Content.ExecutionState == ExecutionState.Prepared; … … 214 214 } 215 215 216 private void resource IdsTextBox_Validated(object sender, EventArgs e) {217 Content.Resource Ids = resourceIdsTextBox.Text;216 private void resourceNamesTextBox_Validated(object sender, EventArgs e) { 217 Content.ResourceNames = resourceNamesTextBox.Text; 218 218 } 219 219
Note: See TracChangeset
for help on using the changeset viewer.