Files
TimerApp/MainForm.Designer.cs

437 lines
22 KiB
C#

namespace TimerApp
{
partial class MainForm
{
/// <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.label1 = new System.Windows.Forms.Label();
this.btnWorkMinus = new System.Windows.Forms.Button();
this.txtWork = new System.Windows.Forms.TextBox();
this.btnWorkPlus = new System.Windows.Forms.Button();
this.label2 = new System.Windows.Forms.Label();
this.btnRestMinus = new System.Windows.Forms.Button();
this.txtRest = new System.Windows.Forms.TextBox();
this.btnRestPlus = new System.Windows.Forms.Button();
this.btnStartStop = new System.Windows.Forms.Button();
this.btnReset = new System.Windows.Forms.Button();
this.lblStatus = new System.Windows.Forms.Label();
this.lblTimeLeft = new System.Windows.Forms.Label();
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.toolStripMenuItemShow = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItemExit = new System.Windows.Forms.ToolStripMenuItem();
this.btnHide = new System.Windows.Forms.Button();
this.pnlTitle = new System.Windows.Forms.Panel();
this.lblTitle = new System.Windows.Forms.Label();
this.btnClose = new System.Windows.Forms.Button();
this.btnMin = new System.Windows.Forms.Button();
this.btnTheme = new System.Windows.Forms.Button();
this.pnlSettings = new System.Windows.Forms.Panel();
this.contextMenuStrip1.SuspendLayout();
this.pnlTitle.SuspendLayout();
this.pnlSettings.SuspendLayout();
this.SuspendLayout();
//
// pnlTitle
//
this.pnlTitle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
this.pnlTitle.Controls.Add(this.btnTheme);
this.pnlTitle.Controls.Add(this.btnMin);
this.pnlTitle.Controls.Add(this.btnClose);
this.pnlTitle.Controls.Add(this.lblTitle);
this.pnlTitle.Dock = System.Windows.Forms.DockStyle.Top;
this.pnlTitle.Location = new System.Drawing.Point(0, 0);
this.pnlTitle.Name = "pnlTitle";
this.pnlTitle.Size = new System.Drawing.Size(320, 40);
this.pnlTitle.TabIndex = 10;
this.pnlTitle.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pnlTitle_MouseDown);
//
// lblTitle
//
this.lblTitle.AutoSize = true;
this.lblTitle.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.lblTitle.ForeColor = System.Drawing.Color.LightGray;
this.lblTitle.Location = new System.Drawing.Point(12, 9);
this.lblTitle.Name = "lblTitle";
this.lblTitle.Size = new System.Drawing.Size(82, 23);
this.lblTitle.TabIndex = 0;
this.lblTitle.Text = "久坐提醒";
this.lblTitle.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pnlTitle_MouseDown);
//
// btnClose
//
this.btnClose.BackColor = System.Drawing.Color.Transparent;
this.btnClose.Dock = System.Windows.Forms.DockStyle.Right;
this.btnClose.FlatAppearance.BorderSize = 0;
this.btnClose.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Red;
this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnClose.ForeColor = System.Drawing.Color.White;
this.btnClose.Location = new System.Drawing.Point(280, 0);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(40, 40);
this.btnClose.TabIndex = 1;
this.btnClose.Text = "✕";
this.btnClose.UseVisualStyleBackColor = false;
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
//
// btnTheme
//
this.btnTheme.BackColor = System.Drawing.Color.Transparent;
this.btnTheme.Dock = System.Windows.Forms.DockStyle.Right;
this.btnTheme.FlatAppearance.BorderSize = 0;
this.btnTheme.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnTheme.ForeColor = System.Drawing.Color.White;
this.btnTheme.Location = new System.Drawing.Point(200, 0);
this.btnTheme.Name = "btnTheme";
this.btnTheme.Size = new System.Drawing.Size(40, 40);
this.btnTheme.TabIndex = 3;
this.btnTheme.Text = "☀";
this.btnTheme.UseVisualStyleBackColor = false;
this.btnTheme.Click += new System.EventHandler(this.btnTheme_Click);
//
// btnMin
//
this.btnMin.BackColor = System.Drawing.Color.Transparent;
this.btnMin.Dock = System.Windows.Forms.DockStyle.Right;
this.btnMin.FlatAppearance.BorderSize = 0;
this.btnMin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnMin.ForeColor = System.Drawing.Color.White;
this.btnMin.Location = new System.Drawing.Point(240, 0);
this.btnMin.Name = "btnMin";
this.btnMin.Size = new System.Drawing.Size(40, 40);
this.btnMin.TabIndex = 2;
this.btnMin.Text = "―";
this.btnMin.UseVisualStyleBackColor = false;
this.btnMin.Click += new System.EventHandler(this.btnMin_Click);
//
// lblTimeLeft
//
this.lblTimeLeft.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.lblTimeLeft.Dock = System.Windows.Forms.DockStyle.Top;
this.lblTimeLeft.Font = new System.Drawing.Font("Segoe UI Light", 48F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.lblTimeLeft.ForeColor = System.Drawing.Color.White;
this.lblTimeLeft.Location = new System.Drawing.Point(0, 40);
this.lblTimeLeft.Name = "lblTimeLeft";
this.lblTimeLeft.Size = new System.Drawing.Size(320, 120);
this.lblTimeLeft.TabIndex = 6;
this.lblTimeLeft.Text = "00:00";
this.lblTimeLeft.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// lblStatus
//
this.lblStatus.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Top;
this.lblStatus.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.lblStatus.ForeColor = System.Drawing.Color.Gray;
this.lblStatus.Location = new System.Drawing.Point(0, 160);
this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(320, 40);
this.lblStatus.TabIndex = 5;
this.lblStatus.Text = "Idle";
this.lblStatus.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// pnlSettings
//
this.pnlSettings.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.pnlSettings.Controls.Add(this.btnReset);
this.pnlSettings.Controls.Add(this.btnStartStop);
this.pnlSettings.Controls.Add(this.btnRestPlus);
this.pnlSettings.Controls.Add(this.txtRest);
this.pnlSettings.Controls.Add(this.btnRestMinus);
this.pnlSettings.Controls.Add(this.label2);
this.pnlSettings.Controls.Add(this.btnWorkPlus);
this.pnlSettings.Controls.Add(this.txtWork);
this.pnlSettings.Controls.Add(this.btnWorkMinus);
this.pnlSettings.Controls.Add(this.label1);
this.pnlSettings.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlSettings.Location = new System.Drawing.Point(0, 180);
this.pnlSettings.Name = "pnlSettings";
this.pnlSettings.Size = new System.Drawing.Size(320, 170);
this.pnlSettings.TabIndex = 11;
//
// label1
//
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.label1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.label1.ForeColor = System.Drawing.Color.LightGray;
this.label1.Location = new System.Drawing.Point(40, 20);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(100, 23);
this.label1.TabIndex = 0;
this.label1.Text = "工作 (分):";
//
// btnWorkMinus
//
this.btnWorkMinus.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
this.btnWorkMinus.FlatAppearance.BorderSize = 0;
this.btnWorkMinus.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnWorkMinus.ForeColor = System.Drawing.Color.White;
this.btnWorkMinus.Location = new System.Drawing.Point(160, 18);
this.btnWorkMinus.Name = "btnWorkMinus";
this.btnWorkMinus.Size = new System.Drawing.Size(30, 30);
this.btnWorkMinus.TabIndex = 1;
this.btnWorkMinus.Text = "-";
this.btnWorkMinus.UseVisualStyleBackColor = false;
//
// txtWork
//
this.txtWork.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
this.txtWork.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.txtWork.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtWork.ForeColor = System.Drawing.Color.White;
this.txtWork.Location = new System.Drawing.Point(190, 18);
this.txtWork.Name = "txtWork";
this.txtWork.ReadOnly = false;
this.txtWork.Size = new System.Drawing.Size(60, 30);
this.txtWork.TabIndex = 2;
this.txtWork.Text = "20";
this.txtWork.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// btnWorkPlus
//
this.btnWorkPlus.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
this.btnWorkPlus.FlatAppearance.BorderSize = 0;
this.btnWorkPlus.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnWorkPlus.ForeColor = System.Drawing.Color.White;
this.btnWorkPlus.Location = new System.Drawing.Point(250, 18);
this.btnWorkPlus.Name = "btnWorkPlus";
this.btnWorkPlus.Size = new System.Drawing.Size(30, 30);
this.btnWorkPlus.TabIndex = 3;
this.btnWorkPlus.Text = "+";
this.btnWorkPlus.UseVisualStyleBackColor = false;
//
// label2
//
this.label2.AutoSize = true;
this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.label2.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.label2.ForeColor = System.Drawing.Color.LightGray;
this.label2.Location = new System.Drawing.Point(40, 60);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(100, 23);
this.label2.TabIndex = 4;
this.label2.Text = "休息 (分):";
//
// btnRestMinus
//
this.btnRestMinus.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
this.btnRestMinus.FlatAppearance.BorderSize = 0;
this.btnRestMinus.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnRestMinus.ForeColor = System.Drawing.Color.White;
this.btnRestMinus.Location = new System.Drawing.Point(160, 58);
this.btnRestMinus.Name = "btnRestMinus";
this.btnRestMinus.Size = new System.Drawing.Size(30, 30);
this.btnRestMinus.TabIndex = 5;
this.btnRestMinus.Text = "-";
this.btnRestMinus.UseVisualStyleBackColor = false;
//
// txtRest
//
this.txtRest.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
this.txtRest.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.txtRest.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.txtRest.ForeColor = System.Drawing.Color.White;
this.txtRest.Location = new System.Drawing.Point(190, 58);
this.txtRest.Name = "txtRest";
this.txtRest.ReadOnly = false;
this.txtRest.Size = new System.Drawing.Size(60, 30);
this.txtRest.TabIndex = 6;
this.txtRest.Text = "1";
this.txtRest.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// btnRestPlus
//
this.btnRestPlus.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48)))));
this.btnRestPlus.FlatAppearance.BorderSize = 0;
this.btnRestPlus.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnRestPlus.ForeColor = System.Drawing.Color.White;
this.btnRestPlus.Location = new System.Drawing.Point(250, 58);
this.btnRestPlus.Name = "btnRestPlus";
this.btnRestPlus.Size = new System.Drawing.Size(30, 30);
this.btnRestPlus.TabIndex = 7;
this.btnRestPlus.Text = "+";
this.btnRestPlus.UseVisualStyleBackColor = false;
//
// btnStartStop
//
this.btnStartStop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(63)))), ((int)(((byte)(70)))));
this.btnStartStop.FlatAppearance.BorderSize = 0;
this.btnStartStop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnStartStop.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnStartStop.ForeColor = System.Drawing.Color.White;
this.btnStartStop.Location = new System.Drawing.Point(170, 110);
this.btnStartStop.Name = "btnStartStop";
this.btnStartStop.Size = new System.Drawing.Size(110, 35);
this.btnStartStop.TabIndex = 4;
this.btnStartStop.Text = "应用设置";
this.btnStartStop.UseVisualStyleBackColor = false;
this.btnStartStop.Click += new System.EventHandler(this.btnStartStop_Click);
//
// btnReset
//
this.btnReset.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(63)))), ((int)(((byte)(70)))));
this.btnReset.FlatAppearance.BorderSize = 0;
this.btnReset.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnReset.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnReset.ForeColor = System.Drawing.Color.White;
this.btnReset.Location = new System.Drawing.Point(40, 110);
this.btnReset.Name = "btnReset";
this.btnReset.Size = new System.Drawing.Size(110, 35);
this.btnReset.TabIndex = 8;
this.btnReset.Text = "重置计时";
this.btnReset.UseVisualStyleBackColor = false;
this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
//
// btnHide
//
this.btnHide.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(63)))), ((int)(((byte)(70)))));
this.btnHide.FlatAppearance.BorderSize = 0;
this.btnHide.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnHide.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
this.btnHide.ForeColor = System.Drawing.Color.White;
this.btnHide.Location = new System.Drawing.Point(40, 160);
this.btnHide.Name = "btnHide";
this.btnHide.Size = new System.Drawing.Size(220, 35);
this.btnHide.TabIndex = 7;
this.btnHide.Text = "最小化到托盘";
this.btnHide.UseVisualStyleBackColor = false;
this.btnHide.Visible = false;
this.btnHide.Click += new System.EventHandler(this.btnHide_Click);
//
// notifyIcon1
//
this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1;
this.notifyIcon1.Text = "TimerApp";
this.notifyIcon1.Visible = true;
this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick);
//
// contextMenuStrip1
//
this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripMenuItemShow,
this.toolStripMenuItemExit});
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(109, 52);
//
// toolStripMenuItemShow
//
this.toolStripMenuItemShow.Name = "toolStripMenuItemShow";
this.toolStripMenuItemShow.Size = new System.Drawing.Size(108, 24);
this.toolStripMenuItemShow.Text = "显示";
this.toolStripMenuItemShow.Click += new System.EventHandler(this.toolStripMenuItemShow_Click);
//
// toolStripMenuItemExit
//
this.toolStripMenuItemExit.Name = "toolStripMenuItemExit";
this.toolStripMenuItemExit.Size = new System.Drawing.Size(108, 24);
this.toolStripMenuItemExit.Text = "退出";
this.toolStripMenuItemExit.Click += new System.EventHandler(this.toolStripMenuItemExit_Click);
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.ClientSize = new System.Drawing.Size(320, 380);
this.Controls.Add(this.pnlSettings); // Add panel first to be at bottom of z-order
this.Controls.Add(this.lblStatus);
this.Controls.Add(this.lblTimeLeft);
this.Controls.Add(this.pnlTitle);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "MainForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Focus Timer";
this.Load += new System.EventHandler(this.MainForm_Load);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
this.contextMenuStrip1.ResumeLayout(false);
this.pnlTitle.ResumeLayout(false);
this.pnlTitle.PerformLayout();
this.pnlSettings.ResumeLayout(false);
this.pnlSettings.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button btnWorkMinus;
private System.Windows.Forms.TextBox txtWork;
private System.Windows.Forms.Button btnWorkPlus;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button btnRestMinus;
private System.Windows.Forms.TextBox txtRest;
private System.Windows.Forms.Button btnRestPlus;
private System.Windows.Forms.Button btnStartStop;
private System.Windows.Forms.Button btnReset;
private System.Windows.Forms.Label lblStatus;
private System.Windows.Forms.Label lblTimeLeft;
private System.Windows.Forms.NotifyIcon notifyIcon1;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemShow;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemExit;
private System.Windows.Forms.Button btnHide;
private System.Windows.Forms.Panel pnlTitle;
private System.Windows.Forms.Button btnClose;
private System.Windows.Forms.Button btnMin;
private System.Windows.Forms.Button btnTheme;
private System.Windows.Forms.Label lblTitle;
private System.Windows.Forms.Panel pnlSettings;
}
}