93 lines
3.7 KiB
C#
93 lines
3.7 KiB
C#
|
|
namespace SOH.OnLine
|
|||
|
|
{
|
|||
|
|
partial class OnLine
|
|||
|
|
{
|
|||
|
|
/// <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(OnLine));
|
|||
|
|
this.sp = new System.IO.Ports.SerialPort(this.components);
|
|||
|
|
this.nf = new System.Windows.Forms.NotifyIcon(this.components);
|
|||
|
|
this.cms = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|||
|
|
this.退出ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|||
|
|
this.cms.SuspendLayout();
|
|||
|
|
this.SuspendLayout();
|
|||
|
|
//
|
|||
|
|
// sp
|
|||
|
|
//
|
|||
|
|
this.sp.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.sp_DataReceived);
|
|||
|
|
//
|
|||
|
|
// nf
|
|||
|
|
//
|
|||
|
|
this.nf.ContextMenuStrip = this.cms;
|
|||
|
|
this.nf.Icon = ((System.Drawing.Icon)(resources.GetObject("nf.Icon")));
|
|||
|
|
this.nf.Text = "仪器通信";
|
|||
|
|
this.nf.Visible = true;
|
|||
|
|
//
|
|||
|
|
// cms
|
|||
|
|
//
|
|||
|
|
this.cms.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|||
|
|
this.退出ToolStripMenuItem});
|
|||
|
|
this.cms.Name = "cms";
|
|||
|
|
this.cms.Size = new System.Drawing.Size(101, 26);
|
|||
|
|
//
|
|||
|
|
// 退出ToolStripMenuItem
|
|||
|
|
//
|
|||
|
|
this.退出ToolStripMenuItem.Name = "退出ToolStripMenuItem";
|
|||
|
|
this.退出ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
|
|||
|
|
this.退出ToolStripMenuItem.Text = "退出";
|
|||
|
|
this.退出ToolStripMenuItem.Click += new System.EventHandler(this.退出ToolStripMenuItem_Click);
|
|||
|
|
//
|
|||
|
|
// OnLine
|
|||
|
|
//
|
|||
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|||
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
|
this.ClientSize = new System.Drawing.Size(490, 89);
|
|||
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|||
|
|
this.MaximizeBox = false;
|
|||
|
|
this.MinimizeBox = false;
|
|||
|
|
this.Name = "OnLine";
|
|||
|
|
this.ShowInTaskbar = false;
|
|||
|
|
this.Text = "天瑞体检仪器通信";
|
|||
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
|
|||
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OnLine_FormClosing);
|
|||
|
|
this.Load += new System.EventHandler(this.OnLine_Load);
|
|||
|
|
this.cms.ResumeLayout(false);
|
|||
|
|
this.ResumeLayout(false);
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
private System.IO.Ports.SerialPort sp;
|
|||
|
|
private System.Windows.Forms.NotifyIcon nf;
|
|||
|
|
private System.Windows.Forms.ContextMenuStrip cms;
|
|||
|
|
private System.Windows.Forms.ToolStripMenuItem 退出ToolStripMenuItem;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|