Free cookie consent management tool by TermsFeed Policy Generator

source: branches/dataset-ids-2695/HeuristicLab.Data.Views/3.3/EnumValueView.Designer.cs @ 15428

Last change on this file since 15428 was 14597, checked in by pfleck, 8 years ago

#2724

  • Added a ListView for Flag-attributed enums in the EnumValueView.
  • Simplified EnumValue cloning (already done in base-constructor).
  • Added a SetFlag helper for enums.
File size: 4.8 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2016 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.Data.Views {
23  partial class EnumValueView<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.valueLabel = new System.Windows.Forms.Label();
48      this.valueComboBox = new System.Windows.Forms.ComboBox();
49      this.flagsListView = new System.Windows.Forms.ListView();
50      this.columnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
51      this.SuspendLayout();
52      //
53      // valueLabel
54      //
55      this.valueLabel.AutoSize = true;
56      this.valueLabel.Location = new System.Drawing.Point(3, 3);
57      this.valueLabel.Name = "valueLabel";
58      this.valueLabel.Size = new System.Drawing.Size(37, 13);
59      this.valueLabel.TabIndex = 0;
60      this.valueLabel.Text = "&Value:";
61      //
62      // valueComboBox
63      //
64      this.valueComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
65            | System.Windows.Forms.AnchorStyles.Right)));
66      this.valueComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
67      this.valueComboBox.Enabled = false;
68      this.valueComboBox.FormattingEnabled = true;
69      this.valueComboBox.Location = new System.Drawing.Point(65, 0);
70      this.valueComboBox.Name = "valueComboBox";
71      this.valueComboBox.Size = new System.Drawing.Size(212, 21);
72      this.valueComboBox.TabIndex = 1;
73      this.valueComboBox.SelectedIndexChanged += new System.EventHandler(this.valueComboBox_SelectedIndexChanged);
74      //
75      // flagsListView
76      //
77      this.flagsListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
78            | System.Windows.Forms.AnchorStyles.Left)
79            | System.Windows.Forms.AnchorStyles.Right)));
80      this.flagsListView.CheckBoxes = true;
81      this.flagsListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
82            this.columnHeader});
83      this.flagsListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
84      this.flagsListView.Location = new System.Drawing.Point(65, 0);
85      this.flagsListView.Name = "flagsListView";
86      this.flagsListView.Size = new System.Drawing.Size(212, 21);
87      this.flagsListView.TabIndex = 2;
88      this.flagsListView.UseCompatibleStateImageBehavior = false;
89      this.flagsListView.View = System.Windows.Forms.View.Details;
90      this.flagsListView.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.flagsListView_ItemChecked);
91      //
92      // columnHeader
93      //
94      this.columnHeader.Width = 100;
95      //
96      // EnumValueView
97      //
98      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
99      this.Controls.Add(this.flagsListView);
100      this.Controls.Add(this.valueComboBox);
101      this.Controls.Add(this.valueLabel);
102      this.Name = "EnumValueView";
103      this.Size = new System.Drawing.Size(277, 29);
104      this.ResumeLayout(false);
105      this.PerformLayout();
106
107    }
108
109    #endregion
110
111    private System.Windows.Forms.Label valueLabel;
112    private System.Windows.Forms.ComboBox valueComboBox;
113    private System.Windows.Forms.ListView flagsListView;
114    private System.Windows.Forms.ColumnHeader columnHeader;
115  }
116}
Note: See TracBrowser for help on using the repository browser.