237 lines
12 KiB
C#
237 lines
12 KiB
C#
|
|
namespace WindowsFormsApp
|
|||
|
|
{
|
|||
|
|
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();
|
|||
|
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
|||
|
|
this.label1 = new System.Windows.Forms.Label();
|
|||
|
|
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|||
|
|
this.获取信息ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|||
|
|
this.清除存储ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|||
|
|
this.获取笔时间ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|||
|
|
this.设置笔时间ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|||
|
|
this.设置笔名ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|||
|
|
this.获取笔名ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|||
|
|
this.设置指示灯ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|||
|
|
this.设置临时指示灯ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|||
|
|
this.获取指示灯ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|||
|
|
this.设置蜂鸣器ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|||
|
|
this.设置关机时间ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|||
|
|
this.获取关机时间ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|||
|
|
this.获取笔迹分布时间ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|||
|
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|||
|
|
this.timer2 = new System.Windows.Forms.Timer(this.components);
|
|||
|
|
this.button1 = new System.Windows.Forms.Button();
|
|||
|
|
this.flowLayoutPanel1.SuspendLayout();
|
|||
|
|
this.contextMenuStrip1.SuspendLayout();
|
|||
|
|
this.SuspendLayout();
|
|||
|
|
//
|
|||
|
|
// flowLayoutPanel1
|
|||
|
|
//
|
|||
|
|
this.flowLayoutPanel1.AutoScroll = true;
|
|||
|
|
this.flowLayoutPanel1.Controls.Add(this.button1);
|
|||
|
|
this.flowLayoutPanel1.Controls.Add(this.label1);
|
|||
|
|
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|||
|
|
this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
|||
|
|
this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(2);
|
|||
|
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
|||
|
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(600, 360);
|
|||
|
|
this.flowLayoutPanel1.TabIndex = 0;
|
|||
|
|
this.flowLayoutPanel1.Paint += new System.Windows.Forms.PaintEventHandler(this.flowLayoutPanel1_Paint);
|
|||
|
|
//
|
|||
|
|
// label1
|
|||
|
|
//
|
|||
|
|
this.label1.AutoSize = true;
|
|||
|
|
this.label1.Location = new System.Drawing.Point(84, 0);
|
|||
|
|
this.label1.Name = "label1";
|
|||
|
|
this.label1.Size = new System.Drawing.Size(41, 12);
|
|||
|
|
this.label1.TabIndex = 0;
|
|||
|
|
this.label1.Text = "label1";
|
|||
|
|
//
|
|||
|
|
// contextMenuStrip1
|
|||
|
|
//
|
|||
|
|
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|||
|
|
this.获取信息ToolStripMenuItem,
|
|||
|
|
this.清除存储ToolStripMenuItem,
|
|||
|
|
this.获取笔时间ToolStripMenuItem,
|
|||
|
|
this.设置笔时间ToolStripMenuItem,
|
|||
|
|
this.设置笔名ToolStripMenuItem,
|
|||
|
|
this.获取笔名ToolStripMenuItem,
|
|||
|
|
this.设置指示灯ToolStripMenuItem,
|
|||
|
|
this.设置临时指示灯ToolStripMenuItem,
|
|||
|
|
this.获取指示灯ToolStripMenuItem,
|
|||
|
|
this.设置蜂鸣器ToolStripMenuItem,
|
|||
|
|
this.设置关机时间ToolStripMenuItem,
|
|||
|
|
this.获取关机时间ToolStripMenuItem,
|
|||
|
|
this.获取笔迹分布时间ToolStripMenuItem});
|
|||
|
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|||
|
|
this.contextMenuStrip1.Size = new System.Drawing.Size(173, 290);
|
|||
|
|
//
|
|||
|
|
// 获取信息ToolStripMenuItem
|
|||
|
|
//
|
|||
|
|
this.获取信息ToolStripMenuItem.Name = "获取信息ToolStripMenuItem";
|
|||
|
|
this.获取信息ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
|||
|
|
this.获取信息ToolStripMenuItem.Text = "获取信息";
|
|||
|
|
//
|
|||
|
|
// 清除存储ToolStripMenuItem
|
|||
|
|
//
|
|||
|
|
this.清除存储ToolStripMenuItem.Name = "清除存储ToolStripMenuItem";
|
|||
|
|
this.清除存储ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
|||
|
|
this.清除存储ToolStripMenuItem.Text = "清除存储";
|
|||
|
|
//
|
|||
|
|
// 获取笔时间ToolStripMenuItem
|
|||
|
|
//
|
|||
|
|
this.获取笔时间ToolStripMenuItem.Name = "获取笔时间ToolStripMenuItem";
|
|||
|
|
this.获取笔时间ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
|||
|
|
this.获取笔时间ToolStripMenuItem.Text = "获取笔时间";
|
|||
|
|
//
|
|||
|
|
// 设置笔时间ToolStripMenuItem
|
|||
|
|
//
|
|||
|
|
this.设置笔时间ToolStripMenuItem.Name = "设置笔时间ToolStripMenuItem";
|
|||
|
|
this.设置笔时间ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
|||
|
|
this.设置笔时间ToolStripMenuItem.Text = "设置笔时间";
|
|||
|
|
//
|
|||
|
|
// 设置笔名ToolStripMenuItem
|
|||
|
|
//
|
|||
|
|
this.设置笔名ToolStripMenuItem.Name = "设置笔名ToolStripMenuItem";
|
|||
|
|
this.设置笔名ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
|||
|
|
this.设置笔名ToolStripMenuItem.Text = "设置笔名";
|
|||
|
|
//
|
|||
|
|
// 获取笔名ToolStripMenuItem
|
|||
|
|
//
|
|||
|
|
this.获取笔名ToolStripMenuItem.Name = "获取笔名ToolStripMenuItem";
|
|||
|
|
this.获取笔名ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
|||
|
|
this.获取笔名ToolStripMenuItem.Text = "获取笔名";
|
|||
|
|
//
|
|||
|
|
// 设置指示灯ToolStripMenuItem
|
|||
|
|
//
|
|||
|
|
this.设置指示灯ToolStripMenuItem.Name = "设置指示灯ToolStripMenuItem";
|
|||
|
|
this.设置指示灯ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
|||
|
|
this.设置指示灯ToolStripMenuItem.Text = "设置指示灯";
|
|||
|
|
//
|
|||
|
|
// 设置临时指示灯ToolStripMenuItem
|
|||
|
|
//
|
|||
|
|
this.设置临时指示灯ToolStripMenuItem.Name = "设置临时指示灯ToolStripMenuItem";
|
|||
|
|
this.设置临时指示灯ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
|||
|
|
this.设置临时指示灯ToolStripMenuItem.Text = "设置临时指示灯";
|
|||
|
|
//
|
|||
|
|
// 获取指示灯ToolStripMenuItem
|
|||
|
|
//
|
|||
|
|
this.获取指示灯ToolStripMenuItem.Name = "获取指示灯ToolStripMenuItem";
|
|||
|
|
this.获取指示灯ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
|||
|
|
this.获取指示灯ToolStripMenuItem.Text = "获取指示灯";
|
|||
|
|
//
|
|||
|
|
// 设置蜂鸣器ToolStripMenuItem
|
|||
|
|
//
|
|||
|
|
this.设置蜂鸣器ToolStripMenuItem.Name = "设置蜂鸣器ToolStripMenuItem";
|
|||
|
|
this.设置蜂鸣器ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
|||
|
|
this.设置蜂鸣器ToolStripMenuItem.Text = "设置蜂鸣器";
|
|||
|
|
//
|
|||
|
|
// 设置关机时间ToolStripMenuItem
|
|||
|
|
//
|
|||
|
|
this.设置关机时间ToolStripMenuItem.Name = "设置关机时间ToolStripMenuItem";
|
|||
|
|
this.设置关机时间ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
|||
|
|
this.设置关机时间ToolStripMenuItem.Text = "设置关机时间";
|
|||
|
|
//
|
|||
|
|
// 获取关机时间ToolStripMenuItem
|
|||
|
|
//
|
|||
|
|
this.获取关机时间ToolStripMenuItem.Name = "获取关机时间ToolStripMenuItem";
|
|||
|
|
this.获取关机时间ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
|||
|
|
this.获取关机时间ToolStripMenuItem.Text = "获取关机时间";
|
|||
|
|
//
|
|||
|
|
// 获取笔迹分布时间ToolStripMenuItem
|
|||
|
|
//
|
|||
|
|
this.获取笔迹分布时间ToolStripMenuItem.Name = "获取笔迹分布时间ToolStripMenuItem";
|
|||
|
|
this.获取笔迹分布时间ToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
|
|||
|
|
this.获取笔迹分布时间ToolStripMenuItem.Text = "获取笔迹分布时间";
|
|||
|
|
//
|
|||
|
|
// timer1
|
|||
|
|
//
|
|||
|
|
this.timer1.Interval = 1000;
|
|||
|
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
|||
|
|
//
|
|||
|
|
// timer2
|
|||
|
|
//
|
|||
|
|
this.timer2.Interval = 1000;
|
|||
|
|
this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
|
|||
|
|
//
|
|||
|
|
// button1
|
|||
|
|
//
|
|||
|
|
this.button1.Location = new System.Drawing.Point(3, 3);
|
|||
|
|
this.button1.Name = "button1";
|
|||
|
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
|||
|
|
this.button1.TabIndex = 1;
|
|||
|
|
this.button1.Text = "同步数据";
|
|||
|
|
this.button1.UseVisualStyleBackColor = true;
|
|||
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|||
|
|
//
|
|||
|
|
// Form1
|
|||
|
|
//
|
|||
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|||
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
|
this.ClientSize = new System.Drawing.Size(600, 360);
|
|||
|
|
this.ContextMenuStrip = this.contextMenuStrip1;
|
|||
|
|
this.Controls.Add(this.flowLayoutPanel1);
|
|||
|
|
this.Margin = new System.Windows.Forms.Padding(2);
|
|||
|
|
this.Name = "Form1";
|
|||
|
|
this.Text = "Form1";
|
|||
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
|
|||
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|||
|
|
this.flowLayoutPanel1.ResumeLayout(false);
|
|||
|
|
this.flowLayoutPanel1.PerformLayout();
|
|||
|
|
this.contextMenuStrip1.ResumeLayout(false);
|
|||
|
|
this.ResumeLayout(false);
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
|||
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
|||
|
|
private System.Windows.Forms.ToolStripMenuItem 获取信息ToolStripMenuItem;
|
|||
|
|
private System.Windows.Forms.ToolStripMenuItem 清除存储ToolStripMenuItem;
|
|||
|
|
private System.Windows.Forms.ToolStripMenuItem 获取笔时间ToolStripMenuItem;
|
|||
|
|
private System.Windows.Forms.ToolStripMenuItem 设置笔时间ToolStripMenuItem;
|
|||
|
|
private System.Windows.Forms.ToolStripMenuItem 设置笔名ToolStripMenuItem;
|
|||
|
|
private System.Windows.Forms.ToolStripMenuItem 获取笔名ToolStripMenuItem;
|
|||
|
|
private System.Windows.Forms.ToolStripMenuItem 设置指示灯ToolStripMenuItem;
|
|||
|
|
private System.Windows.Forms.ToolStripMenuItem 设置临时指示灯ToolStripMenuItem;
|
|||
|
|
private System.Windows.Forms.ToolStripMenuItem 获取指示灯ToolStripMenuItem;
|
|||
|
|
private System.Windows.Forms.ToolStripMenuItem 设置蜂鸣器ToolStripMenuItem;
|
|||
|
|
private System.Windows.Forms.ToolStripMenuItem 设置关机时间ToolStripMenuItem;
|
|||
|
|
private System.Windows.Forms.ToolStripMenuItem 获取关机时间ToolStripMenuItem;
|
|||
|
|
private System.Windows.Forms.ToolStripMenuItem 获取笔迹分布时间ToolStripMenuItem;
|
|||
|
|
private System.Windows.Forms.Label label1;
|
|||
|
|
private System.Windows.Forms.Timer timer1;
|
|||
|
|
private System.Windows.Forms.Timer timer2;
|
|||
|
|
private System.Windows.Forms.Button button1;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|