232 lines
12 KiB
C#
232 lines
12 KiB
C#
namespace FlyDockTool
|
||
{
|
||
partial class mainForm
|
||
{
|
||
/// <summary>
|
||
/// 必需的设计器变量。
|
||
/// </summary>
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
/// <summary>
|
||
/// 清理所有正在使用的资源。
|
||
/// </summary>
|
||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||
protected override void Dispose(bool disposing)
|
||
{
|
||
if (disposing && (components != null))
|
||
{
|
||
components.Dispose();
|
||
}
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
#region Windows 窗体设计器生成的代码
|
||
|
||
/// <summary>
|
||
/// 设计器支持所需的方法 - 不要修改
|
||
/// 使用代码编辑器修改此方法的内容。
|
||
/// </summary>
|
||
private void InitializeComponent()
|
||
{
|
||
this.components = new System.ComponentModel.Container();
|
||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(mainForm));
|
||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||
this.button1 = new System.Windows.Forms.Button();
|
||
this.lb_currentDeviceInfo = new System.Windows.Forms.Label();
|
||
this.lb_info = new System.Windows.Forms.Label();
|
||
this.label1 = new System.Windows.Forms.Label();
|
||
this.btn_start_or_stop = new System.Windows.Forms.Button();
|
||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||
this.txt_msg = new System.Windows.Forms.TextBox();
|
||
this.timer_dataShow = new System.Windows.Forms.Timer(this.components);
|
||
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
|
||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||
this.显示ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||
this.退出ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||
this.groupBox2.SuspendLayout();
|
||
this.groupBox3.SuspendLayout();
|
||
this.contextMenuStrip1.SuspendLayout();
|
||
this.SuspendLayout();
|
||
//
|
||
// groupBox2
|
||
//
|
||
this.groupBox2.Controls.Add(this.button1);
|
||
this.groupBox2.Controls.Add(this.lb_currentDeviceInfo);
|
||
this.groupBox2.Controls.Add(this.lb_info);
|
||
this.groupBox2.Controls.Add(this.label1);
|
||
this.groupBox2.Controls.Add(this.btn_start_or_stop);
|
||
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Top;
|
||
this.groupBox2.Location = new System.Drawing.Point(0, 0);
|
||
this.groupBox2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||
this.groupBox2.Name = "groupBox2";
|
||
this.groupBox2.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||
this.groupBox2.Size = new System.Drawing.Size(738, 96);
|
||
this.groupBox2.TabIndex = 1;
|
||
this.groupBox2.TabStop = false;
|
||
this.groupBox2.Text = "操作";
|
||
this.groupBox2.Enter += new System.EventHandler(this.groupBox2_Enter);
|
||
//
|
||
// button1
|
||
//
|
||
this.button1.Location = new System.Drawing.Point(560, 55);
|
||
this.button1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||
this.button1.Name = "button1";
|
||
this.button1.Size = new System.Drawing.Size(132, 27);
|
||
this.button1.TabIndex = 2;
|
||
this.button1.Text = "获取设备编号";
|
||
this.button1.UseVisualStyleBackColor = true;
|
||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||
//
|
||
// lb_currentDeviceInfo
|
||
//
|
||
this.lb_currentDeviceInfo.AutoSize = true;
|
||
this.lb_currentDeviceInfo.Location = new System.Drawing.Point(127, 26);
|
||
this.lb_currentDeviceInfo.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||
this.lb_currentDeviceInfo.Name = "lb_currentDeviceInfo";
|
||
this.lb_currentDeviceInfo.Size = new System.Drawing.Size(11, 12);
|
||
this.lb_currentDeviceInfo.TabIndex = 1;
|
||
this.lb_currentDeviceInfo.Text = "-";
|
||
//
|
||
// lb_info
|
||
//
|
||
this.lb_info.AutoSize = true;
|
||
this.lb_info.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.lb_info.ForeColor = System.Drawing.Color.Blue;
|
||
this.lb_info.Location = new System.Drawing.Point(141, 55);
|
||
this.lb_info.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||
this.lb_info.Name = "lb_info";
|
||
this.lb_info.Size = new System.Drawing.Size(13, 17);
|
||
this.lb_info.TabIndex = 1;
|
||
this.lb_info.Text = "-";
|
||
//
|
||
// label1
|
||
//
|
||
this.label1.AutoSize = true;
|
||
this.label1.Location = new System.Drawing.Point(52, 26);
|
||
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||
this.label1.Name = "label1";
|
||
this.label1.Size = new System.Drawing.Size(65, 12);
|
||
this.label1.TabIndex = 1;
|
||
this.label1.Text = "当前设备:";
|
||
//
|
||
// btn_start_or_stop
|
||
//
|
||
this.btn_start_or_stop.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.btn_start_or_stop.Location = new System.Drawing.Point(54, 51);
|
||
this.btn_start_or_stop.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||
this.btn_start_or_stop.Name = "btn_start_or_stop";
|
||
this.btn_start_or_stop.Size = new System.Drawing.Size(75, 31);
|
||
this.btn_start_or_stop.TabIndex = 0;
|
||
this.btn_start_or_stop.Text = "启动";
|
||
this.btn_start_or_stop.UseVisualStyleBackColor = true;
|
||
this.btn_start_or_stop.Click += new System.EventHandler(this.btn_start_or_stop_Click);
|
||
//
|
||
// groupBox3
|
||
//
|
||
this.groupBox3.Controls.Add(this.txt_msg);
|
||
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.groupBox3.Location = new System.Drawing.Point(0, 96);
|
||
this.groupBox3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||
this.groupBox3.Name = "groupBox3";
|
||
this.groupBox3.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||
this.groupBox3.Size = new System.Drawing.Size(738, 395);
|
||
this.groupBox3.TabIndex = 2;
|
||
this.groupBox3.TabStop = false;
|
||
this.groupBox3.Text = "数据接收";
|
||
//
|
||
// txt_msg
|
||
//
|
||
this.txt_msg.BackColor = System.Drawing.Color.Black;
|
||
this.txt_msg.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.txt_msg.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.txt_msg.ForeColor = System.Drawing.Color.GreenYellow;
|
||
this.txt_msg.Location = new System.Drawing.Point(2, 16);
|
||
this.txt_msg.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||
this.txt_msg.Multiline = true;
|
||
this.txt_msg.Name = "txt_msg";
|
||
this.txt_msg.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||
this.txt_msg.Size = new System.Drawing.Size(734, 377);
|
||
this.txt_msg.TabIndex = 0;
|
||
//
|
||
// timer_dataShow
|
||
//
|
||
this.timer_dataShow.Enabled = true;
|
||
this.timer_dataShow.Interval = 1000;
|
||
//
|
||
// notifyIcon1
|
||
//
|
||
this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1;
|
||
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
|
||
this.notifyIcon1.Text = "福乐云软硬件数据对接工具正在运行中......请勿关闭";
|
||
this.notifyIcon1.Visible = true;
|
||
this.notifyIcon1.DoubleClick += new System.EventHandler(this.notifyIcon1_DoubleClick);
|
||
//
|
||
// contextMenuStrip1
|
||
//
|
||
this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(24, 24);
|
||
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||
this.显示ToolStripMenuItem,
|
||
this.退出ToolStripMenuItem});
|
||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||
this.contextMenuStrip1.Size = new System.Drawing.Size(111, 56);
|
||
//
|
||
// 显示ToolStripMenuItem
|
||
//
|
||
this.显示ToolStripMenuItem.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.显示ToolStripMenuItem.Name = "显示ToolStripMenuItem";
|
||
this.显示ToolStripMenuItem.Size = new System.Drawing.Size(110, 26);
|
||
this.显示ToolStripMenuItem.Text = "显示";
|
||
this.显示ToolStripMenuItem.Click += new System.EventHandler(this.显示ToolStripMenuItem_Click);
|
||
//
|
||
// 退出ToolStripMenuItem
|
||
//
|
||
this.退出ToolStripMenuItem.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.退出ToolStripMenuItem.Name = "退出ToolStripMenuItem";
|
||
this.退出ToolStripMenuItem.Size = new System.Drawing.Size(110, 26);
|
||
this.退出ToolStripMenuItem.Text = "退出";
|
||
this.退出ToolStripMenuItem.Click += new System.EventHandler(this.退出ToolStripMenuItem_Click);
|
||
//
|
||
// mainForm
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(738, 491);
|
||
this.Controls.Add(this.groupBox3);
|
||
this.Controls.Add(this.groupBox2);
|
||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||
this.MaximizeBox = false;
|
||
this.MinimizeBox = false;
|
||
this.Name = "mainForm";
|
||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||
this.Text = "福乐云软硬件数据对接工具V1.1(2025010801)";
|
||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.mainForm_FormClosing);
|
||
this.Load += new System.EventHandler(this.Form1_Load);
|
||
this.groupBox2.ResumeLayout(false);
|
||
this.groupBox2.PerformLayout();
|
||
this.groupBox3.ResumeLayout(false);
|
||
this.groupBox3.PerformLayout();
|
||
this.contextMenuStrip1.ResumeLayout(false);
|
||
this.ResumeLayout(false);
|
||
|
||
}
|
||
|
||
#endregion
|
||
private System.Windows.Forms.GroupBox groupBox2;
|
||
private System.Windows.Forms.GroupBox groupBox3;
|
||
private System.Windows.Forms.TextBox txt_msg;
|
||
private System.Windows.Forms.Button btn_start_or_stop;
|
||
private System.Windows.Forms.Label label1;
|
||
private System.Windows.Forms.Label lb_currentDeviceInfo;
|
||
private System.Windows.Forms.Label lb_info;
|
||
private System.Windows.Forms.Timer timer_dataShow;
|
||
private System.Windows.Forms.NotifyIcon notifyIcon1;
|
||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||
private System.Windows.Forms.ToolStripMenuItem 显示ToolStripMenuItem;
|
||
private System.Windows.Forms.ToolStripMenuItem 退出ToolStripMenuItem;
|
||
private System.Windows.Forms.Button button1;
|
||
}
|
||
}
|
||
|