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.
367 lines
19 KiB
367 lines
19 KiB
namespace ManagementSystem
|
|
{
|
|
partial class AccountingEntries
|
|
{
|
|
/// <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()
|
|
{
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.txtAccountingID = new System.Windows.Forms.TextBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.dgvDataMaintain = new System.Windows.Forms.DataGridView();
|
|
this.cAdd = new System.Windows.Forms.DataGridViewButtonColumn();
|
|
this.cAccountingSubID = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.cAccountingSubName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.cMemo = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.cDebit = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.cCredit = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.cAddProject = new System.Windows.Forms.DataGridViewButtonColumn();
|
|
this.cProjectName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.cProjectID = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.cClosedAccounting = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.btnSave = new System.Windows.Forms.Button();
|
|
this.btnClose = new System.Windows.Forms.Button();
|
|
this.dpAccountingDate = new System.Windows.Forms.DateTimePicker();
|
|
this.btnCancle = new System.Windows.Forms.Button();
|
|
this.lbDebit = new System.Windows.Forms.Label();
|
|
this.lbCredit = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.btnGetProject = new System.Windows.Forms.Button();
|
|
this.txtProjectNumber = new System.Windows.Forms.TextBox();
|
|
this.txtProjectName = new System.Windows.Forms.TextBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvDataMaintain)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
|
|
this.label1.Location = new System.Drawing.Point(15, 25);
|
|
this.label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(89, 20);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "傳票編號:";
|
|
//
|
|
// txtAccountingID
|
|
//
|
|
this.txtAccountingID.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
|
|
this.txtAccountingID.Location = new System.Drawing.Point(114, 20);
|
|
this.txtAccountingID.Margin = new System.Windows.Forms.Padding(5);
|
|
this.txtAccountingID.Name = "txtAccountingID";
|
|
this.txtAccountingID.ReadOnly = true;
|
|
this.txtAccountingID.Size = new System.Drawing.Size(246, 29);
|
|
this.txtAccountingID.TabIndex = 1;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
|
|
this.label2.Location = new System.Drawing.Point(405, 25);
|
|
this.label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(89, 20);
|
|
this.label2.TabIndex = 0;
|
|
this.label2.Text = "傳票日期:";
|
|
//
|
|
// dgvDataMaintain
|
|
//
|
|
this.dgvDataMaintain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.dgvDataMaintain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dgvDataMaintain.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.cAdd,
|
|
this.cAccountingSubID,
|
|
this.cAccountingSubName,
|
|
this.cMemo,
|
|
this.cDebit,
|
|
this.cCredit,
|
|
this.cAddProject,
|
|
this.cProjectName,
|
|
this.cProjectID,
|
|
this.cClosedAccounting});
|
|
this.dgvDataMaintain.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
|
|
this.dgvDataMaintain.Location = new System.Drawing.Point(20, 83);
|
|
this.dgvDataMaintain.Margin = new System.Windows.Forms.Padding(5);
|
|
this.dgvDataMaintain.Name = "dgvDataMaintain";
|
|
this.dgvDataMaintain.RowTemplate.Height = 24;
|
|
this.dgvDataMaintain.Size = new System.Drawing.Size(1303, 391);
|
|
this.dgvDataMaintain.TabIndex = 11;
|
|
this.dgvDataMaintain.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dgvDataMaintain_RowValidating);
|
|
this.dgvDataMaintain.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDataMaintain_CellContentClick);
|
|
this.dgvDataMaintain.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDataMaintain_CellEndEdit);
|
|
this.dgvDataMaintain.CellValidated += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDataMaintain_CellValidated);
|
|
this.dgvDataMaintain.RowValidating += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dgvDataMaintain_RowValidating);
|
|
//
|
|
// cAdd
|
|
//
|
|
this.cAdd.HeaderText = "科目…";
|
|
this.cAdd.Name = "cAdd";
|
|
this.cAdd.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.cAdd.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
|
this.cAdd.Text = "科目…";
|
|
this.cAdd.Width = 60;
|
|
//
|
|
// cAccountingSubID
|
|
//
|
|
this.cAccountingSubID.HeaderText = "科目代號";
|
|
this.cAccountingSubID.Name = "cAccountingSubID";
|
|
//
|
|
// cAccountingSubName
|
|
//
|
|
this.cAccountingSubName.HeaderText = "科目名稱";
|
|
this.cAccountingSubName.Name = "cAccountingSubName";
|
|
this.cAccountingSubName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.cAccountingSubName.Width = 200;
|
|
//
|
|
// cMemo
|
|
//
|
|
this.cMemo.HeaderText = "摘要";
|
|
this.cMemo.Name = "cMemo";
|
|
this.cMemo.Width = 400;
|
|
//
|
|
// cDebit
|
|
//
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
dataGridViewCellStyle1.Format = "N0";
|
|
dataGridViewCellStyle1.NullValue = null;
|
|
this.cDebit.DefaultCellStyle = dataGridViewCellStyle1;
|
|
this.cDebit.HeaderText = "借方金額";
|
|
this.cDebit.Name = "cDebit";
|
|
this.cDebit.Width = 150;
|
|
//
|
|
// cCredit
|
|
//
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
dataGridViewCellStyle2.Format = "N0";
|
|
dataGridViewCellStyle2.NullValue = null;
|
|
this.cCredit.DefaultCellStyle = dataGridViewCellStyle2;
|
|
this.cCredit.HeaderText = "貸方金額";
|
|
this.cCredit.Name = "cCredit";
|
|
this.cCredit.Width = 150;
|
|
//
|
|
// cAddProject
|
|
//
|
|
this.cAddProject.HeaderText = "專案…";
|
|
this.cAddProject.Name = "cAddProject";
|
|
this.cAddProject.Text = "專案…";
|
|
this.cAddProject.Width = 60;
|
|
//
|
|
// cProjectName
|
|
//
|
|
this.cProjectName.HeaderText = "專案名稱";
|
|
this.cProjectName.Name = "cProjectName";
|
|
this.cProjectName.Width = 200;
|
|
//
|
|
// cProjectID
|
|
//
|
|
this.cProjectID.HeaderText = "專案代碼";
|
|
this.cProjectID.Name = "cProjectID";
|
|
this.cProjectID.Visible = false;
|
|
//
|
|
// cClosedAccounting
|
|
//
|
|
this.cClosedAccounting.HeaderText = "關帳分錄";
|
|
this.cClosedAccounting.Name = "cClosedAccounting";
|
|
this.cClosedAccounting.Visible = false;
|
|
//
|
|
// btnSave
|
|
//
|
|
this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnSave.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
|
|
this.btnSave.Location = new System.Drawing.Point(1036, 484);
|
|
this.btnSave.Margin = new System.Windows.Forms.Padding(5);
|
|
this.btnSave.Name = "btnSave";
|
|
this.btnSave.Size = new System.Drawing.Size(89, 37);
|
|
this.btnSave.TabIndex = 12;
|
|
this.btnSave.Text = "儲 存";
|
|
this.btnSave.UseVisualStyleBackColor = true;
|
|
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
|
//
|
|
// btnClose
|
|
//
|
|
this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnClose.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
|
|
this.btnClose.Location = new System.Drawing.Point(1234, 484);
|
|
this.btnClose.Margin = new System.Windows.Forms.Padding(5);
|
|
this.btnClose.Name = "btnClose";
|
|
this.btnClose.Size = new System.Drawing.Size(89, 37);
|
|
this.btnClose.TabIndex = 12;
|
|
this.btnClose.Text = "關 閉";
|
|
this.btnClose.UseVisualStyleBackColor = true;
|
|
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
|
|
//
|
|
// dpAccountingDate
|
|
//
|
|
this.dpAccountingDate.CustomFormat = "yyyy/MM/dd HH:mm:ss";
|
|
this.dpAccountingDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
|
this.dpAccountingDate.Location = new System.Drawing.Point(502, 20);
|
|
this.dpAccountingDate.Name = "dpAccountingDate";
|
|
this.dpAccountingDate.Size = new System.Drawing.Size(197, 29);
|
|
this.dpAccountingDate.TabIndex = 2;
|
|
//
|
|
// btnCancle
|
|
//
|
|
this.btnCancle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnCancle.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
|
|
this.btnCancle.Location = new System.Drawing.Point(1135, 484);
|
|
this.btnCancle.Margin = new System.Windows.Forms.Padding(5);
|
|
this.btnCancle.Name = "btnCancle";
|
|
this.btnCancle.Size = new System.Drawing.Size(89, 37);
|
|
this.btnCancle.TabIndex = 12;
|
|
this.btnCancle.Text = "取 消";
|
|
this.btnCancle.UseVisualStyleBackColor = true;
|
|
this.btnCancle.Click += new System.EventHandler(this.btnCancle_Click);
|
|
//
|
|
// lbDebit
|
|
//
|
|
this.lbDebit.AutoSize = true;
|
|
this.lbDebit.Location = new System.Drawing.Point(793, 58);
|
|
this.lbDebit.Name = "lbDebit";
|
|
this.lbDebit.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
|
this.lbDebit.Size = new System.Drawing.Size(0, 20);
|
|
this.lbDebit.TabIndex = 13;
|
|
//
|
|
// lbCredit
|
|
//
|
|
this.lbCredit.AutoSize = true;
|
|
this.lbCredit.Location = new System.Drawing.Point(945, 58);
|
|
this.lbCredit.Name = "lbCredit";
|
|
this.lbCredit.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
|
this.lbCredit.Size = new System.Drawing.Size(0, 20);
|
|
this.lbCredit.TabIndex = 14;
|
|
this.lbCredit.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(733, 58);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(57, 20);
|
|
this.label3.TabIndex = 15;
|
|
this.label3.Text = "小計:";
|
|
//
|
|
// btnGetProject
|
|
//
|
|
this.btnGetProject.Location = new System.Drawing.Point(1131, 22);
|
|
this.btnGetProject.Name = "btnGetProject";
|
|
this.btnGetProject.Size = new System.Drawing.Size(37, 29);
|
|
this.btnGetProject.TabIndex = 23;
|
|
this.btnGetProject.Text = "...";
|
|
this.btnGetProject.UseVisualStyleBackColor = true;
|
|
this.btnGetProject.Click += new System.EventHandler(this.btnGetProject_Click);
|
|
//
|
|
// txtProjectNumber
|
|
//
|
|
this.txtProjectNumber.Location = new System.Drawing.Point(1174, 21);
|
|
this.txtProjectNumber.Name = "txtProjectNumber";
|
|
this.txtProjectNumber.Size = new System.Drawing.Size(60, 29);
|
|
this.txtProjectNumber.TabIndex = 22;
|
|
this.txtProjectNumber.Visible = false;
|
|
this.txtProjectNumber.WordWrap = false;
|
|
//
|
|
// txtProjectName
|
|
//
|
|
this.txtProjectName.Location = new System.Drawing.Point(858, 22);
|
|
this.txtProjectName.Name = "txtProjectName";
|
|
this.txtProjectName.Size = new System.Drawing.Size(267, 29);
|
|
this.txtProjectName.TabIndex = 21;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(763, 26);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(89, 20);
|
|
this.label4.TabIndex = 20;
|
|
this.label4.Text = "專案名稱:";
|
|
//
|
|
// AccountingEntries
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 20F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(1343, 538);
|
|
this.Controls.Add(this.btnGetProject);
|
|
this.Controls.Add(this.txtProjectNumber);
|
|
this.Controls.Add(this.txtProjectName);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.lbCredit);
|
|
this.Controls.Add(this.lbDebit);
|
|
this.Controls.Add(this.dpAccountingDate);
|
|
this.Controls.Add(this.btnClose);
|
|
this.Controls.Add(this.btnCancle);
|
|
this.Controls.Add(this.btnSave);
|
|
this.Controls.Add(this.dgvDataMaintain);
|
|
this.Controls.Add(this.txtAccountingID);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.label1);
|
|
this.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
|
|
this.Margin = new System.Windows.Forms.Padding(5);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "AccountingEntries";
|
|
this.Text = "分錄維護";
|
|
this.Load += new System.EventHandler(this.AccountingEntries_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvDataMaintain)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TextBox txtAccountingID;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Button btnSave;
|
|
private System.Windows.Forms.Button btnClose;
|
|
private System.Windows.Forms.Button btnCancle;
|
|
public System.Windows.Forms.DataGridView dgvDataMaintain;
|
|
private System.Windows.Forms.Label lbDebit;
|
|
private System.Windows.Forms.Label lbCredit;
|
|
private System.Windows.Forms.Label label3;
|
|
public System.Windows.Forms.DateTimePicker dpAccountingDate;
|
|
private System.Windows.Forms.Button btnGetProject;
|
|
public System.Windows.Forms.TextBox txtProjectNumber;
|
|
public System.Windows.Forms.TextBox txtProjectName;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.DataGridViewButtonColumn cAdd;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn cAccountingSubID;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn cAccountingSubName;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn cMemo;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn cDebit;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn cCredit;
|
|
private System.Windows.Forms.DataGridViewButtonColumn cAddProject;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn cProjectName;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn cProjectID;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn cClosedAccounting;
|
|
}
|
|
}
|