- Timestamp:
- 05/18/12 14:08:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimizer/3.3/CreateExperimentDialog.Designer.cs
r7841 r7846 46 46 private void InitializeComponent() { 47 47 this.components = new System.ComponentModel.Container(); 48 System.Windows.Forms.ListViewGroup listViewGroup1 = new System.Windows.Forms.ListViewGroup("QAPLIB", System.Windows.Forms.HorizontalAlignment.Left);49 System.Windows.Forms.ListViewGroup listViewGroup2 = new System.Windows.Forms.ListViewGroup("TSPLIB", System.Windows.Forms.HorizontalAlignment.Left);50 System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem("bur26a");51 System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem("esc32a");52 System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem("berlin52");53 System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem("ch130");54 48 this.okButton = new System.Windows.Forms.Button(); 55 49 this.cancelButton = new System.Windows.Forms.Button(); … … 62 56 this.instancesListView = new System.Windows.Forms.ListView(); 63 57 this.columnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 58 this.experimentCreationBackgroundWorker = new System.ComponentModel.BackgroundWorker(); 59 this.experimentCreationProgressBar = new System.Windows.Forms.ProgressBar(); 60 this.progressLabel = new System.Windows.Forms.Label(); 61 this.selectAllCheckBox = new System.Windows.Forms.CheckBox(); 62 this.selectNoneCheckBox = new System.Windows.Forms.CheckBox(); 64 63 ((System.ComponentModel.ISupportInitialize)(this.repetitionsNumericUpDown)).BeginInit(); 65 64 this.SuspendLayout(); … … 164 163 this.instancesListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { 165 164 this.columnHeader}); 166 listViewGroup1.Header = "QAPLIB";167 listViewGroup1.Name = "QAPLIBHeader";168 listViewGroup2.Header = "TSPLIB";169 listViewGroup2.Name = "TSPLIBHeader";170 listViewGroup2.Tag = "";171 this.instancesListView.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] {172 listViewGroup1,173 listViewGroup2});174 165 this.instancesListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; 175 listViewItem1.Checked = true; 176 listViewItem1.Group = listViewGroup1; 177 listViewItem1.StateImageIndex = 1; 178 listViewItem2.Checked = true; 179 listViewItem2.Group = listViewGroup1; 180 listViewItem2.StateImageIndex = 1; 181 listViewItem3.Group = listViewGroup2; 182 listViewItem3.StateImageIndex = 0; 183 listViewItem4.Group = listViewGroup2; 184 listViewItem4.StateImageIndex = 0; 185 this.instancesListView.Items.AddRange(new System.Windows.Forms.ListViewItem[] { 186 listViewItem1, 187 listViewItem2, 188 listViewItem3, 189 listViewItem4}); 190 this.instancesListView.Location = new System.Drawing.Point(113, 54); 166 this.instancesListView.Location = new System.Drawing.Point(113, 77); 191 167 this.instancesListView.Name = "instancesListView"; 192 this.instancesListView.Size = new System.Drawing.Size(156, 1 99);168 this.instancesListView.Size = new System.Drawing.Size(156, 176); 193 169 this.instancesListView.TabIndex = 6; 194 170 this.instancesListView.UseCompatibleStateImageBehavior = false; 195 171 this.instancesListView.View = System.Windows.Forms.View.Details; 172 this.instancesListView.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.instancesListView_ItemChecked); 196 173 // 197 174 // columnHeader 198 175 // 199 176 this.columnHeader.Width = 150; 177 // 178 // experimentCreationBackgroundWorker 179 // 180 this.experimentCreationBackgroundWorker.WorkerReportsProgress = true; 181 this.experimentCreationBackgroundWorker.WorkerSupportsCancellation = true; 182 this.experimentCreationBackgroundWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.experimentCreationBackgroundWorker_DoWork); 183 this.experimentCreationBackgroundWorker.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.experimentCreationBackgroundWorker_ProgressChanged); 184 this.experimentCreationBackgroundWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.experimentCreationBackgroundWorker_RunWorkerCompleted); 185 // 186 // experimentCreationProgressBar 187 // 188 this.experimentCreationProgressBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 189 | System.Windows.Forms.AnchorStyles.Right))); 190 this.experimentCreationProgressBar.Location = new System.Drawing.Point(15, 259); 191 this.experimentCreationProgressBar.Name = "experimentCreationProgressBar"; 192 this.experimentCreationProgressBar.Size = new System.Drawing.Size(92, 23); 193 this.experimentCreationProgressBar.Style = System.Windows.Forms.ProgressBarStyle.Continuous; 194 this.experimentCreationProgressBar.TabIndex = 7; 195 this.experimentCreationProgressBar.Visible = false; 196 // 197 // progressLabel 198 // 199 this.progressLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 200 this.progressLabel.BackColor = System.Drawing.SystemColors.Control; 201 this.progressLabel.Location = new System.Drawing.Point(113, 259); 202 this.progressLabel.Name = "progressLabel"; 203 this.progressLabel.Size = new System.Drawing.Size(75, 23); 204 this.progressLabel.TabIndex = 8; 205 this.progressLabel.Text = "label1"; 206 this.progressLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; 207 this.progressLabel.Visible = false; 208 // 209 // selectAllCheckBox 210 // 211 this.selectAllCheckBox.AutoSize = true; 212 this.selectAllCheckBox.Location = new System.Drawing.Point(113, 54); 213 this.selectAllCheckBox.Name = "selectAllCheckBox"; 214 this.selectAllCheckBox.Size = new System.Drawing.Size(67, 17); 215 this.selectAllCheckBox.TabIndex = 9; 216 this.selectAllCheckBox.Text = "select all"; 217 this.selectAllCheckBox.UseVisualStyleBackColor = true; 218 this.selectAllCheckBox.CheckedChanged += new System.EventHandler(this.selectAllCheckBox_CheckedChanged); 219 // 220 // selectNoneCheckBox 221 // 222 this.selectNoneCheckBox.AutoSize = true; 223 this.selectNoneCheckBox.Location = new System.Drawing.Point(186, 54); 224 this.selectNoneCheckBox.Name = "selectNoneCheckBox"; 225 this.selectNoneCheckBox.Size = new System.Drawing.Size(81, 17); 226 this.selectNoneCheckBox.TabIndex = 9; 227 this.selectNoneCheckBox.Text = "select none"; 228 this.selectNoneCheckBox.UseVisualStyleBackColor = true; 229 this.selectNoneCheckBox.CheckedChanged += new System.EventHandler(this.selectNoneCheckBox_CheckedChanged); 200 230 // 201 231 // CreateExperimentDialog … … 206 236 this.CancelButton = this.cancelButton; 207 237 this.ClientSize = new System.Drawing.Size(281, 294); 238 this.Controls.Add(this.selectNoneCheckBox); 239 this.Controls.Add(this.selectAllCheckBox); 208 240 this.Controls.Add(this.instancesListView); 209 241 this.Controls.Add(this.repetitionsNumericUpDown); … … 214 246 this.Controls.Add(this.cancelButton); 215 247 this.Controls.Add(this.okButton); 248 this.Controls.Add(this.progressLabel); 249 this.Controls.Add(this.experimentCreationProgressBar); 216 250 this.MaximizeBox = false; 217 251 this.MinimizeBox = false; … … 221 255 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; 222 256 this.Text = "Create Experiment"; 257 this.TopMost = true; 258 this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.CreateExperimentDialog_FormClosing); 223 259 ((System.ComponentModel.ISupportInitialize)(this.repetitionsNumericUpDown)).EndInit(); 224 260 this.ResumeLayout(false); … … 239 275 private System.Windows.Forms.ListView instancesListView; 240 276 private System.Windows.Forms.ColumnHeader columnHeader; 277 private System.ComponentModel.BackgroundWorker experimentCreationBackgroundWorker; 278 private System.Windows.Forms.ProgressBar experimentCreationProgressBar; 279 private System.Windows.Forms.Label progressLabel; 280 private System.Windows.Forms.CheckBox selectAllCheckBox; 281 private System.Windows.Forms.CheckBox selectNoneCheckBox; 241 282 242 283 }
Note: See TracChangeset
for help on using the changeset viewer.