- Timestamp:
- 03/31/11 03:24:02 (14 years ago)
- Location:
- branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3
- Property svn:ignore
-
old new 3 3 *.user 4 4 HeuristicLabClientsOKBPlugin.cs 5 *.vs10x
-
- Property svn:ignore
-
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/RunCreation/Views/OKBAlgorithmView.Designer.cs
r5900 r5902 58 58 this.refreshButton = new System.Windows.Forms.Button(); 59 59 this.cloneAlgorithmButton = new System.Windows.Forms.Button(); 60 this.storeRunsAutomaticallyCheckBox = new System.Windows.Forms.CheckBox(); 60 61 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit(); 61 62 this.tabControl.SuspendLayout(); … … 161 162 this.parametersTabPage.Name = "parametersTabPage"; 162 163 this.parametersTabPage.Padding = new System.Windows.Forms.Padding(3); 163 this.parametersTabPage.Size = new System.Drawing.Size(671, 3 45);164 this.parametersTabPage.Size = new System.Drawing.Size(671, 371); 164 165 this.parametersTabPage.TabIndex = 1; 165 166 this.parametersTabPage.Text = "Parameters"; … … 168 169 // parameterCollectionView 169 170 // 171 this.parameterCollectionView.AllowEditingOfHiddenParameters = false; 170 172 this.parameterCollectionView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 171 173 | System.Windows.Forms.AnchorStyles.Left) … … 176 178 this.parameterCollectionView.Name = "parameterCollectionView"; 177 179 this.parameterCollectionView.ReadOnly = false; 178 this.parameterCollectionView.Size = new System.Drawing.Size(659, 3 33);180 this.parameterCollectionView.Size = new System.Drawing.Size(659, 359); 179 181 this.parameterCollectionView.TabIndex = 0; 180 182 // … … 185 187 this.resultsTabPage.Name = "resultsTabPage"; 186 188 this.resultsTabPage.Padding = new System.Windows.Forms.Padding(3); 187 this.resultsTabPage.Size = new System.Drawing.Size(671, 3 45);189 this.resultsTabPage.Size = new System.Drawing.Size(671, 371); 188 190 this.resultsTabPage.TabIndex = 2; 189 191 this.resultsTabPage.Text = "Results"; … … 200 202 this.resultsView.Name = "resultsView"; 201 203 this.resultsView.ReadOnly = true; 202 this.resultsView.Size = new System.Drawing.Size(659, 3 33);204 this.resultsView.Size = new System.Drawing.Size(659, 359); 203 205 this.resultsView.TabIndex = 0; 204 206 // 205 207 // runsTabPage 206 208 // 209 this.runsTabPage.Controls.Add(this.storeRunsAutomaticallyCheckBox); 207 210 this.runsTabPage.Controls.Add(this.storeAlgorithmInEachRunCheckBox); 208 211 this.runsTabPage.Controls.Add(this.runsView); … … 210 213 this.runsTabPage.Name = "runsTabPage"; 211 214 this.runsTabPage.Padding = new System.Windows.Forms.Padding(3); 212 this.runsTabPage.Size = new System.Drawing.Size(671, 3 45);215 this.runsTabPage.Size = new System.Drawing.Size(671, 371); 213 216 this.runsTabPage.TabIndex = 3; 214 217 this.runsTabPage.Text = "Runs"; … … 225 228 this.storeAlgorithmInEachRunCheckBox.Name = "storeAlgorithmInEachRunCheckBox"; 226 229 this.storeAlgorithmInEachRunCheckBox.Size = new System.Drawing.Size(161, 17); 227 this.storeAlgorithmInEachRunCheckBox.TabIndex = 1;230 this.storeAlgorithmInEachRunCheckBox.TabIndex = 2; 228 231 this.storeAlgorithmInEachRunCheckBox.Text = "&Store Algorithm in each Run:"; 229 232 this.toolTip.SetToolTip(this.storeAlgorithmInEachRunCheckBox, "Check to store a copy of the algorithm in each run."); … … 241 244 this.runsView.Name = "runsView"; 242 245 this.runsView.ReadOnly = false; 243 this.runsView.Size = new System.Drawing.Size(659, 3 33);246 this.runsView.Size = new System.Drawing.Size(659, 359); 244 247 this.runsView.TabIndex = 0; 245 248 // … … 362 365 this.cloneAlgorithmButton.UseVisualStyleBackColor = true; 363 366 this.cloneAlgorithmButton.Click += new System.EventHandler(this.cloneAlgorithmButton_Click); 367 // 368 // storeRunsAutomaticallyCheckBox 369 // 370 this.storeRunsAutomaticallyCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 371 this.storeRunsAutomaticallyCheckBox.AutoSize = true; 372 this.storeRunsAutomaticallyCheckBox.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; 373 this.storeRunsAutomaticallyCheckBox.Checked = true; 374 this.storeRunsAutomaticallyCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; 375 this.storeRunsAutomaticallyCheckBox.Location = new System.Drawing.Point(318, 6); 376 this.storeRunsAutomaticallyCheckBox.Name = "storeRunsAutomaticallyCheckBox"; 377 this.storeRunsAutomaticallyCheckBox.Size = new System.Drawing.Size(147, 17); 378 this.storeRunsAutomaticallyCheckBox.TabIndex = 1; 379 this.storeRunsAutomaticallyCheckBox.Text = "Store Runs &Automatically:"; 380 this.toolTip.SetToolTip(this.storeRunsAutomaticallyCheckBox, "Store finished runs automatically in the OKB."); 381 this.storeRunsAutomaticallyCheckBox.UseVisualStyleBackColor = true; 382 this.storeRunsAutomaticallyCheckBox.CheckedChanged += new System.EventHandler(this.storeRunsAutomaticallyCheckBox_CheckedChanged); 364 383 // 365 384 // OKBAlgorithmView … … 431 450 private System.Windows.Forms.Button refreshButton; 432 451 private System.Windows.Forms.Button cloneAlgorithmButton; 452 private System.Windows.Forms.CheckBox storeRunsAutomaticallyCheckBox; 433 453 } 434 454 } -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/RunCreation/Views/OKBAlgorithmView.cs
r5667 r5902 81 81 Content.Stopped -= new EventHandler(Content_Stopped); 82 82 Content.ProblemChanged -= new EventHandler(Content_ProblemChanged); 83 Content.StoreRunsAutomaticallyChanged -= new EventHandler(Content_StoreRunsAutomaticallyChanged); 83 84 Content.StoreAlgorithmInEachRunChanged -= new EventHandler(Content_StoreAlgorithmInEachRunChanged); 84 85 base.DeregisterContentEvents(); … … 95 96 Content.Stopped += new EventHandler(Content_Stopped); 96 97 Content.ProblemChanged += new EventHandler(Content_ProblemChanged); 98 Content.StoreRunsAutomaticallyChanged += new EventHandler(Content_StoreRunsAutomaticallyChanged); 97 99 Content.StoreAlgorithmInEachRunChanged += new EventHandler(Content_StoreAlgorithmInEachRunChanged); 98 100 } … … 106 108 resultsView.Content = null; 107 109 runsView.Content = null; 110 storeRunsAutomaticallyCheckBox.Checked = true; 108 111 storeAlgorithmInEachRunCheckBox.Checked = true; 109 112 executionTimeTextBox.Text = "-"; … … 116 119 resultsView.Content = Content.Results.AsReadOnly(); 117 120 runsView.Content = Content.Runs; 121 storeRunsAutomaticallyCheckBox.Checked = Content.StoreRunsAutomatically; 118 122 storeAlgorithmInEachRunCheckBox.Checked = Content.StoreAlgorithmInEachRun; 119 123 executionTimeTextBox.Text = Content.ExecutionTime.ToString(); … … 132 136 resultsView.Enabled = Content != null; 133 137 runsView.Enabled = Content != null; 138 storeRunsAutomaticallyCheckBox.Enabled = Content != null && !ReadOnly; 134 139 storeAlgorithmInEachRunCheckBox.Enabled = Content != null && !ReadOnly; 135 140 executionTimeTextBox.Enabled = Content != null; … … 196 201 else 197 202 executionTimeTextBox.Text = Content == null ? "-" : Content.ExecutionTime.ToString(); 203 } 204 private void Content_StoreRunsAutomaticallyChanged(object sender, EventArgs e) { 205 if (InvokeRequired) 206 Invoke(new EventHandler(Content_StoreRunsAutomaticallyChanged), sender, e); 207 else 208 storeRunsAutomaticallyCheckBox.Checked = Content.StoreRunsAutomatically; 198 209 } 199 210 private void Content_StoreAlgorithmInEachRunChanged(object sender, EventArgs e) { … … 306 317 } 307 318 } 319 private void storeRunsAutomaticallyCheckBox_CheckedChanged(object sender, EventArgs e) { 320 if (Content != null) Content.StoreRunsAutomatically = storeRunsAutomaticallyCheckBox.Checked; 321 } 308 322 private void storeAlgorithmInEachRunCheckBox_CheckedChanged(object sender, EventArgs e) { 309 323 if (Content != null) Content.StoreAlgorithmInEachRun = storeAlgorithmInEachRunCheckBox.Checked; -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/RunCreation/Views/OKBProblemView.Designer.cs
r5900 r5902 118 118 // parameterCollectionView 119 119 // 120 this.parameterCollectionView.AllowEditingOfHiddenParameters = false; 120 121 this.parameterCollectionView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 121 122 | System.Windows.Forms.AnchorStyles.Left)
Note: See TracChangeset
for help on using the changeset viewer.