-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.Designer.cs
More file actions
217 lines (210 loc) · 10.8 KB
/
Copy pathmain.Designer.cs
File metadata and controls
217 lines (210 loc) · 10.8 KB
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
namespace IrReceiver {
partial class main {
/// <summary>
/// Variável de designer necessária.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpar os recursos que estão sendo usados.
/// </summary>
/// <param name="disposing">true se for necessário descartar os recursos gerenciados; caso contrário, false.</param>
protected override void Dispose(bool disposing) {
if (disposing && (components != null)) {
components.Dispose();
}
base.Dispose(disposing);
}
#region Código gerado pelo Windows Form Designer
/// <summary>
/// Método necessário para suporte ao Designer - não modifique
/// o conteúdo deste método com o editor de código.
/// </summary>
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(main));
this.cboPorts = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.serialPort1 = new System.IO.Ports.SerialPort(this.components);
this.btnUpdatePorts = new System.Windows.Forms.Button();
this.btnIniciar = new System.Windows.Forms.Button();
this.btnParar = new System.Windows.Forms.Button();
this.label2 = new System.Windows.Forms.Label();
this.cbConectarAutomaticamente = new System.Windows.Forms.CheckBox();
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
this.label3 = new System.Windows.Forms.Label();
this.lblStatus = new System.Windows.Forms.Label();
this.btnConfigurar = new System.Windows.Forms.Button();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.cbIniciarComWindows = new System.Windows.Forms.CheckBox();
this.SuspendLayout();
//
// cboPorts
//
this.cboPorts.AccessibleDescription = "";
this.cboPorts.FormattingEnabled = true;
this.cboPorts.Location = new System.Drawing.Point(43, 20);
this.cboPorts.Name = "cboPorts";
this.cboPorts.Size = new System.Drawing.Size(61, 21);
this.cboPorts.TabIndex = 0;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(5, 23);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(32, 13);
this.label1.TabIndex = 1;
this.label1.Text = "Porta";
//
// serialPort1
//
this.serialPort1.BaudRate = 115200;
this.serialPort1.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.SerialPort1_DataReceived);
//
// btnUpdatePorts
//
this.btnUpdatePorts.Location = new System.Drawing.Point(43, 47);
this.btnUpdatePorts.Name = "btnUpdatePorts";
this.btnUpdatePorts.Size = new System.Drawing.Size(61, 23);
this.btnUpdatePorts.TabIndex = 3;
this.btnUpdatePorts.Text = "Atualizar";
this.btnUpdatePorts.UseVisualStyleBackColor = true;
this.btnUpdatePorts.Click += new System.EventHandler(this.BtnUpdatePorts_Click);
//
// btnIniciar
//
this.btnIniciar.Location = new System.Drawing.Point(119, 20);
this.btnIniciar.Name = "btnIniciar";
this.btnIniciar.Size = new System.Drawing.Size(75, 23);
this.btnIniciar.TabIndex = 4;
this.btnIniciar.Text = "Iniciar";
this.btnIniciar.UseVisualStyleBackColor = true;
this.btnIniciar.Click += new System.EventHandler(this.BtnIniciar_Click);
//
// btnParar
//
this.btnParar.Location = new System.Drawing.Point(200, 20);
this.btnParar.Name = "btnParar";
this.btnParar.Size = new System.Drawing.Size(75, 23);
this.btnParar.TabIndex = 5;
this.btnParar.Text = "Parar";
this.btnParar.UseVisualStyleBackColor = true;
this.btnParar.Click += new System.EventHandler(this.BtnParar_Click);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.Location = new System.Drawing.Point(2, 132);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(271, 12);
this.label2.TabIndex = 6;
this.label2.Text = "Desenvolvido por Igor Pinheiro da Silva - igork2kta@hotmail.com";
//
// cbConectarAutomaticamente
//
this.cbConectarAutomaticamente.AutoSize = true;
this.cbConectarAutomaticamente.Location = new System.Drawing.Point(119, 51);
this.cbConectarAutomaticamente.Name = "cbConectarAutomaticamente";
this.cbConectarAutomaticamente.Size = new System.Drawing.Size(184, 17);
this.cbConectarAutomaticamente.TabIndex = 7;
this.cbConectarAutomaticamente.Text = "Iniciar Conexão Automaticamente";
this.cbConectarAutomaticamente.UseVisualStyleBackColor = true;
this.cbConectarAutomaticamente.CheckedChanged += new System.EventHandler(this.CbIniciarAutomaticamente_CheckedChanged);
//
// notifyIcon1
//
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
this.notifyIcon1.Text = "Receptor Infravermelho";
this.notifyIcon1.Visible = true;
this.notifyIcon1.BalloonTipClicked += new System.EventHandler(this.NotifyIcon1_BalloonTipClicked);
this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.NotifyIcon1_MouseDoubleClick);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label3.Location = new System.Drawing.Point(40, 96);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(40, 13);
this.label3.TabIndex = 8;
this.label3.Text = "Status:";
//
// lblStatus
//
this.lblStatus.AutoSize = true;
this.lblStatus.Location = new System.Drawing.Point(81, 96);
this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(0, 13);
this.lblStatus.TabIndex = 9;
//
// btnConfigurar
//
this.btnConfigurar.AccessibleDescription = "";
this.btnConfigurar.BackColor = System.Drawing.Color.Transparent;
this.btnConfigurar.BackgroundImage = global::IrReceiver.Properties.Resources.config;
this.btnConfigurar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.btnConfigurar.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnConfigurar.ForeColor = System.Drawing.SystemColors.InfoText;
this.btnConfigurar.Location = new System.Drawing.Point(287, 115);
this.btnConfigurar.Name = "btnConfigurar";
this.btnConfigurar.Size = new System.Drawing.Size(24, 24);
this.btnConfigurar.TabIndex = 10;
this.btnConfigurar.UseVisualStyleBackColor = false;
this.btnConfigurar.Click += new System.EventHandler(this.BtnConfigurar_Click);
//
// cbIniciarComWindows
//
this.cbIniciarComWindows.AutoSize = true;
this.cbIniciarComWindows.Location = new System.Drawing.Point(118, 74);
this.cbIniciarComWindows.Name = "cbIniciarComWindows";
this.cbIniciarComWindows.Size = new System.Drawing.Size(133, 17);
this.cbIniciarComWindows.TabIndex = 11;
this.cbIniciarComWindows.Text = "Iniciar com o Windows";
this.cbIniciarComWindows.UseVisualStyleBackColor = true;
this.cbIniciarComWindows.CheckedChanged += new System.EventHandler(this.CbIniciarComWindows_CheckedChanged);
//
// main
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(323, 149);
this.Controls.Add(this.cbIniciarComWindows);
this.Controls.Add(this.btnConfigurar);
this.Controls.Add(this.lblStatus);
this.Controls.Add(this.label3);
this.Controls.Add(this.cbConectarAutomaticamente);
this.Controls.Add(this.label2);
this.Controls.Add(this.btnParar);
this.Controls.Add(this.btnIniciar);
this.Controls.Add(this.btnUpdatePorts);
this.Controls.Add(this.label1);
this.Controls.Add(this.cboPorts);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "main";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Receptor Infravermelho";
this.Load += new System.EventHandler(this.Form1_Load);
this.SizeChanged += new System.EventHandler(this.Form1_SizeChanged);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.ComboBox cboPorts;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button btnUpdatePorts;
private System.Windows.Forms.Button btnIniciar;
private System.Windows.Forms.Button btnParar;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.CheckBox cbConectarAutomaticamente;
private System.Windows.Forms.NotifyIcon notifyIcon1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label lblStatus;
private System.Windows.Forms.Button btnConfigurar;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.CheckBox cbIniciarComWindows;
private System.IO.Ports.SerialPort serialPort1;
}
}