-
Notifications
You must be signed in to change notification settings - Fork 0
/
Form1.Designer.cs
163 lines (158 loc) · 7.9 KB
/
Form1.Designer.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
namespace BLE_App
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.btBLEscan = new System.Windows.Forms.Button();
this.cbScannedDevices = new System.Windows.Forms.ComboBox();
this.btConnect = new System.Windows.Forms.Button();
this.rtbInfo = new System.Windows.Forms.RichTextBox();
this.tbSend = new System.Windows.Forms.TextBox();
this.btSend = new System.Windows.Forms.Button();
this.pnlProgress = new System.Windows.Forms.Panel();
this.progressTimer = new System.Windows.Forms.Timer(this.components);
this.SuspendLayout();
//
// btBLEscan
//
this.btBLEscan.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btBLEscan.Location = new System.Drawing.Point(12, 12);
this.btBLEscan.Name = "btBLEscan";
this.btBLEscan.Size = new System.Drawing.Size(192, 73);
this.btBLEscan.TabIndex = 0;
this.btBLEscan.Text = "Scan for BLE devices";
this.btBLEscan.UseVisualStyleBackColor = true;
this.btBLEscan.Click += new System.EventHandler(this.btBLEscan_Click);
//
// cbScannedDevices
//
this.cbScannedDevices.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbScannedDevices.FormattingEnabled = true;
this.cbScannedDevices.Location = new System.Drawing.Point(210, 14);
this.cbScannedDevices.Name = "cbScannedDevices";
this.cbScannedDevices.Size = new System.Drawing.Size(192, 21);
this.cbScannedDevices.TabIndex = 2;
//
// btConnect
//
this.btConnect.Enabled = false;
this.btConnect.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btConnect.Location = new System.Drawing.Point(210, 41);
this.btConnect.Name = "btConnect";
this.btConnect.Size = new System.Drawing.Size(192, 44);
this.btConnect.TabIndex = 3;
this.btConnect.Text = "Connect";
this.btConnect.UseVisualStyleBackColor = true;
this.btConnect.Click += new System.EventHandler(this.btConnect_Click);
//
// rtbInfo
//
this.rtbInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.rtbInfo.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.rtbInfo.Font = new System.Drawing.Font("Consolas", 9F);
this.rtbInfo.Location = new System.Drawing.Point(12, 107);
this.rtbInfo.Name = "rtbInfo";
this.rtbInfo.Size = new System.Drawing.Size(839, 440);
this.rtbInfo.TabIndex = 4;
this.rtbInfo.Text = "";
//
// tbSend
//
this.tbSend.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.tbSend.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.tbSend.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tbSend.Location = new System.Drawing.Point(412, 17);
this.tbSend.Name = "tbSend";
this.tbSend.Size = new System.Drawing.Size(437, 16);
this.tbSend.TabIndex = 6;
this.tbSend.Text = "Hello World!";
//
// btSend
//
this.btSend.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.btSend.Enabled = false;
this.btSend.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btSend.Location = new System.Drawing.Point(408, 41);
this.btSend.Name = "btSend";
this.btSend.Size = new System.Drawing.Size(443, 44);
this.btSend.TabIndex = 5;
this.btSend.Text = "Send";
this.btSend.UseVisualStyleBackColor = true;
this.btSend.Click += new System.EventHandler(this.btSend_Click);
//
// pnlProgress
//
this.pnlProgress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pnlProgress.BackColor = System.Drawing.Color.WhiteSmoke;
this.pnlProgress.Location = new System.Drawing.Point(12, 91);
this.pnlProgress.Name = "pnlProgress";
this.pnlProgress.Size = new System.Drawing.Size(837, 10);
this.pnlProgress.TabIndex = 119;
this.pnlProgress.Paint += new System.Windows.Forms.PaintEventHandler(this.pnlProgress_Paint);
//
// progressTimer
//
this.progressTimer.Interval = 25;
this.progressTimer.Tick += new System.EventHandler(this.progressTimer_Tick);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.LightGray;
this.ClientSize = new System.Drawing.Size(863, 559);
this.Controls.Add(this.pnlProgress);
this.Controls.Add(this.tbSend);
this.Controls.Add(this.btSend);
this.Controls.Add(this.rtbInfo);
this.Controls.Add(this.btConnect);
this.Controls.Add(this.cbScannedDevices);
this.Controls.Add(this.btBLEscan);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "Form1";
this.Text = "Onethinx BLE Demo App";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button btBLEscan;
private System.Windows.Forms.ComboBox cbScannedDevices;
private System.Windows.Forms.Button btConnect;
private System.Windows.Forms.RichTextBox rtbInfo;
private System.Windows.Forms.TextBox tbSend;
private System.Windows.Forms.Button btSend;
private System.Windows.Forms.Panel pnlProgress;
private System.Windows.Forms.Timer progressTimer;
}
}