=====* ISBN 조회 *=====

Yes24 - 바뀐 예스 양식에 따라 수정

=====* unimarc *=====
- 목록등록 -
머리글에 맞춰 숫자 입력기능 추가

- 목록집계 -
거래처명 엔터시 검색 추가
추가정보 표출창에 거래처 정보가 출력됨

- 송금내역 -
엑셀 반출작업 완료

- 입고작업 -
gird3 isbn찍으면 책검색이 되어 자동으로 해당 isbn 책이 출력됨
This commit is contained in:
SeungHo Yang
2021-07-15 17:04:34 +09:00
parent a93843bf5f
commit 6d1c7d8fe3
57 changed files with 1123 additions and 1026 deletions

View File

@@ -28,9 +28,21 @@
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.chkbox = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.list_date = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.date_pay = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.purchase = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bank_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bank_code = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bank_num = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bank_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.send_money = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.charge = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.etc = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.label9 = new System.Windows.Forms.Label();
this.start_Date = new System.Windows.Forms.DateTimePicker();
this.end_Date = new System.Windows.Forms.DateTimePicker();
@@ -59,18 +71,7 @@
this.label8 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.tb_etc = new System.Windows.Forms.RichTextBox();
this.idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.chkbox = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.list_date = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.date_pay = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.purchase = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bank_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bank_code = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bank_num = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bank_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.send_money = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.charge = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.etc = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.btn_close = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
@@ -78,14 +79,14 @@
//
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle3.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.idx,
@@ -100,14 +101,14 @@
this.send_money,
this.charge,
this.etc});
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle2;
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle4.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle4;
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
this.dataGridView1.Location = new System.Drawing.Point(12, 38);
this.dataGridView1.Name = "dataGridView1";
@@ -119,6 +120,77 @@
this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
this.dataGridView1.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.dataGridView1_CellPainting);
//
// idx
//
this.idx.HeaderText = "idx";
this.idx.Name = "idx";
this.idx.Visible = false;
this.idx.Width = 50;
//
// chkbox
//
this.chkbox.HeaderText = "";
this.chkbox.Name = "chkbox";
this.chkbox.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.chkbox.Width = 40;
//
// list_date
//
this.list_date.HeaderText = "등록일자";
this.list_date.Name = "list_date";
this.list_date.Width = 85;
//
// date_pay
//
this.date_pay.HeaderText = "결제일자";
this.date_pay.Name = "date_pay";
this.date_pay.Width = 85;
//
// purchase
//
this.purchase.HeaderText = "거래처";
this.purchase.Name = "purchase";
//
// bank_comp
//
this.bank_comp.HeaderText = "은행명";
this.bank_comp.Name = "bank_comp";
//
// bank_code
//
this.bank_code.HeaderText = "코드";
this.bank_code.Name = "bank_code";
this.bank_code.Width = 40;
//
// bank_num
//
this.bank_num.HeaderText = "계좌번호";
this.bank_num.Name = "bank_num";
this.bank_num.Width = 140;
//
// bank_name
//
this.bank_name.HeaderText = "예금주";
this.bank_name.Name = "bank_name";
this.bank_name.Width = 70;
//
// send_money
//
this.send_money.HeaderText = "송금금액";
this.send_money.Name = "send_money";
//
// charge
//
this.charge.HeaderText = "등록자";
this.charge.Name = "charge";
this.charge.Width = 70;
//
// etc
//
this.etc.HeaderText = "비고";
this.etc.Name = "etc";
this.etc.Width = 150;
//
// label9
//
this.label9.AutoSize = true;
@@ -365,82 +437,22 @@
this.tb_etc.TabIndex = 34;
this.tb_etc.Text = "";
//
// idx
// btn_close
//
this.idx.HeaderText = "idx";
this.idx.Name = "idx";
this.idx.Visible = false;
this.idx.Width = 50;
//
// chkbox
//
this.chkbox.HeaderText = "";
this.chkbox.Name = "chkbox";
this.chkbox.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.chkbox.Width = 40;
//
// list_date
//
this.list_date.HeaderText = "등록일자";
this.list_date.Name = "list_date";
this.list_date.Width = 85;
//
// date_pay
//
this.date_pay.HeaderText = "결제일자";
this.date_pay.Name = "date_pay";
this.date_pay.Width = 85;
//
// purchase
//
this.purchase.HeaderText = "거래처";
this.purchase.Name = "purchase";
//
// bank_comp
//
this.bank_comp.HeaderText = "은행명";
this.bank_comp.Name = "bank_comp";
//
// bank_code
//
this.bank_code.HeaderText = "코드";
this.bank_code.Name = "bank_code";
this.bank_code.Width = 40;
//
// bank_num
//
this.bank_num.HeaderText = "계좌번호";
this.bank_num.Name = "bank_num";
this.bank_num.Width = 140;
//
// bank_name
//
this.bank_name.HeaderText = "예금주";
this.bank_name.Name = "bank_name";
this.bank_name.Width = 70;
//
// send_money
//
this.send_money.HeaderText = "송금금액";
this.send_money.Name = "send_money";
//
// charge
//
this.charge.HeaderText = "등록자";
this.charge.Name = "charge";
this.charge.Width = 70;
//
// etc
//
this.etc.HeaderText = "비고";
this.etc.Name = "etc";
this.etc.Width = 150;
this.btn_close.Location = new System.Drawing.Point(741, 9);
this.btn_close.Name = "btn_close";
this.btn_close.Size = new System.Drawing.Size(75, 23);
this.btn_close.TabIndex = 55;
this.btn_close.Text = "닫 기";
this.btn_close.UseVisualStyleBackColor = true;
this.btn_close.Click += new System.EventHandler(this.btn_close_Click);
//
// Remit_reg
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1342, 430);
this.Controls.Add(this.btn_close);
this.Controls.Add(this.tb_etc);
this.Controls.Add(this.label10);
this.Controls.Add(this.label8);
@@ -521,5 +533,6 @@
private System.Windows.Forms.DataGridViewTextBoxColumn send_money;
private System.Windows.Forms.DataGridViewTextBoxColumn charge;
private System.Windows.Forms.DataGridViewTextBoxColumn etc;
private System.Windows.Forms.Button btn_close;
}
}

