=====* unimarc *=====
------------------------ =====* ISBN 체크 프로그램 *===== ★작업완료★ a. 현재 마크팀 배포완료. - 추후 수정사항발생시 수정할 것. ------------------------ ===== 작업중 ===== 목록집계 폼 재 수정작업 완료 - 확인 및 수정 필요. 주문관리 폼 재 수정작업중 ===== 보류 ===== b. 마크목록 폼 작성중 1. 엑셀반출 기능 추가중 사용 작업대기중 c. 마크 반입 폼 수정중 1. 불러오기는 되나 저장 기능이 필요함. ===== 완료 ===== 1. 주문관리 팩스연동 완료 2. 전송된 팩스 확인 작업개시, 이메일 전송모듈 수정완료. 3. 주문관리에서 주문처와 목록 검색하는 폼 검색 모듈도 재수정 완료함. 4. 데이터베이스 내 이미지URL을 가져오는작업 완료 ISBN 체크 프로그램 => 본프로그램에 이식중. ㄴ> 코드는 다 옮겼으나 기존 사용하던 방식과 조금 달라서 버그발생 가능성 있음. ㄴ> 버그 체크 계속 해볼것. 21-04-15 ㄴ> 21_04_20 버그 없음. 2. 마크편집 폼 수정 중 (마크 반출 test프로젝트 진행완료, 본 프로젝트에 적용중. / 저장기능활성화 작업완료) 2-1. 기존의 칸채우기에서 예상되지 못한 버그가 발생하여 칸채우기 숨김. 2-2. 008태크 재배치 => TextBox에 적용완료. 변경사항 메모장으로 넘기는 작업 완료. 2-3. 저장기능 완료. (04.14 체크해볼것 - 완료) 주문관리 작업중 (DataGridView 주문처 엔터키 입력시 검색되게끔 하는 코드작성중) - 21.04.27 완료
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							| @@ -366,7 +366,7 @@ namespace WindowsFormsApp1 | |||||||
|             else |             else | ||||||
|             { |             { | ||||||
|                 Acc_remit_Reg2 = new Remit_reg2(this); |                 Acc_remit_Reg2 = new Remit_reg2(this); | ||||||
|                 Acc_remit_Reg2.MdiParent = this; |                 // Acc_remit_Reg2.MdiParent = this; | ||||||
|                 Acc_remit_Reg2.FormClosed += (o, ea) => Acc_remit_Reg2 = null; |                 Acc_remit_Reg2.FormClosed += (o, ea) => Acc_remit_Reg2 = null; | ||||||
|                 Acc_remit_Reg2.Show(); |                 Acc_remit_Reg2.Show(); | ||||||
|             } |             } | ||||||
|   | |||||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -76,11 +76,42 @@ namespace WindowsFormsApp1.Delivery | |||||||
|             if (tb_pay.Text == "")       { MessageBox.Show("정가를 작성해주세요."); return; } |             if (tb_pay.Text == "")       { MessageBox.Show("정가를 작성해주세요."); return; } | ||||||
|             if (tb_order.Text == "")     { MessageBox.Show("매입처를 작성해주세요."); return; } |             if (tb_order.Text == "")     { MessageBox.Show("매입처를 작성해주세요."); return; } | ||||||
|             if (tb_count.Text == "")     { MessageBox.Show("수량을 작성해주세요."); return; } |             if (tb_count.Text == "")     { MessageBox.Show("수량을 작성해주세요."); return; } | ||||||
|  |  | ||||||
|  |             if (!ask_SaveChk(grid_text_savechk())) { return; } | ||||||
|  |  | ||||||
|             string[] input = { tb_book_name.Text, tb_isbn.Text, tb_book_comp.Text, tb_author.Text, tb_pay.Text, |             string[] input = { tb_book_name.Text, tb_isbn.Text, tb_book_comp.Text, tb_author.Text, tb_pay.Text, | ||||||
|                                tb_order.Text, tb_count.Text, DateTime.Now.ToString("g"), compidx }; |                                tb_order.Text, tb_count.Text, DateTime.Now.ToString("g"), compidx }; | ||||||
|             string[] where = { "book_name", "isbn", "book_comp", "author", "pay", |             string[] where = { "book_name", "isbn", "book_comp", "author", "pay", | ||||||
|                                "order", "count", "import_date", "compidx" }; |                                "order", "count", "import_date", "compidx" }; | ||||||
|             db.DB_INSERT(table_name, where, input); |             db.DB_INSERT(table_name, where, input); | ||||||
|  |             MessageBox.Show("저장되었습니다!"); | ||||||
|  |         } | ||||||
|  |         private bool grid_text_savechk() | ||||||
|  |         { | ||||||
|  |             int row = dataGridView1.CurrentCell.RowIndex; | ||||||
|  |             string[] grid_data = { dataGridView1.Rows[row].Cells["ISBN"].Value.ToString(), | ||||||
|  |                                    dataGridView1.Rows[row].Cells["book_name"].Value.ToString(), | ||||||
|  |                                    dataGridView1.Rows[row].Cells["author"].Value.ToString(), | ||||||
|  |                                    dataGridView1.Rows[row].Cells["book_comp"].Value.ToString(), | ||||||
|  |                                    dataGridView1.Rows[row].Cells["pay"].Value.ToString(), | ||||||
|  |                                    dataGridView1.Rows[row].Cells["count"].Value.ToString(), | ||||||
|  |                                    dataGridView1.Rows[row].Cells["order"].Value.ToString(), | ||||||
|  |                                    dataGridView1.Rows[row].Cells["Order_date"].Value.ToString() }; | ||||||
|  |  | ||||||
|  |             if (tb_book_name.Text == grid_data[1]) { return false; } | ||||||
|  |             if (tb_isbn.Text == grid_data[0]) { return false; } | ||||||
|  |             return true; | ||||||
|  |         } | ||||||
|  |         private bool ask_SaveChk(bool ask) | ||||||
|  |         { | ||||||
|  |             if (!ask) { | ||||||
|  |                 if (MessageBox.Show("저장하실 내용이 입고에 저장되어있습니다. 저장하시겠습니까?", "경고!",  | ||||||
|  |                     MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.No) { | ||||||
|  |  | ||||||
|  |                     return false; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |             return true; | ||||||
|         } |         } | ||||||
|         private void btn_list_in_stock_Click(object sender, EventArgs e) |         private void btn_list_in_stock_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|   | |||||||
							
								
								
									
										108
									
								
								unimarc/WindowsFormsApp1/납품관리/List_Chk_Work.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										108
									
								
								unimarc/WindowsFormsApp1/납품관리/List_Chk_Work.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -28,20 +28,15 @@ | |||||||
|         /// </summary> |         /// </summary> | ||||||
|         private void InitializeComponent() |         private void InitializeComponent() | ||||||
|         { |         { | ||||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||||
|             this.tb_clt = new System.Windows.Forms.TextBox(); |             this.tb_clt = new System.Windows.Forms.TextBox(); | ||||||
|             this.label1 = new System.Windows.Forms.Label(); |             this.label1 = new System.Windows.Forms.Label(); | ||||||
|             this.panel1 = new System.Windows.Forms.Panel(); |             this.panel1 = new System.Windows.Forms.Panel(); | ||||||
|             this.btn_Excel = new System.Windows.Forms.Button(); |  | ||||||
|             this.btn_Close = new System.Windows.Forms.Button(); |             this.btn_Close = new System.Windows.Forms.Button(); | ||||||
|             this.btn_Grid_Excel = new System.Windows.Forms.Button(); |  | ||||||
|             this.btn_print = new System.Windows.Forms.Button(); |  | ||||||
|             this.btn_Lookup = new System.Windows.Forms.Button(); |             this.btn_Lookup = new System.Windows.Forms.Button(); | ||||||
|             this.cb_chk_stat = new System.Windows.Forms.ComboBox(); |             this.cb_chk_stat = new System.Windows.Forms.ComboBox(); | ||||||
|             this.label4 = new System.Windows.Forms.Label(); |             this.label4 = new System.Windows.Forms.Label(); | ||||||
|             this.textBox4 = new System.Windows.Forms.TextBox(); |  | ||||||
|             this.label5 = new System.Windows.Forms.Label(); |  | ||||||
|             this.tb_date = new System.Windows.Forms.TextBox(); |             this.tb_date = new System.Windows.Forms.TextBox(); | ||||||
|             this.label3 = new System.Windows.Forms.Label(); |             this.label3 = new System.Windows.Forms.Label(); | ||||||
|             this.tb_dlv = new System.Windows.Forms.TextBox(); |             this.tb_dlv = new System.Windows.Forms.TextBox(); | ||||||
| @@ -88,15 +83,10 @@ | |||||||
|             //  |             //  | ||||||
|             // panel1 |             // panel1 | ||||||
|             //  |             //  | ||||||
|             this.panel1.Controls.Add(this.btn_Excel); |  | ||||||
|             this.panel1.Controls.Add(this.btn_Close); |             this.panel1.Controls.Add(this.btn_Close); | ||||||
|             this.panel1.Controls.Add(this.btn_Grid_Excel); |  | ||||||
|             this.panel1.Controls.Add(this.btn_print); |  | ||||||
|             this.panel1.Controls.Add(this.btn_Lookup); |             this.panel1.Controls.Add(this.btn_Lookup); | ||||||
|             this.panel1.Controls.Add(this.cb_chk_stat); |             this.panel1.Controls.Add(this.cb_chk_stat); | ||||||
|             this.panel1.Controls.Add(this.label4); |             this.panel1.Controls.Add(this.label4); | ||||||
|             this.panel1.Controls.Add(this.textBox4); |  | ||||||
|             this.panel1.Controls.Add(this.label5); |  | ||||||
|             this.panel1.Controls.Add(this.tb_date); |             this.panel1.Controls.Add(this.tb_date); | ||||||
|             this.panel1.Controls.Add(this.label3); |             this.panel1.Controls.Add(this.label3); | ||||||
|             this.panel1.Controls.Add(this.tb_dlv); |             this.panel1.Controls.Add(this.tb_dlv); | ||||||
| @@ -108,19 +98,9 @@ | |||||||
|             this.panel1.Size = new System.Drawing.Size(1200, 38); |             this.panel1.Size = new System.Drawing.Size(1200, 38); | ||||||
|             this.panel1.TabIndex = 2; |             this.panel1.TabIndex = 2; | ||||||
|             //  |             //  | ||||||
|             // btn_Excel |  | ||||||
|             //  |  | ||||||
|             this.btn_Excel.Location = new System.Drawing.Point(804, 7); |  | ||||||
|             this.btn_Excel.Name = "btn_Excel"; |  | ||||||
|             this.btn_Excel.Size = new System.Drawing.Size(73, 23); |  | ||||||
|             this.btn_Excel.TabIndex = 3; |  | ||||||
|             this.btn_Excel.Text = "엑   셀"; |  | ||||||
|             this.btn_Excel.UseVisualStyleBackColor = true; |  | ||||||
|             this.btn_Excel.Click += new System.EventHandler(this.btn_Excel_Click); |  | ||||||
|             //  |  | ||||||
|             // btn_Close |             // btn_Close | ||||||
|             //  |             //  | ||||||
|             this.btn_Close.Location = new System.Drawing.Point(1100, 7); |             this.btn_Close.Location = new System.Drawing.Point(742, 7); | ||||||
|             this.btn_Close.Name = "btn_Close"; |             this.btn_Close.Name = "btn_Close"; | ||||||
|             this.btn_Close.Size = new System.Drawing.Size(73, 23); |             this.btn_Close.Size = new System.Drawing.Size(73, 23); | ||||||
|             this.btn_Close.TabIndex = 3; |             this.btn_Close.TabIndex = 3; | ||||||
| @@ -128,26 +108,6 @@ | |||||||
|             this.btn_Close.UseVisualStyleBackColor = true; |             this.btn_Close.UseVisualStyleBackColor = true; | ||||||
|             this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click); |             this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click); | ||||||
|             //  |             //  | ||||||
|             // btn_Grid_Excel |  | ||||||
|             //  |  | ||||||
|             this.btn_Grid_Excel.Location = new System.Drawing.Point(1021, 7); |  | ||||||
|             this.btn_Grid_Excel.Name = "btn_Grid_Excel"; |  | ||||||
|             this.btn_Grid_Excel.Size = new System.Drawing.Size(73, 23); |  | ||||||
|             this.btn_Grid_Excel.TabIndex = 3; |  | ||||||
|             this.btn_Grid_Excel.Text = "전표용엑셀"; |  | ||||||
|             this.btn_Grid_Excel.UseVisualStyleBackColor = true; |  | ||||||
|             this.btn_Grid_Excel.Click += new System.EventHandler(this.btn_Grid_Excel_Click); |  | ||||||
|             //  |  | ||||||
|             // btn_print |  | ||||||
|             //  |  | ||||||
|             this.btn_print.Location = new System.Drawing.Point(725, 7); |  | ||||||
|             this.btn_print.Name = "btn_print"; |  | ||||||
|             this.btn_print.Size = new System.Drawing.Size(73, 23); |  | ||||||
|             this.btn_print.TabIndex = 3; |  | ||||||
|             this.btn_print.Text = "인   쇄"; |  | ||||||
|             this.btn_print.UseVisualStyleBackColor = true; |  | ||||||
|             this.btn_print.Click += new System.EventHandler(this.btn_print_Click); |  | ||||||
|             //  |  | ||||||
|             // btn_Lookup |             // btn_Lookup | ||||||
|             //  |             //  | ||||||
|             this.btn_Lookup.Location = new System.Drawing.Point(646, 7); |             this.btn_Lookup.Location = new System.Drawing.Point(646, 7); | ||||||
| @@ -176,23 +136,6 @@ | |||||||
|             this.label4.TabIndex = 1; |             this.label4.TabIndex = 1; | ||||||
|             this.label4.Text = "검수구분"; |             this.label4.Text = "검수구분"; | ||||||
|             //  |             //  | ||||||
|             // textBox4 |  | ||||||
|             //  |  | ||||||
|             this.textBox4.Location = new System.Drawing.Point(935, 8); |  | ||||||
|             this.textBox4.Name = "textBox4"; |  | ||||||
|             this.textBox4.Size = new System.Drawing.Size(79, 21); |  | ||||||
|             this.textBox4.TabIndex = 0; |  | ||||||
|             this.textBox4.Text = "    -  -"; |  | ||||||
|             //  |  | ||||||
|             // label5 |  | ||||||
|             //  |  | ||||||
|             this.label5.AutoSize = true; |  | ||||||
|             this.label5.Location = new System.Drawing.Point(883, 12); |  | ||||||
|             this.label5.Name = "label5"; |  | ||||||
|             this.label5.Size = new System.Drawing.Size(53, 12); |  | ||||||
|             this.label5.TabIndex = 1; |  | ||||||
|             this.label5.Text = "검수일자"; |  | ||||||
|             //  |  | ||||||
|             // tb_date |             // tb_date | ||||||
|             //  |             //  | ||||||
|             this.tb_date.Enabled = false; |             this.tb_date.Enabled = false; | ||||||
| @@ -240,7 +183,7 @@ | |||||||
|             //  |             //  | ||||||
|             this.tb_ISBN.Location = new System.Drawing.Point(66, 48); |             this.tb_ISBN.Location = new System.Drawing.Point(66, 48); | ||||||
|             this.tb_ISBN.Name = "tb_ISBN"; |             this.tb_ISBN.Name = "tb_ISBN"; | ||||||
|             this.tb_ISBN.Size = new System.Drawing.Size(160, 21); |             this.tb_ISBN.Size = new System.Drawing.Size(264, 21); | ||||||
|             this.tb_ISBN.TabIndex = 0; |             this.tb_ISBN.TabIndex = 0; | ||||||
|             this.tb_ISBN.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox5_KeyDown); |             this.tb_ISBN.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox5_KeyDown); | ||||||
|             //  |             //  | ||||||
| @@ -249,14 +192,14 @@ | |||||||
|             this.dataGridView1.AllowUserToAddRows = false; |             this.dataGridView1.AllowUserToAddRows = false; | ||||||
|             this.dataGridView1.AllowUserToDeleteRows = false; |             this.dataGridView1.AllowUserToDeleteRows = false; | ||||||
|             this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control; |             this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control; | ||||||
|             dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |             dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||||
|             dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; |             dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control; | ||||||
|             dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); |             dataGridViewCellStyle7.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||||
|             dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; |             dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText; | ||||||
|             dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; |             dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight; | ||||||
|             dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |             dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText; | ||||||
|             dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |             dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True; | ||||||
|             this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; |             this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7; | ||||||
|             this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |             this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | ||||||
|             this.header, |             this.header, | ||||||
|             this.num, |             this.num, | ||||||
| @@ -270,14 +213,14 @@ | |||||||
|             this.stat, |             this.stat, | ||||||
|             this.Column10, |             this.Column10, | ||||||
|             this.date}); |             this.date}); | ||||||
|             dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |             dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; | ||||||
|             dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; |             dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window; | ||||||
|             dataGridViewCellStyle2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); |             dataGridViewCellStyle8.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||||
|             dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; |             dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText; | ||||||
|             dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; |             dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight; | ||||||
|             dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |             dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText; | ||||||
|             dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |             dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True; | ||||||
|             this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle2; |             this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle8; | ||||||
|             this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; |             this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; | ||||||
|             this.dataGridView1.Location = new System.Drawing.Point(4, 75); |             this.dataGridView1.Location = new System.Drawing.Point(4, 75); | ||||||
|             this.dataGridView1.MultiSelect = false; |             this.dataGridView1.MultiSelect = false; | ||||||
| @@ -375,7 +318,7 @@ | |||||||
|             //  |             //  | ||||||
|             this.pictureBox1.Location = new System.Drawing.Point(1282, 28); |             this.pictureBox1.Location = new System.Drawing.Point(1282, 28); | ||||||
|             this.pictureBox1.Name = "pictureBox1"; |             this.pictureBox1.Name = "pictureBox1"; | ||||||
|             this.pictureBox1.Size = new System.Drawing.Size(198, 285); |             this.pictureBox1.Size = new System.Drawing.Size(225, 285); | ||||||
|             this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; |             this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; | ||||||
|             this.pictureBox1.TabIndex = 4; |             this.pictureBox1.TabIndex = 4; | ||||||
|             this.pictureBox1.TabStop = false; |             this.pictureBox1.TabStop = false; | ||||||
| @@ -384,7 +327,7 @@ | |||||||
|             //  |             //  | ||||||
|             this.richTextBox1.Location = new System.Drawing.Point(1283, 328); |             this.richTextBox1.Location = new System.Drawing.Point(1283, 328); | ||||||
|             this.richTextBox1.Name = "richTextBox1"; |             this.richTextBox1.Name = "richTextBox1"; | ||||||
|             this.richTextBox1.Size = new System.Drawing.Size(197, 374); |             this.richTextBox1.Size = new System.Drawing.Size(224, 374); | ||||||
|             this.richTextBox1.TabIndex = 5; |             this.richTextBox1.TabIndex = 5; | ||||||
|             this.richTextBox1.Text = ""; |             this.richTextBox1.Text = ""; | ||||||
|             //  |             //  | ||||||
| @@ -392,7 +335,7 @@ | |||||||
|             //  |             //  | ||||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); |             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||||
|             this.ClientSize = new System.Drawing.Size(1413, 710); |             this.ClientSize = new System.Drawing.Size(1514, 710); | ||||||
|             this.Controls.Add(this.richTextBox1); |             this.Controls.Add(this.richTextBox1); | ||||||
|             this.Controls.Add(this.pictureBox1); |             this.Controls.Add(this.pictureBox1); | ||||||
|             this.Controls.Add(this.dataGridView1); |             this.Controls.Add(this.dataGridView1); | ||||||
| @@ -417,15 +360,10 @@ | |||||||
|         private System.Windows.Forms.TextBox tb_clt; |         private System.Windows.Forms.TextBox tb_clt; | ||||||
|         private System.Windows.Forms.Label label1; |         private System.Windows.Forms.Label label1; | ||||||
|         private System.Windows.Forms.Panel panel1; |         private System.Windows.Forms.Panel panel1; | ||||||
|         private System.Windows.Forms.Button btn_Excel; |  | ||||||
|         private System.Windows.Forms.Button btn_Close; |         private System.Windows.Forms.Button btn_Close; | ||||||
|         private System.Windows.Forms.Button btn_Grid_Excel; |  | ||||||
|         private System.Windows.Forms.Button btn_print; |  | ||||||
|         private System.Windows.Forms.Button btn_Lookup; |         private System.Windows.Forms.Button btn_Lookup; | ||||||
|         private System.Windows.Forms.ComboBox cb_chk_stat; |         private System.Windows.Forms.ComboBox cb_chk_stat; | ||||||
|         private System.Windows.Forms.Label label4; |         private System.Windows.Forms.Label label4; | ||||||
|         private System.Windows.Forms.TextBox textBox4; |  | ||||||
|         private System.Windows.Forms.Label label5; |  | ||||||
|         private System.Windows.Forms.TextBox tb_date; |         private System.Windows.Forms.TextBox tb_date; | ||||||
|         private System.Windows.Forms.Label label3; |         private System.Windows.Forms.Label label3; | ||||||
|         private System.Windows.Forms.TextBox tb_dlv; |         private System.Windows.Forms.TextBox tb_dlv; | ||||||
|   | |||||||
| @@ -51,11 +51,6 @@ namespace WindowsFormsApp1.Delivery | |||||||
|             string dbdata = db.DB_Select_Search(getdata, "Obj_List_Book",  |             string dbdata = db.DB_Select_Search(getdata, "Obj_List_Book",  | ||||||
|                 searchtable[0], searchdata[0], searchtable[1], searchdata[1]); |                 searchtable[0], searchdata[0], searchtable[1], searchdata[1]); | ||||||
|             Made_Grid(dbdata); |             Made_Grid(dbdata); | ||||||
|  |  | ||||||
|             btn_Excel.Enabled = false; |  | ||||||
|             btn_print.Enabled = false; |  | ||||||
|             btn_Grid_Excel.Enabled = false; |  | ||||||
|  |  | ||||||
|         } |         } | ||||||
|         public int gridcout = 0; |         public int gridcout = 0; | ||||||
|         public int stack = 1; |         public int stack = 1; | ||||||
| @@ -140,18 +135,6 @@ namespace WindowsFormsApp1.Delivery | |||||||
|             } |             } | ||||||
|             Made_Grid(dbdata); |             Made_Grid(dbdata); | ||||||
|         } |         } | ||||||
|         private void btn_print_Click(object sender, EventArgs e)        // 인쇄버튼 |  | ||||||
|         { |  | ||||||
|  |  | ||||||
|         } |  | ||||||
|         private void btn_Excel_Click(object sender, EventArgs e)        // 엑셀버튼 |  | ||||||
|         { |  | ||||||
|             // TODO: 현재 북앤피에서 작동되지않음. |  | ||||||
|         } |  | ||||||
|         private void btn_Grid_Excel_Click(object sender, EventArgs e)   // 전표용엑셀버튼 |  | ||||||
|         { |  | ||||||
|             // TODO: 현재 북앤피에서 작동되지않음. |  | ||||||
|         } |  | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// 받은 URL을 이미지값으로 변환해주는 함수. |         /// 받은 URL을 이미지값으로 변환해주는 함수. | ||||||
|         /// </summary> |         /// </summary> | ||||||
|   | |||||||
| @@ -28,7 +28,7 @@ | |||||||
|         /// </summary> |         /// </summary> | ||||||
|         private void InitializeComponent() |         private void InitializeComponent() | ||||||
|         { |         { | ||||||
|             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); |             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(List_aggregation)); |             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(List_aggregation)); | ||||||
|             this.btn_lookup = new System.Windows.Forms.Button(); |             this.btn_lookup = new System.Windows.Forms.Button(); | ||||||
|             this.btn_save = new System.Windows.Forms.Button(); |             this.btn_save = new System.Windows.Forms.Button(); | ||||||
| @@ -39,6 +39,23 @@ | |||||||
|             this.tb_dlv = new System.Windows.Forms.TextBox(); |             this.tb_dlv = new System.Windows.Forms.TextBox(); | ||||||
|             this.label3 = new System.Windows.Forms.Label(); |             this.label3 = new System.Windows.Forms.Label(); | ||||||
|             this.dataGridView1 = new System.Windows.Forms.DataGridView(); |             this.dataGridView1 = new System.Windows.Forms.DataGridView(); | ||||||
|  |             this.list_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.list_date = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.date_res = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.charge = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.work_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.work_way = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.send_way = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.total = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.stock_money = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.count = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.Column12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.chk_label = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.Chk_Column = new System.Windows.Forms.DataGridViewCheckBoxColumn(); | ||||||
|             this.label5 = new System.Windows.Forms.Label(); |             this.label5 = new System.Windows.Forms.Label(); | ||||||
|             this.combo_user = new System.Windows.Forms.ComboBox(); |             this.combo_user = new System.Windows.Forms.ComboBox(); | ||||||
|             this.btn_process = new System.Windows.Forms.Button(); |             this.btn_process = new System.Windows.Forms.Button(); | ||||||
| @@ -89,23 +106,6 @@ | |||||||
|             this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); |             this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); | ||||||
|             this.pageSetupDialog1 = new System.Windows.Forms.PageSetupDialog(); |             this.pageSetupDialog1 = new System.Windows.Forms.PageSetupDialog(); | ||||||
|             this.printDocument1 = new System.Drawing.Printing.PrintDocument(); |             this.printDocument1 = new System.Drawing.Printing.PrintDocument(); | ||||||
|             this.list_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.list_date = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.date_res = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.charge = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.work_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.work_way = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.send_way = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.total = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.stock_money = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.count = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.Column12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.chk_label = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.Chk_Column = new System.Windows.Forms.DataGridViewCheckBoxColumn(); |  | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); | ||||||
|             this.panel1.SuspendLayout(); |             this.panel1.SuspendLayout(); | ||||||
|             this.SuspendLayout(); |             this.SuspendLayout(); | ||||||
| @@ -188,14 +188,14 @@ | |||||||
|             this.dataGridView1.AllowUserToAddRows = false; |             this.dataGridView1.AllowUserToAddRows = false; | ||||||
|             this.dataGridView1.AllowUserToDeleteRows = false; |             this.dataGridView1.AllowUserToDeleteRows = false; | ||||||
|             this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control; |             this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control; | ||||||
|             dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; |             dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||||
|             dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control; |             dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; | ||||||
|             dataGridViewCellStyle4.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); |             dataGridViewCellStyle2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||||
|             dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText; |             dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; | ||||||
|             dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; |             dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; | ||||||
|             dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |             dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; | ||||||
|             dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |             dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; | ||||||
|             this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4; |             this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; | ||||||
|             this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |             this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | ||||||
|             this.list_name, |             this.list_name, | ||||||
|             this.list_date, |             this.list_date, | ||||||
| @@ -219,12 +219,116 @@ | |||||||
|             this.dataGridView1.Name = "dataGridView1"; |             this.dataGridView1.Name = "dataGridView1"; | ||||||
|             this.dataGridView1.RowHeadersWidth = 20; |             this.dataGridView1.RowHeadersWidth = 20; | ||||||
|             this.dataGridView1.RowTemplate.Height = 23; |             this.dataGridView1.RowTemplate.Height = 23; | ||||||
|             this.dataGridView1.Size = new System.Drawing.Size(984, 595); |             this.dataGridView1.Size = new System.Drawing.Size(984, 618); | ||||||
|             this.dataGridView1.TabIndex = 0; |             this.dataGridView1.TabIndex = 0; | ||||||
|             this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick); |             this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick); | ||||||
|             this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick); |             this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick); | ||||||
|             this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown); |             this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown); | ||||||
|             //  |             //  | ||||||
|  |             // list_name | ||||||
|  |             //  | ||||||
|  |             this.list_name.HeaderText = "목록명"; | ||||||
|  |             this.list_name.Name = "list_name"; | ||||||
|  |             this.list_name.Width = 230; | ||||||
|  |             //  | ||||||
|  |             // list_date | ||||||
|  |             //  | ||||||
|  |             this.list_date.HeaderText = "목록일자"; | ||||||
|  |             this.list_date.Name = "list_date"; | ||||||
|  |             this.list_date.Width = 80; | ||||||
|  |             //  | ||||||
|  |             // date_res | ||||||
|  |             //  | ||||||
|  |             this.date_res.HeaderText = "완료일자"; | ||||||
|  |             this.date_res.Name = "date_res"; | ||||||
|  |             this.date_res.Width = 80; | ||||||
|  |             //  | ||||||
|  |             // charge | ||||||
|  |             //  | ||||||
|  |             this.charge.HeaderText = "담당자"; | ||||||
|  |             this.charge.Name = "charge"; | ||||||
|  |             this.charge.Width = 50; | ||||||
|  |             //  | ||||||
|  |             // work_name | ||||||
|  |             //  | ||||||
|  |             this.work_name.HeaderText = "작업명"; | ||||||
|  |             this.work_name.Name = "work_name"; | ||||||
|  |             this.work_name.Visible = false; | ||||||
|  |             this.work_name.Width = 150; | ||||||
|  |             //  | ||||||
|  |             // work_way | ||||||
|  |             //  | ||||||
|  |             this.work_way.HeaderText = "작업방법"; | ||||||
|  |             this.work_way.Name = "work_way"; | ||||||
|  |             this.work_way.Visible = false; | ||||||
|  |             //  | ||||||
|  |             // send_way | ||||||
|  |             //  | ||||||
|  |             this.send_way.HeaderText = "배송방법"; | ||||||
|  |             this.send_way.Name = "send_way"; | ||||||
|  |             this.send_way.Visible = false; | ||||||
|  |             //  | ||||||
|  |             // total | ||||||
|  |             //  | ||||||
|  |             this.total.HeaderText = "합계금액"; | ||||||
|  |             this.total.Name = "total"; | ||||||
|  |             this.total.Width = 90; | ||||||
|  |             //  | ||||||
|  |             // stock_money | ||||||
|  |             //  | ||||||
|  |             this.stock_money.HeaderText = "입고금액"; | ||||||
|  |             this.stock_money.Name = "stock_money"; | ||||||
|  |             this.stock_money.Width = 90; | ||||||
|  |             //  | ||||||
|  |             // count | ||||||
|  |             //  | ||||||
|  |             this.count.HeaderText = "수량"; | ||||||
|  |             this.count.Name = "count"; | ||||||
|  |             this.count.Width = 50; | ||||||
|  |             //  | ||||||
|  |             // Column11 | ||||||
|  |             //  | ||||||
|  |             this.Column11.HeaderText = "입고"; | ||||||
|  |             this.Column11.Name = "Column11"; | ||||||
|  |             this.Column11.Width = 50; | ||||||
|  |             //  | ||||||
|  |             // Column12 | ||||||
|  |             //  | ||||||
|  |             this.Column12.HeaderText = "미입고"; | ||||||
|  |             this.Column12.Name = "Column12"; | ||||||
|  |             this.Column12.Width = 50; | ||||||
|  |             //  | ||||||
|  |             // Column13 | ||||||
|  |             //  | ||||||
|  |             this.Column13.HeaderText = "입고율"; | ||||||
|  |             this.Column13.Name = "Column13"; | ||||||
|  |             this.Column13.Width = 50; | ||||||
|  |             //  | ||||||
|  |             // Column18 | ||||||
|  |             //  | ||||||
|  |             this.Column18.HeaderText = "택배"; | ||||||
|  |             this.Column18.Name = "Column18"; | ||||||
|  |             this.Column18.Width = 50; | ||||||
|  |             //  | ||||||
|  |             // Column20 | ||||||
|  |             //  | ||||||
|  |             this.Column20.HeaderText = "목록번호"; | ||||||
|  |             this.Column20.Name = "Column20"; | ||||||
|  |             this.Column20.Width = 70; | ||||||
|  |             //  | ||||||
|  |             // chk_label | ||||||
|  |             //  | ||||||
|  |             this.chk_label.HeaderText = "라벨"; | ||||||
|  |             this.chk_label.Name = "chk_label"; | ||||||
|  |             this.chk_label.Visible = false; | ||||||
|  |             //  | ||||||
|  |             // Chk_Column | ||||||
|  |             //  | ||||||
|  |             this.Chk_Column.HeaderText = "체크"; | ||||||
|  |             this.Chk_Column.Name = "Chk_Column"; | ||||||
|  |             this.Chk_Column.Visible = false; | ||||||
|  |             this.Chk_Column.Width = 40; | ||||||
|  |             //  | ||||||
|             // label5 |             // label5 | ||||||
|             //  |             //  | ||||||
|             this.label5.AutoSize = true; |             this.label5.AutoSize = true; | ||||||
| @@ -276,6 +380,7 @@ | |||||||
|             //  |             //  | ||||||
|             // btn_checkup |             // btn_checkup | ||||||
|             //  |             //  | ||||||
|  |             this.btn_checkup.Enabled = false; | ||||||
|             this.btn_checkup.Location = new System.Drawing.Point(95, 5); |             this.btn_checkup.Location = new System.Drawing.Point(95, 5); | ||||||
|             this.btn_checkup.Name = "btn_checkup"; |             this.btn_checkup.Name = "btn_checkup"; | ||||||
|             this.btn_checkup.Size = new System.Drawing.Size(65, 23); |             this.btn_checkup.Size = new System.Drawing.Size(65, 23); | ||||||
| @@ -728,110 +833,6 @@ | |||||||
|             //  |             //  | ||||||
|             this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); |             this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); | ||||||
|             //  |             //  | ||||||
|             // list_name |  | ||||||
|             //  |  | ||||||
|             this.list_name.HeaderText = "목록명"; |  | ||||||
|             this.list_name.Name = "list_name"; |  | ||||||
|             this.list_name.Width = 230; |  | ||||||
|             //  |  | ||||||
|             // list_date |  | ||||||
|             //  |  | ||||||
|             this.list_date.HeaderText = "목록일자"; |  | ||||||
|             this.list_date.Name = "list_date"; |  | ||||||
|             this.list_date.Width = 80; |  | ||||||
|             //  |  | ||||||
|             // date_res |  | ||||||
|             //  |  | ||||||
|             this.date_res.HeaderText = "완료일자"; |  | ||||||
|             this.date_res.Name = "date_res"; |  | ||||||
|             this.date_res.Width = 80; |  | ||||||
|             //  |  | ||||||
|             // charge |  | ||||||
|             //  |  | ||||||
|             this.charge.HeaderText = "담당자"; |  | ||||||
|             this.charge.Name = "charge"; |  | ||||||
|             this.charge.Width = 50; |  | ||||||
|             //  |  | ||||||
|             // work_name |  | ||||||
|             //  |  | ||||||
|             this.work_name.HeaderText = "작업명"; |  | ||||||
|             this.work_name.Name = "work_name"; |  | ||||||
|             this.work_name.Visible = false; |  | ||||||
|             this.work_name.Width = 150; |  | ||||||
|             //  |  | ||||||
|             // work_way |  | ||||||
|             //  |  | ||||||
|             this.work_way.HeaderText = "작업방법"; |  | ||||||
|             this.work_way.Name = "work_way"; |  | ||||||
|             this.work_way.Visible = false; |  | ||||||
|             //  |  | ||||||
|             // send_way |  | ||||||
|             //  |  | ||||||
|             this.send_way.HeaderText = "배송방법"; |  | ||||||
|             this.send_way.Name = "send_way"; |  | ||||||
|             this.send_way.Visible = false; |  | ||||||
|             //  |  | ||||||
|             // total |  | ||||||
|             //  |  | ||||||
|             this.total.HeaderText = "합계금액"; |  | ||||||
|             this.total.Name = "total"; |  | ||||||
|             this.total.Width = 90; |  | ||||||
|             //  |  | ||||||
|             // stock_money |  | ||||||
|             //  |  | ||||||
|             this.stock_money.HeaderText = "입고금액"; |  | ||||||
|             this.stock_money.Name = "stock_money"; |  | ||||||
|             this.stock_money.Width = 90; |  | ||||||
|             //  |  | ||||||
|             // count |  | ||||||
|             //  |  | ||||||
|             this.count.HeaderText = "수량"; |  | ||||||
|             this.count.Name = "count"; |  | ||||||
|             this.count.Width = 50; |  | ||||||
|             //  |  | ||||||
|             // Column11 |  | ||||||
|             //  |  | ||||||
|             this.Column11.HeaderText = "입고"; |  | ||||||
|             this.Column11.Name = "Column11"; |  | ||||||
|             this.Column11.Width = 50; |  | ||||||
|             //  |  | ||||||
|             // Column12 |  | ||||||
|             //  |  | ||||||
|             this.Column12.HeaderText = "미입고"; |  | ||||||
|             this.Column12.Name = "Column12"; |  | ||||||
|             this.Column12.Width = 50; |  | ||||||
|             //  |  | ||||||
|             // Column13 |  | ||||||
|             //  |  | ||||||
|             this.Column13.HeaderText = "입고율"; |  | ||||||
|             this.Column13.Name = "Column13"; |  | ||||||
|             this.Column13.Width = 50; |  | ||||||
|             //  |  | ||||||
|             // Column18 |  | ||||||
|             //  |  | ||||||
|             this.Column18.HeaderText = "택배"; |  | ||||||
|             this.Column18.Name = "Column18"; |  | ||||||
|             this.Column18.Width = 50; |  | ||||||
|             //  |  | ||||||
|             // Column20 |  | ||||||
|             //  |  | ||||||
|             this.Column20.HeaderText = "목록번호"; |  | ||||||
|             this.Column20.Name = "Column20"; |  | ||||||
|             this.Column20.Width = 70; |  | ||||||
|             //  |  | ||||||
|             // chk_label |  | ||||||
|             //  |  | ||||||
|             this.chk_label.HeaderText = "라벨"; |  | ||||||
|             this.chk_label.Name = "chk_label"; |  | ||||||
|             this.chk_label.Visible = false; |  | ||||||
|             //  |  | ||||||
|             // Chk_Column |  | ||||||
|             //  |  | ||||||
|             this.Chk_Column.HeaderText = "체크"; |  | ||||||
|             this.Chk_Column.Name = "Chk_Column"; |  | ||||||
|             this.Chk_Column.Visible = false; |  | ||||||
|             this.Chk_Column.Width = 40; |  | ||||||
|             //  |  | ||||||
|             // List_aggregation |             // List_aggregation | ||||||
|             //  |             //  | ||||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); |             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||||
|   | |||||||
| @@ -325,27 +325,13 @@ namespace WindowsFormsApp1.Delivery | |||||||
|             dataGridView1.Rows[row].Cells["Column20"].Value = tb_list_num.Text; |             dataGridView1.Rows[row].Cells["Column20"].Value = tb_list_num.Text; | ||||||
|         } |         } | ||||||
|         private void btn_checkup_Click(object sender, EventArgs e)  // 검수작업 (내부 작업필요) |         private void btn_checkup_Click(object sender, EventArgs e)  // 검수작업 (내부 작업필요) | ||||||
|         { |  | ||||||
|             int cout = 0; |  | ||||||
|             for (int a = 0; a < dataGridView1.Rows.Count; a++) |  | ||||||
|             { |  | ||||||
|                 bool isChecked = Convert.ToBoolean(dataGridView1.Rows[a].Cells["Chk_Column"].Value); |  | ||||||
|                 if (isChecked) |  | ||||||
|                 { |  | ||||||
|                     if (cout == 0) { EditNumber = a; cout++; } |  | ||||||
|                     else if (cout != 0) { MessageBox.Show("체크가 2개이상 되어있습니다!"); cout++; break; } |  | ||||||
|                 } |  | ||||||
|             } |  | ||||||
|             if (cout == 0) { MessageBox.Show("체크된 사항이 없습니다."); return; } |  | ||||||
|             if (cout == 1) |  | ||||||
|         { |         { | ||||||
|             List_Chk_Work chk_work = new List_Chk_Work(this); |             List_Chk_Work chk_work = new List_Chk_Work(this); | ||||||
|             chk_work.TopMost = true; |             chk_work.TopMost = true; | ||||||
|                 chk_work.data[0] = dataGridView1.Rows[EditNumber].Cells["list_name"].Value.ToString(); |             chk_work.data[0] = tb_list_name.Text; | ||||||
|             chk_work.data[1] = compidx; |             chk_work.data[1] = compidx; | ||||||
|             chk_work.Show(); |             chk_work.Show(); | ||||||
|         } |         } | ||||||
|         } |  | ||||||
|         private void btn_ISBN_Click(object sender, EventArgs e)     // ISBN조회 |         private void btn_ISBN_Click(object sender, EventArgs e)     // ISBN조회 | ||||||
|         { |         { | ||||||
|             Check_ISBN isbn = new Check_ISBN(this); |             Check_ISBN isbn = new Check_ISBN(this); | ||||||
|   | |||||||
| @@ -35,9 +35,11 @@ namespace WindowsFormsApp1.Account | |||||||
|         private void Purchase_Book_Load(object sender, EventArgs e) |         private void Purchase_Book_Load(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             db.DBcon(); |             db.DBcon(); | ||||||
|  |             if (pa == null) { | ||||||
|                 start_Date.Value = new DateTime(int.Parse(DateTime.Now.ToString("yyyy")), |                 start_Date.Value = new DateTime(int.Parse(DateTime.Now.ToString("yyyy")), | ||||||
|                                                 int.Parse(DateTime.Now.ToString("MM")), 1); |                                                 int.Parse(DateTime.Now.ToString("MM")), 1); | ||||||
|             } |             } | ||||||
|  |         } | ||||||
|         public void btn_Lookup_Click(object sender, EventArgs e) |         public void btn_Lookup_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             if(call != false) { db.DBcon(); } |             if(call != false) { db.DBcon(); } | ||||||
|   | |||||||
							
								
								
									
										436
									
								
								unimarc/WindowsFormsApp1/회계/Remit_reg2.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										436
									
								
								unimarc/WindowsFormsApp1/회계/Remit_reg2.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -33,6 +33,15 @@ | |||||||
|             this.cb_remunerate = new System.Windows.Forms.ComboBox(); |             this.cb_remunerate = new System.Windows.Forms.ComboBox(); | ||||||
|             this.btn_delete = new System.Windows.Forms.Button(); |             this.btn_delete = new System.Windows.Forms.Button(); | ||||||
|             this.dataGridView1 = new System.Windows.Forms.DataGridView(); |             this.dataGridView1 = new System.Windows.Forms.DataGridView(); | ||||||
|  |             this.date_res = 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.date_pay = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.etc = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.tb_bank_code = new System.Windows.Forms.TextBox(); |             this.tb_bank_code = new System.Windows.Forms.TextBox(); | ||||||
|             this.tb_bank = new System.Windows.Forms.TextBox(); |             this.tb_bank = new System.Windows.Forms.TextBox(); | ||||||
|             this.label4 = new System.Windows.Forms.Label(); |             this.label4 = new System.Windows.Forms.Label(); | ||||||
| @@ -57,15 +66,6 @@ | |||||||
|             this.label9 = new System.Windows.Forms.Label(); |             this.label9 = new System.Windows.Forms.Label(); | ||||||
|             this.list_Date = new System.Windows.Forms.DateTimePicker(); |             this.list_Date = new System.Windows.Forms.DateTimePicker(); | ||||||
|             this.label1 = new System.Windows.Forms.Label(); |             this.label1 = new System.Windows.Forms.Label(); | ||||||
|             this.date_res = 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.date_pay = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.etc = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); | ||||||
|             this.SuspendLayout(); |             this.SuspendLayout(); | ||||||
|             //  |             //  | ||||||
| @@ -76,14 +76,14 @@ | |||||||
|             this.cb_remunerate.Location = new System.Drawing.Point(515, 224); |             this.cb_remunerate.Location = new System.Drawing.Point(515, 224); | ||||||
|             this.cb_remunerate.Name = "cb_remunerate"; |             this.cb_remunerate.Name = "cb_remunerate"; | ||||||
|             this.cb_remunerate.Size = new System.Drawing.Size(71, 20); |             this.cb_remunerate.Size = new System.Drawing.Size(71, 20); | ||||||
|             this.cb_remunerate.TabIndex = 58; |             this.cb_remunerate.TabIndex = 14; | ||||||
|             //  |             //  | ||||||
|             // btn_delete |             // btn_delete | ||||||
|             //  |             //  | ||||||
|             this.btn_delete.Location = new System.Drawing.Point(185, 223); |             this.btn_delete.Location = new System.Drawing.Point(185, 223); | ||||||
|             this.btn_delete.Name = "btn_delete"; |             this.btn_delete.Name = "btn_delete"; | ||||||
|             this.btn_delete.Size = new System.Drawing.Size(75, 23); |             this.btn_delete.Size = new System.Drawing.Size(75, 23); | ||||||
|             this.btn_delete.TabIndex = 57; |             this.btn_delete.TabIndex = 11; | ||||||
|             this.btn_delete.Text = "삭   제"; |             this.btn_delete.Text = "삭   제"; | ||||||
|             this.btn_delete.UseVisualStyleBackColor = true; |             this.btn_delete.UseVisualStyleBackColor = true; | ||||||
|             this.btn_delete.Click += new System.EventHandler(this.btn_delete_Click); |             this.btn_delete.Click += new System.EventHandler(this.btn_delete_Click); | ||||||
| @@ -126,216 +126,10 @@ | |||||||
|             this.dataGridView1.RowTemplate.Height = 23; |             this.dataGridView1.RowTemplate.Height = 23; | ||||||
|             this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |             this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; | ||||||
|             this.dataGridView1.Size = new System.Drawing.Size(860, 150); |             this.dataGridView1.Size = new System.Drawing.Size(860, 150); | ||||||
|             this.dataGridView1.TabIndex = 56; |             this.dataGridView1.TabIndex = 17; | ||||||
|             this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick); |             this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick); | ||||||
|             this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint); |             this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint); | ||||||
|             //  |             //  | ||||||
|             // tb_bank_code |  | ||||||
|             //  |  | ||||||
|             this.tb_bank_code.Location = new System.Drawing.Point(254, 77); |  | ||||||
|             this.tb_bank_code.Name = "tb_bank_code"; |  | ||||||
|             this.tb_bank_code.Size = new System.Drawing.Size(108, 21); |  | ||||||
|             this.tb_bank_code.TabIndex = 55; |  | ||||||
|             //  |  | ||||||
|             // tb_bank |  | ||||||
|             //  |  | ||||||
|             this.tb_bank.Location = new System.Drawing.Point(85, 77); |  | ||||||
|             this.tb_bank.Name = "tb_bank"; |  | ||||||
|             this.tb_bank.Size = new System.Drawing.Size(163, 21); |  | ||||||
|             this.tb_bank.TabIndex = 54; |  | ||||||
|             //  |  | ||||||
|             // label4 |  | ||||||
|             //  |  | ||||||
|             this.label4.AutoSize = true; |  | ||||||
|             this.label4.Location = new System.Drawing.Point(36, 81); |  | ||||||
|             this.label4.Name = "label4"; |  | ||||||
|             this.label4.Size = new System.Drawing.Size(41, 12); |  | ||||||
|             this.label4.TabIndex = 53; |  | ||||||
|             this.label4.Text = "은행명"; |  | ||||||
|             //  |  | ||||||
|             // btn_excel |  | ||||||
|             //  |  | ||||||
|             this.btn_excel.Location = new System.Drawing.Point(673, 223); |  | ||||||
|             this.btn_excel.Name = "btn_excel"; |  | ||||||
|             this.btn_excel.Size = new System.Drawing.Size(75, 23); |  | ||||||
|             this.btn_excel.TabIndex = 52; |  | ||||||
|             this.btn_excel.Text = "엑   셀"; |  | ||||||
|             this.btn_excel.UseVisualStyleBackColor = true; |  | ||||||
|             //  |  | ||||||
|             // btn_save |  | ||||||
|             //  |  | ||||||
|             this.btn_save.Location = new System.Drawing.Point(104, 223); |  | ||||||
|             this.btn_save.Name = "btn_save"; |  | ||||||
|             this.btn_save.Size = new System.Drawing.Size(75, 23); |  | ||||||
|             this.btn_save.TabIndex = 51; |  | ||||||
|             this.btn_save.Text = "저   장"; |  | ||||||
|             this.btn_save.UseVisualStyleBackColor = true; |  | ||||||
|             this.btn_save.Click += new System.EventHandler(this.btn_save_Click); |  | ||||||
|             //  |  | ||||||
|             // btn_lookup |  | ||||||
|             //  |  | ||||||
|             this.btn_lookup.Location = new System.Drawing.Point(592, 223); |  | ||||||
|             this.btn_lookup.Name = "btn_lookup"; |  | ||||||
|             this.btn_lookup.Size = new System.Drawing.Size(75, 23); |  | ||||||
|             this.btn_lookup.TabIndex = 50; |  | ||||||
|             this.btn_lookup.Text = "조   회"; |  | ||||||
|             this.btn_lookup.UseVisualStyleBackColor = true; |  | ||||||
|             this.btn_lookup.Click += new System.EventHandler(this.btn_lookup_Click); |  | ||||||
|             //  |  | ||||||
|             // btn_Add |  | ||||||
|             //  |  | ||||||
|             this.btn_Add.Location = new System.Drawing.Point(23, 223); |  | ||||||
|             this.btn_Add.Name = "btn_Add"; |  | ||||||
|             this.btn_Add.Size = new System.Drawing.Size(75, 23); |  | ||||||
|             this.btn_Add.TabIndex = 49; |  | ||||||
|             this.btn_Add.Text = "추   가"; |  | ||||||
|             this.btn_Add.UseVisualStyleBackColor = true; |  | ||||||
|             this.btn_Add.Click += new System.EventHandler(this.btn_Add_Click); |  | ||||||
|             //  |  | ||||||
|             // tb_send_money |  | ||||||
|             //  |  | ||||||
|             this.tb_send_money.Location = new System.Drawing.Point(85, 133); |  | ||||||
|             this.tb_send_money.Name = "tb_send_money"; |  | ||||||
|             this.tb_send_money.Size = new System.Drawing.Size(163, 21); |  | ||||||
|             this.tb_send_money.TabIndex = 48; |  | ||||||
|             //  |  | ||||||
|             // label8 |  | ||||||
|             //  |  | ||||||
|             this.label8.AutoSize = true; |  | ||||||
|             this.label8.Location = new System.Drawing.Point(24, 137); |  | ||||||
|             this.label8.Name = "label8"; |  | ||||||
|             this.label8.Size = new System.Drawing.Size(53, 12); |  | ||||||
|             this.label8.TabIndex = 41; |  | ||||||
|             this.label8.Text = "송금금액"; |  | ||||||
|             //  |  | ||||||
|             // tb_etc |  | ||||||
|             //  |  | ||||||
|             this.tb_etc.Location = new System.Drawing.Point(85, 161); |  | ||||||
|             this.tb_etc.Multiline = true; |  | ||||||
|             this.tb_etc.Name = "tb_etc"; |  | ||||||
|             this.tb_etc.Size = new System.Drawing.Size(663, 56); |  | ||||||
|             this.tb_etc.TabIndex = 43; |  | ||||||
|             //  |  | ||||||
|             // label7 |  | ||||||
|             //  |  | ||||||
|             this.label7.AutoSize = true; |  | ||||||
|             this.label7.Location = new System.Drawing.Point(32, 165); |  | ||||||
|             this.label7.Name = "label7"; |  | ||||||
|             this.label7.Size = new System.Drawing.Size(45, 12); |  | ||||||
|             this.label7.TabIndex = 42; |  | ||||||
|             this.label7.Text = "비    고"; |  | ||||||
|             //  |  | ||||||
|             // tb_bank_boss |  | ||||||
|             //  |  | ||||||
|             this.tb_bank_boss.Location = new System.Drawing.Point(436, 105); |  | ||||||
|             this.tb_bank_boss.Name = "tb_bank_boss"; |  | ||||||
|             this.tb_bank_boss.Size = new System.Drawing.Size(280, 21); |  | ||||||
|             this.tb_bank_boss.TabIndex = 44; |  | ||||||
|             //  |  | ||||||
|             // label5 |  | ||||||
|             //  |  | ||||||
|             this.label5.AutoSize = true; |  | ||||||
|             this.label5.Location = new System.Drawing.Point(389, 109); |  | ||||||
|             this.label5.Name = "label5"; |  | ||||||
|             this.label5.Size = new System.Drawing.Size(41, 12); |  | ||||||
|             this.label5.TabIndex = 40; |  | ||||||
|             this.label5.Text = "예금주"; |  | ||||||
|             //  |  | ||||||
|             // tb_bank_num |  | ||||||
|             //  |  | ||||||
|             this.tb_bank_num.Location = new System.Drawing.Point(85, 105); |  | ||||||
|             this.tb_bank_num.Name = "tb_bank_num"; |  | ||||||
|             this.tb_bank_num.Size = new System.Drawing.Size(280, 21); |  | ||||||
|             this.tb_bank_num.TabIndex = 45; |  | ||||||
|             //  |  | ||||||
|             // label6 |  | ||||||
|             //  |  | ||||||
|             this.label6.AutoSize = true; |  | ||||||
|             this.label6.Location = new System.Drawing.Point(24, 109); |  | ||||||
|             this.label6.Name = "label6"; |  | ||||||
|             this.label6.Size = new System.Drawing.Size(53, 12); |  | ||||||
|             this.label6.TabIndex = 39; |  | ||||||
|             this.label6.Text = "계좌번호"; |  | ||||||
|             //  |  | ||||||
|             // tb_now_money |  | ||||||
|             //  |  | ||||||
|             this.tb_now_money.BackColor = System.Drawing.SystemColors.Info; |  | ||||||
|             this.tb_now_money.Location = new System.Drawing.Point(436, 49); |  | ||||||
|             this.tb_now_money.Name = "tb_now_money"; |  | ||||||
|             this.tb_now_money.Size = new System.Drawing.Size(150, 21); |  | ||||||
|             this.tb_now_money.TabIndex = 46; |  | ||||||
|             //  |  | ||||||
|             // label2 |  | ||||||
|             //  |  | ||||||
|             this.label2.AutoSize = true; |  | ||||||
|             this.label2.Location = new System.Drawing.Point(385, 53); |  | ||||||
|             this.label2.Name = "label2"; |  | ||||||
|             this.label2.Size = new System.Drawing.Size(45, 12); |  | ||||||
|             this.label2.TabIndex = 38; |  | ||||||
|             this.label2.Text = "현 잔액"; |  | ||||||
|             //  |  | ||||||
|             // tb_purchase |  | ||||||
|             //  |  | ||||||
|             this.tb_purchase.Location = new System.Drawing.Point(85, 49); |  | ||||||
|             this.tb_purchase.Name = "tb_purchase"; |  | ||||||
|             this.tb_purchase.Size = new System.Drawing.Size(277, 21); |  | ||||||
|             this.tb_purchase.TabIndex = 47; |  | ||||||
|             this.tb_purchase.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_purchase_KeyDown); |  | ||||||
|             //  |  | ||||||
|             // label3 |  | ||||||
|             //  |  | ||||||
|             this.label3.AutoSize = true; |  | ||||||
|             this.label3.Location = new System.Drawing.Point(12, 53); |  | ||||||
|             this.label3.Name = "label3"; |  | ||||||
|             this.label3.Size = new System.Drawing.Size(65, 12); |  | ||||||
|             this.label3.TabIndex = 37; |  | ||||||
|             this.label3.Text = "매입거래처"; |  | ||||||
|             //  |  | ||||||
|             // end_Date |  | ||||||
|             //  |  | ||||||
|             this.end_Date.CustomFormat = "yyyy-MM-dd"; |  | ||||||
|             this.end_Date.Format = System.Windows.Forms.DateTimePickerFormat.Custom; |  | ||||||
|             this.end_Date.Location = new System.Drawing.Point(424, 224); |  | ||||||
|             this.end_Date.Name = "end_Date"; |  | ||||||
|             this.end_Date.Size = new System.Drawing.Size(85, 21); |  | ||||||
|             this.end_Date.TabIndex = 35; |  | ||||||
|             //  |  | ||||||
|             // start_Date |  | ||||||
|             //  |  | ||||||
|             this.start_Date.CustomFormat = "yyyy-MM-dd"; |  | ||||||
|             this.start_Date.Format = System.Windows.Forms.DateTimePickerFormat.Custom; |  | ||||||
|             this.start_Date.Location = new System.Drawing.Point(333, 224); |  | ||||||
|             this.start_Date.Name = "start_Date"; |  | ||||||
|             this.start_Date.Size = new System.Drawing.Size(85, 21); |  | ||||||
|             this.start_Date.TabIndex = 34; |  | ||||||
|             //  |  | ||||||
|             // label9 |  | ||||||
|             //  |  | ||||||
|             this.label9.AutoSize = true; |  | ||||||
|             this.label9.Location = new System.Drawing.Point(272, 228); |  | ||||||
|             this.label9.Name = "label9"; |  | ||||||
|             this.label9.Size = new System.Drawing.Size(53, 12); |  | ||||||
|             this.label9.TabIndex = 33; |  | ||||||
|             this.label9.Text = "등록일자"; |  | ||||||
|             //  |  | ||||||
|             // list_Date |  | ||||||
|             //  |  | ||||||
|             this.list_Date.CustomFormat = "yyyy-MM-dd"; |  | ||||||
|             this.list_Date.Format = System.Windows.Forms.DateTimePickerFormat.Custom; |  | ||||||
|             this.list_Date.Location = new System.Drawing.Point(85, 21); |  | ||||||
|             this.list_Date.Name = "list_Date"; |  | ||||||
|             this.list_Date.Size = new System.Drawing.Size(85, 21); |  | ||||||
|             this.list_Date.TabIndex = 36; |  | ||||||
|             //  |  | ||||||
|             // label1 |  | ||||||
|             //  |  | ||||||
|             this.label1.AutoSize = true; |  | ||||||
|             this.label1.Location = new System.Drawing.Point(24, 25); |  | ||||||
|             this.label1.Name = "label1"; |  | ||||||
|             this.label1.Size = new System.Drawing.Size(53, 12); |  | ||||||
|             this.label1.TabIndex = 32; |  | ||||||
|             this.label1.Text = "등록일자"; |  | ||||||
|             //  |  | ||||||
|             // date_res |             // date_res | ||||||
|             //  |             //  | ||||||
|             this.date_res.HeaderText = "등록일자"; |             this.date_res.HeaderText = "등록일자"; | ||||||
| @@ -386,6 +180,212 @@ | |||||||
|             this.etc.Name = "etc"; |             this.etc.Name = "etc"; | ||||||
|             this.etc.Width = 120; |             this.etc.Width = 120; | ||||||
|             //  |             //  | ||||||
|  |             // tb_bank_code | ||||||
|  |             //  | ||||||
|  |             this.tb_bank_code.Location = new System.Drawing.Point(254, 77); | ||||||
|  |             this.tb_bank_code.Name = "tb_bank_code"; | ||||||
|  |             this.tb_bank_code.Size = new System.Drawing.Size(108, 21); | ||||||
|  |             this.tb_bank_code.TabIndex = 4; | ||||||
|  |             //  | ||||||
|  |             // tb_bank | ||||||
|  |             //  | ||||||
|  |             this.tb_bank.Location = new System.Drawing.Point(85, 77); | ||||||
|  |             this.tb_bank.Name = "tb_bank"; | ||||||
|  |             this.tb_bank.Size = new System.Drawing.Size(163, 21); | ||||||
|  |             this.tb_bank.TabIndex = 3; | ||||||
|  |             //  | ||||||
|  |             // label4 | ||||||
|  |             //  | ||||||
|  |             this.label4.AutoSize = true; | ||||||
|  |             this.label4.Location = new System.Drawing.Point(36, 81); | ||||||
|  |             this.label4.Name = "label4"; | ||||||
|  |             this.label4.Size = new System.Drawing.Size(41, 12); | ||||||
|  |             this.label4.TabIndex = 53; | ||||||
|  |             this.label4.Text = "은행명"; | ||||||
|  |             //  | ||||||
|  |             // btn_excel | ||||||
|  |             //  | ||||||
|  |             this.btn_excel.Location = new System.Drawing.Point(673, 223); | ||||||
|  |             this.btn_excel.Name = "btn_excel"; | ||||||
|  |             this.btn_excel.Size = new System.Drawing.Size(75, 23); | ||||||
|  |             this.btn_excel.TabIndex = 16; | ||||||
|  |             this.btn_excel.Text = "엑   셀"; | ||||||
|  |             this.btn_excel.UseVisualStyleBackColor = true; | ||||||
|  |             //  | ||||||
|  |             // btn_save | ||||||
|  |             //  | ||||||
|  |             this.btn_save.Location = new System.Drawing.Point(104, 223); | ||||||
|  |             this.btn_save.Name = "btn_save"; | ||||||
|  |             this.btn_save.Size = new System.Drawing.Size(75, 23); | ||||||
|  |             this.btn_save.TabIndex = 9; | ||||||
|  |             this.btn_save.Text = "저   장"; | ||||||
|  |             this.btn_save.UseVisualStyleBackColor = true; | ||||||
|  |             this.btn_save.Click += new System.EventHandler(this.btn_save_Click); | ||||||
|  |             //  | ||||||
|  |             // btn_lookup | ||||||
|  |             //  | ||||||
|  |             this.btn_lookup.Location = new System.Drawing.Point(592, 223); | ||||||
|  |             this.btn_lookup.Name = "btn_lookup"; | ||||||
|  |             this.btn_lookup.Size = new System.Drawing.Size(75, 23); | ||||||
|  |             this.btn_lookup.TabIndex = 15; | ||||||
|  |             this.btn_lookup.Text = "조   회"; | ||||||
|  |             this.btn_lookup.UseVisualStyleBackColor = true; | ||||||
|  |             this.btn_lookup.Click += new System.EventHandler(this.btn_lookup_Click); | ||||||
|  |             //  | ||||||
|  |             // btn_Add | ||||||
|  |             //  | ||||||
|  |             this.btn_Add.Location = new System.Drawing.Point(23, 223); | ||||||
|  |             this.btn_Add.Name = "btn_Add"; | ||||||
|  |             this.btn_Add.Size = new System.Drawing.Size(75, 23); | ||||||
|  |             this.btn_Add.TabIndex = 10; | ||||||
|  |             this.btn_Add.Text = "추   가"; | ||||||
|  |             this.btn_Add.UseVisualStyleBackColor = true; | ||||||
|  |             this.btn_Add.Click += new System.EventHandler(this.btn_Add_Click); | ||||||
|  |             //  | ||||||
|  |             // tb_send_money | ||||||
|  |             //  | ||||||
|  |             this.tb_send_money.Location = new System.Drawing.Point(85, 133); | ||||||
|  |             this.tb_send_money.Name = "tb_send_money"; | ||||||
|  |             this.tb_send_money.Size = new System.Drawing.Size(163, 21); | ||||||
|  |             this.tb_send_money.TabIndex = 7; | ||||||
|  |             //  | ||||||
|  |             // label8 | ||||||
|  |             //  | ||||||
|  |             this.label8.AutoSize = true; | ||||||
|  |             this.label8.Location = new System.Drawing.Point(24, 137); | ||||||
|  |             this.label8.Name = "label8"; | ||||||
|  |             this.label8.Size = new System.Drawing.Size(53, 12); | ||||||
|  |             this.label8.TabIndex = 41; | ||||||
|  |             this.label8.Text = "송금금액"; | ||||||
|  |             //  | ||||||
|  |             // tb_etc | ||||||
|  |             //  | ||||||
|  |             this.tb_etc.Location = new System.Drawing.Point(85, 161); | ||||||
|  |             this.tb_etc.Multiline = true; | ||||||
|  |             this.tb_etc.Name = "tb_etc"; | ||||||
|  |             this.tb_etc.Size = new System.Drawing.Size(663, 56); | ||||||
|  |             this.tb_etc.TabIndex = 8; | ||||||
|  |             //  | ||||||
|  |             // label7 | ||||||
|  |             //  | ||||||
|  |             this.label7.AutoSize = true; | ||||||
|  |             this.label7.Location = new System.Drawing.Point(32, 165); | ||||||
|  |             this.label7.Name = "label7"; | ||||||
|  |             this.label7.Size = new System.Drawing.Size(45, 12); | ||||||
|  |             this.label7.TabIndex = 42; | ||||||
|  |             this.label7.Text = "비    고"; | ||||||
|  |             //  | ||||||
|  |             // tb_bank_boss | ||||||
|  |             //  | ||||||
|  |             this.tb_bank_boss.Location = new System.Drawing.Point(436, 105); | ||||||
|  |             this.tb_bank_boss.Name = "tb_bank_boss"; | ||||||
|  |             this.tb_bank_boss.Size = new System.Drawing.Size(280, 21); | ||||||
|  |             this.tb_bank_boss.TabIndex = 6; | ||||||
|  |             //  | ||||||
|  |             // label5 | ||||||
|  |             //  | ||||||
|  |             this.label5.AutoSize = true; | ||||||
|  |             this.label5.Location = new System.Drawing.Point(389, 109); | ||||||
|  |             this.label5.Name = "label5"; | ||||||
|  |             this.label5.Size = new System.Drawing.Size(41, 12); | ||||||
|  |             this.label5.TabIndex = 40; | ||||||
|  |             this.label5.Text = "예금주"; | ||||||
|  |             //  | ||||||
|  |             // tb_bank_num | ||||||
|  |             //  | ||||||
|  |             this.tb_bank_num.Location = new System.Drawing.Point(85, 105); | ||||||
|  |             this.tb_bank_num.Name = "tb_bank_num"; | ||||||
|  |             this.tb_bank_num.Size = new System.Drawing.Size(280, 21); | ||||||
|  |             this.tb_bank_num.TabIndex = 5; | ||||||
|  |             //  | ||||||
|  |             // label6 | ||||||
|  |             //  | ||||||
|  |             this.label6.AutoSize = true; | ||||||
|  |             this.label6.Location = new System.Drawing.Point(24, 109); | ||||||
|  |             this.label6.Name = "label6"; | ||||||
|  |             this.label6.Size = new System.Drawing.Size(53, 12); | ||||||
|  |             this.label6.TabIndex = 39; | ||||||
|  |             this.label6.Text = "계좌번호"; | ||||||
|  |             //  | ||||||
|  |             // tb_now_money | ||||||
|  |             //  | ||||||
|  |             this.tb_now_money.BackColor = System.Drawing.SystemColors.Info; | ||||||
|  |             this.tb_now_money.Location = new System.Drawing.Point(436, 49); | ||||||
|  |             this.tb_now_money.Name = "tb_now_money"; | ||||||
|  |             this.tb_now_money.Size = new System.Drawing.Size(150, 21); | ||||||
|  |             this.tb_now_money.TabIndex = 2; | ||||||
|  |             //  | ||||||
|  |             // label2 | ||||||
|  |             //  | ||||||
|  |             this.label2.AutoSize = true; | ||||||
|  |             this.label2.Location = new System.Drawing.Point(385, 53); | ||||||
|  |             this.label2.Name = "label2"; | ||||||
|  |             this.label2.Size = new System.Drawing.Size(45, 12); | ||||||
|  |             this.label2.TabIndex = 38; | ||||||
|  |             this.label2.Text = "현 잔액"; | ||||||
|  |             //  | ||||||
|  |             // tb_purchase | ||||||
|  |             //  | ||||||
|  |             this.tb_purchase.Location = new System.Drawing.Point(85, 49); | ||||||
|  |             this.tb_purchase.Name = "tb_purchase"; | ||||||
|  |             this.tb_purchase.Size = new System.Drawing.Size(277, 21); | ||||||
|  |             this.tb_purchase.TabIndex = 1; | ||||||
|  |             this.tb_purchase.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_purchase_KeyDown); | ||||||
|  |             //  | ||||||
|  |             // label3 | ||||||
|  |             //  | ||||||
|  |             this.label3.AutoSize = true; | ||||||
|  |             this.label3.Location = new System.Drawing.Point(12, 53); | ||||||
|  |             this.label3.Name = "label3"; | ||||||
|  |             this.label3.Size = new System.Drawing.Size(65, 12); | ||||||
|  |             this.label3.TabIndex = 37; | ||||||
|  |             this.label3.Text = "매입거래처"; | ||||||
|  |             //  | ||||||
|  |             // end_Date | ||||||
|  |             //  | ||||||
|  |             this.end_Date.CustomFormat = "yyyy-MM-dd"; | ||||||
|  |             this.end_Date.Format = System.Windows.Forms.DateTimePickerFormat.Custom; | ||||||
|  |             this.end_Date.Location = new System.Drawing.Point(424, 224); | ||||||
|  |             this.end_Date.Name = "end_Date"; | ||||||
|  |             this.end_Date.Size = new System.Drawing.Size(85, 21); | ||||||
|  |             this.end_Date.TabIndex = 13; | ||||||
|  |             //  | ||||||
|  |             // start_Date | ||||||
|  |             //  | ||||||
|  |             this.start_Date.CustomFormat = "yyyy-MM-dd"; | ||||||
|  |             this.start_Date.Format = System.Windows.Forms.DateTimePickerFormat.Custom; | ||||||
|  |             this.start_Date.Location = new System.Drawing.Point(333, 224); | ||||||
|  |             this.start_Date.Name = "start_Date"; | ||||||
|  |             this.start_Date.Size = new System.Drawing.Size(85, 21); | ||||||
|  |             this.start_Date.TabIndex = 12; | ||||||
|  |             //  | ||||||
|  |             // label9 | ||||||
|  |             //  | ||||||
|  |             this.label9.AutoSize = true; | ||||||
|  |             this.label9.Location = new System.Drawing.Point(272, 228); | ||||||
|  |             this.label9.Name = "label9"; | ||||||
|  |             this.label9.Size = new System.Drawing.Size(53, 12); | ||||||
|  |             this.label9.TabIndex = 33; | ||||||
|  |             this.label9.Text = "등록일자"; | ||||||
|  |             //  | ||||||
|  |             // list_Date | ||||||
|  |             //  | ||||||
|  |             this.list_Date.CustomFormat = "yyyy-MM-dd"; | ||||||
|  |             this.list_Date.Format = System.Windows.Forms.DateTimePickerFormat.Custom; | ||||||
|  |             this.list_Date.Location = new System.Drawing.Point(85, 21); | ||||||
|  |             this.list_Date.Name = "list_Date"; | ||||||
|  |             this.list_Date.Size = new System.Drawing.Size(85, 21); | ||||||
|  |             this.list_Date.TabIndex = 0; | ||||||
|  |             //  | ||||||
|  |             // label1 | ||||||
|  |             //  | ||||||
|  |             this.label1.AutoSize = true; | ||||||
|  |             this.label1.Location = new System.Drawing.Point(24, 25); | ||||||
|  |             this.label1.Name = "label1"; | ||||||
|  |             this.label1.Size = new System.Drawing.Size(53, 12); | ||||||
|  |             this.label1.TabIndex = 32; | ||||||
|  |             this.label1.Text = "등록일자"; | ||||||
|  |             //  | ||||||
|             // Remit_reg2 |             // Remit_reg2 | ||||||
|             //  |             //  | ||||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); |             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||||
|   | |||||||
| @@ -111,7 +111,7 @@ namespace WindowsFormsApp1.Account | |||||||
|             string[] target_data = { date, tb_purchase.Text, tb_bank.Text, tb_bank_code.Text, |             string[] target_data = { date, tb_purchase.Text, tb_bank.Text, tb_bank_code.Text, | ||||||
|                                      tb_bank_num.Text, tb_bank_boss.Text, tb_send_money.Text, tb_etc.Text }; |                                      tb_bank_num.Text, tb_bank_boss.Text, tb_send_money.Text, tb_etc.Text }; | ||||||
|  |  | ||||||
|             if (MessageBox.Show("정말 삭제하시겠습니까?", "경고", MessageBoxButtons.YesNo) == DialogResult.No) |             if (MessageBox.Show("정말 삭제하시겠습니까?", "경고", MessageBoxButtons.YesNo) == DialogResult.Yes) | ||||||
|             { |             { | ||||||
|                 db.DB_Delete_More_term("Remit_reg", target_idx, compidx, target_table, target_data); |                 db.DB_Delete_More_term("Remit_reg", target_idx, compidx, target_table, target_data); | ||||||
|                 MessageBox.Show("삭제되었습니다."); |                 MessageBox.Show("삭제되었습니다."); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 SeungHo Yang
					SeungHo Yang