You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

366 lines
19 KiB

  1. namespace ManagementSystem
  2. {
  3. partial class AccountingEntries
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, 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 Form Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
  29. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
  30. this.label1 = new System.Windows.Forms.Label();
  31. this.txtAccountingID = new System.Windows.Forms.TextBox();
  32. this.label2 = new System.Windows.Forms.Label();
  33. this.dgvDataMaintain = new System.Windows.Forms.DataGridView();
  34. this.cAdd = new System.Windows.Forms.DataGridViewButtonColumn();
  35. this.cAccountingSubID = new System.Windows.Forms.DataGridViewTextBoxColumn();
  36. this.cAccountingSubName = new System.Windows.Forms.DataGridViewTextBoxColumn();
  37. this.cMemo = new System.Windows.Forms.DataGridViewTextBoxColumn();
  38. this.cDebit = new System.Windows.Forms.DataGridViewTextBoxColumn();
  39. this.cCredit = new System.Windows.Forms.DataGridViewTextBoxColumn();
  40. this.cAddProject = new System.Windows.Forms.DataGridViewButtonColumn();
  41. this.cProjectName = new System.Windows.Forms.DataGridViewTextBoxColumn();
  42. this.cProjectID = new System.Windows.Forms.DataGridViewTextBoxColumn();
  43. this.cClosedAccounting = new System.Windows.Forms.DataGridViewTextBoxColumn();
  44. this.btnSave = new System.Windows.Forms.Button();
  45. this.btnClose = new System.Windows.Forms.Button();
  46. this.dpAccountingDate = new System.Windows.Forms.DateTimePicker();
  47. this.btnCancle = new System.Windows.Forms.Button();
  48. this.lbDebit = new System.Windows.Forms.Label();
  49. this.lbCredit = new System.Windows.Forms.Label();
  50. this.label3 = new System.Windows.Forms.Label();
  51. this.btnGetProject = new System.Windows.Forms.Button();
  52. this.txtProjectNumber = new System.Windows.Forms.TextBox();
  53. this.txtProjectName = new System.Windows.Forms.TextBox();
  54. this.label4 = new System.Windows.Forms.Label();
  55. ((System.ComponentModel.ISupportInitialize)(this.dgvDataMaintain)).BeginInit();
  56. this.SuspendLayout();
  57. //
  58. // label1
  59. //
  60. this.label1.AutoSize = true;
  61. this.label1.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
  62. this.label1.Location = new System.Drawing.Point(15, 25);
  63. this.label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
  64. this.label1.Name = "label1";
  65. this.label1.Size = new System.Drawing.Size(89, 20);
  66. this.label1.TabIndex = 0;
  67. this.label1.Text = "傳票編號:";
  68. //
  69. // txtAccountingID
  70. //
  71. this.txtAccountingID.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
  72. this.txtAccountingID.Location = new System.Drawing.Point(114, 20);
  73. this.txtAccountingID.Margin = new System.Windows.Forms.Padding(5);
  74. this.txtAccountingID.Name = "txtAccountingID";
  75. this.txtAccountingID.ReadOnly = true;
  76. this.txtAccountingID.Size = new System.Drawing.Size(246, 29);
  77. this.txtAccountingID.TabIndex = 1;
  78. //
  79. // label2
  80. //
  81. this.label2.AutoSize = true;
  82. this.label2.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
  83. this.label2.Location = new System.Drawing.Point(405, 25);
  84. this.label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
  85. this.label2.Name = "label2";
  86. this.label2.Size = new System.Drawing.Size(89, 20);
  87. this.label2.TabIndex = 0;
  88. this.label2.Text = "傳票日期:";
  89. //
  90. // dgvDataMaintain
  91. //
  92. this.dgvDataMaintain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  93. | System.Windows.Forms.AnchorStyles.Left)
  94. | System.Windows.Forms.AnchorStyles.Right)));
  95. this.dgvDataMaintain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  96. this.dgvDataMaintain.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  97. this.cAdd,
  98. this.cAccountingSubID,
  99. this.cAccountingSubName,
  100. this.cMemo,
  101. this.cDebit,
  102. this.cCredit,
  103. this.cAddProject,
  104. this.cProjectName,
  105. this.cProjectID,
  106. this.cClosedAccounting});
  107. this.dgvDataMaintain.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
  108. this.dgvDataMaintain.Location = new System.Drawing.Point(20, 83);
  109. this.dgvDataMaintain.Margin = new System.Windows.Forms.Padding(5);
  110. this.dgvDataMaintain.Name = "dgvDataMaintain";
  111. this.dgvDataMaintain.RowTemplate.Height = 24;
  112. this.dgvDataMaintain.Size = new System.Drawing.Size(1303, 391);
  113. this.dgvDataMaintain.TabIndex = 11;
  114. this.dgvDataMaintain.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dgvDataMaintain_RowValidating);
  115. this.dgvDataMaintain.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDataMaintain_CellContentClick);
  116. this.dgvDataMaintain.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDataMaintain_CellEndEdit);
  117. this.dgvDataMaintain.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDataMaintain_CellValidated);
  118. this.dgvDataMaintain.RowValidating += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dgvDataMaintain_RowValidating);
  119. //
  120. // cAdd
  121. //
  122. this.cAdd.HeaderText = "科目…";
  123. this.cAdd.Name = "cAdd";
  124. this.cAdd.Resizable = System.Windows.Forms.DataGridViewTriState.True;
  125. this.cAdd.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
  126. this.cAdd.Text = "科目…";
  127. this.cAdd.Width = 60;
  128. //
  129. // cAccountingSubID
  130. //
  131. this.cAccountingSubID.HeaderText = "科目代號";
  132. this.cAccountingSubID.Name = "cAccountingSubID";
  133. //
  134. // cAccountingSubName
  135. //
  136. this.cAccountingSubName.HeaderText = "科目名稱";
  137. this.cAccountingSubName.Name = "cAccountingSubName";
  138. this.cAccountingSubName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
  139. this.cAccountingSubName.Width = 200;
  140. //
  141. // cMemo
  142. //
  143. this.cMemo.HeaderText = "摘要";
  144. this.cMemo.Name = "cMemo";
  145. this.cMemo.Width = 400;
  146. //
  147. // cDebit
  148. //
  149. dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
  150. dataGridViewCellStyle1.Format = "N0";
  151. dataGridViewCellStyle1.NullValue = null;
  152. this.cDebit.DefaultCellStyle = dataGridViewCellStyle1;
  153. this.cDebit.HeaderText = "借方金額";
  154. this.cDebit.Name = "cDebit";
  155. this.cDebit.Width = 150;
  156. //
  157. // cCredit
  158. //
  159. dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
  160. dataGridViewCellStyle2.Format = "N0";
  161. dataGridViewCellStyle2.NullValue = null;
  162. this.cCredit.DefaultCellStyle = dataGridViewCellStyle2;
  163. this.cCredit.HeaderText = "貸方金額";
  164. this.cCredit.Name = "cCredit";
  165. this.cCredit.Width = 150;
  166. //
  167. // cAddProject
  168. //
  169. this.cAddProject.HeaderText = "專案…";
  170. this.cAddProject.Name = "cAddProject";
  171. this.cAddProject.Text = "專案…";
  172. this.cAddProject.Width = 60;
  173. //
  174. // cProjectName
  175. //
  176. this.cProjectName.HeaderText = "專案名稱";
  177. this.cProjectName.Name = "cProjectName";
  178. this.cProjectName.Width = 200;
  179. //
  180. // cProjectID
  181. //
  182. this.cProjectID.HeaderText = "專案代碼";
  183. this.cProjectID.Name = "cProjectID";
  184. this.cProjectID.Visible = false;
  185. //
  186. // cClosedAccounting
  187. //
  188. this.cClosedAccounting.HeaderText = "關帳分錄";
  189. this.cClosedAccounting.Name = "cClosedAccounting";
  190. this.cClosedAccounting.Visible = false;
  191. //
  192. // btnSave
  193. //
  194. this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  195. this.btnSave.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
  196. this.btnSave.Location = new System.Drawing.Point(1036, 484);
  197. this.btnSave.Margin = new System.Windows.Forms.Padding(5);
  198. this.btnSave.Name = "btnSave";
  199. this.btnSave.Size = new System.Drawing.Size(89, 37);
  200. this.btnSave.TabIndex = 12;
  201. this.btnSave.Text = "儲 存";
  202. this.btnSave.UseVisualStyleBackColor = true;
  203. this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
  204. //
  205. // btnClose
  206. //
  207. this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  208. this.btnClose.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
  209. this.btnClose.Location = new System.Drawing.Point(1234, 484);
  210. this.btnClose.Margin = new System.Windows.Forms.Padding(5);
  211. this.btnClose.Name = "btnClose";
  212. this.btnClose.Size = new System.Drawing.Size(89, 37);
  213. this.btnClose.TabIndex = 12;
  214. this.btnClose.Text = "關 閉";
  215. this.btnClose.UseVisualStyleBackColor = true;
  216. this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
  217. //
  218. // dpAccountingDate
  219. //
  220. this.dpAccountingDate.CustomFormat = "yyyy/MM/dd HH:mm:ss";
  221. this.dpAccountingDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
  222. this.dpAccountingDate.Location = new System.Drawing.Point(502, 20);
  223. this.dpAccountingDate.Name = "dpAccountingDate";
  224. this.dpAccountingDate.Size = new System.Drawing.Size(197, 29);
  225. this.dpAccountingDate.TabIndex = 2;
  226. //
  227. // btnCancle
  228. //
  229. this.btnCancle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  230. this.btnCancle.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
  231. this.btnCancle.Location = new System.Drawing.Point(1135, 484);
  232. this.btnCancle.Margin = new System.Windows.Forms.Padding(5);
  233. this.btnCancle.Name = "btnCancle";
  234. this.btnCancle.Size = new System.Drawing.Size(89, 37);
  235. this.btnCancle.TabIndex = 12;
  236. this.btnCancle.Text = "取 消";
  237. this.btnCancle.UseVisualStyleBackColor = true;
  238. this.btnCancle.Click += new System.EventHandler(this.btnCancle_Click);
  239. //
  240. // lbDebit
  241. //
  242. this.lbDebit.AutoSize = true;
  243. this.lbDebit.Location = new System.Drawing.Point(793, 58);
  244. this.lbDebit.Name = "lbDebit";
  245. this.lbDebit.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
  246. this.lbDebit.Size = new System.Drawing.Size(0, 20);
  247. this.lbDebit.TabIndex = 13;
  248. //
  249. // lbCredit
  250. //
  251. this.lbCredit.AutoSize = true;
  252. this.lbCredit.Location = new System.Drawing.Point(945, 58);
  253. this.lbCredit.Name = "lbCredit";
  254. this.lbCredit.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
  255. this.lbCredit.Size = new System.Drawing.Size(0, 20);
  256. this.lbCredit.TabIndex = 14;
  257. this.lbCredit.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  258. //
  259. // label3
  260. //
  261. this.label3.AutoSize = true;
  262. this.label3.Location = new System.Drawing.Point(733, 58);
  263. this.label3.Name = "label3";
  264. this.label3.Size = new System.Drawing.Size(57, 20);
  265. this.label3.TabIndex = 15;
  266. this.label3.Text = "小計:";
  267. //
  268. // btnGetProject
  269. //
  270. this.btnGetProject.Location = new System.Drawing.Point(1131, 22);
  271. this.btnGetProject.Name = "btnGetProject";
  272. this.btnGetProject.Size = new System.Drawing.Size(37, 29);
  273. this.btnGetProject.TabIndex = 23;
  274. this.btnGetProject.Text = "...";
  275. this.btnGetProject.UseVisualStyleBackColor = true;
  276. this.btnGetProject.Click += new System.EventHandler(this.btnGetProject_Click);
  277. //
  278. // txtProjectNumber
  279. //
  280. this.txtProjectNumber.Location = new System.Drawing.Point(1174, 21);
  281. this.txtProjectNumber.Name = "txtProjectNumber";
  282. this.txtProjectNumber.Size = new System.Drawing.Size(60, 29);
  283. this.txtProjectNumber.TabIndex = 22;
  284. this.txtProjectNumber.Visible = false;
  285. this.txtProjectNumber.WordWrap = false;
  286. //
  287. // txtProjectName
  288. //
  289. this.txtProjectName.Location = new System.Drawing.Point(858, 22);
  290. this.txtProjectName.Name = "txtProjectName";
  291. this.txtProjectName.Size = new System.Drawing.Size(267, 29);
  292. this.txtProjectName.TabIndex = 21;
  293. //
  294. // label4
  295. //
  296. this.label4.AutoSize = true;
  297. this.label4.Location = new System.Drawing.Point(763, 26);
  298. this.label4.Name = "label4";
  299. this.label4.Size = new System.Drawing.Size(89, 20);
  300. this.label4.TabIndex = 20;
  301. this.label4.Text = "專案名稱:";
  302. //
  303. // AccountingEntries
  304. //
  305. this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 20F);
  306. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  307. this.ClientSize = new System.Drawing.Size(1343, 538);
  308. this.Controls.Add(this.btnGetProject);
  309. this.Controls.Add(this.txtProjectNumber);
  310. this.Controls.Add(this.txtProjectName);
  311. this.Controls.Add(this.label4);
  312. this.Controls.Add(this.label3);
  313. this.Controls.Add(this.lbCredit);
  314. this.Controls.Add(this.lbDebit);
  315. this.Controls.Add(this.dpAccountingDate);
  316. this.Controls.Add(this.btnClose);
  317. this.Controls.Add(this.btnCancle);
  318. this.Controls.Add(this.btnSave);
  319. this.Controls.Add(this.dgvDataMaintain);
  320. this.Controls.Add(this.txtAccountingID);
  321. this.Controls.Add(this.label2);
  322. this.Controls.Add(this.label1);
  323. this.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
  324. this.Margin = new System.Windows.Forms.Padding(5);
  325. this.MaximizeBox = false;
  326. this.MinimizeBox = false;
  327. this.Name = "AccountingEntries";
  328. this.Text = "分錄維護";
  329. this.Load += new System.EventHandler(this.AccountingEntries_Load);
  330. ((System.ComponentModel.ISupportInitialize)(this.dgvDataMaintain)).EndInit();
  331. this.ResumeLayout(false);
  332. this.PerformLayout();
  333. }
  334. #endregion
  335. private System.Windows.Forms.Label label1;
  336. private System.Windows.Forms.TextBox txtAccountingID;
  337. private System.Windows.Forms.Label label2;
  338. private System.Windows.Forms.Button btnSave;
  339. private System.Windows.Forms.Button btnClose;
  340. private System.Windows.Forms.Button btnCancle;
  341. public System.Windows.Forms.DataGridView dgvDataMaintain;
  342. private System.Windows.Forms.Label lbDebit;
  343. private System.Windows.Forms.Label lbCredit;
  344. private System.Windows.Forms.Label label3;
  345. public System.Windows.Forms.DateTimePicker dpAccountingDate;
  346. private System.Windows.Forms.Button btnGetProject;
  347. public System.Windows.Forms.TextBox txtProjectNumber;
  348. public System.Windows.Forms.TextBox txtProjectName;
  349. private System.Windows.Forms.Label label4;
  350. private System.Windows.Forms.DataGridViewButtonColumn cAdd;
  351. private System.Windows.Forms.DataGridViewTextBoxColumn cAccountingSubID;
  352. private System.Windows.Forms.DataGridViewTextBoxColumn cAccountingSubName;
  353. private System.Windows.Forms.DataGridViewTextBoxColumn cMemo;
  354. private System.Windows.Forms.DataGridViewTextBoxColumn cDebit;
  355. private System.Windows.Forms.DataGridViewTextBoxColumn cCredit;
  356. private System.Windows.Forms.DataGridViewButtonColumn cAddProject;
  357. private System.Windows.Forms.DataGridViewTextBoxColumn cProjectName;
  358. private System.Windows.Forms.DataGridViewTextBoxColumn cProjectID;
  359. private System.Windows.Forms.DataGridViewTextBoxColumn cClosedAccounting;
  360. }
  361. }