Changeset 8014
- Timestamp:
- 06/16/12 19:51:09 (12 years ago)
- Location:
- trunk/sources/HeuristicLab.Optimizer/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimizer/3.3/CreateExperimentDialog.Designer.cs
r7985 r8014 95 95 this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; 96 96 this.okButton.Enabled = false; 97 this.okButton.Location = new System.Drawing.Point( 187, 359);97 this.okButton.Location = new System.Drawing.Point(246, 377); 98 98 this.okButton.Name = "okButton"; 99 99 this.okButton.Size = new System.Drawing.Size(75, 23); … … 107 107 this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 108 108 this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; 109 this.cancelButton.Location = new System.Drawing.Point( 268, 359);109 this.cancelButton.Location = new System.Drawing.Point(327, 377); 110 110 this.cancelButton.Name = "cancelButton"; 111 111 this.cancelButton.Size = new System.Drawing.Size(75, 23); … … 161 161 0}); 162 162 this.repetitionsNumericUpDown.Name = "repetitionsNumericUpDown"; 163 this.repetitionsNumericUpDown.Size = new System.Drawing.Size(2 30, 20);163 this.repetitionsNumericUpDown.Size = new System.Drawing.Size(289, 20); 164 164 this.repetitionsNumericUpDown.TabIndex = 3; 165 165 this.repetitionsNumericUpDown.ThousandsSeparator = true; … … 242 242 this.tabControl.Name = "tabControl"; 243 243 this.tabControl.SelectedIndex = 0; 244 this.tabControl.Size = new System.Drawing.Size(3 28, 299);244 this.tabControl.Size = new System.Drawing.Size(387, 317); 245 245 this.tabControl.TabIndex = 4; 246 246 // … … 251 251 this.parametersTabPage.Name = "parametersTabPage"; 252 252 this.parametersTabPage.Padding = new System.Windows.Forms.Padding(3); 253 this.parametersTabPage.Size = new System.Drawing.Size(3 20, 273);253 this.parametersTabPage.Size = new System.Drawing.Size(379, 291); 254 254 this.parametersTabPage.TabIndex = 1; 255 this.parametersTabPage.Text = "Parameter s Variation";255 this.parametersTabPage.Text = "Parameter Variations"; 256 256 this.parametersTabPage.UseVisualStyleBackColor = true; 257 257 // … … 273 273 this.parametersSplitContainer.Panel2.Controls.Add(this.detailsTypeLabel); 274 274 this.parametersSplitContainer.Panel2.Controls.Add(this.choicesListView); 275 this.parametersSplitContainer.Size = new System.Drawing.Size(3 14, 267);276 this.parametersSplitContainer.SplitterDistance = 1 24;275 this.parametersSplitContainer.Size = new System.Drawing.Size(373, 285); 276 this.parametersSplitContainer.SplitterDistance = 155; 277 277 this.parametersSplitContainer.TabIndex = 1; 278 278 // … … 287 287 this.parametersListView.MultiSelect = false; 288 288 this.parametersListView.Name = "parametersListView"; 289 this.parametersListView.Size = new System.Drawing.Size(1 24, 267);289 this.parametersListView.Size = new System.Drawing.Size(155, 285); 290 290 this.parametersListView.TabIndex = 0; 291 291 this.parametersListView.UseCompatibleStateImageBehavior = false; … … 318 318 this.stringConvertibleArrayView.Name = "stringConvertibleArrayView"; 319 319 this.stringConvertibleArrayView.ReadOnly = false; 320 this.stringConvertibleArrayView.Size = new System.Drawing.Size(1 55, 215);320 this.stringConvertibleArrayView.Size = new System.Drawing.Size(183, 233); 321 321 this.stringConvertibleArrayView.TabIndex = 7; 322 322 // … … 341 341 this.choicesListView.Location = new System.Drawing.Point(16, 34); 342 342 this.choicesListView.Name = "choicesListView"; 343 this.choicesListView.Size = new System.Drawing.Size(1 55, 220);343 this.choicesListView.Size = new System.Drawing.Size(183, 238); 344 344 this.choicesListView.TabIndex = 6; 345 345 this.choicesListView.UseCompatibleStateImageBehavior = false; … … 392 392 this.experimentsToCreateDescriptionLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 393 393 this.experimentsToCreateDescriptionLabel.AutoSize = true; 394 this.experimentsToCreateDescriptionLabel.Location = new System.Drawing.Point(12, 3 64);394 this.experimentsToCreateDescriptionLabel.Location = new System.Drawing.Point(12, 382); 395 395 this.experimentsToCreateDescriptionLabel.Name = "experimentsToCreateDescriptionLabel"; 396 396 this.experimentsToCreateDescriptionLabel.Size = new System.Drawing.Size(56, 13); … … 402 402 this.variationsLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 403 403 this.variationsLabel.AutoSize = true; 404 this.variationsLabel.Location = new System.Drawing.Point(74, 3 64);404 this.variationsLabel.Location = new System.Drawing.Point(74, 382); 405 405 this.variationsLabel.Name = "variationsLabel"; 406 406 this.variationsLabel.Size = new System.Drawing.Size(13, 13); … … 424 424 this.experimentCreationProgressBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 425 425 | System.Windows.Forms.AnchorStyles.Right))); 426 this.experimentCreationProgressBar.Location = new System.Drawing.Point(187, 3 59);426 this.experimentCreationProgressBar.Location = new System.Drawing.Point(187, 377); 427 427 this.experimentCreationProgressBar.Name = "experimentCreationProgressBar"; 428 this.experimentCreationProgressBar.Size = new System.Drawing.Size( 75, 23);428 this.experimentCreationProgressBar.Size = new System.Drawing.Size(134, 23); 429 429 this.experimentCreationProgressBar.TabIndex = 9; 430 430 this.experimentCreationProgressBar.Visible = false; … … 435 435 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; 436 436 this.CancelButton = this.cancelButton; 437 this.ClientSize = new System.Drawing.Size( 355, 394);437 this.ClientSize = new System.Drawing.Size(414, 412); 438 438 this.Controls.Add(this.experimentCreationProgressBar); 439 439 this.Controls.Add(this.variationsLabel); -
trunk/sources/HeuristicLab.Optimizer/3.3/CreateExperimentDialog.cs
r8013 r8014 413 413 variationsLabel.Visible = true; 414 414 experimentsToCreateDescriptionLabel.Visible = true; 415 Height = 4 30;415 Height = 450; 416 416 } else { 417 417 variationsLabel.Visible = false; … … 745 745 private IEnumerable<IOptimizer> experimentCreationBackgroundWorker_CalculateParameterVariations(IOptimizer optimizer) { 746 746 if (!boolParameters.Any() && !intParameters.Any() && !doubleParameters.Any() && !multipleChoiceParameters.Any()) { 747 yield return (IOptimizer)optimizer.Clone(); 747 var o = (IOptimizer)optimizer.Clone(); 748 o.Runs.Clear(); 749 yield return o; 748 750 yield break; 749 751 } … … 756 758 do { 757 759 var variant = (IAlgorithm)optimizer.Clone(); 760 variant.Runs.Clear(); 758 761 variant.Name += " {"; 759 762 finished = true;
Note: See TracChangeset
for help on using the changeset viewer.