123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442 |
- //http://www.codesc.net
- namespace TimeSync
- {
- partial class FrmMain
- {
- /// <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(FrmMain));
- 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.menuStrip1 = new System.Windows.Forms.MenuStrip();
- this.参数设置ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.服务器参数ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.设置为自启动ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.取消自启动ToolStripMenuItem1 = 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.statusStrip1 = new System.Windows.Forms.StatusStrip();
- this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
- this.toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel();
- this.toolStripStatusLabel3 = new System.Windows.Forms.ToolStripStatusLabel();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.label5 = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
- this.label4 = new System.Windows.Forms.Label();
- this.textBox2 = new System.Windows.Forms.TextBox();
- this.textBox1 = new System.Windows.Forms.TextBox();
- this.btnGetNetTime = new System.Windows.Forms.Button();
- this.btnStartSet = new System.Windows.Forms.Button();
- this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.label7 = new System.Windows.Forms.Label();
- this.textBox3 = new System.Windows.Forms.TextBox();
- this.label6 = new System.Windows.Forms.Label();
- this.label3 = new System.Windows.Forms.Label();
- this.comboBox1 = new System.Windows.Forms.ComboBox();
- this.timerLocal = new System.Windows.Forms.Timer(this.components);
- this.timerNet = new System.Windows.Forms.Timer(this.components);
- this.contextMenuStrip1.SuspendLayout();
- this.menuStrip1.SuspendLayout();
- this.statusStrip1.SuspendLayout();
- this.groupBox1.SuspendLayout();
- this.groupBox2.SuspendLayout();
- this.SuspendLayout();
- //
- // 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.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.显示主窗体ToolStripMenuItem,
- this.退出ToolStripMenuItem});
- this.contextMenuStrip1.Name = "contextMenuStrip1";
- this.contextMenuStrip1.Size = new System.Drawing.Size(137, 48);
- //
- // 显示主窗体ToolStripMenuItem
- //
- this.显示主窗体ToolStripMenuItem.Name = "显示主窗体ToolStripMenuItem";
- this.显示主窗体ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
- this.显示主窗体ToolStripMenuItem.Text = "显示主窗体";
- this.显示主窗体ToolStripMenuItem.Click += new System.EventHandler(this.显示主窗体ToolStripMenuItem_Click);
- //
- // 退出ToolStripMenuItem
- //
- this.退出ToolStripMenuItem.Name = "退出ToolStripMenuItem";
- this.退出ToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
- this.退出ToolStripMenuItem.Text = "退出";
- this.退出ToolStripMenuItem.Click += new System.EventHandler(this.退出ToolStripMenuItem_Click);
- //
- // menuStrip1
- //
- this.menuStrip1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.参数设置ToolStripMenuItem,
- this.系统设置ToolStripMenuItem,
- this.关于ToolStripMenuItem});
- this.menuStrip1.Location = new System.Drawing.Point(0, 0);
- this.menuStrip1.Name = "menuStrip1";
- this.menuStrip1.Size = new System.Drawing.Size(316, 28);
- this.menuStrip1.TabIndex = 0;
- this.menuStrip1.Text = "menuStrip1";
- //
- // 参数设置ToolStripMenuItem
- //
- this.参数设置ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.服务器参数ToolStripMenuItem,
- this.设置为自启动ToolStripMenuItem1,
- this.取消自启动ToolStripMenuItem1});
- this.参数设置ToolStripMenuItem.Name = "参数设置ToolStripMenuItem";
- this.参数设置ToolStripMenuItem.Size = new System.Drawing.Size(77, 24);
- this.参数设置ToolStripMenuItem.Text = "参数设置";
- //
- // 服务器参数ToolStripMenuItem
- //
- this.服务器参数ToolStripMenuItem.Name = "服务器参数ToolStripMenuItem";
- this.服务器参数ToolStripMenuItem.Size = new System.Drawing.Size(162, 24);
- this.服务器参数ToolStripMenuItem.Text = "设置";
- this.服务器参数ToolStripMenuItem.Click += new System.EventHandler(this.服务器参数ToolStripMenuItem_Click);
- //
- // 设置为自启动ToolStripMenuItem1
- //
- this.设置为自启动ToolStripMenuItem1.Name = "设置为自启动ToolStripMenuItem1";
- this.设置为自启动ToolStripMenuItem1.Size = new System.Drawing.Size(162, 24);
- this.设置为自启动ToolStripMenuItem1.Text = "设置为自启动";
- this.设置为自启动ToolStripMenuItem1.Click += new System.EventHandler(this.设置为自启动ToolStripMenuItem1_Click);
- //
- // 取消自启动ToolStripMenuItem1
- //
- this.取消自启动ToolStripMenuItem1.Name = "取消自启动ToolStripMenuItem1";
- this.取消自启动ToolStripMenuItem1.Size = new System.Drawing.Size(162, 24);
- this.取消自启动ToolStripMenuItem1.Text = "取消自启动";
- this.取消自启动ToolStripMenuItem1.Click += new System.EventHandler(this.取消自启动ToolStripMenuItem1_Click);
- //
- // 系统设置ToolStripMenuItem
- //
- this.系统设置ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.退出系统ToolStripMenuItem});
- this.系统设置ToolStripMenuItem.Name = "系统设置ToolStripMenuItem";
- this.系统设置ToolStripMenuItem.Size = new System.Drawing.Size(77, 24);
- this.系统设置ToolStripMenuItem.Text = "系统设置";
- //
- // 退出系统ToolStripMenuItem
- //
- this.退出系统ToolStripMenuItem.Name = "退出系统ToolStripMenuItem";
- this.退出系统ToolStripMenuItem.Size = new System.Drawing.Size(134, 24);
- this.退出系统ToolStripMenuItem.Text = "退出系统";
- this.退出系统ToolStripMenuItem.Click += new System.EventHandler(this.退出系统ToolStripMenuItem_Click);
- //
- // 关于ToolStripMenuItem
- //
- this.关于ToolStripMenuItem.Name = "关于ToolStripMenuItem";
- this.关于ToolStripMenuItem.Size = new System.Drawing.Size(49, 24);
- this.关于ToolStripMenuItem.Text = "关于";
- //
- // statusStrip1
- //
- this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.toolStripStatusLabel1,
- this.toolStripStatusLabel2,
- this.toolStripStatusLabel3});
- this.statusStrip1.Location = new System.Drawing.Point(0, 379);
- this.statusStrip1.Name = "statusStrip1";
- this.statusStrip1.Size = new System.Drawing.Size(316, 22);
- this.statusStrip1.TabIndex = 2;
- this.statusStrip1.Text = "statusStrip1";
- //
- // toolStripStatusLabel1
- //
- this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
- this.toolStripStatusLabel1.Size = new System.Drawing.Size(68, 17);
- this.toolStripStatusLabel1.Text = "同步时间:";
- //
- // toolStripStatusLabel2
- //
- this.toolStripStatusLabel2.Name = "toolStripStatusLabel2";
- this.toolStripStatusLabel2.Size = new System.Drawing.Size(0, 17);
- //
- // toolStripStatusLabel3
- //
- this.toolStripStatusLabel3.Name = "toolStripStatusLabel3";
- this.toolStripStatusLabel3.Size = new System.Drawing.Size(0, 17);
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.label5);
- this.groupBox1.Controls.Add(this.label2);
- this.groupBox1.Controls.Add(this.label1);
- this.groupBox1.Controls.Add(this.label4);
- this.groupBox1.Controls.Add(this.textBox2);
- this.groupBox1.Controls.Add(this.textBox1);
- this.groupBox1.Controls.Add(this.btnGetNetTime);
- this.groupBox1.Controls.Add(this.btnStartSet);
- this.groupBox1.Location = new System.Drawing.Point(0, 28);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Padding = new System.Windows.Forms.Padding(2);
- this.groupBox1.Size = new System.Drawing.Size(314, 189);
- this.groupBox1.TabIndex = 3;
- this.groupBox1.TabStop = false;
- //
- // label5
- //
- this.label5.AutoSize = true;
- this.label5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label5.Location = new System.Drawing.Point(97, 154);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(32, 16);
- this.label5.TabIndex = 7;
- this.label5.Text = "00S";
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label2.Location = new System.Drawing.Point(12, 63);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(80, 16);
- this.label2.TabIndex = 5;
- this.label2.Text = "本机时间:";
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label1.Location = new System.Drawing.Point(12, 19);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(80, 16);
- this.label1.TabIndex = 4;
- this.label1.Text = "网络时间:";
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label4.Location = new System.Drawing.Point(37, 154);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(64, 16);
- this.label4.TabIndex = 6;
- this.label4.Text = "时间差:";
- //
- // textBox2
- //
- this.textBox2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.textBox2.Location = new System.Drawing.Point(95, 56);
- this.textBox2.Multiline = true;
- this.textBox2.Name = "textBox2";
- this.textBox2.Size = new System.Drawing.Size(201, 29);
- this.textBox2.TabIndex = 3;
- //
- // textBox1
- //
- this.textBox1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.textBox1.Location = new System.Drawing.Point(95, 13);
- this.textBox1.Multiline = true;
- this.textBox1.Name = "textBox1";
- this.textBox1.Size = new System.Drawing.Size(201, 29);
- this.textBox1.TabIndex = 2;
- //
- // btnGetNetTime
- //
- this.btnGetNetTime.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnGetNetTime.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnGetNetTime.ForeColor = System.Drawing.SystemColors.WindowText;
- this.btnGetNetTime.Location = new System.Drawing.Point(40, 110);
- this.btnGetNetTime.Margin = new System.Windows.Forms.Padding(1);
- this.btnGetNetTime.Name = "btnGetNetTime";
- this.btnGetNetTime.Size = new System.Drawing.Size(85, 30);
- this.btnGetNetTime.TabIndex = 0;
- this.btnGetNetTime.Text = "网络时间";
- this.btnGetNetTime.UseVisualStyleBackColor = true;
- this.btnGetNetTime.Click += new System.EventHandler(this.button1_Click);
- //
- // btnStartSet
- //
- this.btnStartSet.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnStartSet.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnStartSet.ForeColor = System.Drawing.SystemColors.WindowText;
- this.btnStartSet.Location = new System.Drawing.Point(184, 110);
- this.btnStartSet.Margin = new System.Windows.Forms.Padding(1);
- this.btnStartSet.Name = "btnStartSet";
- this.btnStartSet.Size = new System.Drawing.Size(85, 30);
- this.btnStartSet.TabIndex = 1;
- this.btnStartSet.Text = "开始校准";
- this.btnStartSet.UseVisualStyleBackColor = true;
- this.btnStartSet.Click += new System.EventHandler(this.btnStartSet_Click);
- //
- // groupBox2
- //
- this.groupBox2.Controls.Add(this.label7);
- this.groupBox2.Controls.Add(this.textBox3);
- this.groupBox2.Controls.Add(this.label6);
- this.groupBox2.Controls.Add(this.label3);
- this.groupBox2.Controls.Add(this.comboBox1);
- this.groupBox2.Location = new System.Drawing.Point(0, 233);
- this.groupBox2.Name = "groupBox2";
- this.groupBox2.Size = new System.Drawing.Size(314, 119);
- this.groupBox2.TabIndex = 4;
- this.groupBox2.TabStop = false;
- this.groupBox2.Text = "时间服务器";
- //
- // label7
- //
- this.label7.AutoSize = true;
- this.label7.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label7.Location = new System.Drawing.Point(237, 71);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(40, 16);
- this.label7.TabIndex = 8;
- this.label7.Text = "分钟";
- //
- // textBox3
- //
- this.textBox3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.textBox3.Location = new System.Drawing.Point(127, 67);
- this.textBox3.MaxLength = 2;
- this.textBox3.Multiline = true;
- this.textBox3.Name = "textBox3";
- this.textBox3.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
- this.textBox3.Size = new System.Drawing.Size(104, 31);
- this.textBox3.TabIndex = 8;
- //
- // label6
- //
- this.label6.AutoSize = true;
- this.label6.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label6.Location = new System.Drawing.Point(10, 71);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(112, 16);
- this.label6.TabIndex = 7;
- this.label6.Text = "同步间隔时间:";
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label3.Location = new System.Drawing.Point(10, 26);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(96, 16);
- this.label3.TabIndex = 6;
- this.label3.Text = "时间服务器:";
- //
- // comboBox1
- //
- this.comboBox1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.comboBox1.FormattingEnabled = true;
- this.comboBox1.Location = new System.Drawing.Point(112, 25);
- this.comboBox1.Name = "comboBox1";
- this.comboBox1.Size = new System.Drawing.Size(182, 24);
- this.comboBox1.TabIndex = 0;
- //
- // timerLocal
- //
- this.timerLocal.Interval = 1000;
- this.timerLocal.Tick += new System.EventHandler(this.timerLocal_Tick);
- //
- // timerNet
- //
- this.timerNet.Interval = 1000;
- this.timerNet.Tick += new System.EventHandler(this.timerNet_Tick);
- //
- // FrmMain
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(316, 401);
- this.Controls.Add(this.groupBox2);
- this.Controls.Add(this.groupBox1);
- this.Controls.Add(this.statusStrip1);
- this.Controls.Add(this.menuStrip1);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.MainMenuStrip = this.menuStrip1;
- this.MaximizeBox = false;
- this.Name = "FrmMain";
- this.Text = "小飞时间同步";
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmMain_FormClosing);
- this.SizeChanged += new System.EventHandler(this.FrmMain_SizeChanged);
- this.contextMenuStrip1.ResumeLayout(false);
- this.menuStrip1.ResumeLayout(false);
- this.menuStrip1.PerformLayout();
- this.statusStrip1.ResumeLayout(false);
- this.statusStrip1.PerformLayout();
- this.groupBox1.ResumeLayout(false);
- this.groupBox1.PerformLayout();
- this.groupBox2.ResumeLayout(false);
- this.groupBox2.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
- }
- #endregion
- private System.Windows.Forms.NotifyIcon notifyIcon1;
- private System.Windows.Forms.MenuStrip menuStrip1;
- 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.ContextMenuStrip contextMenuStrip1;
- private System.Windows.Forms.StatusStrip statusStrip1;
- private System.Windows.Forms.GroupBox groupBox1;
- private System.Windows.Forms.Button btnGetNetTime;
- private System.Windows.Forms.Button btnStartSet;
- private System.Windows.Forms.TextBox textBox2;
- private System.Windows.Forms.TextBox textBox1;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.GroupBox groupBox2;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.ComboBox comboBox1;
- private System.Windows.Forms.Label label4;
- private System.Windows.Forms.Label label5;
- private System.Windows.Forms.TextBox textBox3;
- private System.Windows.Forms.Label label6;
- private System.Windows.Forms.Label label7;
- private System.Windows.Forms.ToolStripMenuItem 退出系统ToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem 显示主窗体ToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem 退出ToolStripMenuItem;
- private System.Windows.Forms.Timer timerLocal;
- private System.Windows.Forms.Timer timerNet;
- private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
- private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel2;
- private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel3;
- private System.Windows.Forms.ToolStripMenuItem 设置为自启动ToolStripMenuItem1;
- private System.Windows.Forms.ToolStripMenuItem 取消自启动ToolStripMenuItem1;
- }
- }
|