View File

@@ -135,8 +135,17 @@ namespace WindowsFormsApp1.Account
}
private void btn_Excel_Click(object sender, EventArgs e)
{
Skill_Grid sg = new Skill_Grid();
sg.ExportToExcel(dataGridView1);
Excel_text et = new Excel_text();
// 은행코드 계좌번호 빈칸 금액 예금주
string[,] inputExcel = new string[dataGridView1.RowCount, 5];
for (int a = 0; a < dataGridView1.RowCount; a++)
{
inputExcel[a, 0] = dataGridView1.Rows[a].Cells["bank_code"].Value.ToString();
inputExcel[a, 1] = dataGridView1.Rows[a].Cells["bank_num"].Value.ToString();
inputExcel[a, 3] = dataGridView1.Rows[a].Cells["send_money"].Value.ToString();
inputExcel[a, 4] = dataGridView1.Rows[a].Cells["bank_name"].Value.ToString();
}
et.Mk_Excel(inputExcel);
}
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
@@ -163,5 +172,10 @@ namespace WindowsFormsApp1.Account
tb_etc.Text = dataGridView1.Rows[row].Cells["etc"].Value.ToString();
}
}
private void btn_close_Click(object sender, EventArgs e)
{
Close();
}
}
}

View File

@@ -66,6 +66,7 @@
this.label9 = new System.Windows.Forms.Label();
this.list_Date = new System.Windows.Forms.DateTimePicker();
this.label1 = new System.Windows.Forms.Label();
this.btn_close = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
@@ -211,6 +212,7 @@
this.btn_excel.TabIndex = 16;
this.btn_excel.Text = "엑 셀";
this.btn_excel.UseVisualStyleBackColor = true;
this.btn_excel.Click += new System.EventHandler(this.btn_excel_Click);
//
// btn_save
//
@@ -386,11 +388,22 @@
this.label1.TabIndex = 32;
this.label1.Text = "등록일자";
//
// btn_close
//
this.btn_close.Location = new System.Drawing.Point(755, 223);
this.btn_close.Name = "btn_close";
this.btn_close.Size = new System.Drawing.Size(75, 23);
this.btn_close.TabIndex = 54;
this.btn_close.Text = "닫 기";
this.btn_close.UseVisualStyleBackColor = true;
this.btn_close.Click += new System.EventHandler(this.btn_close_Click);
//
// Remit_reg2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(895, 423);
this.Controls.Add(this.btn_close);
this.Controls.Add(this.cb_remunerate);
this.Controls.Add(this.btn_delete);
this.Controls.Add(this.dataGridView1);
@@ -465,5 +478,6 @@
private System.Windows.Forms.DataGridViewTextBoxColumn send_money;
private System.Windows.Forms.DataGridViewTextBoxColumn date_pay;
private System.Windows.Forms.DataGridViewTextBoxColumn etc;
private System.Windows.Forms.Button btn_close;
}
}

View File

@@ -9,6 +9,7 @@ using System.Threading.Tasks;
using System.Windows.Forms;
using System.Text.RegularExpressions;
using WindowsFormsApp1.Delivery;
using UniMarc.;
namespace WindowsFormsApp1.Account
{
@@ -192,5 +193,25 @@ namespace WindowsFormsApp1.Account
tb_send_money.Text = dataGridView1.Rows[row].Cells["send_money"].Value.ToString();
tb_etc.Text = dataGridView1.Rows[row].Cells["etc"].Value.ToString();
}
private void btn_excel_Click(object sender, EventArgs e)
{
Excel_text et = new Excel_text();
// 은행코드 계좌번호 빈칸 금액 예금주
string[,] inputExcel = new string[dataGridView1.RowCount, 5];
for (int a = 0; a < dataGridView1.RowCount; a++)
{
inputExcel[a, 0] = dataGridView1.Rows[a].Cells["bank_code"].Value.ToString();
inputExcel[a, 1] = dataGridView1.Rows[a].Cells["bank_num"].Value.ToString();
inputExcel[a, 3] = dataGridView1.Rows[a].Cells["send_money"].Value.ToString();
inputExcel[a, 4] = dataGridView1.Rows[a].Cells["bank_name"].Value.ToString();
}
et.Mk_Excel(inputExcel);
}
private void btn_close_Click(object sender, EventArgs e)
{
Close();
}
}
}