Publishing on NuGet.
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.tabControl.SuspendLayout();
55 this.tabPageMessages.SuspendLayout();
56 this.tabPageDevices.SuspendLayout();
57 this.tabPageTests.SuspendLayout();
58 this.statusStrip.SuspendLayout();
63 this.buttonClear.Location = new System.Drawing.Point(813, 6);
64 this.buttonClear.Name = "buttonClear";
65 this.buttonClear.Size = new System.Drawing.Size(75, 23);
66 this.buttonClear.TabIndex = 3;
67 this.buttonClear.Text = "Clear";
68 this.buttonClear.UseVisualStyleBackColor = true;
69 this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click);
73 this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
74 | System.Windows.Forms.AnchorStyles.Left)));
75 this.tabControl.Controls.Add(this.tabPageMessages);
76 this.tabControl.Controls.Add(this.tabPageDevices);
77 this.tabControl.Controls.Add(this.tabPageTests);
78 this.tabControl.Location = new System.Drawing.Point(12, 12);
79 this.tabControl.Name = "tabControl";
80 this.tabControl.SelectedIndex = 0;
81 this.tabControl.Size = new System.Drawing.Size(902, 532);
82 this.tabControl.TabIndex = 4;
86 this.tabPageMessages.Controls.Add(this.listViewEvents);
87 this.tabPageMessages.Controls.Add(this.buttonClear);
88 this.tabPageMessages.Location = new System.Drawing.Point(4, 22);
89 this.tabPageMessages.Name = "tabPageMessages";
90 this.tabPageMessages.Padding = new System.Windows.Forms.Padding(3);
91 this.tabPageMessages.Size = new System.Drawing.Size(894, 506);
92 this.tabPageMessages.TabIndex = 0;
93 this.tabPageMessages.Text = "Messages";
94 this.tabPageMessages.UseVisualStyleBackColor = true;
98 this.listViewEvents.Alignment = System.Windows.Forms.ListViewAlignment.Left;
99 this.listViewEvents.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
100 | System.Windows.Forms.AnchorStyles.Left)));
101 this.listViewEvents.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
102 this.listViewEvents.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
103 this.columnHeaderUsages,
104 this.columnHeaderInputReport,
105 this.columnHeaderUsagePage,
106 this.columnHeaderUsageCollection,
107 this.columnHeaderRepeat,
108 this.columnHeaderTime});
109 this.listViewEvents.GridLines = true;
110 this.listViewEvents.Location = new System.Drawing.Point(8, 6);
111 this.listViewEvents.Name = "listViewEvents";
112 this.listViewEvents.Size = new System.Drawing.Size(744, 492);
113 this.listViewEvents.TabIndex = 3;
114 this.listViewEvents.UseCompatibleStateImageBehavior = false;
115 this.listViewEvents.View = System.Windows.Forms.View.Details;
117 // columnHeaderUsages
119 this.columnHeaderUsages.Text = "Usages";
120 this.columnHeaderUsages.Width = 180;
122 // columnHeaderInputReport
124 this.columnHeaderInputReport.Text = "Input Report";
125 this.columnHeaderInputReport.Width = 176;
127 // columnHeaderUsagePage
129 this.columnHeaderUsagePage.Text = "Usage Page";
130 this.columnHeaderUsagePage.Width = 87;
132 // columnHeaderUsageCollection
134 this.columnHeaderUsageCollection.Text = "Usage Collection";
135 this.columnHeaderUsageCollection.Width = 134;
137 // columnHeaderRepeat
139 this.columnHeaderRepeat.Text = "Repeat";
140 this.columnHeaderRepeat.Width = 68;
144 this.columnHeaderTime.Text = "Time";
145 this.columnHeaderTime.Width = 76;
149 this.tabPageDevices.Controls.Add(this.buttonRefresh);
150 this.tabPageDevices.Controls.Add(this.buttonTreeViewExpandAll);
151 this.tabPageDevices.Controls.Add(this.buttonTreeViewCollapseAll);
152 this.tabPageDevices.Controls.Add(this.treeViewDevices);
153 this.tabPageDevices.Location = new System.Drawing.Point(4, 22);
154 this.tabPageDevices.Name = "tabPageDevices";
155 this.tabPageDevices.Padding = new System.Windows.Forms.Padding(3);
156 this.tabPageDevices.Size = new System.Drawing.Size(894, 506);
157 this.tabPageDevices.TabIndex = 1;
158 this.tabPageDevices.Text = "Devices";
159 this.tabPageDevices.UseVisualStyleBackColor = true;
163 this.buttonRefresh.Location = new System.Drawing.Point(813, 64);
164 this.buttonRefresh.Name = "buttonRefresh";
165 this.buttonRefresh.Size = new System.Drawing.Size(75, 23);
166 this.buttonRefresh.TabIndex = 3;
167 this.buttonRefresh.Text = "Refresh";
168 this.buttonRefresh.UseVisualStyleBackColor = true;
169 this.buttonRefresh.Click += new System.EventHandler(this.buttonRefresh_Click);
171 // buttonTreeViewExpandAll
173 this.buttonTreeViewExpandAll.Location = new System.Drawing.Point(813, 6);
174 this.buttonTreeViewExpandAll.Name = "buttonTreeViewExpandAll";
175 this.buttonTreeViewExpandAll.Size = new System.Drawing.Size(75, 23);
176 this.buttonTreeViewExpandAll.TabIndex = 2;
177 this.buttonTreeViewExpandAll.Text = "Expand All";
178 this.buttonTreeViewExpandAll.UseVisualStyleBackColor = true;
179 this.buttonTreeViewExpandAll.Click += new System.EventHandler(this.buttonTreeViewExpandAll_Click);
181 // buttonTreeViewCollapseAll
183 this.buttonTreeViewCollapseAll.Location = new System.Drawing.Point(813, 35);
184 this.buttonTreeViewCollapseAll.Name = "buttonTreeViewCollapseAll";
185 this.buttonTreeViewCollapseAll.Size = new System.Drawing.Size(75, 23);
186 this.buttonTreeViewCollapseAll.TabIndex = 1;
187 this.buttonTreeViewCollapseAll.Text = "Collapse All";
188 this.buttonTreeViewCollapseAll.UseVisualStyleBackColor = true;
189 this.buttonTreeViewCollapseAll.Click += new System.EventHandler(this.buttonTreeViewCollapseAll_Click);
193 this.treeViewDevices.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
194 | System.Windows.Forms.AnchorStyles.Left)));
195 this.treeViewDevices.Location = new System.Drawing.Point(8, 6);
196 this.treeViewDevices.Name = "treeViewDevices";
197 this.treeViewDevices.Size = new System.Drawing.Size(713, 492);
198 this.treeViewDevices.TabIndex = 0;
202 this.tabPageTests.Controls.Add(this.textBoxTests);
203 this.tabPageTests.Location = new System.Drawing.Point(4, 22);
204 this.tabPageTests.Name = "tabPageTests";
205 this.tabPageTests.Size = new System.Drawing.Size(894, 506);
206 this.tabPageTests.TabIndex = 2;
207 this.tabPageTests.Text = "Tests";
208 this.tabPageTests.UseVisualStyleBackColor = true;
212 this.textBoxTests.Location = new System.Drawing.Point(4, 4);
213 this.textBoxTests.Multiline = true;
214 this.textBoxTests.Name = "textBoxTests";
215 this.textBoxTests.Size = new System.Drawing.Size(887, 499);
216 this.textBoxTests.TabIndex = 0;
220 this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
221 this.toolStripStatusLabelDevice});
222 this.statusStrip.Location = new System.Drawing.Point(0, 547);
223 this.statusStrip.Name = "statusStrip";
224 this.statusStrip.Size = new System.Drawing.Size(935, 22);
225 this.statusStrip.TabIndex = 5;
226 this.statusStrip.Text = "statusStrip1";
228 // toolStripStatusLabelDevice
230 this.toolStripStatusLabelDevice.Name = "toolStripStatusLabelDevice";
231 this.toolStripStatusLabelDevice.Size = new System.Drawing.Size(61, 17);
232 this.toolStripStatusLabelDevice.Text = "No Device";
236 this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
237 this.BackColor = System.Drawing.SystemColors.Control;
238 this.ClientSize = new System.Drawing.Size(935, 569);
239 this.Controls.Add(this.statusStrip);
240 this.Controls.Add(this.tabControl);
241 this.Name = "MainForm";
242 this.Text = "HID Demo";
243 this.Load += new System.EventHandler(this.MainForm_Load);
244 this.tabControl.ResumeLayout(false);
245 this.tabPageMessages.ResumeLayout(false);
246 this.tabPageDevices.ResumeLayout(false);
247 this.tabPageTests.ResumeLayout(false);
248 this.tabPageTests.PerformLayout();
249 this.statusStrip.ResumeLayout(false);
250 this.statusStrip.PerformLayout();
251 this.ResumeLayout(false);
252 this.PerformLayout();
255 #endregion Windows Form Designer generated code
257 private System.Windows.Forms.Button buttonClear;
258 private System.Windows.Forms.TabControl tabControl;
259 private System.Windows.Forms.TabPage tabPageMessages;
260 private System.Windows.Forms.ListView listViewEvents;
261 private System.Windows.Forms.ColumnHeader columnHeaderUsages;
262 private System.Windows.Forms.ColumnHeader columnHeaderInputReport;
263 private System.Windows.Forms.ColumnHeader columnHeaderUsagePage;
264 private System.Windows.Forms.ColumnHeader columnHeaderUsageCollection;
265 private System.Windows.Forms.ColumnHeader columnHeaderRepeat;
266 private System.Windows.Forms.ColumnHeader columnHeaderTime;
267 private System.Windows.Forms.TabPage tabPageDevices;
268 private System.Windows.Forms.TreeView treeViewDevices;
269 private System.Windows.Forms.Button buttonTreeViewExpandAll;
270 private System.Windows.Forms.Button buttonTreeViewCollapseAll;
271 private System.Windows.Forms.StatusStrip statusStrip;
272 private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelDevice;
273 private System.Windows.Forms.TabPage tabPageTests;
274 private System.Windows.Forms.TextBox textBoxTests;
275 private System.Windows.Forms.Button buttonRefresh;