StephaneLenclud@60
|
1 |
using System;
|
StephaneLenclud@60
|
2 |
using System.Collections.Generic;
|
StephaneLenclud@60
|
3 |
using System.Text;
|
StephaneLenclud@60
|
4 |
|
StephaneLenclud@60
|
5 |
namespace RemoteControlSample
|
StephaneLenclud@60
|
6 |
{
|
StephaneLenclud@60
|
7 |
public partial class MainForm
|
StephaneLenclud@60
|
8 |
{
|
StephaneLenclud@60
|
9 |
#region Windows Form Designer generated code
|
StephaneLenclud@60
|
10 |
/// <summary>
|
StephaneLenclud@60
|
11 |
/// Required method for Designer support - do not modify
|
StephaneLenclud@60
|
12 |
/// the contents of this method with the code editor.
|
StephaneLenclud@60
|
13 |
/// </summary>
|
StephaneLenclud@60
|
14 |
private void InitializeComponent()
|
StephaneLenclud@60
|
15 |
{
|
StephaneLenclud@60
|
16 |
this.labelButtonName = new System.Windows.Forms.Label();
|
StephaneLenclud@60
|
17 |
this.labelDeviceName = new System.Windows.Forms.Label();
|
StephaneLenclud@60
|
18 |
this.buttonClear = new System.Windows.Forms.Button();
|
StephaneLenclud@60
|
19 |
this.tabControl = new System.Windows.Forms.TabControl();
|
StephaneLenclud@60
|
20 |
this.tabPageMessages = new System.Windows.Forms.TabPage();
|
StephaneLenclud@60
|
21 |
this.listViewEvents = new System.Windows.Forms.ListView();
|
StephaneLenclud@60
|
22 |
this.columnHeaderUsages = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
StephaneLenclud@60
|
23 |
this.columnHeaderInputReport = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
StephaneLenclud@60
|
24 |
this.columnHeaderUsagePage = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
StephaneLenclud@60
|
25 |
this.columnHeaderUsageCollection = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
StephaneLenclud@60
|
26 |
this.columnHeaderRepeat = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
StephaneLenclud@60
|
27 |
this.columnHeaderTime = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
StephaneLenclud@60
|
28 |
this.tabPageDevices = new System.Windows.Forms.TabPage();
|
StephaneLenclud@60
|
29 |
this.treeViewDevices = new System.Windows.Forms.TreeView();
|
StephaneLenclud@60
|
30 |
this.tabControl.SuspendLayout();
|
StephaneLenclud@60
|
31 |
this.tabPageMessages.SuspendLayout();
|
StephaneLenclud@60
|
32 |
this.tabPageDevices.SuspendLayout();
|
StephaneLenclud@60
|
33 |
this.SuspendLayout();
|
StephaneLenclud@60
|
34 |
//
|
StephaneLenclud@60
|
35 |
// labelButtonName
|
StephaneLenclud@60
|
36 |
//
|
StephaneLenclud@60
|
37 |
this.labelButtonName.AutoSize = true;
|
StephaneLenclud@60
|
38 |
this.labelButtonName.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
StephaneLenclud@61
|
39 |
this.labelButtonName.Location = new System.Drawing.Point(785, 53);
|
StephaneLenclud@60
|
40 |
this.labelButtonName.Name = "labelButtonName";
|
StephaneLenclud@60
|
41 |
this.labelButtonName.Size = new System.Drawing.Size(103, 20);
|
StephaneLenclud@60
|
42 |
this.labelButtonName.TabIndex = 0;
|
StephaneLenclud@60
|
43 |
this.labelButtonName.Text = "Button Name";
|
StephaneLenclud@60
|
44 |
//
|
StephaneLenclud@60
|
45 |
// labelDeviceName
|
StephaneLenclud@60
|
46 |
//
|
StephaneLenclud@60
|
47 |
this.labelDeviceName.AutoSize = true;
|
StephaneLenclud@60
|
48 |
this.labelDeviceName.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
StephaneLenclud@61
|
49 |
this.labelDeviceName.Location = new System.Drawing.Point(785, 33);
|
StephaneLenclud@60
|
50 |
this.labelDeviceName.Name = "labelDeviceName";
|
StephaneLenclud@60
|
51 |
this.labelDeviceName.Size = new System.Drawing.Size(103, 20);
|
StephaneLenclud@60
|
52 |
this.labelDeviceName.TabIndex = 1;
|
StephaneLenclud@60
|
53 |
this.labelDeviceName.Text = "Device Name";
|
StephaneLenclud@60
|
54 |
//
|
StephaneLenclud@60
|
55 |
// buttonClear
|
StephaneLenclud@60
|
56 |
//
|
StephaneLenclud@61
|
57 |
this.buttonClear.Location = new System.Drawing.Point(813, 6);
|
StephaneLenclud@60
|
58 |
this.buttonClear.Name = "buttonClear";
|
StephaneLenclud@60
|
59 |
this.buttonClear.Size = new System.Drawing.Size(75, 23);
|
StephaneLenclud@60
|
60 |
this.buttonClear.TabIndex = 3;
|
StephaneLenclud@60
|
61 |
this.buttonClear.Text = "Clear";
|
StephaneLenclud@60
|
62 |
this.buttonClear.UseVisualStyleBackColor = true;
|
StephaneLenclud@60
|
63 |
this.buttonClear.Click += new System.EventHandler(this.buttonClear_Click);
|
StephaneLenclud@60
|
64 |
//
|
StephaneLenclud@60
|
65 |
// tabControl
|
StephaneLenclud@60
|
66 |
//
|
StephaneLenclud@60
|
67 |
this.tabControl.Controls.Add(this.tabPageMessages);
|
StephaneLenclud@60
|
68 |
this.tabControl.Controls.Add(this.tabPageDevices);
|
StephaneLenclud@60
|
69 |
this.tabControl.Location = new System.Drawing.Point(12, 12);
|
StephaneLenclud@60
|
70 |
this.tabControl.Name = "tabControl";
|
StephaneLenclud@60
|
71 |
this.tabControl.SelectedIndex = 0;
|
StephaneLenclud@60
|
72 |
this.tabControl.Size = new System.Drawing.Size(902, 514);
|
StephaneLenclud@60
|
73 |
this.tabControl.TabIndex = 4;
|
StephaneLenclud@60
|
74 |
//
|
StephaneLenclud@60
|
75 |
// tabPageMessages
|
StephaneLenclud@60
|
76 |
//
|
StephaneLenclud@60
|
77 |
this.tabPageMessages.Controls.Add(this.listViewEvents);
|
StephaneLenclud@60
|
78 |
this.tabPageMessages.Controls.Add(this.buttonClear);
|
StephaneLenclud@60
|
79 |
this.tabPageMessages.Controls.Add(this.labelDeviceName);
|
StephaneLenclud@60
|
80 |
this.tabPageMessages.Controls.Add(this.labelButtonName);
|
StephaneLenclud@60
|
81 |
this.tabPageMessages.Location = new System.Drawing.Point(4, 22);
|
StephaneLenclud@60
|
82 |
this.tabPageMessages.Name = "tabPageMessages";
|
StephaneLenclud@60
|
83 |
this.tabPageMessages.Padding = new System.Windows.Forms.Padding(3);
|
StephaneLenclud@60
|
84 |
this.tabPageMessages.Size = new System.Drawing.Size(894, 488);
|
StephaneLenclud@60
|
85 |
this.tabPageMessages.TabIndex = 0;
|
StephaneLenclud@60
|
86 |
this.tabPageMessages.Text = "Messages";
|
StephaneLenclud@60
|
87 |
this.tabPageMessages.UseVisualStyleBackColor = true;
|
StephaneLenclud@60
|
88 |
//
|
StephaneLenclud@60
|
89 |
// listViewEvents
|
StephaneLenclud@60
|
90 |
//
|
StephaneLenclud@60
|
91 |
this.listViewEvents.Alignment = System.Windows.Forms.ListViewAlignment.Left;
|
StephaneLenclud@60
|
92 |
this.listViewEvents.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
StephaneLenclud@60
|
93 |
| System.Windows.Forms.AnchorStyles.Left)));
|
StephaneLenclud@60
|
94 |
this.listViewEvents.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
StephaneLenclud@60
|
95 |
this.listViewEvents.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
StephaneLenclud@60
|
96 |
this.columnHeaderUsages,
|
StephaneLenclud@60
|
97 |
this.columnHeaderInputReport,
|
StephaneLenclud@60
|
98 |
this.columnHeaderUsagePage,
|
StephaneLenclud@60
|
99 |
this.columnHeaderUsageCollection,
|
StephaneLenclud@60
|
100 |
this.columnHeaderRepeat,
|
StephaneLenclud@60
|
101 |
this.columnHeaderTime});
|
StephaneLenclud@60
|
102 |
this.listViewEvents.GridLines = true;
|
StephaneLenclud@60
|
103 |
this.listViewEvents.Location = new System.Drawing.Point(8, 6);
|
StephaneLenclud@60
|
104 |
this.listViewEvents.Name = "listViewEvents";
|
StephaneLenclud@60
|
105 |
this.listViewEvents.Size = new System.Drawing.Size(744, 474);
|
StephaneLenclud@60
|
106 |
this.listViewEvents.TabIndex = 3;
|
StephaneLenclud@60
|
107 |
this.listViewEvents.UseCompatibleStateImageBehavior = false;
|
StephaneLenclud@60
|
108 |
this.listViewEvents.View = System.Windows.Forms.View.Details;
|
StephaneLenclud@60
|
109 |
//
|
StephaneLenclud@60
|
110 |
// columnHeaderUsages
|
StephaneLenclud@60
|
111 |
//
|
StephaneLenclud@60
|
112 |
this.columnHeaderUsages.Text = "Usages";
|
StephaneLenclud@60
|
113 |
this.columnHeaderUsages.Width = 180;
|
StephaneLenclud@60
|
114 |
//
|
StephaneLenclud@60
|
115 |
// columnHeaderInputReport
|
StephaneLenclud@60
|
116 |
//
|
StephaneLenclud@60
|
117 |
this.columnHeaderInputReport.Text = "Input Report";
|
StephaneLenclud@60
|
118 |
this.columnHeaderInputReport.Width = 176;
|
StephaneLenclud@60
|
119 |
//
|
StephaneLenclud@60
|
120 |
// columnHeaderUsagePage
|
StephaneLenclud@60
|
121 |
//
|
StephaneLenclud@60
|
122 |
this.columnHeaderUsagePage.Text = "Usage Page";
|
StephaneLenclud@60
|
123 |
this.columnHeaderUsagePage.Width = 87;
|
StephaneLenclud@60
|
124 |
//
|
StephaneLenclud@60
|
125 |
// columnHeaderUsageCollection
|
StephaneLenclud@60
|
126 |
//
|
StephaneLenclud@60
|
127 |
this.columnHeaderUsageCollection.Text = "Usage Collection";
|
StephaneLenclud@60
|
128 |
this.columnHeaderUsageCollection.Width = 134;
|
StephaneLenclud@60
|
129 |
//
|
StephaneLenclud@60
|
130 |
// columnHeaderRepeat
|
StephaneLenclud@60
|
131 |
//
|
StephaneLenclud@60
|
132 |
this.columnHeaderRepeat.Text = "Repeat";
|
StephaneLenclud@60
|
133 |
this.columnHeaderRepeat.Width = 68;
|
StephaneLenclud@60
|
134 |
//
|
StephaneLenclud@60
|
135 |
// columnHeaderTime
|
StephaneLenclud@60
|
136 |
//
|
StephaneLenclud@60
|
137 |
this.columnHeaderTime.Text = "Time";
|
StephaneLenclud@60
|
138 |
this.columnHeaderTime.Width = 76;
|
StephaneLenclud@60
|
139 |
//
|
StephaneLenclud@60
|
140 |
// tabPageDevices
|
StephaneLenclud@60
|
141 |
//
|
StephaneLenclud@60
|
142 |
this.tabPageDevices.Controls.Add(this.treeViewDevices);
|
StephaneLenclud@60
|
143 |
this.tabPageDevices.Location = new System.Drawing.Point(4, 22);
|
StephaneLenclud@60
|
144 |
this.tabPageDevices.Name = "tabPageDevices";
|
StephaneLenclud@60
|
145 |
this.tabPageDevices.Padding = new System.Windows.Forms.Padding(3);
|
StephaneLenclud@60
|
146 |
this.tabPageDevices.Size = new System.Drawing.Size(918, 512);
|
StephaneLenclud@60
|
147 |
this.tabPageDevices.TabIndex = 1;
|
StephaneLenclud@60
|
148 |
this.tabPageDevices.Text = "Devices";
|
StephaneLenclud@60
|
149 |
this.tabPageDevices.UseVisualStyleBackColor = true;
|
StephaneLenclud@60
|
150 |
//
|
StephaneLenclud@60
|
151 |
// treeViewDevices
|
StephaneLenclud@60
|
152 |
//
|
StephaneLenclud@60
|
153 |
this.treeViewDevices.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
StephaneLenclud@60
|
154 |
| System.Windows.Forms.AnchorStyles.Left)));
|
StephaneLenclud@60
|
155 |
this.treeViewDevices.Location = new System.Drawing.Point(8, 6);
|
StephaneLenclud@60
|
156 |
this.treeViewDevices.Name = "treeViewDevices";
|
StephaneLenclud@60
|
157 |
this.treeViewDevices.Size = new System.Drawing.Size(713, 498);
|
StephaneLenclud@60
|
158 |
this.treeViewDevices.TabIndex = 0;
|
StephaneLenclud@60
|
159 |
//
|
StephaneLenclud@60
|
160 |
// MainForm
|
StephaneLenclud@60
|
161 |
//
|
StephaneLenclud@60
|
162 |
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
|
StephaneLenclud@60
|
163 |
this.BackColor = System.Drawing.SystemColors.Control;
|
StephaneLenclud@60
|
164 |
this.ClientSize = new System.Drawing.Size(926, 538);
|
StephaneLenclud@60
|
165 |
this.Controls.Add(this.tabControl);
|
StephaneLenclud@60
|
166 |
this.Name = "MainForm";
|
StephaneLenclud@60
|
167 |
this.Text = "Remote Control Sample";
|
StephaneLenclud@60
|
168 |
this.Load += new System.EventHandler(this.MainForm_Load);
|
StephaneLenclud@60
|
169 |
this.tabControl.ResumeLayout(false);
|
StephaneLenclud@60
|
170 |
this.tabPageMessages.ResumeLayout(false);
|
StephaneLenclud@60
|
171 |
this.tabPageMessages.PerformLayout();
|
StephaneLenclud@60
|
172 |
this.tabPageDevices.ResumeLayout(false);
|
StephaneLenclud@60
|
173 |
this.ResumeLayout(false);
|
StephaneLenclud@60
|
174 |
|
StephaneLenclud@60
|
175 |
}
|
StephaneLenclud@60
|
176 |
#endregion Windows Form Designer generated code
|
StephaneLenclud@60
|
177 |
|
StephaneLenclud@60
|
178 |
}
|
StephaneLenclud@60
|
179 |
}
|