MainForm.Designer.cs 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. namespace SIASUN.TwinCatLogger
  2. {
  3. partial class MainForm
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源。
  11. /// </summary>
  12. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows 窗体设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要修改
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.components = new System.ComponentModel.Container();
  29. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
  30. this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
  31. this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
  32. this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  33. this.HideToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  34. this.OpenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  35. this.timer1 = new System.Windows.Forms.Timer(this.components);
  36. this.button1 = new System.Windows.Forms.Button();
  37. this.lableTime = new System.Windows.Forms.Label();
  38. this.timer2 = new System.Windows.Forms.Timer(this.components);
  39. this.textNotice = new System.Windows.Forms.TextBox();
  40. this.contextMenuStrip1.SuspendLayout();
  41. this.SuspendLayout();
  42. //
  43. // notifyIcon1
  44. //
  45. this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1;
  46. this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
  47. this.notifyIcon1.Text = "TwinCatLogger";
  48. this.notifyIcon1.Visible = true;
  49. this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick);
  50. //
  51. // contextMenuStrip1
  52. //
  53. this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  54. this.exitToolStripMenuItem,
  55. this.HideToolStripMenuItem,
  56. this.OpenToolStripMenuItem});
  57. this.contextMenuStrip1.Name = "exitMenuItem";
  58. this.contextMenuStrip1.Size = new System.Drawing.Size(101, 70);
  59. //
  60. // exitToolStripMenuItem
  61. //
  62. this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
  63. this.exitToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
  64. this.exitToolStripMenuItem.Text = "退出";
  65. this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
  66. //
  67. // HideToolStripMenuItem
  68. //
  69. this.HideToolStripMenuItem.Name = "HideToolStripMenuItem";
  70. this.HideToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
  71. this.HideToolStripMenuItem.Text = "隐藏";
  72. this.HideToolStripMenuItem.Click += new System.EventHandler(this.HideToolStripMenuItem_Click);
  73. //
  74. // OpenToolStripMenuItem
  75. //
  76. this.OpenToolStripMenuItem.Name = "OpenToolStripMenuItem";
  77. this.OpenToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
  78. this.OpenToolStripMenuItem.Text = "打开";
  79. this.OpenToolStripMenuItem.Click += new System.EventHandler(this.OpenToolStripMenuItem_Click);
  80. //
  81. // timer1
  82. //
  83. this.timer1.Interval = 1000;
  84. this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
  85. //
  86. // button1
  87. //
  88. this.button1.Enabled = false;
  89. this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
  90. this.button1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  91. this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image")));
  92. this.button1.Location = new System.Drawing.Point(0, 0);
  93. this.button1.Name = "button1";
  94. this.button1.Size = new System.Drawing.Size(130, 30);
  95. this.button1.TabIndex = 1;
  96. this.button1.Text = "开始记录";
  97. this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  98. this.button1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
  99. this.button1.UseVisualStyleBackColor = true;
  100. this.button1.Click += new System.EventHandler(this.button1_Click);
  101. //
  102. // lableTime
  103. //
  104. this.lableTime.BackColor = System.Drawing.Color.Black;
  105. this.lableTime.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  106. this.lableTime.ForeColor = System.Drawing.Color.White;
  107. this.lableTime.Location = new System.Drawing.Point(130, 0);
  108. this.lableTime.Name = "lableTime";
  109. this.lableTime.Size = new System.Drawing.Size(120, 30);
  110. this.lableTime.TabIndex = 2;
  111. this.lableTime.Text = "00:00:00";
  112. this.lableTime.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
  113. //
  114. // timer2
  115. //
  116. this.timer2.Interval = 1000;
  117. this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
  118. //
  119. // textNotice
  120. //
  121. this.textNotice.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
  122. this.textNotice.Cursor = System.Windows.Forms.Cursors.Default;
  123. this.textNotice.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  124. this.textNotice.Location = new System.Drawing.Point(250, 1);
  125. this.textNotice.Name = "textNotice";
  126. this.textNotice.ReadOnly = true;
  127. this.textNotice.Size = new System.Drawing.Size(534, 29);
  128. this.textNotice.TabIndex = 3;
  129. this.textNotice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
  130. //
  131. // MainForm
  132. //
  133. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  134. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  135. this.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
  136. this.ClientSize = new System.Drawing.Size(784, 30);
  137. this.Controls.Add(this.textNotice);
  138. this.Controls.Add(this.lableTime);
  139. this.Controls.Add(this.button1);
  140. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
  141. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  142. this.MaximizeBox = false;
  143. this.Name = "MainForm";
  144. this.ShowInTaskbar = false;
  145. this.Text = "TwinCatLogger";
  146. this.TopMost = true;
  147. this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
  148. this.Load += new System.EventHandler(this.MainForm_Load);
  149. this.SizeChanged += new System.EventHandler(this.MainForm_SizeChanged);
  150. this.contextMenuStrip1.ResumeLayout(false);
  151. this.ResumeLayout(false);
  152. this.PerformLayout();
  153. }
  154. #endregion
  155. private System.Windows.Forms.NotifyIcon notifyIcon1;
  156. private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
  157. private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
  158. private System.Windows.Forms.ToolStripMenuItem HideToolStripMenuItem;
  159. private System.Windows.Forms.ToolStripMenuItem OpenToolStripMenuItem;
  160. private System.Windows.Forms.Timer timer1;
  161. private System.Windows.Forms.Button button1;
  162. private System.Windows.Forms.Label lableTime;
  163. private System.Windows.Forms.Timer timer2;
  164. private System.Windows.Forms.TextBox textNotice;
  165. }
  166. }