namespace SIASUN.TwinCatLogger { partial class MainForm { /// /// 必需的设计器变量。 /// private System.ComponentModel.IContainer components = null; /// /// 清理所有正在使用的资源。 /// /// 如果应释放托管资源,为 true;否则为 false。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows 窗体设计器生成的代码 /// /// 设计器支持所需的方法 - 不要修改 /// 使用代码编辑器修改此方法的内容。 /// private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.HideToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.OpenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.button1 = new System.Windows.Forms.Button(); this.lableTime = new System.Windows.Forms.Label(); this.timer2 = new System.Windows.Forms.Timer(this.components); this.textNotice = new System.Windows.Forms.TextBox(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // notifyIcon1 // this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1; this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon"))); this.notifyIcon1.Text = "TwinCatLogger"; this.notifyIcon1.Visible = true; this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.exitToolStripMenuItem, this.HideToolStripMenuItem, this.OpenToolStripMenuItem}); this.contextMenuStrip1.Name = "exitMenuItem"; this.contextMenuStrip1.Size = new System.Drawing.Size(101, 70); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(100, 22); this.exitToolStripMenuItem.Text = "退出"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // // HideToolStripMenuItem // this.HideToolStripMenuItem.Name = "HideToolStripMenuItem"; this.HideToolStripMenuItem.Size = new System.Drawing.Size(100, 22); this.HideToolStripMenuItem.Text = "隐藏"; this.HideToolStripMenuItem.Click += new System.EventHandler(this.HideToolStripMenuItem_Click); // // OpenToolStripMenuItem // this.OpenToolStripMenuItem.Name = "OpenToolStripMenuItem"; this.OpenToolStripMenuItem.Size = new System.Drawing.Size(100, 22); this.OpenToolStripMenuItem.Text = "打开"; this.OpenToolStripMenuItem.Click += new System.EventHandler(this.OpenToolStripMenuItem_Click); // // timer1 // this.timer1.Interval = 1000; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // button1 // this.button1.Enabled = false; this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.button1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image"))); this.button1.Location = new System.Drawing.Point(0, 0); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(130, 30); this.button1.TabIndex = 1; this.button1.Text = "开始记录"; this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.button1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // lableTime // this.lableTime.BackColor = System.Drawing.Color.Black; this.lableTime.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lableTime.ForeColor = System.Drawing.Color.White; this.lableTime.Location = new System.Drawing.Point(130, 0); this.lableTime.Name = "lableTime"; this.lableTime.Size = new System.Drawing.Size(120, 30); this.lableTime.TabIndex = 2; this.lableTime.Text = "00:00:00"; this.lableTime.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // timer2 // this.timer2.Interval = 1000; this.timer2.Tick += new System.EventHandler(this.timer2_Tick); // // textNotice // this.textNotice.BackColor = System.Drawing.SystemColors.GradientInactiveCaption; this.textNotice.Cursor = System.Windows.Forms.Cursors.Default; this.textNotice.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.textNotice.Location = new System.Drawing.Point(250, 1); this.textNotice.Name = "textNotice"; this.textNotice.ReadOnly = true; this.textNotice.Size = new System.Drawing.Size(534, 29); this.textNotice.TabIndex = 3; this.textNotice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.GradientInactiveCaption; this.ClientSize = new System.Drawing.Size(784, 30); this.Controls.Add(this.textNotice); this.Controls.Add(this.lableTime); this.Controls.Add(this.button1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "MainForm"; this.ShowInTaskbar = false; this.Text = "TwinCatLogger"; this.TopMost = true; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); this.Load += new System.EventHandler(this.MainForm_Load); this.SizeChanged += new System.EventHandler(this.MainForm_SizeChanged); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.NotifyIcon notifyIcon1; private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem HideToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem OpenToolStripMenuItem; private System.Windows.Forms.Timer timer1; private System.Windows.Forms.Button button1; private System.Windows.Forms.Label lableTime; private System.Windows.Forms.Timer timer2; private System.Windows.Forms.TextBox textNotice; } }