From a36372b17c115ff9ec7fb43ae3abc7854986a3fa Mon Sep 17 00:00:00 2001 From: LGram16 Date: Wed, 22 Oct 2025 22:52:34 +0900 Subject: [PATCH] =?UTF-8?q?=EB=82=A9=ED=92=88=EC=B2=98=EA=B4=80=EB=A6=AC?= =?UTF-8?q?=EC=97=90.=20=EC=A0=80=EC=9E=90=EA=B8=B0=ED=98=B8,=20=EB=B0=8F?= =?UTF-8?q?=20=EB=B6=84=EB=A5=98=EA=B8=B0=ED=98=B8=20=EA=B4=80=EB=A0=A8=20?= =?UTF-8?q?=EC=BB=AC=EB=9F=BC=205=EA=B0=9C=20=EC=B6=94=EA=B0=80=20DB-CRUD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../unimarc/홈/Transaction_manage.Designer.cs | 409 ++++++++++-------- unimarc/unimarc/홈/Transaction_manage.cs | 72 ++- 2 files changed, 292 insertions(+), 189 deletions(-) diff --git a/unimarc/unimarc/홈/Transaction_manage.Designer.cs b/unimarc/unimarc/홈/Transaction_manage.Designer.cs index ece8c95..d45ce3f 100644 --- a/unimarc/unimarc/홈/Transaction_manage.Designer.cs +++ b/unimarc/unimarc/홈/Transaction_manage.Designer.cs @@ -135,6 +135,14 @@ this.panel7 = new System.Windows.Forms.Panel(); this.panel6 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel(); + this.panel9 = new System.Windows.Forms.Panel(); + this.cb_authorType = new System.Windows.Forms.ComboBox(); + this.cb_divType = new System.Windows.Forms.ComboBox(); + this.cb_divNum = new System.Windows.Forms.ComboBox(); + this.cb_FirstBook = new System.Windows.Forms.ComboBox(); + this.cb_FirstAuthor = new System.Windows.Forms.ComboBox(); + this.label20 = new System.Windows.Forms.Label(); + this.label21 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit(); this.contextMenuStrip1.SuspendLayout(); this.panel1.SuspendLayout(); @@ -148,78 +156,75 @@ this.panel7.SuspendLayout(); this.panel6.SuspendLayout(); this.panel5.SuspendLayout(); + this.panel9.SuspendLayout(); this.SuspendLayout(); // // NameLabel // this.NameLabel.AutoSize = true; this.NameLabel.ForeColor = System.Drawing.SystemColors.ControlText; - this.NameLabel.Location = new System.Drawing.Point(24, 69); + this.NameLabel.Location = new System.Drawing.Point(21, 55); this.NameLabel.Name = "NameLabel"; - this.NameLabel.Size = new System.Drawing.Size(62, 15); + this.NameLabel.Size = new System.Drawing.Size(49, 12); this.NameLabel.TabIndex = 0; this.NameLabel.Text = "업 체 명"; // // tb_sangho // - this.tb_sangho.Location = new System.Drawing.Point(85, 64); - this.tb_sangho.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_sangho.Location = new System.Drawing.Point(74, 51); this.tb_sangho.Name = "tb_sangho"; - this.tb_sangho.Size = new System.Drawing.Size(157, 25); + this.tb_sangho.Size = new System.Drawing.Size(138, 21); this.tb_sangho.TabIndex = 1; this.tb_sangho.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown); // // tb_addr // - this.tb_addr.Location = new System.Drawing.Point(187, 184); - this.tb_addr.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_addr.Location = new System.Drawing.Point(164, 147); this.tb_addr.Name = "tb_addr"; - this.tb_addr.Size = new System.Drawing.Size(443, 25); + this.tb_addr.Size = new System.Drawing.Size(388, 21); this.tb_addr.TabIndex = 26; // // label3 // this.label3.AutoSize = true; this.label3.ForeColor = System.Drawing.SystemColors.ControlText; - this.label3.Location = new System.Drawing.Point(22, 189); + this.label3.Location = new System.Drawing.Point(19, 151); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(67, 15); + this.label3.Size = new System.Drawing.Size(53, 12); this.label3.TabIndex = 24; this.label3.Text = "주 소"; // // tb_man // - this.tb_man.Location = new System.Drawing.Point(85, 154); - this.tb_man.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_man.Location = new System.Drawing.Point(74, 123); this.tb_man.Name = "tb_man"; - this.tb_man.Size = new System.Drawing.Size(221, 25); + this.tb_man.Size = new System.Drawing.Size(194, 21); this.tb_man.TabIndex = 20; // // label4 // this.label4.AutoSize = true; this.label4.ForeColor = System.Drawing.SystemColors.ControlText; - this.label4.Location = new System.Drawing.Point(3, 159); + this.label4.Location = new System.Drawing.Point(3, 127); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(87, 15); + this.label4.Size = new System.Drawing.Size(69, 12); this.label4.TabIndex = 19; this.label4.Text = "담당자 정보"; // // tb_fax // - this.tb_fax.Location = new System.Drawing.Point(409, 124); - this.tb_fax.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_fax.Location = new System.Drawing.Point(358, 99); this.tb_fax.Name = "tb_fax"; - this.tb_fax.Size = new System.Drawing.Size(221, 25); + this.tb_fax.Size = new System.Drawing.Size(194, 21); this.tb_fax.TabIndex = 16; // // label6 // this.label6.AutoSize = true; this.label6.ForeColor = System.Drawing.SystemColors.ControlText; - this.label6.Location = new System.Drawing.Point(346, 129); + this.label6.Location = new System.Drawing.Point(303, 103); this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(67, 15); + this.label6.Size = new System.Drawing.Size(53, 12); this.label6.TabIndex = 15; this.label6.Text = "팩 스"; // @@ -227,9 +232,9 @@ // this.label7.AutoSize = true; this.label7.ForeColor = System.Drawing.SystemColors.ControlText; - this.label7.Location = new System.Drawing.Point(24, 219); + this.label7.Location = new System.Drawing.Point(21, 175); this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(62, 15); + this.label7.Size = new System.Drawing.Size(49, 12); this.label7.TabIndex = 27; this.label7.Text = "아 이 디"; // @@ -238,10 +243,9 @@ this.btn_delete.DialogResult = System.Windows.Forms.DialogResult.Abort; this.btn_delete.Dock = System.Windows.Forms.DockStyle.Fill; this.btn_delete.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btn_delete.Location = new System.Drawing.Point(858, 5); - this.btn_delete.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.btn_delete.Location = new System.Drawing.Point(753, 4); this.btn_delete.Name = "btn_delete"; - this.btn_delete.Size = new System.Drawing.Size(115, 45); + this.btn_delete.Size = new System.Drawing.Size(100, 36); this.btn_delete.TabIndex = 42; this.btn_delete.Text = "삭 제"; this.btn_delete.UseVisualStyleBackColor = true; @@ -252,10 +256,9 @@ this.btn_save.DialogResult = System.Windows.Forms.DialogResult.Abort; this.btn_save.Dock = System.Windows.Forms.DockStyle.Fill; this.btn_save.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btn_save.Location = new System.Drawing.Point(736, 5); - this.btn_save.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.btn_save.Location = new System.Drawing.Point(646, 4); this.btn_save.Name = "btn_save"; - this.btn_save.Size = new System.Drawing.Size(115, 45); + this.btn_save.Size = new System.Drawing.Size(100, 36); this.btn_save.TabIndex = 40; this.btn_save.Text = "수 정"; this.btn_save.UseVisualStyleBackColor = true; @@ -266,10 +269,9 @@ this.btn_add.DialogResult = System.Windows.Forms.DialogResult.Abort; this.btn_add.Dock = System.Windows.Forms.DockStyle.Fill; this.btn_add.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btn_add.Location = new System.Drawing.Point(614, 5); - this.btn_add.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.btn_add.Location = new System.Drawing.Point(539, 4); this.btn_add.Name = "btn_add"; - this.btn_add.Size = new System.Drawing.Size(115, 45); + this.btn_add.Size = new System.Drawing.Size(100, 36); this.btn_add.TabIndex = 39; this.btn_add.Text = "추 가"; this.btn_add.UseVisualStyleBackColor = true; @@ -279,9 +281,9 @@ // this.label1.AutoSize = true; this.label1.ForeColor = System.Drawing.SystemColors.ControlText; - this.label1.Location = new System.Drawing.Point(346, 69); + this.label1.Location = new System.Drawing.Point(303, 55); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(67, 15); + this.label1.Size = new System.Drawing.Size(53, 12); this.label1.TabIndex = 3; this.label1.Text = "구 분"; // @@ -289,37 +291,34 @@ // this.label2.AutoSize = true; this.label2.ForeColor = System.Drawing.SystemColors.ControlText; - this.label2.Location = new System.Drawing.Point(22, 129); + this.label2.Location = new System.Drawing.Point(19, 103); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(67, 15); + this.label2.Size = new System.Drawing.Size(53, 12); this.label2.TabIndex = 13; this.label2.Text = "전화번호"; // // tb_tel // - this.tb_tel.Location = new System.Drawing.Point(85, 124); - this.tb_tel.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_tel.Location = new System.Drawing.Point(74, 99); this.tb_tel.Name = "tb_tel"; - this.tb_tel.Size = new System.Drawing.Size(221, 25); + this.tb_tel.Size = new System.Drawing.Size(194, 21); this.tb_tel.TabIndex = 14; // // cb_gubun2 // this.cb_gubun2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cb_gubun2.FormattingEnabled = true; - this.cb_gubun2.Location = new System.Drawing.Point(522, 64); - this.cb_gubun2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.cb_gubun2.Location = new System.Drawing.Point(457, 51); this.cb_gubun2.Name = "cb_gubun2"; - this.cb_gubun2.Size = new System.Drawing.Size(108, 23); + this.cb_gubun2.Size = new System.Drawing.Size(95, 20); this.cb_gubun2.TabIndex = 4; // // rtb_etc // this.rtb_etc.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.rtb_etc.Location = new System.Drawing.Point(85, 274); - this.rtb_etc.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.rtb_etc.Location = new System.Drawing.Point(74, 219); this.rtb_etc.Name = "rtb_etc"; - this.rtb_etc.Size = new System.Drawing.Size(870, 232); + this.rtb_etc.Size = new System.Drawing.Size(762, 186); this.rtb_etc.TabIndex = 38; this.rtb_etc.Text = ""; // @@ -368,7 +367,6 @@ this.dv1.Dock = System.Windows.Forms.DockStyle.Fill; this.dv1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; this.dv1.Location = new System.Drawing.Point(0, 0); - this.dv1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.dv1.MultiSelect = false; this.dv1.Name = "dv1"; this.dv1.ReadOnly = true; @@ -383,7 +381,7 @@ this.dv1.RowHeadersWidth = 21; this.dv1.RowTemplate.Height = 23; this.dv1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dv1.Size = new System.Drawing.Size(1105, 532); + this.dv1.Size = new System.Drawing.Size(967, 425); this.dv1.TabIndex = 44; this.dv1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick); // @@ -571,30 +569,28 @@ this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btExportList}); this.contextMenuStrip1.Name = "contextMenuStrip1"; - this.contextMenuStrip1.Size = new System.Drawing.Size(174, 28); + this.contextMenuStrip1.Size = new System.Drawing.Size(151, 26); // // btExportList // this.btExportList.Name = "btExportList"; - this.btExportList.Size = new System.Drawing.Size(173, 24); + this.btExportList.Size = new System.Drawing.Size(150, 22); this.btExportList.Text = "목록 내보내기"; this.btExportList.Click += new System.EventHandler(this.btExportList_Click); // // tb_man1 // - this.tb_man1.Location = new System.Drawing.Point(310, 154); - this.tb_man1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_man1.Location = new System.Drawing.Point(271, 123); this.tb_man1.Name = "tb_man1"; - this.tb_man1.Size = new System.Drawing.Size(321, 25); + this.tb_man1.Size = new System.Drawing.Size(281, 21); this.tb_man1.TabIndex = 21; // // btn_search // this.btn_search.Dock = System.Windows.Forms.DockStyle.Fill; - this.btn_search.Location = new System.Drawing.Point(370, 5); - this.btn_search.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.btn_search.Location = new System.Drawing.Point(325, 4); this.btn_search.Name = "btn_search"; - this.btn_search.Size = new System.Drawing.Size(115, 45); + this.btn_search.Size = new System.Drawing.Size(100, 36); this.btn_search.TabIndex = 2; this.btn_search.Text = "검 색"; this.btn_search.UseVisualStyleBackColor = true; @@ -602,61 +598,57 @@ // // tb_id // - this.tb_id.Location = new System.Drawing.Point(85, 214); - this.tb_id.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_id.Location = new System.Drawing.Point(74, 171); this.tb_id.Name = "tb_id"; - this.tb_id.Size = new System.Drawing.Size(221, 25); + this.tb_id.Size = new System.Drawing.Size(194, 21); this.tb_id.TabIndex = 28; // // label5 // this.label5.AutoSize = true; this.label5.ForeColor = System.Drawing.SystemColors.ControlText; - this.label5.Location = new System.Drawing.Point(22, 278); + this.label5.Location = new System.Drawing.Point(19, 222); this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(67, 15); + this.label5.Size = new System.Drawing.Size(53, 12); this.label5.TabIndex = 37; this.label5.Text = "비 고"; // // label8 // this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(346, 219); + this.label8.Location = new System.Drawing.Point(303, 175); this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(67, 15); + this.label8.Size = new System.Drawing.Size(53, 12); this.label8.TabIndex = 29; this.label8.Text = "비밀번호"; // // tb_pw // - this.tb_pw.Location = new System.Drawing.Point(409, 214); - this.tb_pw.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_pw.Location = new System.Drawing.Point(358, 171); this.tb_pw.Name = "tb_pw"; - this.tb_pw.Size = new System.Drawing.Size(221, 25); + this.tb_pw.Size = new System.Drawing.Size(194, 21); this.tb_pw.TabIndex = 30; // // tb_zip // - this.tb_zip.Location = new System.Drawing.Point(85, 184); - this.tb_zip.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_zip.Location = new System.Drawing.Point(74, 147); this.tb_zip.Name = "tb_zip"; - this.tb_zip.Size = new System.Drawing.Size(99, 25); + this.tb_zip.Size = new System.Drawing.Size(87, 21); this.tb_zip.TabIndex = 25; // // tb_boss // - this.tb_boss.Location = new System.Drawing.Point(734, 64); - this.tb_boss.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_boss.Location = new System.Drawing.Point(642, 51); this.tb_boss.Name = "tb_boss"; - this.tb_boss.Size = new System.Drawing.Size(221, 25); + this.tb_boss.Size = new System.Drawing.Size(194, 21); this.tb_boss.TabIndex = 6; // // label9 // this.label9.AutoSize = true; - this.label9.Location = new System.Drawing.Point(671, 69); + this.label9.Location = new System.Drawing.Point(587, 55); this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(67, 15); + this.label9.Size = new System.Drawing.Size(53, 12); this.label9.TabIndex = 5; this.label9.Text = "대표자명"; // @@ -664,147 +656,138 @@ // this.label10.AutoSize = true; this.label10.ForeColor = System.Drawing.SystemColors.ControlText; - this.label10.Location = new System.Drawing.Point(22, 99); + this.label10.Location = new System.Drawing.Point(19, 79); this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(67, 15); + this.label10.Size = new System.Drawing.Size(53, 12); this.label10.TabIndex = 7; this.label10.Text = "등록번호"; // // tb_bubin // - this.tb_bubin.Location = new System.Drawing.Point(85, 94); - this.tb_bubin.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_bubin.Location = new System.Drawing.Point(74, 75); this.tb_bubin.Name = "tb_bubin"; - this.tb_bubin.Size = new System.Drawing.Size(157, 25); + this.tb_bubin.Size = new System.Drawing.Size(138, 21); this.tb_bubin.TabIndex = 8; // // label11 // this.label11.AutoSize = true; - this.label11.Location = new System.Drawing.Point(346, 99); + this.label11.Location = new System.Drawing.Point(303, 79); this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(67, 15); + this.label11.Size = new System.Drawing.Size(53, 12); this.label11.TabIndex = 9; this.label11.Text = "업 태"; // // tb_uptae // - this.tb_uptae.Location = new System.Drawing.Point(409, 94); - this.tb_uptae.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_uptae.Location = new System.Drawing.Point(358, 75); this.tb_uptae.Name = "tb_uptae"; - this.tb_uptae.Size = new System.Drawing.Size(221, 25); + this.tb_uptae.Size = new System.Drawing.Size(194, 21); this.tb_uptae.TabIndex = 10; // // label12 // this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(671, 99); + this.label12.Location = new System.Drawing.Point(587, 79); this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(67, 15); + this.label12.Size = new System.Drawing.Size(53, 12); this.label12.TabIndex = 11; this.label12.Text = "종 목"; // // tb_jongmok // - this.tb_jongmok.Location = new System.Drawing.Point(734, 94); - this.tb_jongmok.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_jongmok.Location = new System.Drawing.Point(642, 75); this.tb_jongmok.Name = "tb_jongmok"; - this.tb_jongmok.Size = new System.Drawing.Size(221, 25); + this.tb_jongmok.Size = new System.Drawing.Size(194, 21); this.tb_jongmok.TabIndex = 12; // // tb_mail // - this.tb_mail.Location = new System.Drawing.Point(734, 124); - this.tb_mail.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_mail.Location = new System.Drawing.Point(642, 99); this.tb_mail.Name = "tb_mail"; - this.tb_mail.Size = new System.Drawing.Size(221, 25); + this.tb_mail.Size = new System.Drawing.Size(194, 21); this.tb_mail.TabIndex = 18; // // label13 // this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(671, 129); + this.label13.Location = new System.Drawing.Point(587, 103); this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(67, 15); + this.label13.Size = new System.Drawing.Size(53, 12); this.label13.TabIndex = 17; this.label13.Text = "메 일"; // // label14 // this.label14.AutoSize = true; - this.label14.Location = new System.Drawing.Point(671, 159); + this.label14.Location = new System.Drawing.Point(587, 127); this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(67, 15); + this.label14.Size = new System.Drawing.Size(53, 12); this.label14.TabIndex = 22; this.label14.Text = "담당직원"; // // tb_user // - this.tb_user.Location = new System.Drawing.Point(734, 154); - this.tb_user.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_user.Location = new System.Drawing.Point(642, 123); this.tb_user.Name = "tb_user"; - this.tb_user.Size = new System.Drawing.Size(221, 25); + this.tb_user.Size = new System.Drawing.Size(194, 21); this.tb_user.TabIndex = 23; // // label15 // this.label15.AutoSize = true; this.label15.ForeColor = System.Drawing.SystemColors.ControlText; - this.label15.Location = new System.Drawing.Point(22, 249); + this.label15.Location = new System.Drawing.Point(19, 199); this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(67, 15); + this.label15.Size = new System.Drawing.Size(53, 12); this.label15.TabIndex = 31; this.label15.Text = "용지칸수"; // // label16 // this.label16.AutoSize = true; - this.label16.Location = new System.Drawing.Point(349, 249); + this.label16.Location = new System.Drawing.Point(305, 199); this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(62, 15); + this.label16.Size = new System.Drawing.Size(49, 12); this.label16.TabIndex = 33; this.label16.Text = "띠 라 벨"; // // tb_division // - this.tb_division.Location = new System.Drawing.Point(85, 244); - this.tb_division.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_division.Location = new System.Drawing.Point(74, 195); this.tb_division.Name = "tb_division"; - this.tb_division.Size = new System.Drawing.Size(221, 25); + this.tb_division.Size = new System.Drawing.Size(194, 21); this.tb_division.TabIndex = 32; // // tb_label // - this.tb_label.Location = new System.Drawing.Point(409, 244); - this.tb_label.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_label.Location = new System.Drawing.Point(358, 195); this.tb_label.Name = "tb_label"; - this.tb_label.Size = new System.Drawing.Size(221, 25); + this.tb_label.Size = new System.Drawing.Size(194, 21); this.tb_label.TabIndex = 34; // // label17 // this.label17.AutoSize = true; - this.label17.Location = new System.Drawing.Point(643, 249); + this.label17.Location = new System.Drawing.Point(563, 199); this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(97, 15); + this.label17.Size = new System.Drawing.Size(77, 12); this.label17.TabIndex = 35; this.label17.Text = "사용프로그램"; // // tb_program // - this.tb_program.Location = new System.Drawing.Point(734, 244); - this.tb_program.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_program.Location = new System.Drawing.Point(642, 195); this.tb_program.Name = "tb_program"; - this.tb_program.Size = new System.Drawing.Size(221, 25); + this.tb_program.Size = new System.Drawing.Size(194, 21); this.tb_program.TabIndex = 36; // // btn_close // this.btn_close.Dock = System.Windows.Forms.DockStyle.Fill; - this.btn_close.Location = new System.Drawing.Point(980, 5); - this.btn_close.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.btn_close.Location = new System.Drawing.Point(860, 4); this.btn_close.Name = "btn_close"; - this.btn_close.Size = new System.Drawing.Size(121, 45); + this.btn_close.Size = new System.Drawing.Size(103, 36); this.btn_close.TabIndex = 43; this.btn_close.Text = "닫 기"; this.btn_close.UseVisualStyleBackColor = true; @@ -814,19 +797,17 @@ // this.cb_gubun1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cb_gubun1.FormattingEnabled = true; - this.cb_gubun1.Location = new System.Drawing.Point(409, 64); - this.cb_gubun1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.cb_gubun1.Location = new System.Drawing.Point(358, 51); this.cb_gubun1.Name = "cb_gubun1"; - this.cb_gubun1.Size = new System.Drawing.Size(108, 23); + this.cb_gubun1.Size = new System.Drawing.Size(95, 20); this.cb_gubun1.TabIndex = 45; this.cb_gubun1.SelectedIndexChanged += new System.EventHandler(this.cb_gubun1_SelectedIndexChanged); // // btn_marc_expand // - this.btn_marc_expand.Location = new System.Drawing.Point(974, 62); - this.btn_marc_expand.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.btn_marc_expand.Location = new System.Drawing.Point(852, 50); this.btn_marc_expand.Name = "btn_marc_expand"; - this.btn_marc_expand.Size = new System.Drawing.Size(86, 444); + this.btn_marc_expand.Size = new System.Drawing.Size(101, 65); this.btn_marc_expand.TabIndex = 46; this.btn_marc_expand.Text = "마크 비고 >>"; this.btn_marc_expand.UseVisualStyleBackColor = true; @@ -839,23 +820,22 @@ this.panel1.Controls.Add(this.panel2); this.panel1.Dock = System.Windows.Forms.DockStyle.Left; this.panel1.Location = new System.Drawing.Point(0, 0); - this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(1107, 1055); + this.panel1.Size = new System.Drawing.Size(969, 844); this.panel1.TabIndex = 47; // // panel3 // this.panel3.Controls.Add(this.dv1); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel3.Location = new System.Drawing.Point(0, 521); - this.panel3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.panel3.Location = new System.Drawing.Point(0, 417); this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(1105, 532); + this.panel3.Size = new System.Drawing.Size(967, 425); this.panel3.TabIndex = 49; // // panel2 // + this.panel2.Controls.Add(this.panel9); this.panel2.Controls.Add(this.tableLayoutPanel1); this.panel2.Controls.Add(this.lbl_idx); this.panel2.Controls.Add(this.NameLabel); @@ -902,9 +882,8 @@ this.panel2.Controls.Add(this.tb_fax); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 0); - this.panel2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(1105, 521); + this.panel2.Size = new System.Drawing.Size(967, 417); this.panel2.TabIndex = 48; // // tableLayoutPanel1 @@ -930,11 +909,10 @@ this.tableLayoutPanel1.Controls.Add(this.btnInit, 4, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(1105, 55); + this.tableLayoutPanel1.Size = new System.Drawing.Size(967, 44); this.tableLayoutPanel1.TabIndex = 49; // // label19 @@ -943,7 +921,7 @@ this.label19.ForeColor = System.Drawing.SystemColors.ControlText; this.label19.Location = new System.Drawing.Point(4, 1); this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(115, 53); + this.label19.Size = new System.Drawing.Size(100, 42); this.label19.TabIndex = 0; this.label19.Text = "업 체 명"; this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -953,10 +931,10 @@ this.tableLayoutPanel1.SetColumnSpan(this.tbSearch, 2); this.tbSearch.Dock = System.Windows.Forms.DockStyle.Fill; this.tbSearch.Font = new System.Drawing.Font("굴림", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.tbSearch.Location = new System.Drawing.Point(123, 7); - this.tbSearch.Margin = new System.Windows.Forms.Padding(0, 6, 0, 6); + this.tbSearch.Location = new System.Drawing.Point(108, 6); + this.tbSearch.Margin = new System.Windows.Forms.Padding(0, 5, 0, 5); this.tbSearch.Name = "tbSearch"; - this.tbSearch.Size = new System.Drawing.Size(243, 38); + this.tbSearch.Size = new System.Drawing.Size(213, 32); this.tbSearch.TabIndex = 1; this.tbSearch.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown); // @@ -965,10 +943,9 @@ this.btnInit.DialogResult = System.Windows.Forms.DialogResult.Abort; this.btnInit.Dock = System.Windows.Forms.DockStyle.Fill; this.btnInit.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnInit.Location = new System.Drawing.Point(492, 5); - this.btnInit.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.btnInit.Location = new System.Drawing.Point(432, 4); this.btnInit.Name = "btnInit"; - this.btnInit.Size = new System.Drawing.Size(115, 45); + this.btnInit.Size = new System.Drawing.Size(100, 36); this.btnInit.TabIndex = 39; this.btnInit.Text = "초기화"; this.btnInit.UseVisualStyleBackColor = true; @@ -977,28 +954,27 @@ // lbl_idx // this.lbl_idx.AutoSize = true; - this.lbl_idx.Location = new System.Drawing.Point(24, 291); + this.lbl_idx.Location = new System.Drawing.Point(21, 233); this.lbl_idx.Name = "lbl_idx"; - this.lbl_idx.Size = new System.Drawing.Size(0, 15); + this.lbl_idx.Size = new System.Drawing.Size(0, 12); this.lbl_idx.TabIndex = 48; // // cb_dlsArea // this.cb_dlsArea.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cb_dlsArea.FormattingEnabled = true; - this.cb_dlsArea.Location = new System.Drawing.Point(734, 214); - this.cb_dlsArea.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.cb_dlsArea.Location = new System.Drawing.Point(642, 171); this.cb_dlsArea.Name = "cb_dlsArea"; - this.cb_dlsArea.Size = new System.Drawing.Size(221, 23); + this.cb_dlsArea.Size = new System.Drawing.Size(194, 20); this.cb_dlsArea.TabIndex = 47; // // label18 // this.label18.AutoSize = true; this.label18.ForeColor = System.Drawing.SystemColors.ControlText; - this.label18.Location = new System.Drawing.Point(671, 219); + this.label18.Location = new System.Drawing.Point(587, 175); this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(65, 15); + this.label18.Size = new System.Drawing.Size(52, 12); this.label18.TabIndex = 24; this.label18.Text = "DLS지역"; // @@ -1021,11 +997,10 @@ this.Column3}); this.marcGrid.Dock = System.Windows.Forms.DockStyle.Fill; this.marcGrid.Location = new System.Drawing.Point(0, 0); - this.marcGrid.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.marcGrid.Name = "marcGrid"; this.marcGrid.RowHeadersWidth = 31; this.marcGrid.RowTemplate.Height = 23; - this.marcGrid.Size = new System.Drawing.Size(949, 628); + this.marcGrid.Size = new System.Drawing.Size(830, 502); this.marcGrid.TabIndex = 48; this.marcGrid.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.marcGrid_RowPostPaint); this.marcGrid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Grid_KeyDown); @@ -1060,9 +1035,9 @@ this.marcLabel.AutoSize = true; this.marcLabel.Font = new System.Drawing.Font("굴림", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.marcLabel.ForeColor = System.Drawing.Color.Red; - this.marcLabel.Location = new System.Drawing.Point(10, 8); + this.marcLabel.Location = new System.Drawing.Point(9, 6); this.marcLabel.Name = "marcLabel"; - this.marcLabel.Size = new System.Drawing.Size(164, 27); + this.marcLabel.Size = new System.Drawing.Size(130, 21); this.marcLabel.TabIndex = 49; this.marcLabel.Text = "마 크 부 분"; // @@ -1071,9 +1046,9 @@ this.gearLabel.AutoSize = true; this.gearLabel.Font = new System.Drawing.Font("굴림", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.gearLabel.ForeColor = System.Drawing.Color.Red; - this.gearLabel.Location = new System.Drawing.Point(10, 8); + this.gearLabel.Location = new System.Drawing.Point(9, 6); this.gearLabel.Name = "gearLabel"; - this.gearLabel.Size = new System.Drawing.Size(164, 27); + this.gearLabel.Size = new System.Drawing.Size(130, 21); this.gearLabel.TabIndex = 49; this.gearLabel.Text = "장 비 부 분"; // @@ -1096,11 +1071,10 @@ this.dataGridViewTextBoxColumn3}); this.gearGrid.Dock = System.Windows.Forms.DockStyle.Fill; this.gearGrid.Location = new System.Drawing.Point(0, 0); - this.gearGrid.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.gearGrid.Name = "gearGrid"; this.gearGrid.RowHeadersWidth = 31; this.gearGrid.RowTemplate.Height = 23; - this.gearGrid.Size = new System.Drawing.Size(949, 341); + this.gearGrid.Size = new System.Drawing.Size(830, 272); this.gearGrid.TabIndex = 48; this.gearGrid.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.marcGrid_RowPostPaint); this.gearGrid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Grid_KeyDown); @@ -1132,10 +1106,9 @@ // // tb_marcEmpty // - this.tb_marcEmpty.Location = new System.Drawing.Point(822, 6); - this.tb_marcEmpty.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_marcEmpty.Location = new System.Drawing.Point(719, 5); this.tb_marcEmpty.Name = "tb_marcEmpty"; - this.tb_marcEmpty.Size = new System.Drawing.Size(115, 29); + this.tb_marcEmpty.Size = new System.Drawing.Size(101, 23); this.tb_marcEmpty.TabIndex = 50; this.tb_marcEmpty.Text = "마크 내용지우기"; this.tb_marcEmpty.UseVisualStyleBackColor = true; @@ -1143,10 +1116,9 @@ // // tb_gearEmpty // - this.tb_gearEmpty.Location = new System.Drawing.Point(819, 6); - this.tb_gearEmpty.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_gearEmpty.Location = new System.Drawing.Point(717, 5); this.tb_gearEmpty.Name = "tb_gearEmpty"; - this.tb_gearEmpty.Size = new System.Drawing.Size(115, 29); + this.tb_gearEmpty.Size = new System.Drawing.Size(101, 23); this.tb_gearEmpty.TabIndex = 50; this.tb_gearEmpty.Text = "장비 내용지우기"; this.tb_gearEmpty.UseVisualStyleBackColor = true; @@ -1154,10 +1126,9 @@ // // tb_marcSave // - this.tb_marcSave.Location = new System.Drawing.Point(160, 6); - this.tb_marcSave.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.tb_marcSave.Location = new System.Drawing.Point(140, 5); this.tb_marcSave.Name = "tb_marcSave"; - this.tb_marcSave.Size = new System.Drawing.Size(64, 29); + this.tb_marcSave.Size = new System.Drawing.Size(56, 23); this.tb_marcSave.TabIndex = 50; this.tb_marcSave.Text = "저 장"; this.tb_marcSave.UseVisualStyleBackColor = true; @@ -1170,20 +1141,18 @@ this.panel4.Controls.Add(this.panel6); this.panel4.Controls.Add(this.panel5); this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel4.Location = new System.Drawing.Point(1107, 0); - this.panel4.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.panel4.Location = new System.Drawing.Point(969, 0); this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(949, 1055); + this.panel4.Size = new System.Drawing.Size(830, 844); this.panel4.TabIndex = 51; // // panel8 // this.panel8.Controls.Add(this.gearGrid); this.panel8.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel8.Location = new System.Drawing.Point(0, 714); - this.panel8.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.panel8.Location = new System.Drawing.Point(0, 572); this.panel8.Name = "panel8"; - this.panel8.Size = new System.Drawing.Size(949, 341); + this.panel8.Size = new System.Drawing.Size(830, 272); this.panel8.TabIndex = 54; // // panel7 @@ -1192,20 +1161,18 @@ this.panel7.Controls.Add(this.gearLabel); this.panel7.Controls.Add(this.tb_gearEmpty); this.panel7.Dock = System.Windows.Forms.DockStyle.Top; - this.panel7.Location = new System.Drawing.Point(0, 671); - this.panel7.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.panel7.Location = new System.Drawing.Point(0, 537); this.panel7.Name = "panel7"; - this.panel7.Size = new System.Drawing.Size(949, 43); + this.panel7.Size = new System.Drawing.Size(830, 35); this.panel7.TabIndex = 53; // // panel6 // this.panel6.Controls.Add(this.marcGrid); this.panel6.Dock = System.Windows.Forms.DockStyle.Top; - this.panel6.Location = new System.Drawing.Point(0, 43); - this.panel6.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.panel6.Location = new System.Drawing.Point(0, 35); this.panel6.Name = "panel6"; - this.panel6.Size = new System.Drawing.Size(949, 628); + this.panel6.Size = new System.Drawing.Size(830, 502); this.panel6.TabIndex = 52; // // panel5 @@ -1216,19 +1183,95 @@ this.panel5.Controls.Add(this.tb_marcSave); this.panel5.Dock = System.Windows.Forms.DockStyle.Top; this.panel5.Location = new System.Drawing.Point(0, 0); - this.panel5.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.panel5.Name = "panel5"; - this.panel5.Size = new System.Drawing.Size(949, 43); + this.panel5.Size = new System.Drawing.Size(830, 35); this.panel5.TabIndex = 51; // + // panel9 + // + this.panel9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel9.Controls.Add(this.cb_authorType); + this.panel9.Controls.Add(this.cb_divType); + this.panel9.Controls.Add(this.cb_divNum); + this.panel9.Controls.Add(this.cb_FirstBook); + this.panel9.Controls.Add(this.cb_FirstAuthor); + this.panel9.Controls.Add(this.label20); + this.panel9.Controls.Add(this.label21); + this.panel9.Location = new System.Drawing.Point(844, 124); + this.panel9.Name = "panel9"; + this.panel9.Size = new System.Drawing.Size(118, 174); + this.panel9.TabIndex = 45; + // + // cb_authorType + // + this.cb_authorType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_authorType.FormattingEnabled = true; + this.cb_authorType.Location = new System.Drawing.Point(4, 50); + this.cb_authorType.Name = "cb_authorType"; + this.cb_authorType.Size = new System.Drawing.Size(104, 20); + this.cb_authorType.TabIndex = 1; + // + // cb_divType + // + this.cb_divType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_divType.FormattingEnabled = true; + this.cb_divType.Location = new System.Drawing.Point(4, 119); + this.cb_divType.Name = "cb_divType"; + this.cb_divType.Size = new System.Drawing.Size(104, 20); + this.cb_divType.TabIndex = 1; + // + // cb_divNum + // + this.cb_divNum.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_divNum.FormattingEnabled = true; + this.cb_divNum.Location = new System.Drawing.Point(4, 145); + this.cb_divNum.Name = "cb_divNum"; + this.cb_divNum.Size = new System.Drawing.Size(104, 20); + this.cb_divNum.TabIndex = 1; + // + // cb_FirstBook + // + this.cb_FirstBook.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_FirstBook.FormattingEnabled = true; + this.cb_FirstBook.Location = new System.Drawing.Point(4, 74); + this.cb_FirstBook.Name = "cb_FirstBook"; + this.cb_FirstBook.Size = new System.Drawing.Size(104, 20); + this.cb_FirstBook.TabIndex = 1; + // + // cb_FirstAuthor + // + this.cb_FirstAuthor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_FirstAuthor.FormattingEnabled = true; + this.cb_FirstAuthor.Location = new System.Drawing.Point(4, 24); + this.cb_FirstAuthor.Name = "cb_FirstAuthor"; + this.cb_FirstAuthor.Size = new System.Drawing.Size(104, 20); + this.cb_FirstAuthor.TabIndex = 1; + // + // label20 + // + this.label20.AutoSize = true; + this.label20.Location = new System.Drawing.Point(2, 104); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(29, 12); + this.label20.TabIndex = 1; + this.label20.Text = "구분"; + // + // label21 + // + this.label21.AutoSize = true; + this.label21.Location = new System.Drawing.Point(2, 7); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(53, 12); + this.label21.TabIndex = 1; + this.label21.Text = "저자기호"; + // // Transaction_manage // - this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(2056, 1055); + this.ClientSize = new System.Drawing.Size(1799, 844); this.Controls.Add(this.panel4); this.Controls.Add(this.panel1); - this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.Name = "Transaction_manage"; this.Text = "납품 / 거래처 관리"; this.Load += new System.EventHandler(this.Transaction_manage_Load); @@ -1249,6 +1292,8 @@ this.panel6.ResumeLayout(false); this.panel5.ResumeLayout(false); this.panel5.PerformLayout(); + this.panel9.ResumeLayout(false); + this.panel9.PerformLayout(); this.ResumeLayout(false); } @@ -1353,5 +1398,13 @@ private System.Windows.Forms.Button btnInit; private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; private System.Windows.Forms.ToolStripMenuItem btExportList; + private System.Windows.Forms.Panel panel9; + private System.Windows.Forms.ComboBox cb_authorType; + private System.Windows.Forms.ComboBox cb_divType; + private System.Windows.Forms.ComboBox cb_divNum; + private System.Windows.Forms.ComboBox cb_FirstBook; + private System.Windows.Forms.ComboBox cb_FirstAuthor; + private System.Windows.Forms.Label label20; + private System.Windows.Forms.Label label21; } } \ No newline at end of file diff --git a/unimarc/unimarc/홈/Transaction_manage.cs b/unimarc/unimarc/홈/Transaction_manage.cs index 4d79813..434721c 100644 --- a/unimarc/unimarc/홈/Transaction_manage.cs +++ b/unimarc/unimarc/홈/Transaction_manage.cs @@ -40,6 +40,27 @@ namespace WindowsFormsApp1.Home compidx = main.com_idx; panel4.Visible = false; db.DBcon(); + + //저자기호 셋팅값 251022 + AuthorSymbol.Symbol sb = new AuthorSymbol.Symbol(); + cb_FirstAuthor.Items.AddRange(sb.authorBook); + cb_authorType.Items.AddRange(sb.authorType); + cb_FirstBook.Items.AddRange(sb.authorFirst); + + string[] divType = { "KDC", "DDC" }; + cb_divType.Items.AddRange(divType); + + string[] divNum = { "4", "5", "6" }; + cb_divNum.Items.AddRange(divNum); + + //저자기호 관련 컬럼추가 + dv1.Columns.Add(new DataGridViewTextBoxColumn() { Name = "dvc_author_first", HeaderText = "dvc_author_first", Visible = false }); + dv1.Columns.Add(new DataGridViewTextBoxColumn() { Name = "dvc_author_type", HeaderText = "dvc_author_type", Visible = false }); + dv1.Columns.Add(new DataGridViewTextBoxColumn() { Name = "dvc_author_firstbook", HeaderText = "dvc_author_firstbook", Visible = false }); + dv1.Columns.Add(new DataGridViewTextBoxColumn() { Name = "dvc_author_divtype", HeaderText = "dvc_author_divtype", Visible = false }); + dv1.Columns.Add(new DataGridViewTextBoxColumn() { Name = "dvc_author_divnum", HeaderText = "dvc_author_divnum", Visible = false }); + + } private void Made_Grid() { @@ -47,7 +68,7 @@ namespace WindowsFormsApp1.Home "`c_uptae`, `c_jongmok`, `c_tel`, `c_fax`, `c_email`, " + "`c_man`, `c_mantel`, `c_user`, `c_zip`, `c_addr`, " + "`c_dlsArea`, `c_dlsID`, `c_dlsPW`, `c_division`, `c_label`, " + - "`c_program`, `c_etc`"; + "`c_program`, `c_etc`";//, `c_author_first`, `c_author_type`, `c_author_firstbook`, `c_author_divtype`, `c_author_divnum`"; string cmd = db.DB_Select_Search(seartempdb, "Client", "campanyidx", compidx); string db_res = db.DB_Send_CMD_Search(cmd); dv1.Rows.Clear(); @@ -106,6 +127,11 @@ namespace WindowsFormsApp1.Home tb_program.Text = ""; rtb_etc.Text = ""; cb_gubun1.SelectedIndex = 0; + cb_authorType.SelectedIndex = -1; + cb_FirstAuthor.SelectedIndex = -1; + cb_FirstBook.SelectedIndex = -1; + cb_divNum.SelectedIndex = -1; + cb_divType.SelectedIndex = -1; } private bool Check_Data(string pText) { @@ -162,13 +188,14 @@ namespace WindowsFormsApp1.Home "c_jongmok", "c_tel", "c_fax", "c_email", "c_man", "c_mantel", "c_user", "c_zip", "c_addr", "c_dlsID", "c_dlsPW", "c_division", "c_label", "c_program", "c_etc", - "campanyidx", "c_dlsArea" }; + "campanyidx", "c_dlsArea" , + "c_author_first", "c_author_type", "c_author_firstbook", "c_author_divtype", "c_author_divnum"}; string[] tmpdb1 = { tb_sangho.Text, cb_gubun2.Text, tb_boss.Text, tb_bubin.Text, tb_uptae.Text, tb_jongmok.Text, tb_tel.Text, tb_fax.Text, tb_mail.Text, tb_man.Text, tb_man1.Text, tb_user.Text, tb_zip.Text, tb_addr.Text, tb_id.Text, tb_pw.Text, tb_division.Text, tb_label.Text, tb_program.Text, rtb_etc.Text, - compidx, cb_dlsArea.Text }; + compidx, cb_dlsArea.Text, cb_FirstAuthor.Text, cb_authorType.Text, cb_FirstBook.Text, cb_divType.Text, cb_divNum.Text }; string[] tOldData = { }; string Incmd = db.DB_INSERT("Client", tmpdb, tmpdb1); @@ -221,13 +248,15 @@ namespace WindowsFormsApp1.Home "c_jongmok", "c_tel", "c_fax", "c_email", "c_man", "c_mantel", "c_user", "c_zip", "c_addr", "c_dlsID", "c_dlsPW", "c_division", "c_label", "c_program", "c_etc", - "c_dlsArea" }; + "c_dlsArea" , + "c_author_first", "c_author_type", "c_author_firstbook", "c_author_divtype", "c_author_divnum"}; string[] editname = { tb_sangho.Text, cb_gubun2.Text, tb_boss.Text, tb_bubin.Text, tb_uptae.Text, tb_jongmok.Text, tb_tel.Text, tb_fax.Text, tb_mail.Text, tb_man.Text, tb_man1.Text, tb_user.Text, tb_zip.Text, tb_addr.Text, tb_id.Text, tb_pw.Text, tb_division.Text, tb_label.Text, tb_program.Text, rtb_etc.Text, - cb_dlsArea.Text }; + cb_dlsArea.Text, + cb_FirstAuthor.Text, cb_authorType.Text, cb_FirstBook.Text, cb_divType.Text, cb_divNum.Text }; string[] searchcol = { "idx", "campanyidx" }; string[] searchname = { lbl_idx.Text, compidx }; @@ -315,9 +344,27 @@ namespace WindowsFormsApp1.Home tb_tel.Text = dv1.Rows[RowIndex].Cells["tel"].Value.ToString(); tb_fax.Text = dv1.Rows[RowIndex].Cells["fax"].Value.ToString(); tb_addr.Text = dv1.Rows[RowIndex].Cells["addr"].Value.ToString(); - rtb_etc.Text = dv1.Rows[RowIndex].Cells["bigo"].Value.ToString(); cb_dlsArea.Text = dv1.Rows[RowIndex].Cells["dlsArea"].Value.ToString(); + + //저자기호값 셋팅 + var author_first = dv1.Rows[RowIndex].Cells["dvc_author_first"].Value?.ToString() ?? string.Empty; + var author_type = dv1.Rows[RowIndex].Cells["dvc_author_type"].Value?.ToString() ?? string.Empty; + var author_firstbook = dv1.Rows[RowIndex].Cells["dvc_author_firstbook"].Value?.ToString() ?? string.Empty; + var author_divtype = dv1.Rows[RowIndex].Cells["dvc_author_divtype"].Value?.ToString() ?? string.Empty; + var author_divnum = dv1.Rows[RowIndex].Cells["dvc_author_divnum"].Value?.ToString() ?? string.Empty; + if (author_first.isEmpty() == false) cb_FirstAuthor.Text = author_first; + else cb_FirstAuthor.SelectedIndex = -1; + if (author_type.isEmpty() == false) cb_authorType.Text = author_type; + else cb_authorType.SelectedIndex = -1; + if (author_firstbook.isEmpty() == false) cb_FirstBook.Text = author_firstbook; + else cb_FirstBook.SelectedIndex = -1; + if (author_divtype.isEmpty() == false) cb_divType.Text = author_divtype; + else cb_divType.SelectedIndex = -1; + if (author_divnum.isEmpty() == false) cb_divNum.Text = author_divnum; + else cb_divNum.SelectedIndex = -1; + + Select_Gubun(RowIndex); } private void Select_Gubun(int pRowIndex) @@ -350,7 +397,8 @@ namespace WindowsFormsApp1.Home case "도서관": cb_gubun2.SelectedIndex = 7; break; - }; + } + ; } if (gubun == "서점" || gubun == "기타") { @@ -364,7 +412,8 @@ namespace WindowsFormsApp1.Home case "기타": cb_gubun2.SelectedIndex = 2; break; - }; + } + ; } } private void tb_sangho_KeyDown(object sender, KeyEventArgs e) @@ -386,7 +435,8 @@ namespace WindowsFormsApp1.Home "`c_uptae`, `c_jongmok`, `c_tel`, `c_fax`, `c_email`, " + "`c_man`, `c_mantel`, `c_user`, `c_zip`, `c_addr`, " + "`c_dlsArea`, `c_dlsID`, `c_dlsPW`, `c_division`, `c_label`," + - " `c_program`, `c_etc`"; + "`c_program`, `c_etc`,"+ + "`c_author_first`, `c_author_type`, `c_author_firstbook`, `c_author_divtype`, `c_author_divnum`"; string cmd = db.DB_Contains("Client", compidx, "c_sangho", tbSearch.Text, search); db.DB_Send_CMD_Search_ApplyGrid(cmd, dv1); @@ -567,12 +617,12 @@ namespace WindowsFormsApp1.Home try { this.dv1.ExportData(sd.FileName); - if(UTIL.MsgQ("생성된 파일을 확인 할까요?") == DialogResult.Yes) + if (UTIL.MsgQ("생성된 파일을 확인 할까요?") == DialogResult.Yes) UTIL.RunExplorer(sd.FileName); } catch (Exception ex) { UTIL.MsgE(ex.Message); } - } + } } }