Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Problems.Instances.Views/3.3/ProblemInstanceProviderViewGeneric.Designer.cs @ 8087

Last change on this file since 8087 was 8031, checked in by abeham, 12 years ago

#1782:

  • Changed tooltip generation in ProblemInstanceConsumerViewGeneric (typeof(T).Name doesn't work, because T doesn't change miraculously when the selected provider changes). The current solution might not be optimal, maybe include another property "FileFormat" in IProblemInstanceProvider that can then be TSPLIB, QAPLIB, CSV, etc.
  • Set instances combobox to not display a selected instance initially and disabled button in this case. If that still doesn't reduce the confusion, then I think we have to add problem loading on selected index change and do away with the button.
File size: 5.2 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
4 *
5 * This file is part of HeuristicLab.
6 *
7 * HeuristicLab is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * HeuristicLab is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
19 */
20#endregion
21
22namespace HeuristicLab.Problems.Instances.Views {
23  partial class ProblemInstanceProviderViewGeneric<T> {
24    /// <summary>
25    /// Required designer variable.
26    /// </summary>
27    private System.ComponentModel.IContainer components = null;
28
29    /// <summary>
30    /// Clean up any resources being used.
31    /// </summary>
32    /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
33    protected override void Dispose(bool disposing) {
34      if (disposing && (components != null)) {
35        components.Dispose();
36      }
37      base.Dispose(disposing);
38    }
39
40    #region Component Designer generated code
41
42    /// <summary>
43    /// Required method for Designer support - do not modify
44    /// the contents of this method with the code editor.
45    /// </summary>
46    private void InitializeComponent() {
47      this.components = new System.ComponentModel.Container();
48      this.loadButton = new System.Windows.Forms.Button();
49      this.instanceLabel = new System.Windows.Forms.Label();
50      this.instancesComboBox = new System.Windows.Forms.ComboBox();
51      this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
52      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
53      this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
54      this.SuspendLayout();
55      //
56      // loadButton
57      //
58      this.loadButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
59      this.loadButton.Location = new System.Drawing.Point(667, -1);
60      this.loadButton.Name = "loadButton";
61      this.loadButton.Size = new System.Drawing.Size(24, 24);
62      this.loadButton.TabIndex = 6;
63      this.loadButton.Text = "Load";
64      this.loadButton.UseVisualStyleBackColor = true;
65      this.loadButton.Click += new System.EventHandler(this.loadButton_Click);
66      //
67      // instanceLabel
68      //
69      this.instanceLabel.AutoSize = true;
70      this.instanceLabel.Location = new System.Drawing.Point(3, 4);
71      this.instanceLabel.Name = "instanceLabel";
72      this.instanceLabel.Size = new System.Drawing.Size(51, 13);
73      this.instanceLabel.TabIndex = 4;
74      this.instanceLabel.Text = "Instance:";
75      //
76      // instancesComboBox
77      //
78      this.instancesComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
79            | System.Windows.Forms.AnchorStyles.Right)));
80      this.instancesComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
81      this.instancesComboBox.FormattingEnabled = true;
82      this.instancesComboBox.Location = new System.Drawing.Point(60, 1);
83      this.instancesComboBox.Name = "instancesComboBox";
84      this.instancesComboBox.Size = new System.Drawing.Size(601, 21);
85      this.instancesComboBox.TabIndex = 7;
86      this.instancesComboBox.DataSourceChanged += new System.EventHandler(this.instancesComboBox_DataSourceChanged);
87      this.instancesComboBox.SelectedIndexChanged += new System.EventHandler(this.instancesComboBox_SelectedIndexChanged);
88      //
89      // openFileDialog
90      //
91      this.openFileDialog.Filter = "All files|*.*";
92      //
93      // saveFileDialog
94      //
95      this.saveFileDialog.Filter = "CSV files|*.csv|All files|*.*";
96      this.saveFileDialog.Title = "Save RegressionInstance...";
97      //
98      // ProblemInstanceProviderViewGeneric
99      //
100      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
101      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
102      this.Controls.Add(this.instanceLabel);
103      this.Controls.Add(this.instancesComboBox);
104      this.Controls.Add(this.loadButton);
105      this.Name = "ProblemInstanceProviderViewGeneric";
106      this.Size = new System.Drawing.Size(694, 21);
107      this.ResumeLayout(false);
108      this.PerformLayout();
109
110    }
111
112    #endregion
113
114    protected System.Windows.Forms.OpenFileDialog openFileDialog;
115    protected System.Windows.Forms.ToolTip toolTip;
116    protected System.Windows.Forms.Button loadButton;
117    protected System.Windows.Forms.Label instanceLabel;
118    protected System.Windows.Forms.ComboBox instancesComboBox;
119    protected System.Windows.Forms.SaveFileDialog saveFileDialog;
120  }
121}
Note: See TracBrowser for help on using the repository browser.