Adding missing public keyword for some of our usage enumerations.
2 // Copyright (C) 2014-2015 Stéphane Lenclud.
4 // This file is part of SharpLibHid.
6 // SharpDisplayManager is free software: you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation, either version 3 of the License, or
9 // (at your option) any later version.
11 // SharpDisplayManager is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with SharpDisplayManager. If not, see <http://www.gnu.org/licenses/>.
21 using System.Collections.Generic;
26 public partial class MainForm
28 #region Windows Form Designer generated code
30 /// Required method for Designer support - do not modify
31 /// the contents of this method with the code editor.
33 private void InitializeComponent()
35 this.buttonClear = new System.Windows.Forms.Button();
36 this.tabControl = new System.Windows.Forms.TabControl();
37 this.tabPageMessages = new System.Windows.Forms.TabPage();
38 this.listViewEvents = new System.Windows.Forms.ListView();
39 this.columnHeaderUsages = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
40 this.columnHeaderInputReport = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
41 this.columnHeaderUsagePage = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
42 this.columnHeaderUsageCollection = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
43 this.columnHeaderRepeat = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
44 this.columnHeaderTime = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
45 this.tabPageDevices = new System.Windows.Forms.TabPage();
46 this.buttonRefresh = new System.Windows.Forms.Button();
47 this.buttonTreeViewExpandAll = new System.Windows.Forms.Button();
48 this.buttonTreeViewCollapseAll = new System.Windows.Forms.Button();
49 this.treeViewDevices = new System.Windows.Forms.TreeView();
50 this.tabPageTests = new System.Windows.Forms.TabPage();
51 this.textBoxTests = new System.Windows.Forms.TextBox();
52 this.statusStrip = new System.Windows.Forms.StatusStrip();
53 this.toolStripStatusLabelDevice = new System.Windows.Forms.ToolStripStatusLabel();
54 this.checkBoxRepeat = new System.Windows.Forms.CheckBox();
55 this.tabControl.SuspendLayout();
56 this.tabPageMessages.SuspendLayout();
57 this.tabPageDevices.SuspendLayout();
58 this.tabPageTests.SuspendLayout();
59 this.statusStrip.SuspendLayout();
64 this.buttonClear.Location = new System.Drawing.Point(813, 6);
65 this.buttonClear.Name = "buttonClear";
66 this.buttonClear.Size = new System.Drawing.Size(75, 23);
67 this.buttonClear.TabIndex = 3;
68 this.buttonClear.Text = "Clear";
69 this.buttonClear.UseVisualStyleBackColor = true;
70 this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click);
74 this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
75 | System.Windows.Forms.AnchorStyles.Left)));
76 this.tabControl.Controls.Add(this.tabPageMessages);
77 this.tabControl.Controls.Add(this.tabPageDevices);
78 this.tabControl.Controls.Add(this.tabPageTests);
79 this.tabControl.Location = new System.Drawing.Point(12, 12);
80 this.tabControl.Name = "tabControl";
81 this.tabControl.SelectedIndex = 0;
82 this.tabControl.Size = new System.Drawing.Size(902, 532);
83 this.tabControl.TabIndex = 4;
87 this.tabPageMessages.Controls.Add(this.checkBoxRepeat);
88 this.tabPageMessages.Controls.Add(this.listViewEvents);
89 this.tabPageMessages.Controls.Add(this.buttonClear);
90 this.tabPageMessages.Location = new System.Drawing.Point(4, 22);
91 this.tabPageMessages.Name = "tabPageMessages";
92 this.tabPageMessages.Padding = new System.Windows.Forms.Padding(3);
93 this.tabPageMessages.Size = new System.Drawing.Size(894, 506);
94 this.tabPageMessages.TabIndex = 0;
95 this.tabPageMessages.Text = "Messages";
96 this.tabPageMessages.UseVisualStyleBackColor = true;
100 this.listViewEvents.Alignment = System.Windows.Forms.ListViewAlignment.Left;
101 this.listViewEvents.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
102 | System.Windows.Forms.AnchorStyles.Left)));
103 this.listViewEvents.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
104 this.listViewEvents.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
105 this.columnHeaderUsages,
106 this.columnHeaderInputReport,
107 this.columnHeaderUsagePage,
108 this.columnHeaderUsageCollection,
109 this.columnHeaderRepeat,
110 this.columnHeaderTime});
111 this.listViewEvents.GridLines = true;
112 this.listViewEvents.Location = new System.Drawing.Point(8, 6);
113 this.listViewEvents.Name = "listViewEvents";
114 this.listViewEvents.Size = new System.Drawing.Size(744, 492);
115 this.listViewEvents.TabIndex = 3;
116 this.listViewEvents.UseCompatibleStateImageBehavior = false;
117 this.listViewEvents.View = System.Windows.Forms.View.Details;
119 // columnHeaderUsages
121 this.columnHeaderUsages.Text = "Usages";
122 this.columnHeaderUsages.Width = 180;
124 // columnHeaderInputReport
126 this.columnHeaderInputReport.Text = "Input Report";
127 this.columnHeaderInputReport.Width = 176;
129 // columnHeaderUsagePage
131 this.columnHeaderUsagePage.Text = "Usage Page";
132 this.columnHeaderUsagePage.Width = 87;
134 // columnHeaderUsageCollection
136 this.columnHeaderUsageCollection.Text = "Usage Collection";
137 this.columnHeaderUsageCollection.Width = 134;
139 // columnHeaderRepeat
141 this.columnHeaderRepeat.Text = "Repeat";
142 this.columnHeaderRepeat.Width = 68;
146 this.columnHeaderTime.Text = "Time";
147 this.columnHeaderTime.Width = 76;
151 this.tabPageDevices.Controls.Add(this.buttonRefresh);
152 this.tabPageDevices.Controls.Add(this.buttonTreeViewExpandAll);
153 this.tabPageDevices.Controls.Add(this.buttonTreeViewCollapseAll);
154 this.tabPageDevices.Controls.Add(this.treeViewDevices);
155 this.tabPageDevices.Location = new System.Drawing.Point(4, 22);
156 this.tabPageDevices.Name = "tabPageDevices";
157 this.tabPageDevices.Padding = new System.Windows.Forms.Padding(3);
158 this.tabPageDevices.Size = new System.Drawing.Size(894, 506);
159 this.tabPageDevices.TabIndex = 1;
160 this.tabPageDevices.Text = "Devices";
161 this.tabPageDevices.UseVisualStyleBackColor = true;
165 this.buttonRefresh.Location = new System.Drawing.Point(813, 64);
166 this.buttonRefresh.Name = "buttonRefresh";
167 this.buttonRefresh.Size = new System.Drawing.Size(75, 23);
168 this.buttonRefresh.TabIndex = 3;
169 this.buttonRefresh.Text = "Refresh";
170 this.buttonRefresh.UseVisualStyleBackColor = true;
171 this.buttonRefresh.Click += new System.EventHandler(this.buttonRefresh_Click);
173 // buttonTreeViewExpandAll
175 this.buttonTreeViewExpandAll.Location = new System.Drawing.Point(813, 6);
176 this.buttonTreeViewExpandAll.Name = "buttonTreeViewExpandAll";
177 this.buttonTreeViewExpandAll.Size = new System.Drawing.Size(75, 23);
178 this.buttonTreeViewExpandAll.TabIndex = 2;
179 this.buttonTreeViewExpandAll.Text = "Expand All";
180 this.buttonTreeViewExpandAll.UseVisualStyleBackColor = true;
181 this.buttonTreeViewExpandAll.Click += new System.EventHandler(this.buttonTreeViewExpandAll_Click);
183 // buttonTreeViewCollapseAll
185 this.buttonTreeViewCollapseAll.Location = new System.Drawing.Point(813, 35);
186 this.buttonTreeViewCollapseAll.Name = "buttonTreeViewCollapseAll";
187 this.buttonTreeViewCollapseAll.Size = new System.Drawing.Size(75, 23);
188 this.buttonTreeViewCollapseAll.TabIndex = 1;
189 this.buttonTreeViewCollapseAll.Text = "Collapse All";
190 this.buttonTreeViewCollapseAll.UseVisualStyleBackColor = true;
191 this.buttonTreeViewCollapseAll.Click += new System.EventHandler(this.buttonTreeViewCollapseAll_Click);
195 this.treeViewDevices.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
196 | System.Windows.Forms.AnchorStyles.Left)));
197 this.treeViewDevices.Location = new System.Drawing.Point(8, 6);
198 this.treeViewDevices.Name = "treeViewDevices";
199 this.treeViewDevices.Size = new System.Drawing.Size(713, 492);
200 this.treeViewDevices.TabIndex = 0;
204 this.tabPageTests.Controls.Add(this.textBoxTests);
205 this.tabPageTests.Location = new System.Drawing.Point(4, 22);
206 this.tabPageTests.Name = "tabPageTests";
207 this.tabPageTests.Size = new System.Drawing.Size(894, 506);
208 this.tabPageTests.TabIndex = 2;
209 this.tabPageTests.Text = "Tests";
210 this.tabPageTests.UseVisualStyleBackColor = true;
214 this.textBoxTests.Location = new System.Drawing.Point(4, 4);
215 this.textBoxTests.Multiline = true;
216 this.textBoxTests.Name = "textBoxTests";
217 this.textBoxTests.Size = new System.Drawing.Size(887, 499);
218 this.textBoxTests.TabIndex = 0;
222 this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
223 this.toolStripStatusLabelDevice});
224 this.statusStrip.Location = new System.Drawing.Point(0, 547);
225 this.statusStrip.Name = "statusStrip";
226 this.statusStrip.Size = new System.Drawing.Size(935, 22);
227 this.statusStrip.TabIndex = 5;
228 this.statusStrip.Text = "statusStrip1";
230 // toolStripStatusLabelDevice
232 this.toolStripStatusLabelDevice.Name = "toolStripStatusLabelDevice";
233 this.toolStripStatusLabelDevice.Size = new System.Drawing.Size(61, 17);
234 this.toolStripStatusLabelDevice.Text = "No Device";
238 this.checkBoxRepeat.AutoSize = true;
239 this.checkBoxRepeat.Location = new System.Drawing.Point(813, 46);
240 this.checkBoxRepeat.Name = "checkBoxRepeat";
241 this.checkBoxRepeat.Size = new System.Drawing.Size(61, 17);
242 this.checkBoxRepeat.TabIndex = 4;
243 this.checkBoxRepeat.Text = "Repeat";
244 this.checkBoxRepeat.UseVisualStyleBackColor = true;
245 this.checkBoxRepeat.CheckedChanged += new System.EventHandler(this.checkBoxRepeat_CheckedChanged);
249 this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
250 this.BackColor = System.Drawing.SystemColors.Control;
251 this.ClientSize = new System.Drawing.Size(935, 569);
252 this.Controls.Add(this.statusStrip);
253 this.Controls.Add(this.tabControl);
254 this.Name = "MainForm";
255 this.Text = "HID Demo";
256 this.Load += new System.EventHandler(this.MainForm_Load);
257 this.tabControl.ResumeLayout(false);
258 this.tabPageMessages.ResumeLayout(false);
259 this.tabPageMessages.PerformLayout();
260 this.tabPageDevices.ResumeLayout(false);
261 this.tabPageTests.ResumeLayout(false);
262 this.tabPageTests.PerformLayout();
263 this.statusStrip.ResumeLayout(false);
264 this.statusStrip.PerformLayout();
265 this.ResumeLayout(false);
266 this.PerformLayout();
269 #endregion Windows Form Designer generated code
271 private System.Windows.Forms.Button buttonClear;
272 private System.Windows.Forms.TabControl tabControl;
273 private System.Windows.Forms.TabPage tabPageMessages;
274 private System.Windows.Forms.ListView listViewEvents;
275 private System.Windows.Forms.ColumnHeader columnHeaderUsages;
276 private System.Windows.Forms.ColumnHeader columnHeaderInputReport;
277 private System.Windows.Forms.ColumnHeader columnHeaderUsagePage;
278 private System.Windows.Forms.ColumnHeader columnHeaderUsageCollection;
279 private System.Windows.Forms.ColumnHeader columnHeaderRepeat;
280 private System.Windows.Forms.ColumnHeader columnHeaderTime;
281 private System.Windows.Forms.TabPage tabPageDevices;
282 private System.Windows.Forms.TreeView treeViewDevices;
283 private System.Windows.Forms.Button buttonTreeViewExpandAll;
284 private System.Windows.Forms.Button buttonTreeViewCollapseAll;
285 private System.Windows.Forms.StatusStrip statusStrip;
286 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelDevice;
287 private System.Windows.Forms.TabPage tabPageTests;
288 private System.Windows.Forms.TextBox textBoxTests;
289 private System.Windows.Forms.Button buttonRefresh;
290 private System.Windows.Forms.CheckBox checkBoxRepeat;