懒人记时 代码仓库
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

267 líneas
12 KiB

  1. namespace AppTime
  2. {
  3. partial class FrmMain
  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(FrmMain));
  30. this.txtDataPath = new System.Windows.Forms.TextBox();
  31. this.label1 = new System.Windows.Forms.Label();
  32. this.btnDataPath = new System.Windows.Forms.Button();
  33. this.cboRecordScreen = new System.Windows.Forms.ComboBox();
  34. this.btnOK = new System.Windows.Forms.Button();
  35. this.btnCancel = new System.Windows.Forms.Button();
  36. this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
  37. this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
  38. this.btnOpen = new System.Windows.Forms.ToolStripMenuItem();
  39. this.btnSetting = new System.Windows.Forms.ToolStripMenuItem();
  40. this.btnAbout = new System.Windows.Forms.ToolStripMenuItem();
  41. this.btnExit = new System.Windows.Forms.ToolStripMenuItem();
  42. this.groupBox1 = new System.Windows.Forms.GroupBox();
  43. this.label4 = new System.Windows.Forms.Label();
  44. this.label2 = new System.Windows.Forms.Label();
  45. this.chkAutoRun = new System.Windows.Forms.CheckBox();
  46. this.cboImageQuality = new System.Windows.Forms.ComboBox();
  47. this.contextMenuStrip.SuspendLayout();
  48. this.groupBox1.SuspendLayout();
  49. this.SuspendLayout();
  50. //
  51. // txtDataPath
  52. //
  53. this.txtDataPath.Location = new System.Drawing.Point(132, 34);
  54. this.txtDataPath.Name = "txtDataPath";
  55. this.txtDataPath.Size = new System.Drawing.Size(494, 21);
  56. this.txtDataPath.TabIndex = 0;
  57. //
  58. // label1
  59. //
  60. this.label1.AutoSize = true;
  61. this.label1.Location = new System.Drawing.Point(40, 37);
  62. this.label1.Name = "label1";
  63. this.label1.Size = new System.Drawing.Size(77, 12);
  64. this.label1.TabIndex = 1;
  65. this.label1.Text = "数据存储位置";
  66. //
  67. // btnDataPath
  68. //
  69. this.btnDataPath.Location = new System.Drawing.Point(641, 32);
  70. this.btnDataPath.Name = "btnDataPath";
  71. this.btnDataPath.Size = new System.Drawing.Size(75, 23);
  72. this.btnDataPath.TabIndex = 2;
  73. this.btnDataPath.Text = "浏览(&B)...";
  74. this.btnDataPath.UseVisualStyleBackColor = true;
  75. this.btnDataPath.Click += new System.EventHandler(this.btnDataPath_Click);
  76. //
  77. // cboRecordScreen
  78. //
  79. this.cboRecordScreen.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  80. this.cboRecordScreen.FormattingEnabled = true;
  81. this.cboRecordScreen.Items.AddRange(new object[] {
  82. "记录最近30天",
  83. "记录最近14天",
  84. "无限制记录",
  85. "不记录"});
  86. this.cboRecordScreen.Location = new System.Drawing.Point(98, 33);
  87. this.cboRecordScreen.Name = "cboRecordScreen";
  88. this.cboRecordScreen.Size = new System.Drawing.Size(121, 20);
  89. this.cboRecordScreen.TabIndex = 4;
  90. //
  91. // btnOK
  92. //
  93. this.btnOK.Location = new System.Drawing.Point(366, 245);
  94. this.btnOK.Name = "btnOK";
  95. this.btnOK.Size = new System.Drawing.Size(158, 45);
  96. this.btnOK.TabIndex = 6;
  97. this.btnOK.Text = "确定(&O)";
  98. this.btnOK.UseVisualStyleBackColor = true;
  99. this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
  100. //
  101. // btnCancel
  102. //
  103. this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
  104. this.btnCancel.Location = new System.Drawing.Point(556, 245);
  105. this.btnCancel.Name = "btnCancel";
  106. this.btnCancel.Size = new System.Drawing.Size(158, 45);
  107. this.btnCancel.TabIndex = 7;
  108. this.btnCancel.Text = "取消(&C)";
  109. this.btnCancel.UseVisualStyleBackColor = true;
  110. this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
  111. //
  112. // notifyIcon
  113. //
  114. this.notifyIcon.ContextMenuStrip = this.contextMenuStrip;
  115. this.notifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon.Icon")));
  116. this.notifyIcon.Visible = true;
  117. this.notifyIcon.DoubleClick += new System.EventHandler(this.notifyIcon_DoubleClick);
  118. //
  119. // contextMenuStrip
  120. //
  121. this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  122. this.btnOpen,
  123. this.btnSetting,
  124. this.btnAbout,
  125. this.btnExit});
  126. this.contextMenuStrip.Name = "contextMenuStrip";
  127. this.contextMenuStrip.Size = new System.Drawing.Size(121, 92);
  128. //
  129. // btnOpen
  130. //
  131. this.btnOpen.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Bold);
  132. this.btnOpen.Name = "btnOpen";
  133. this.btnOpen.Size = new System.Drawing.Size(120, 22);
  134. this.btnOpen.Text = "打开(&O)";
  135. this.btnOpen.Click += new System.EventHandler(this.btnOpen_Click);
  136. //
  137. // btnSetting
  138. //
  139. this.btnSetting.Name = "btnSetting";
  140. this.btnSetting.Size = new System.Drawing.Size(120, 22);
  141. this.btnSetting.Text = "设置(&S)";
  142. this.btnSetting.Click += new System.EventHandler(this.btnSetting_Click);
  143. //
  144. // btnAbout
  145. //
  146. this.btnAbout.Name = "btnAbout";
  147. this.btnAbout.Size = new System.Drawing.Size(120, 22);
  148. this.btnAbout.Text = "关于(&A)";
  149. this.btnAbout.Click += new System.EventHandler(this.btnAbout_Click);
  150. //
  151. // btnExit
  152. //
  153. this.btnExit.Name = "btnExit";
  154. this.btnExit.Size = new System.Drawing.Size(120, 22);
  155. this.btnExit.Text = "退出(&E)";
  156. this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
  157. //
  158. // groupBox1
  159. //
  160. this.groupBox1.Controls.Add(this.cboImageQuality);
  161. this.groupBox1.Controls.Add(this.label4);
  162. this.groupBox1.Controls.Add(this.label2);
  163. this.groupBox1.Controls.Add(this.cboRecordScreen);
  164. this.groupBox1.Location = new System.Drawing.Point(34, 85);
  165. this.groupBox1.Name = "groupBox1";
  166. this.groupBox1.Size = new System.Drawing.Size(682, 132);
  167. this.groupBox1.TabIndex = 10;
  168. this.groupBox1.TabStop = false;
  169. this.groupBox1.Text = "记录屏幕";
  170. //
  171. // label4
  172. //
  173. this.label4.AutoSize = true;
  174. this.label4.Location = new System.Drawing.Point(14, 79);
  175. this.label4.Name = "label4";
  176. this.label4.Size = new System.Drawing.Size(53, 12);
  177. this.label4.TabIndex = 17;
  178. this.label4.Text = "图片质量";
  179. //
  180. // label2
  181. //
  182. this.label2.AutoSize = true;
  183. this.label2.Location = new System.Drawing.Point(15, 36);
  184. this.label2.Name = "label2";
  185. this.label2.Size = new System.Drawing.Size(53, 12);
  186. this.label2.TabIndex = 11;
  187. this.label2.Text = "留存时间";
  188. //
  189. // chkAutoRun
  190. //
  191. this.chkAutoRun.AutoSize = true;
  192. this.chkAutoRun.Location = new System.Drawing.Point(40, 255);
  193. this.chkAutoRun.Name = "chkAutoRun";
  194. this.chkAutoRun.Size = new System.Drawing.Size(114, 16);
  195. this.chkAutoRun.TabIndex = 11;
  196. this.chkAutoRun.Text = "开机自动启动(&A)";
  197. this.chkAutoRun.UseVisualStyleBackColor = true;
  198. //
  199. // cboImageQuality
  200. //
  201. this.cboImageQuality.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  202. this.cboImageQuality.FormattingEnabled = true;
  203. this.cboImageQuality.Items.AddRange(new object[] {
  204. "记录最近30天",
  205. "记录最近14天",
  206. "无限制记录",
  207. "不记录"});
  208. this.cboImageQuality.Location = new System.Drawing.Point(98, 76);
  209. this.cboImageQuality.Name = "cboImageQuality";
  210. this.cboImageQuality.Size = new System.Drawing.Size(121, 20);
  211. this.cboImageQuality.TabIndex = 20;
  212. //
  213. // FrmMain
  214. //
  215. this.AcceptButton = this.btnOK;
  216. this.CancelButton = this.btnCancel;
  217. this.ClientSize = new System.Drawing.Size(751, 320);
  218. this.Controls.Add(this.chkAutoRun);
  219. this.Controls.Add(this.groupBox1);
  220. this.Controls.Add(this.btnCancel);
  221. this.Controls.Add(this.btnOK);
  222. this.Controls.Add(this.btnDataPath);
  223. this.Controls.Add(this.label1);
  224. this.Controls.Add(this.txtDataPath);
  225. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
  226. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  227. this.MaximizeBox = false;
  228. this.MinimizeBox = false;
  229. this.Name = "FrmMain";
  230. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  231. this.Text = "设置";
  232. this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmMain_FormClosing);
  233. this.Load += new System.EventHandler(this.FrmMain_Load);
  234. this.Shown += new System.EventHandler(this.FrmMain_Shown);
  235. this.contextMenuStrip.ResumeLayout(false);
  236. this.groupBox1.ResumeLayout(false);
  237. this.groupBox1.PerformLayout();
  238. this.ResumeLayout(false);
  239. this.PerformLayout();
  240. }
  241. #endregion
  242. private System.Windows.Forms.TextBox txtDataPath;
  243. private System.Windows.Forms.Label label1;
  244. private System.Windows.Forms.Button btnDataPath;
  245. private System.Windows.Forms.ComboBox cboRecordScreen;
  246. private System.Windows.Forms.Button btnOK;
  247. private System.Windows.Forms.Button btnCancel;
  248. private System.Windows.Forms.NotifyIcon notifyIcon;
  249. private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
  250. private System.Windows.Forms.ToolStripMenuItem btnOpen;
  251. private System.Windows.Forms.ToolStripMenuItem btnSetting;
  252. private System.Windows.Forms.ToolStripMenuItem btnAbout;
  253. private System.Windows.Forms.ToolStripMenuItem btnExit;
  254. private System.Windows.Forms.GroupBox groupBox1;
  255. private System.Windows.Forms.Label label2;
  256. private System.Windows.Forms.Label label4;
  257. private System.Windows.Forms.CheckBox chkAutoRun;
  258. private System.Windows.Forms.ComboBox cboImageQuality;
  259. }
  260. }