StephaneLenclud@76: // StephaneLenclud@76: // Copyright (C) 2014-2015 Stéphane Lenclud. StephaneLenclud@76: // StephaneLenclud@76: // This file is part of SharpLibHid. StephaneLenclud@76: // StephaneLenclud@76: // SharpDisplayManager is free software: you can redistribute it and/or modify StephaneLenclud@76: // it under the terms of the GNU General Public License as published by StephaneLenclud@76: // the Free Software Foundation, either version 3 of the License, or StephaneLenclud@76: // (at your option) any later version. StephaneLenclud@76: // StephaneLenclud@76: // SharpDisplayManager is distributed in the hope that it will be useful, StephaneLenclud@76: // but WITHOUT ANY WARRANTY; without even the implied warranty of StephaneLenclud@76: // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the StephaneLenclud@76: // GNU General Public License for more details. StephaneLenclud@76: // StephaneLenclud@76: // You should have received a copy of the GNU General Public License StephaneLenclud@76: // along with SharpDisplayManager. If not, see . StephaneLenclud@76: // StephaneLenclud@76: StephaneLenclud@76: using System; StephaneLenclud@60: using System.Collections.Generic; StephaneLenclud@60: using System.Text; StephaneLenclud@60: StephaneLenclud@78: namespace HidDemo StephaneLenclud@60: { StephaneLenclud@60: public partial class MainForm StephaneLenclud@60: { StephaneLenclud@60: #region Windows Form Designer generated code StephaneLenclud@60: /// StephaneLenclud@60: /// Required method for Designer support - do not modify StephaneLenclud@60: /// the contents of this method with the code editor. StephaneLenclud@60: /// StephaneLenclud@60: private void InitializeComponent() StephaneLenclud@60: { StephaneLenclud@60: this.buttonClear = new System.Windows.Forms.Button(); StephaneLenclud@60: this.tabControl = new System.Windows.Forms.TabControl(); StephaneLenclud@60: this.tabPageMessages = new System.Windows.Forms.TabPage(); StephaneLenclud@60: this.listViewEvents = new System.Windows.Forms.ListView(); StephaneLenclud@60: this.columnHeaderUsages = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); StephaneLenclud@60: this.columnHeaderInputReport = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); StephaneLenclud@60: this.columnHeaderUsagePage = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); StephaneLenclud@60: this.columnHeaderUsageCollection = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); StephaneLenclud@60: this.columnHeaderRepeat = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); StephaneLenclud@60: this.columnHeaderTime = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); StephaneLenclud@60: this.tabPageDevices = new System.Windows.Forms.TabPage(); StephaneLenclud@75: this.buttonRefresh = new System.Windows.Forms.Button(); StephaneLenclud@70: this.buttonTreeViewExpandAll = new System.Windows.Forms.Button(); StephaneLenclud@70: this.buttonTreeViewCollapseAll = new System.Windows.Forms.Button(); StephaneLenclud@60: this.treeViewDevices = new System.Windows.Forms.TreeView(); StephaneLenclud@72: this.tabPageTests = new System.Windows.Forms.TabPage(); StephaneLenclud@72: this.textBoxTests = new System.Windows.Forms.TextBox(); StephaneLenclud@67: this.statusStrip = new System.Windows.Forms.StatusStrip(); StephaneLenclud@67: this.toolStripStatusLabelDevice = new System.Windows.Forms.ToolStripStatusLabel(); StephaneLenclud@83: this.checkBoxRepeat = new System.Windows.Forms.CheckBox(); StephaneLenclud@60: this.tabControl.SuspendLayout(); StephaneLenclud@60: this.tabPageMessages.SuspendLayout(); StephaneLenclud@60: this.tabPageDevices.SuspendLayout(); StephaneLenclud@72: this.tabPageTests.SuspendLayout(); StephaneLenclud@67: this.statusStrip.SuspendLayout(); StephaneLenclud@60: this.SuspendLayout(); StephaneLenclud@60: // StephaneLenclud@60: // buttonClear StephaneLenclud@60: // StephaneLenclud@61: this.buttonClear.Location = new System.Drawing.Point(813, 6); StephaneLenclud@60: this.buttonClear.Name = "buttonClear"; StephaneLenclud@60: this.buttonClear.Size = new System.Drawing.Size(75, 23); StephaneLenclud@60: this.buttonClear.TabIndex = 3; StephaneLenclud@60: this.buttonClear.Text = "Clear"; StephaneLenclud@60: this.buttonClear.UseVisualStyleBackColor = true; StephaneLenclud@60: this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click); StephaneLenclud@60: // StephaneLenclud@60: // tabControl StephaneLenclud@60: // StephaneLenclud@67: this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) StephaneLenclud@67: | System.Windows.Forms.AnchorStyles.Left))); StephaneLenclud@60: this.tabControl.Controls.Add(this.tabPageMessages); StephaneLenclud@60: this.tabControl.Controls.Add(this.tabPageDevices); StephaneLenclud@70: this.tabControl.Controls.Add(this.tabPageTests); StephaneLenclud@60: this.tabControl.Location = new System.Drawing.Point(12, 12); StephaneLenclud@60: this.tabControl.Name = "tabControl"; StephaneLenclud@60: this.tabControl.SelectedIndex = 0; StephaneLenclud@67: this.tabControl.Size = new System.Drawing.Size(902, 532); StephaneLenclud@60: this.tabControl.TabIndex = 4; StephaneLenclud@60: // StephaneLenclud@60: // tabPageMessages StephaneLenclud@60: // StephaneLenclud@83: this.tabPageMessages.Controls.Add(this.checkBoxRepeat); StephaneLenclud@60: this.tabPageMessages.Controls.Add(this.listViewEvents); StephaneLenclud@60: this.tabPageMessages.Controls.Add(this.buttonClear); StephaneLenclud@60: this.tabPageMessages.Location = new System.Drawing.Point(4, 22); StephaneLenclud@60: this.tabPageMessages.Name = "tabPageMessages"; StephaneLenclud@60: this.tabPageMessages.Padding = new System.Windows.Forms.Padding(3); StephaneLenclud@70: this.tabPageMessages.Size = new System.Drawing.Size(894, 506); StephaneLenclud@60: this.tabPageMessages.TabIndex = 0; StephaneLenclud@60: this.tabPageMessages.Text = "Messages"; StephaneLenclud@60: this.tabPageMessages.UseVisualStyleBackColor = true; StephaneLenclud@60: // StephaneLenclud@60: // listViewEvents StephaneLenclud@60: // StephaneLenclud@60: this.listViewEvents.Alignment = System.Windows.Forms.ListViewAlignment.Left; StephaneLenclud@60: this.listViewEvents.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) StephaneLenclud@60: | System.Windows.Forms.AnchorStyles.Left))); StephaneLenclud@60: this.listViewEvents.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; StephaneLenclud@60: this.listViewEvents.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { StephaneLenclud@60: this.columnHeaderUsages, StephaneLenclud@60: this.columnHeaderInputReport, StephaneLenclud@60: this.columnHeaderUsagePage, StephaneLenclud@60: this.columnHeaderUsageCollection, StephaneLenclud@60: this.columnHeaderRepeat, StephaneLenclud@60: this.columnHeaderTime}); StephaneLenclud@60: this.listViewEvents.GridLines = true; StephaneLenclud@60: this.listViewEvents.Location = new System.Drawing.Point(8, 6); StephaneLenclud@60: this.listViewEvents.Name = "listViewEvents"; StephaneLenclud@70: this.listViewEvents.Size = new System.Drawing.Size(744, 492); StephaneLenclud@60: this.listViewEvents.TabIndex = 3; StephaneLenclud@60: this.listViewEvents.UseCompatibleStateImageBehavior = false; StephaneLenclud@60: this.listViewEvents.View = System.Windows.Forms.View.Details; StephaneLenclud@60: // StephaneLenclud@60: // columnHeaderUsages StephaneLenclud@60: // StephaneLenclud@60: this.columnHeaderUsages.Text = "Usages"; StephaneLenclud@60: this.columnHeaderUsages.Width = 180; StephaneLenclud@60: // StephaneLenclud@60: // columnHeaderInputReport StephaneLenclud@60: // StephaneLenclud@60: this.columnHeaderInputReport.Text = "Input Report"; StephaneLenclud@60: this.columnHeaderInputReport.Width = 176; StephaneLenclud@60: // StephaneLenclud@60: // columnHeaderUsagePage StephaneLenclud@60: // StephaneLenclud@60: this.columnHeaderUsagePage.Text = "Usage Page"; StephaneLenclud@60: this.columnHeaderUsagePage.Width = 87; StephaneLenclud@60: // StephaneLenclud@60: // columnHeaderUsageCollection StephaneLenclud@60: // StephaneLenclud@60: this.columnHeaderUsageCollection.Text = "Usage Collection"; StephaneLenclud@60: this.columnHeaderUsageCollection.Width = 134; StephaneLenclud@60: // StephaneLenclud@60: // columnHeaderRepeat StephaneLenclud@60: // StephaneLenclud@60: this.columnHeaderRepeat.Text = "Repeat"; StephaneLenclud@60: this.columnHeaderRepeat.Width = 68; StephaneLenclud@60: // StephaneLenclud@60: // columnHeaderTime StephaneLenclud@60: // StephaneLenclud@60: this.columnHeaderTime.Text = "Time"; StephaneLenclud@60: this.columnHeaderTime.Width = 76; StephaneLenclud@60: // StephaneLenclud@60: // tabPageDevices StephaneLenclud@60: // StephaneLenclud@72: this.tabPageDevices.Controls.Add(this.buttonRefresh); StephaneLenclud@65: this.tabPageDevices.Controls.Add(this.buttonTreeViewExpandAll); StephaneLenclud@65: this.tabPageDevices.Controls.Add(this.buttonTreeViewCollapseAll); StephaneLenclud@60: this.tabPageDevices.Controls.Add(this.treeViewDevices); StephaneLenclud@60: this.tabPageDevices.Location = new System.Drawing.Point(4, 22); StephaneLenclud@60: this.tabPageDevices.Name = "tabPageDevices"; StephaneLenclud@60: this.tabPageDevices.Padding = new System.Windows.Forms.Padding(3); StephaneLenclud@67: this.tabPageDevices.Size = new System.Drawing.Size(894, 506); StephaneLenclud@60: this.tabPageDevices.TabIndex = 1; StephaneLenclud@60: this.tabPageDevices.Text = "Devices"; StephaneLenclud@60: this.tabPageDevices.UseVisualStyleBackColor = true; StephaneLenclud@60: // StephaneLenclud@75: // buttonRefresh StephaneLenclud@75: // StephaneLenclud@75: this.buttonRefresh.Location = new System.Drawing.Point(813, 64); StephaneLenclud@75: this.buttonRefresh.Name = "buttonRefresh"; StephaneLenclud@75: this.buttonRefresh.Size = new System.Drawing.Size(75, 23); StephaneLenclud@75: this.buttonRefresh.TabIndex = 3; StephaneLenclud@75: this.buttonRefresh.Text = "Refresh"; StephaneLenclud@75: this.buttonRefresh.UseVisualStyleBackColor = true; StephaneLenclud@75: this.buttonRefresh.Click += new System.EventHandler(this.buttonRefresh_Click); StephaneLenclud@75: // StephaneLenclud@70: // buttonTreeViewExpandAll StephaneLenclud@60: // StephaneLenclud@70: this.buttonTreeViewExpandAll.Location = new System.Drawing.Point(813, 6); StephaneLenclud@70: this.buttonTreeViewExpandAll.Name = "buttonTreeViewExpandAll"; StephaneLenclud@70: this.buttonTreeViewExpandAll.Size = new System.Drawing.Size(75, 23); StephaneLenclud@70: this.buttonTreeViewExpandAll.TabIndex = 2; StephaneLenclud@70: this.buttonTreeViewExpandAll.Text = "Expand All"; StephaneLenclud@70: this.buttonTreeViewExpandAll.UseVisualStyleBackColor = true; StephaneLenclud@70: this.buttonTreeViewExpandAll.Click += new System.EventHandler(this.buttonTreeViewExpandAll_Click); StephaneLenclud@60: // StephaneLenclud@65: // buttonTreeViewCollapseAll StephaneLenclud@65: // StephaneLenclud@65: this.buttonTreeViewCollapseAll.Location = new System.Drawing.Point(813, 35); StephaneLenclud@65: this.buttonTreeViewCollapseAll.Name = "buttonTreeViewCollapseAll"; StephaneLenclud@65: this.buttonTreeViewCollapseAll.Size = new System.Drawing.Size(75, 23); StephaneLenclud@65: this.buttonTreeViewCollapseAll.TabIndex = 1; StephaneLenclud@65: this.buttonTreeViewCollapseAll.Text = "Collapse All"; StephaneLenclud@65: this.buttonTreeViewCollapseAll.UseVisualStyleBackColor = true; StephaneLenclud@65: this.buttonTreeViewCollapseAll.Click += new System.EventHandler(this.buttonTreeViewCollapseAll_Click); StephaneLenclud@65: // StephaneLenclud@70: // treeViewDevices StephaneLenclud@65: // StephaneLenclud@70: this.treeViewDevices.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) StephaneLenclud@70: | System.Windows.Forms.AnchorStyles.Left))); StephaneLenclud@70: this.treeViewDevices.Location = new System.Drawing.Point(8, 6); StephaneLenclud@70: this.treeViewDevices.Name = "treeViewDevices"; StephaneLenclud@70: this.treeViewDevices.Size = new System.Drawing.Size(713, 492); StephaneLenclud@70: this.treeViewDevices.TabIndex = 0; StephaneLenclud@65: // StephaneLenclud@70: // tabPageTests StephaneLenclud@70: // StephaneLenclud@70: this.tabPageTests.Controls.Add(this.textBoxTests); StephaneLenclud@70: this.tabPageTests.Location = new System.Drawing.Point(4, 22); StephaneLenclud@70: this.tabPageTests.Name = "tabPageTests"; StephaneLenclud@70: this.tabPageTests.Size = new System.Drawing.Size(894, 506); StephaneLenclud@70: this.tabPageTests.TabIndex = 2; StephaneLenclud@70: this.tabPageTests.Text = "Tests"; StephaneLenclud@70: this.tabPageTests.UseVisualStyleBackColor = true; StephaneLenclud@70: // StephaneLenclud@70: // textBoxTests StephaneLenclud@70: // StephaneLenclud@70: this.textBoxTests.Location = new System.Drawing.Point(4, 4); StephaneLenclud@70: this.textBoxTests.Multiline = true; StephaneLenclud@70: this.textBoxTests.Name = "textBoxTests"; StephaneLenclud@70: this.textBoxTests.Size = new System.Drawing.Size(887, 499); StephaneLenclud@70: this.textBoxTests.TabIndex = 0; StephaneLenclud@70: // StephaneLenclud@72: // statusStrip StephaneLenclud@72: // StephaneLenclud@72: this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { StephaneLenclud@72: this.toolStripStatusLabelDevice}); StephaneLenclud@72: this.statusStrip.Location = new System.Drawing.Point(0, 547); StephaneLenclud@72: this.statusStrip.Name = "statusStrip"; StephaneLenclud@72: this.statusStrip.Size = new System.Drawing.Size(935, 22); StephaneLenclud@72: this.statusStrip.TabIndex = 5; StephaneLenclud@72: this.statusStrip.Text = "statusStrip1"; StephaneLenclud@72: // StephaneLenclud@72: // toolStripStatusLabelDevice StephaneLenclud@72: // StephaneLenclud@72: this.toolStripStatusLabelDevice.Name = "toolStripStatusLabelDevice"; StephaneLenclud@72: this.toolStripStatusLabelDevice.Size = new System.Drawing.Size(61, 17); StephaneLenclud@72: this.toolStripStatusLabelDevice.Text = "No Device"; StephaneLenclud@72: // StephaneLenclud@83: // checkBoxRepeat StephaneLenclud@83: // StephaneLenclud@83: this.checkBoxRepeat.AutoSize = true; StephaneLenclud@83: this.checkBoxRepeat.Location = new System.Drawing.Point(813, 46); StephaneLenclud@83: this.checkBoxRepeat.Name = "checkBoxRepeat"; StephaneLenclud@83: this.checkBoxRepeat.Size = new System.Drawing.Size(61, 17); StephaneLenclud@83: this.checkBoxRepeat.TabIndex = 4; StephaneLenclud@83: this.checkBoxRepeat.Text = "Repeat"; StephaneLenclud@83: this.checkBoxRepeat.UseVisualStyleBackColor = true; StephaneLenclud@83: this.checkBoxRepeat.CheckedChanged += new System.EventHandler(this.checkBoxRepeat_CheckedChanged); StephaneLenclud@83: // StephaneLenclud@60: // MainForm StephaneLenclud@60: // StephaneLenclud@60: this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); StephaneLenclud@60: this.BackColor = System.Drawing.SystemColors.Control; StephaneLenclud@67: this.ClientSize = new System.Drawing.Size(935, 569); StephaneLenclud@67: this.Controls.Add(this.statusStrip); StephaneLenclud@60: this.Controls.Add(this.tabControl); StephaneLenclud@60: this.Name = "MainForm"; StephaneLenclud@75: this.Text = "HID Demo"; StephaneLenclud@60: this.Load += new System.EventHandler(this.MainForm_Load); StephaneLenclud@60: this.tabControl.ResumeLayout(false); StephaneLenclud@60: this.tabPageMessages.ResumeLayout(false); StephaneLenclud@83: this.tabPageMessages.PerformLayout(); StephaneLenclud@60: this.tabPageDevices.ResumeLayout(false); StephaneLenclud@72: this.tabPageTests.ResumeLayout(false); StephaneLenclud@72: this.tabPageTests.PerformLayout(); StephaneLenclud@67: this.statusStrip.ResumeLayout(false); StephaneLenclud@67: this.statusStrip.PerformLayout(); StephaneLenclud@60: this.ResumeLayout(false); StephaneLenclud@67: this.PerformLayout(); StephaneLenclud@60: StephaneLenclud@60: } StephaneLenclud@60: #endregion Windows Form Designer generated code StephaneLenclud@60: StephaneLenclud@78: private System.Windows.Forms.Button buttonClear; StephaneLenclud@78: private System.Windows.Forms.TabControl tabControl; StephaneLenclud@78: private System.Windows.Forms.TabPage tabPageMessages; StephaneLenclud@78: private System.Windows.Forms.ListView listViewEvents; StephaneLenclud@78: private System.Windows.Forms.ColumnHeader columnHeaderUsages; StephaneLenclud@78: private System.Windows.Forms.ColumnHeader columnHeaderInputReport; StephaneLenclud@78: private System.Windows.Forms.ColumnHeader columnHeaderUsagePage; StephaneLenclud@78: private System.Windows.Forms.ColumnHeader columnHeaderUsageCollection; StephaneLenclud@78: private System.Windows.Forms.ColumnHeader columnHeaderRepeat; StephaneLenclud@78: private System.Windows.Forms.ColumnHeader columnHeaderTime; StephaneLenclud@78: private System.Windows.Forms.TabPage tabPageDevices; StephaneLenclud@78: private System.Windows.Forms.TreeView treeViewDevices; StephaneLenclud@65: private System.Windows.Forms.Button buttonTreeViewExpandAll; StephaneLenclud@65: private System.Windows.Forms.Button buttonTreeViewCollapseAll; StephaneLenclud@67: private System.Windows.Forms.StatusStrip statusStrip; StephaneLenclud@67: private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelDevice; StephaneLenclud@70: private System.Windows.Forms.TabPage tabPageTests; StephaneLenclud@70: private System.Windows.Forms.TextBox textBoxTests; StephaneLenclud@72: private System.Windows.Forms.Button buttonRefresh; StephaneLenclud@83: private System.Windows.Forms.CheckBox checkBoxRepeat; StephaneLenclud@65: StephaneLenclud@60: } StephaneLenclud@60: }