diff --git a/unimarc/.vs/unimarc/v16/.suo b/unimarc/.vs/unimarc/v16/.suo index 28f4195..47ee59c 100644 Binary files a/unimarc/.vs/unimarc/v16/.suo and b/unimarc/.vs/unimarc/v16/.suo differ diff --git a/unimarc/unimarc/UniMarc.csproj b/unimarc/unimarc/UniMarc.csproj index a195699..ebbd38f 100644 --- a/unimarc/unimarc/UniMarc.csproj +++ b/unimarc/unimarc/UniMarc.csproj @@ -224,6 +224,12 @@ Marc_mkList.cs + + Form + + + Marc_Plan_PrintLabel.cs + Form @@ -786,6 +792,9 @@ Marc_mkList.cs + + Marc_Plan_PrintLabel.cs + Marc_Plan_Sub_MarcEdit.cs diff --git a/unimarc/unimarc/bin/Debug/UniMarc.exe b/unimarc/unimarc/bin/Debug/UniMarc.exe index d8f27ae..fce72a5 100644 Binary files a/unimarc/unimarc/bin/Debug/UniMarc.exe and b/unimarc/unimarc/bin/Debug/UniMarc.exe differ diff --git a/unimarc/unimarc/bin/Debug/UniMarc.pdb b/unimarc/unimarc/bin/Debug/UniMarc.pdb index d73c4b1..29679e7 100644 Binary files a/unimarc/unimarc/bin/Debug/UniMarc.pdb and b/unimarc/unimarc/bin/Debug/UniMarc.pdb differ diff --git a/unimarc/unimarc/bin/Debug/ko/UniMarc.resources.dll b/unimarc/unimarc/bin/Debug/ko/UniMarc.resources.dll index 22f77b0..a2675ed 100644 Binary files a/unimarc/unimarc/bin/Debug/ko/UniMarc.resources.dll and b/unimarc/unimarc/bin/Debug/ko/UniMarc.resources.dll differ diff --git a/unimarc/unimarc/obj/Debug/UniMarc.csproj.AssemblyReference.cache b/unimarc/unimarc/obj/Debug/UniMarc.csproj.AssemblyReference.cache index f5e894a..83b6e0f 100644 Binary files a/unimarc/unimarc/obj/Debug/UniMarc.csproj.AssemblyReference.cache and b/unimarc/unimarc/obj/Debug/UniMarc.csproj.AssemblyReference.cache differ diff --git a/unimarc/unimarc/obj/Debug/UniMarc.csproj.CoreCompileInputs.cache b/unimarc/unimarc/obj/Debug/UniMarc.csproj.CoreCompileInputs.cache index 77fe75c..aa4a2ff 100644 --- a/unimarc/unimarc/obj/Debug/UniMarc.csproj.CoreCompileInputs.cache +++ b/unimarc/unimarc/obj/Debug/UniMarc.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -dc7073770bb20d0b1c8cfac5924007831e358ac9 +1fd060b5ba68124a025af15107f533baf35268ce diff --git a/unimarc/unimarc/obj/Debug/UniMarc.csproj.FileListAbsolute.txt b/unimarc/unimarc/obj/Debug/UniMarc.csproj.FileListAbsolute.txt index 28a3543..f626f6f 100644 --- a/unimarc/unimarc/obj/Debug/UniMarc.csproj.FileListAbsolute.txt +++ b/unimarc/unimarc/obj/Debug/UniMarc.csproj.FileListAbsolute.txt @@ -133,3 +133,4 @@ C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.Marc_Fi C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Marc_Plan_Sub_SelectList_Morge.resources C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.MarcCopySelect.resources C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Mac_List_Add.resources +C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Marc_Plan_PrintLabel.resources diff --git a/unimarc/unimarc/obj/Debug/UniMarc.csproj.GenerateResource.cache b/unimarc/unimarc/obj/Debug/UniMarc.csproj.GenerateResource.cache index 7092860..a8e4fe4 100644 Binary files a/unimarc/unimarc/obj/Debug/UniMarc.csproj.GenerateResource.cache and b/unimarc/unimarc/obj/Debug/UniMarc.csproj.GenerateResource.cache differ diff --git a/unimarc/unimarc/obj/Debug/UniMarc.exe b/unimarc/unimarc/obj/Debug/UniMarc.exe index d8f27ae..fce72a5 100644 Binary files a/unimarc/unimarc/obj/Debug/UniMarc.exe and b/unimarc/unimarc/obj/Debug/UniMarc.exe differ diff --git a/unimarc/unimarc/obj/Debug/UniMarc.pdb b/unimarc/unimarc/obj/Debug/UniMarc.pdb index d73c4b1..29679e7 100644 Binary files a/unimarc/unimarc/obj/Debug/UniMarc.pdb and b/unimarc/unimarc/obj/Debug/UniMarc.pdb differ diff --git a/unimarc/unimarc/obj/Debug/UniMarc.마크.Marc_Plan_PrintLabel.resources b/unimarc/unimarc/obj/Debug/UniMarc.마크.Marc_Plan_PrintLabel.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/unimarc/unimarc/obj/Debug/UniMarc.마크.Marc_Plan_PrintLabel.resources differ diff --git a/unimarc/unimarc/obj/Debug/WindowsFormsApp1.Mac.Marc_Plan.resources b/unimarc/unimarc/obj/Debug/WindowsFormsApp1.Mac.Marc_Plan.resources index 6c05a97..2586e8c 100644 Binary files a/unimarc/unimarc/obj/Debug/WindowsFormsApp1.Mac.Marc_Plan.resources and b/unimarc/unimarc/obj/Debug/WindowsFormsApp1.Mac.Marc_Plan.resources differ diff --git a/unimarc/unimarc/obj/Debug/ko/UniMarc.resources.dll b/unimarc/unimarc/obj/Debug/ko/UniMarc.resources.dll index 22f77b0..a2675ed 100644 Binary files a/unimarc/unimarc/obj/Debug/ko/UniMarc.resources.dll and b/unimarc/unimarc/obj/Debug/ko/UniMarc.resources.dll differ diff --git a/unimarc/unimarc/마스터/User_manage.cs b/unimarc/unimarc/마스터/User_manage.cs index c413674..7322ffa 100644 --- a/unimarc/unimarc/마스터/User_manage.cs +++ b/unimarc/unimarc/마스터/User_manage.cs @@ -115,7 +115,14 @@ namespace WindowsFormsApp1 string[] InsertData = { ID, PW, boss, compName }; string[] InsertCol = { "ID", "PW", "name", "affil" }; + string[] InsertUserSubData = { ID }; + string[] InsertUserSubCol = { "id" }; + db.DB_Send_CMD_reVoid(db.DB_INSERT("User_Data", InsertCol, InsertData)); + + // User_ShortCut, User_Access 추가. + db.DB_Send_CMD_reVoid(db.DB_INSERT("User_ShortCut", InsertUserSubCol, InsertUserSubData)); + db.DB_Send_CMD_reVoid(db.DB_INSERT("User_Access", InsertUserSubCol, InsertUserSubData)); } private void btn_close_Click(object sender, EventArgs e) diff --git a/unimarc/unimarc/마크/Marc_Plan.Designer.cs b/unimarc/unimarc/마크/Marc_Plan.Designer.cs index f02db0d..4d5f64c 100644 --- a/unimarc/unimarc/마크/Marc_Plan.Designer.cs +++ b/unimarc/unimarc/마크/Marc_Plan.Designer.cs @@ -35,6 +35,7 @@ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Marc_Plan)); this.panel1 = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel(); this.btn_Save = new System.Windows.Forms.Button(); @@ -81,22 +82,66 @@ this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.panel2 = new System.Windows.Forms.Panel(); + this.panel5 = new System.Windows.Forms.Panel(); + this.panel6 = new System.Windows.Forms.Panel(); + this.tb_Left = new System.Windows.Forms.TextBox(); + this.btn_PrintView = new System.Windows.Forms.Button(); + this.chk_GuideLine = new System.Windows.Forms.CheckBox(); + this.cb_TextFont = new System.Windows.Forms.ComboBox(); + this.chk_Num = new System.Windows.Forms.CheckBox(); + this.label23 = new System.Windows.Forms.Label(); + this.label22 = new System.Windows.Forms.Label(); + this.tb_TextSize = new System.Windows.Forms.TextBox(); + this.label20 = new System.Windows.Forms.Label(); + this.label21 = new System.Windows.Forms.Label(); + this.label18 = new System.Windows.Forms.Label(); + this.chk_C = new System.Windows.Forms.CheckBox(); + this.label10 = new System.Windows.Forms.Label(); + this.chk_V = new System.Windows.Forms.CheckBox(); + this.tb_Top = new System.Windows.Forms.TextBox(); + this.tb_Width = new System.Windows.Forms.TextBox(); + this.tb_StartPosition = new System.Windows.Forms.TextBox(); + this.label19 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.label11 = new System.Windows.Forms.Label(); + this.label9 = new System.Windows.Forms.Label(); + this.tb_SeroGap = new System.Windows.Forms.TextBox(); + this.label8 = new System.Windows.Forms.Label(); + this.tb_Height = new System.Windows.Forms.TextBox(); + this.tb_Sero = new System.Windows.Forms.TextBox(); + this.tb_GaroGap = new System.Windows.Forms.TextBox(); + this.label12 = new System.Windows.Forms.Label(); + this.label15 = new System.Windows.Forms.Label(); + this.label16 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.label17 = new System.Windows.Forms.Label(); + this.label13 = new System.Windows.Forms.Label(); + this.label14 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.tb_Garo = new System.Windows.Forms.TextBox(); + this.panel7 = new System.Windows.Forms.Panel(); + this.printDocument1 = new System.Drawing.Printing.PrintDocument(); + this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); + this.btn_Bring = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); this.panel4.SuspendLayout(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.panel2.SuspendLayout(); + this.panel5.SuspendLayout(); + this.panel6.SuspendLayout(); + this.panel7.SuspendLayout(); this.SuspendLayout(); // // panel1 // - this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.panel4); this.panel1.Controls.Add(this.btn_Close); this.panel1.Controls.Add(this.btn_Select_List); - this.panel1.Location = new System.Drawing.Point(11, 12); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(1463, 35); + this.panel1.Size = new System.Drawing.Size(1487, 35); this.panel1.TabIndex = 0; // // panel4 @@ -181,7 +226,7 @@ this.panel3.Controls.Add(this.cb_FirstAuthor); this.panel3.Controls.Add(this.label3); this.panel3.Controls.Add(this.label4); - this.panel3.Location = new System.Drawing.Point(11, 52); + this.panel3.Location = new System.Drawing.Point(10, 6); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(566, 29); this.panel3.TabIndex = 7; @@ -339,11 +384,12 @@ this.marc, this.search_tag, this.colCheck}); + this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView1.GridColor = System.Drawing.SystemColors.ActiveCaptionText; - this.dataGridView1.Location = new System.Drawing.Point(11, 86); + this.dataGridView1.Location = new System.Drawing.Point(0, 0); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.RowTemplate.Height = 23; - this.dataGridView1.Size = new System.Drawing.Size(1463, 646); + this.dataGridView1.Size = new System.Drawing.Size(1487, 544); this.dataGridView1.TabIndex = 1; this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick); this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick); @@ -551,21 +597,445 @@ this.panel2.Controls.Add(this.tb_ISBN); this.panel2.Controls.Add(this.btn_ChangeTag); this.panel2.Controls.Add(this.tb_SearchTag); - this.panel2.Location = new System.Drawing.Point(597, 52); + this.panel2.Location = new System.Drawing.Point(596, 6); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(412, 29); this.panel2.TabIndex = 8; // + // panel5 + // + this.panel5.Controls.Add(this.panel3); + this.panel5.Controls.Add(this.panel2); + this.panel5.Dock = System.Windows.Forms.DockStyle.Top; + this.panel5.Location = new System.Drawing.Point(0, 35); + this.panel5.Name = "panel5"; + this.panel5.Size = new System.Drawing.Size(1487, 40); + this.panel5.TabIndex = 9; + // + // panel6 + // + this.panel6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); + this.panel6.Controls.Add(this.tb_Left); + this.panel6.Controls.Add(this.btn_Bring); + this.panel6.Controls.Add(this.btn_PrintView); + this.panel6.Controls.Add(this.chk_GuideLine); + this.panel6.Controls.Add(this.cb_TextFont); + this.panel6.Controls.Add(this.chk_Num); + this.panel6.Controls.Add(this.label23); + this.panel6.Controls.Add(this.label22); + this.panel6.Controls.Add(this.tb_TextSize); + this.panel6.Controls.Add(this.label20); + this.panel6.Controls.Add(this.label21); + this.panel6.Controls.Add(this.label18); + this.panel6.Controls.Add(this.chk_C); + this.panel6.Controls.Add(this.label10); + this.panel6.Controls.Add(this.chk_V); + this.panel6.Controls.Add(this.tb_Top); + this.panel6.Controls.Add(this.tb_Width); + this.panel6.Controls.Add(this.tb_StartPosition); + this.panel6.Controls.Add(this.label19); + this.panel6.Controls.Add(this.label7); + this.panel6.Controls.Add(this.label11); + this.panel6.Controls.Add(this.label9); + this.panel6.Controls.Add(this.tb_SeroGap); + this.panel6.Controls.Add(this.label8); + this.panel6.Controls.Add(this.tb_Height); + this.panel6.Controls.Add(this.tb_Sero); + this.panel6.Controls.Add(this.tb_GaroGap); + this.panel6.Controls.Add(this.label12); + this.panel6.Controls.Add(this.label15); + this.panel6.Controls.Add(this.label16); + this.panel6.Controls.Add(this.label6); + this.panel6.Controls.Add(this.label17); + this.panel6.Controls.Add(this.label13); + this.panel6.Controls.Add(this.label14); + this.panel6.Controls.Add(this.label5); + this.panel6.Controls.Add(this.tb_Garo); + this.panel6.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel6.Location = new System.Drawing.Point(0, 619); + this.panel6.Name = "panel6"; + this.panel6.Size = new System.Drawing.Size(1487, 59); + this.panel6.TabIndex = 10; + // + // tb_Left + // + this.tb_Left.Location = new System.Drawing.Point(41, 6); + this.tb_Left.Name = "tb_Left"; + this.tb_Left.Size = new System.Drawing.Size(56, 21); + this.tb_Left.TabIndex = 58; + this.tb_Left.Text = "20"; + this.tb_Left.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // btn_PrintView + // + this.btn_PrintView.Location = new System.Drawing.Point(942, 5); + this.btn_PrintView.Name = "btn_PrintView"; + this.btn_PrintView.Size = new System.Drawing.Size(75, 49); + this.btn_PrintView.TabIndex = 80; + this.btn_PrintView.Text = "미리보기"; + this.btn_PrintView.UseVisualStyleBackColor = true; + this.btn_PrintView.Click += new System.EventHandler(this.btn_PrintView_Click); + // + // chk_GuideLine + // + this.chk_GuideLine.AutoSize = true; + this.chk_GuideLine.Location = new System.Drawing.Point(824, 35); + this.chk_GuideLine.Name = "chk_GuideLine"; + this.chk_GuideLine.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.chk_GuideLine.Size = new System.Drawing.Size(112, 16); + this.chk_GuideLine.TabIndex = 84; + this.chk_GuideLine.Text = "가이드라인 제거"; + this.chk_GuideLine.UseVisualStyleBackColor = true; + // + // cb_TextFont + // + this.cb_TextFont.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_TextFont.FormattingEnabled = true; + this.cb_TextFont.Location = new System.Drawing.Point(726, 6); + this.cb_TextFont.Name = "cb_TextFont"; + this.cb_TextFont.Size = new System.Drawing.Size(72, 20); + this.cb_TextFont.TabIndex = 78; + // + // chk_Num + // + this.chk_Num.AutoSize = true; + this.chk_Num.Location = new System.Drawing.Point(824, 8); + this.chk_Num.Name = "chk_Num"; + this.chk_Num.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.chk_Num.Size = new System.Drawing.Size(112, 16); + this.chk_Num.TabIndex = 83; + this.chk_Num.Text = "등록번호 안으로"; + this.chk_Num.UseVisualStyleBackColor = true; + // + // label23 + // + this.label23.AutoSize = true; + this.label23.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label23.Location = new System.Drawing.Point(8, 10); + this.label23.Name = "label23"; + this.label23.Size = new System.Drawing.Size(31, 12); + this.label23.TabIndex = 50; + this.label23.Text = "좌측"; + // + // label22 + // + this.label22.AutoSize = true; + this.label22.Location = new System.Drawing.Point(99, 10); + this.label22.Name = "label22"; + this.label22.Size = new System.Drawing.Size(27, 12); + this.label22.TabIndex = 54; + this.label22.Text = "mm"; + // + // tb_TextSize + // + this.tb_TextSize.Location = new System.Drawing.Point(765, 33); + this.tb_TextSize.Name = "tb_TextSize"; + this.tb_TextSize.Size = new System.Drawing.Size(30, 21); + this.tb_TextSize.TabIndex = 79; + this.tb_TextSize.Text = "10"; + this.tb_TextSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // label20 + // + this.label20.AutoSize = true; + this.label20.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label20.Location = new System.Drawing.Point(706, 37); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(57, 12); + this.label20.TabIndex = 60; + this.label20.Text = "글자크기"; + // + // label21 + // + this.label21.AutoSize = true; + this.label21.Location = new System.Drawing.Point(233, 10); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(27, 12); + this.label21.TabIndex = 68; + this.label21.Text = "mm"; + // + // label18 + // + this.label18.AutoSize = true; + this.label18.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label18.Location = new System.Drawing.Point(680, 10); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(44, 12); + this.label18.TabIndex = 62; + this.label18.Text = "글자체"; + // + // chk_C + // + this.chk_C.AutoSize = true; + this.chk_C.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; + this.chk_C.Location = new System.Drawing.Point(627, 35); + this.chk_C.Name = "chk_C"; + this.chk_C.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.chk_C.Size = new System.Drawing.Size(37, 16); + this.chk_C.TabIndex = 82; + this.chk_C.Text = "C."; + this.chk_C.UseVisualStyleBackColor = true; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label10.Location = new System.Drawing.Point(142, 10); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(31, 12); + this.label10.TabIndex = 69; + this.label10.Text = "위쪽"; + // + // chk_V + // + this.chk_V.AutoSize = true; + this.chk_V.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; + this.chk_V.Location = new System.Drawing.Point(570, 35); + this.chk_V.Name = "chk_V"; + this.chk_V.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.chk_V.Size = new System.Drawing.Size(36, 16); + this.chk_V.TabIndex = 81; + this.chk_V.Text = "V."; + this.chk_V.UseVisualStyleBackColor = true; + // + // tb_Top + // + this.tb_Top.Location = new System.Drawing.Point(175, 6); + this.tb_Top.Name = "tb_Top"; + this.tb_Top.Size = new System.Drawing.Size(56, 21); + this.tb_Top.TabIndex = 70; + this.tb_Top.Text = "22"; + this.tb_Top.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tb_Width + // + this.tb_Width.Location = new System.Drawing.Point(41, 33); + this.tb_Width.Name = "tb_Width"; + this.tb_Width.Size = new System.Drawing.Size(56, 21); + this.tb_Width.TabIndex = 71; + this.tb_Width.Text = "30"; + this.tb_Width.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tb_StartPosition + // + this.tb_StartPosition.Location = new System.Drawing.Point(612, 6); + this.tb_StartPosition.Name = "tb_StartPosition"; + this.tb_StartPosition.Size = new System.Drawing.Size(59, 21); + this.tb_StartPosition.TabIndex = 77; + this.tb_StartPosition.Text = "1"; + // + // label19 + // + this.label19.AutoSize = true; + this.label19.Location = new System.Drawing.Point(99, 37); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(27, 12); + this.label19.TabIndex = 67; + this.label19.Text = "mm"; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label7.Location = new System.Drawing.Point(553, 10); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(57, 12); + this.label7.TabIndex = 61; + this.label7.Text = "시작위치"; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Location = new System.Drawing.Point(233, 37); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(27, 12); + this.label11.TabIndex = 63; + this.label11.Text = "mm"; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label9.Location = new System.Drawing.Point(8, 37); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(31, 12); + this.label9.TabIndex = 51; + this.label9.Text = "너비"; + // + // tb_SeroGap + // + this.tb_SeroGap.Location = new System.Drawing.Point(479, 6); + this.tb_SeroGap.Name = "tb_SeroGap"; + this.tb_SeroGap.Size = new System.Drawing.Size(30, 21); + this.tb_SeroGap.TabIndex = 74; + this.tb_SeroGap.Text = "13.5"; + this.tb_SeroGap.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label8.Location = new System.Drawing.Point(142, 37); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(31, 12); + this.label8.TabIndex = 52; + this.label8.Text = "높이"; + // + // tb_Height + // + this.tb_Height.Location = new System.Drawing.Point(175, 33); + this.tb_Height.Name = "tb_Height"; + this.tb_Height.Size = new System.Drawing.Size(56, 21); + this.tb_Height.TabIndex = 72; + this.tb_Height.Text = "31"; + this.tb_Height.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tb_Sero + // + this.tb_Sero.Location = new System.Drawing.Point(479, 33); + this.tb_Sero.Name = "tb_Sero"; + this.tb_Sero.Size = new System.Drawing.Size(30, 21); + this.tb_Sero.TabIndex = 76; + this.tb_Sero.Text = "6"; + this.tb_Sero.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tb_GaroGap + // + this.tb_GaroGap.Location = new System.Drawing.Point(345, 6); + this.tb_GaroGap.Name = "tb_GaroGap"; + this.tb_GaroGap.Size = new System.Drawing.Size(30, 21); + this.tb_GaroGap.TabIndex = 73; + this.tb_GaroGap.Text = "5"; + this.tb_GaroGap.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Location = new System.Drawing.Point(377, 10); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(27, 12); + this.label12.TabIndex = 66; + this.label12.Text = "mm"; + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label15.Location = new System.Drawing.Point(420, 10); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(57, 12); + this.label15.TabIndex = 57; + this.label15.Text = "세로간격"; + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Location = new System.Drawing.Point(377, 37); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(17, 12); + this.label16.TabIndex = 65; + this.label16.Text = "개"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label6.Location = new System.Drawing.Point(420, 37); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(57, 12); + this.label6.TabIndex = 56; + this.label6.Text = "세로갯수"; + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Location = new System.Drawing.Point(511, 37); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(17, 12); + this.label17.TabIndex = 64; + this.label17.Text = "개"; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Location = new System.Drawing.Point(511, 10); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(27, 12); + this.label13.TabIndex = 59; + this.label13.Text = "mm"; + // + // label14 + // + this.label14.AutoSize = true; + this.label14.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label14.Location = new System.Drawing.Point(286, 10); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(57, 12); + this.label14.TabIndex = 55; + this.label14.Text = "가로간격"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label5.Location = new System.Drawing.Point(286, 37); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(57, 12); + this.label5.TabIndex = 53; + this.label5.Text = "가로갯수"; + // + // tb_Garo + // + this.tb_Garo.Location = new System.Drawing.Point(345, 33); + this.tb_Garo.Name = "tb_Garo"; + this.tb_Garo.Size = new System.Drawing.Size(30, 21); + this.tb_Garo.TabIndex = 75; + this.tb_Garo.Text = "5"; + this.tb_Garo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // panel7 + // + this.panel7.Controls.Add(this.dataGridView1); + this.panel7.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel7.Location = new System.Drawing.Point(0, 75); + this.panel7.Name = "panel7"; + this.panel7.Size = new System.Drawing.Size(1487, 544); + this.panel7.TabIndex = 11; + // + // printDocument1 + // + this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); + // + // printPreviewDialog1 + // + this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); + this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0); + this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); + this.printPreviewDialog1.Enabled = true; + this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon"))); + this.printPreviewDialog1.Name = "printPreviewDialog1"; + this.printPreviewDialog1.Visible = false; + // + // btn_Bring + // + this.btn_Bring.Location = new System.Drawing.Point(1023, 5); + this.btn_Bring.Name = "btn_Bring"; + this.btn_Bring.Size = new System.Drawing.Size(75, 49); + this.btn_Bring.TabIndex = 80; + this.btn_Bring.Text = "불러오기"; + this.btn_Bring.UseVisualStyleBackColor = true; + this.btn_Bring.Click += new System.EventHandler(this.btn_Bring_Click); + // // Marc_Plan // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1487, 715); - this.Controls.Add(this.panel2); + this.ClientSize = new System.Drawing.Size(1487, 678); + this.Controls.Add(this.panel7); + this.Controls.Add(this.panel6); + this.Controls.Add(this.panel5); this.Controls.Add(this.checkBox1); - this.Controls.Add(this.dataGridView1); this.Controls.Add(this.panel1); - this.Controls.Add(this.panel3); this.Name = "Marc_Plan"; this.Text = "마크 정리"; this.Load += new System.EventHandler(this.Marc_Plan_Load); @@ -576,6 +1046,10 @@ ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); + this.panel5.ResumeLayout(false); + this.panel6.ResumeLayout(false); + this.panel6.PerformLayout(); + this.panel7.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); @@ -629,5 +1103,46 @@ private System.Windows.Forms.Panel panel2; private System.Windows.Forms.Panel panel4; private System.Windows.Forms.Button btn_Save; + private System.Windows.Forms.Panel panel5; + private System.Windows.Forms.Panel panel6; + private System.Windows.Forms.Panel panel7; + private System.Windows.Forms.Button btn_PrintView; + private System.Windows.Forms.CheckBox chk_GuideLine; + private System.Windows.Forms.ComboBox cb_TextFont; + private System.Windows.Forms.CheckBox chk_Num; + private System.Windows.Forms.Label label23; + private System.Windows.Forms.Label label22; + private System.Windows.Forms.Label label20; + private System.Windows.Forms.Label label21; + private System.Windows.Forms.Label label18; + private System.Windows.Forms.CheckBox chk_C; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.CheckBox chk_V; + private System.Windows.Forms.TextBox tb_StartPosition; + private System.Windows.Forms.Label label19; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.Label label16; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.Label label17; + private System.Windows.Forms.Label label13; + private System.Windows.Forms.Label label14; + private System.Windows.Forms.Label label5; + private System.Drawing.Printing.PrintDocument printDocument1; + private System.Windows.Forms.PrintPreviewDialog printPreviewDialog1; + private System.Windows.Forms.Button btn_Bring; + private System.Windows.Forms.TextBox tb_Left; + private System.Windows.Forms.TextBox tb_TextSize; + private System.Windows.Forms.TextBox tb_Top; + private System.Windows.Forms.TextBox tb_Width; + private System.Windows.Forms.TextBox tb_SeroGap; + private System.Windows.Forms.TextBox tb_Height; + private System.Windows.Forms.TextBox tb_Sero; + private System.Windows.Forms.TextBox tb_GaroGap; + private System.Windows.Forms.TextBox tb_Garo; } } \ No newline at end of file diff --git a/unimarc/unimarc/마크/Marc_Plan.cs b/unimarc/unimarc/마크/Marc_Plan.cs index 90aadad..a99ba10 100644 --- a/unimarc/unimarc/마크/Marc_Plan.cs +++ b/unimarc/unimarc/마크/Marc_Plan.cs @@ -43,6 +43,8 @@ namespace WindowsFormsApp1.Mac cb_EncodingType.Items.AddRange(Encoding); cb_EncodingType.SelectedIndex = 0; + string[] Font = { "굴림", "굴림체", "돋움", "바탕체", "맑은 고딕", "HY강B", "HY강M" }; + cb_TextFont.Items.AddRange(Font); } private void btn_Select_List_Click(object sender, EventArgs e) @@ -565,5 +567,142 @@ namespace WindowsFormsApp1.Mac Skill_Grid sg = new Skill_Grid(); sg.Excel_to_DataGridView(sender, e); } + + private void btn_PrintView_Click(object sender, EventArgs e) + { + if (cb_TextFont.SelectedIndex < 0) + { + MessageBox.Show("글자체를 선택해주세요!"); + return; + } + + printPreviewDialog1.Document = printDocument1; + printPreviewDialog1.ShowDialog(); + } + + private void printDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e) + { + // A4 Size( 1169 x 827 in) ( 210 x 297 mm ) + float xPos = mmToInch(Convert.ToDouble(tb_Left.Text) - 4.5); + float yPos = mmToInch(Convert.ToDouble(tb_Top.Text) - 3.5); + float Width = mmToInch(Convert.ToDouble(tb_Width.Text)); + float Height = mmToInch(Convert.ToDouble(tb_Height.Text)); + + int Garo = Convert.ToInt32(tb_Garo.Text); + int Sero = Convert.ToInt32(tb_Sero.Text); + int FontSize = Convert.ToInt32(tb_TextSize.Text); + + float GaroGap = mmToInch(Convert.ToDouble(tb_GaroGap.Text)); + float SeroGap = mmToInch(Convert.ToDouble(tb_SeroGap.Text)); + + List GridData = PrintData(); + + Pen ps = new Pen(Color.Red, 2); + Font F = new Font(cb_TextFont.Text, FontSize); + Font NumFont = new Font(cb_TextFont.Text, 5); + + int startCount = Convert.ToInt32(tb_StartPosition.Text); + int Count = 0; + int GridCount = 0; + for (int SeroCount = 0; SeroCount < Sero; SeroCount++) + { + float UxPos = xPos; + for (int GaroCount = 0; GaroCount < Garo; GaroCount++) + { + if (!chk_GuideLine.Checked) + e.Graphics.DrawRectangle(ps, UxPos, yPos, Width, Height); + + if (GridCount >= startCount - 1) + { + e.Graphics.DrawString(GridData[Count], F, Brushes.Black, UxPos + mmToInch(6), yPos + mmToInch(2)); + + if (!chk_Num.Checked) + e.Graphics.DrawString( + dataGridView1.Rows[Count].Cells["reg_num"].Value.ToString(), + NumFont, + Brushes.Black, + UxPos + mmToInch(6), + yPos + Width + mmToInch(4)); + + Count++; + } + UxPos += Width + GaroGap; + GridCount++; + } + yPos += Height + SeroGap; + } + } + + #region PrintPage_Sub + + List PrintData() + { + List result = new List(); + for (int a = 0; a < dataGridView1.Rows.Count; a++) + { + string classSymbol = dataGridView1.Rows[a].Cells["class_code"].Value.ToString(); + string authorSymbol = dataGridView1.Rows[a].Cells["AuthorSymbol"].Value.ToString(); + string count = dataGridView1.Rows[a].Cells["copy"].Value.ToString(); + string vol = dataGridView1.Rows[a].Cells["volume"].Value.ToString(); + string fix = dataGridView1.Rows[a].Cells["prefix"].Value.ToString(); + string number = dataGridView1.Rows[a].Cells["reg_num"].Value.ToString(); + + if (!chk_V.Checked) + vol = ""; + + if (!chk_C.Checked) + count = ""; + + if (!chk_Num.Checked) + number = ""; + + string text = string.Format("{0}\n{1}\n{2}\n{3}\n{4}\n{5}", fix, classSymbol, authorSymbol, count, vol, number); + result.Add(text); + } + return result; + } + + /// + /// 밀리미터를 인치 값으로 변환하여 반환 + /// + /// 벼환시킬 밀리미터값 + /// 소수점이 포함된 인치값 + float mmToInch(double mm) + { + var col = mm / 25.4 * 100; + float inch = (float)col; + + return inch; + } + + #endregion + + private void btn_Bring_Click(object sender, EventArgs e) + { + Marc_Plan_PrintLabel printlabel = new Marc_Plan_PrintLabel(this); + printlabel.Show(); + } + + #region Bring_Sub + + public void BringPringLabel(TextBox[] Box, string Font, bool[] ChkByC_V) + { + TextBox[] MyBox = { tb_Left, tb_Top, tb_Width, tb_Height, tb_GaroGap, tb_SeroGap, tb_Garo, tb_Sero, tb_TextSize }; + + if (MyBox.Length != Box.Length) + return; + + int count = 0; + foreach (TextBox tb in MyBox) + { + tb.Text = Box[count].Text; + } + + cb_TextFont.SelectedItem = Font; + + chk_C.Checked = ChkByC_V[0]; + chk_V.Checked = ChkByC_V[1]; + } + #endregion } } diff --git a/unimarc/unimarc/마크/Marc_Plan.resx b/unimarc/unimarc/마크/Marc_Plan.resx index 1af7de1..7ec5387 100644 --- a/unimarc/unimarc/마크/Marc_Plan.resx +++ b/unimarc/unimarc/마크/Marc_Plan.resx @@ -117,4 +117,187 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 6, 7 + + + 138, 6 + + + + + AAABAAYAICAQAAAAAADoAgAAZgAAABAQEAAAAAAAKAEAAE4DAAAgIAAAAQAIAKgIAAB2BAAAEBAAAAEA + CABoBQAAHg0AACAgAAABACAAqBAAAIYSAAAQEAAAAQAgAGgEAAAuIwAAKAAAACAAAABAAAAAAQAEAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAACAgACAAAAAgACAAICAAACAgIAAwMDAAAAA + /wAA/wAAAP//AP8AAAD/AP8A//8AAP///wAiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIoiI + iIiIiIiIiIiIiIiIiIiCIigiIiIozMzMzMzMyCIogiIoIiIiKM7m5ubm5sgiKIIiKCIiIijObm5ubm7I + IiiCIigiIiIozubm5ubmyCIogiIoIiIiKM5ubm5ubsgiKIIiKCIiIijO5ubm5ubIIiiIiIiIiIiIzm5u + bm5uyCIogRERERERGM7u7u7u7sgiKIHZWVlZWRjMzMzMzMzIIiiB1ZWVlZUYiIiIiIiIiIiIgdlZWVlZ + GDMzMzMzMzMzOIHVlZWVlRg/uLi4uLi4uDiB2VlZWVkYP7uLi4uLi4s4gdWVlZWVGD+4uLi4uLi4OIHZ + WVlZWRg/u4uLi4uLiziB1ZWVlZUYP7i4uLi4uLg4gdlZWVlZGD+7i4uLi4uLOIHVlZWVlRg/uLi4uLi4 + uDiB3d3d3d0YP7uLi4uLi4s4gRERERERGD+4uLi4uLi4OIiIiIiIiIg/u4uLi4uLiziCIiIiIiIoP7i4 + uLi4uLg4giIiIiIiKD+7i4uLi4uLOIIiIiIiIig/uLi4uLi4uDiCIiIiIiIoP7u7u7u7u7s4giIiIiIi + KD//////////OIIiIiIiIigzMzMzMzMzMziIiIiIiIiIiIiIiIiIiIiIIiIiI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oHx8fHx8fHx8fHyG/f39/aoIqgiqCKoIqgiqCKoIqgiqCKoIqgiqCKoIqgj9/f39/f39/f39/f39/f39 + /f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f3///////////// + ///AAAAD3vgAA974AAPe+AAD3vgAA974AAPe+AADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AA + AAPAAAADwAAAA8AAAAPAAAADwAAAA9/4AAPf+AAD3/gAA9/4AAPf+AAD3/gAA8AAAAP//////////ygA + AAAQAAAAIAAAAAEACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAA + gACAgAAAgICAAMDcwADwyqYAqj8qAP8/KgAAXyoAVV8qAKpfKgD/XyoAAH8qAFV/KgCqfyoA/38qAACf + KgBVnyoAqp8qAP+fKgAAvyoAVb8qAKq/KgD/vyoAAN8qAFXfKgCq3yoA/98qAAD/KgBV/yoAqv8qAP// + KgAAAFUAVQBVAKoAVQD/AFUAAB9VAFUfVQCqH1UA/x9VAAA/VQBVP1UAqj9VAP8/VQAAX1UAVV9VAKpf + VQD/X1UAAH9VAFV/VQCqf1UA/39VAACfVQBVn1UAqp9VAP+fVQAAv1UAVb9VAKq/VQD/v1UAAN9VAFXf + VQCq31UA/99VAAD/VQBV/1UAqv9VAP//VQAAAH8AVQB/AKoAfwD/AH8AAB9/AFUffwCqH38A/x9/AAA/ + fwBVP38Aqj9/AP8/fwAAX38AVV9/AKpffwD/X38AAH9/AFV/fwCqf38A/39/AACffwBVn38Aqp9/AP+f + fwAAv38AVb9/AKq/fwD/v38AAN9/AFXffwCq338A/99/AAD/fwBV/38Aqv9/AP//fwAAAKoAVQCqAKoA + qgD/AKoAAB+qAFUfqgCqH6oA/x+qAAA/qgBVP6oAqj+qAP8/qgAAX6oAVV+qAKpfqgD/X6oAAH+qAFV/ + qgCqf6oA/3+qAACfqgBVn6oAqp+qAP+fqgAAv6oAVb+qAKq/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+ + + + 40 + \ No newline at end of file diff --git a/unimarc/unimarc/마크/Marc_Plan_PrintLabel.Designer.cs b/unimarc/unimarc/마크/Marc_Plan_PrintLabel.Designer.cs new file mode 100644 index 0000000..4e611e7 --- /dev/null +++ b/unimarc/unimarc/마크/Marc_Plan_PrintLabel.Designer.cs @@ -0,0 +1,616 @@ + +namespace UniMarc.마크 +{ + partial class Marc_Plan_PrintLabel + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + this.panel1 = new System.Windows.Forms.Panel(); + this.tb_Search = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.btn_Save = new System.Windows.Forms.Button(); + this.btn_Delete = new System.Windows.Forms.Button(); + this.btn_Close = new System.Windows.Forms.Button(); + this.btn_Empty = new System.Windows.Forms.Button(); + this.dataGridView1 = new System.Windows.Forms.DataGridView(); + this.idx = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.name = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.user = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.panel2 = new System.Windows.Forms.Panel(); + this.label18 = new System.Windows.Forms.Label(); + this.cb_TextFont = new System.Windows.Forms.ComboBox(); + this.tb_TextSize = new System.Windows.Forms.TextBox(); + this.label20 = new System.Windows.Forms.Label(); + this.chk_C = new System.Windows.Forms.CheckBox(); + this.chk_V = new System.Windows.Forms.CheckBox(); + this.tb_Left = new System.Windows.Forms.TextBox(); + this.label23 = new System.Windows.Forms.Label(); + this.label22 = new System.Windows.Forms.Label(); + this.label21 = new System.Windows.Forms.Label(); + this.label10 = new System.Windows.Forms.Label(); + this.tb_Top = new System.Windows.Forms.TextBox(); + this.tb_Width = new System.Windows.Forms.TextBox(); + this.label19 = new System.Windows.Forms.Label(); + this.label11 = new System.Windows.Forms.Label(); + this.label9 = new System.Windows.Forms.Label(); + this.tb_SeroGap = new System.Windows.Forms.TextBox(); + this.label8 = new System.Windows.Forms.Label(); + this.tb_Height = new System.Windows.Forms.TextBox(); + this.tb_Sero = new System.Windows.Forms.TextBox(); + this.tb_GaroGap = new System.Windows.Forms.TextBox(); + this.label12 = new System.Windows.Forms.Label(); + this.label15 = new System.Windows.Forms.Label(); + this.label16 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.label17 = new System.Windows.Forms.Label(); + this.label13 = new System.Windows.Forms.Label(); + this.label14 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.tb_Garo = new System.Windows.Forms.TextBox(); + this.tb_ListName = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.btn_Apply = new System.Windows.Forms.Button(); + this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); + this.panel2.SuspendLayout(); + this.SuspendLayout(); + // + // panel1 + // + this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel1.Controls.Add(this.tb_Search); + this.panel1.Controls.Add(this.label1); + this.panel1.Controls.Add(this.btn_Save); + this.panel1.Controls.Add(this.btn_Delete); + this.panel1.Controls.Add(this.btn_Close); + this.panel1.Controls.Add(this.btn_Empty); + this.panel1.Location = new System.Drawing.Point(12, 12); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(746, 33); + this.panel1.TabIndex = 0; + // + // tb_Search + // + this.tb_Search.Location = new System.Drawing.Point(52, 5); + this.tb_Search.Name = "tb_Search"; + this.tb_Search.Size = new System.Drawing.Size(387, 21); + this.tb_Search.TabIndex = 4; + this.tb_Search.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_Search_KeyDown); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(6, 9); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(41, 12); + this.label1.TabIndex = 2; + this.label1.Text = "검 색"; + // + // btn_Save + // + this.btn_Save.Location = new System.Drawing.Point(599, 4); + this.btn_Save.Name = "btn_Save"; + this.btn_Save.Size = new System.Drawing.Size(66, 23); + this.btn_Save.TabIndex = 1; + this.btn_Save.Text = "저 장"; + this.btn_Save.UseVisualStyleBackColor = true; + this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click); + // + // btn_Delete + // + this.btn_Delete.Location = new System.Drawing.Point(525, 4); + this.btn_Delete.Name = "btn_Delete"; + this.btn_Delete.Size = new System.Drawing.Size(66, 23); + this.btn_Delete.TabIndex = 1; + this.btn_Delete.Text = "삭 제"; + this.btn_Delete.UseVisualStyleBackColor = true; + this.btn_Delete.Click += new System.EventHandler(this.btn_Delete_Click); + // + // btn_Close + // + this.btn_Close.Location = new System.Drawing.Point(673, 4); + this.btn_Close.Name = "btn_Close"; + this.btn_Close.Size = new System.Drawing.Size(66, 23); + this.btn_Close.TabIndex = 1; + this.btn_Close.Text = "닫 기"; + this.btn_Close.UseVisualStyleBackColor = true; + this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click); + // + // btn_Empty + // + this.btn_Empty.Location = new System.Drawing.Point(451, 4); + this.btn_Empty.Name = "btn_Empty"; + this.btn_Empty.Size = new System.Drawing.Size(66, 23); + this.btn_Empty.TabIndex = 1; + this.btn_Empty.Text = "비 우 기"; + this.btn_Empty.UseVisualStyleBackColor = true; + this.btn_Empty.Click += new System.EventHandler(this.btn_Empty_Click); + // + // dataGridView1 + // + this.dataGridView1.AllowUserToAddRows = false; + this.dataGridView1.AllowUserToDeleteRows = false; + dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle3.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3; + this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.idx, + this.name, + this.user}); + this.dataGridView1.Location = new System.Drawing.Point(12, 50); + this.dataGridView1.Name = "dataGridView1"; + this.dataGridView1.ReadOnly = true; + this.dataGridView1.RowTemplate.Height = 23; + this.dataGridView1.Size = new System.Drawing.Size(440, 196); + this.dataGridView1.TabIndex = 3; + this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick); + this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick); + this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint); + // + // idx + // + this.idx.HeaderText = "idx"; + this.idx.Name = "idx"; + this.idx.ReadOnly = true; + this.idx.Visible = false; + // + // name + // + this.name.HeaderText = "목록"; + this.name.Name = "name"; + this.name.ReadOnly = true; + this.name.Width = 300; + // + // user + // + this.user.HeaderText = "저장자"; + this.user.Name = "user"; + this.user.ReadOnly = true; + this.user.Width = 80; + // + // panel2 + // + this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel2.Controls.Add(this.label18); + this.panel2.Controls.Add(this.cb_TextFont); + this.panel2.Controls.Add(this.tb_TextSize); + this.panel2.Controls.Add(this.label20); + this.panel2.Controls.Add(this.chk_C); + this.panel2.Controls.Add(this.chk_V); + this.panel2.Controls.Add(this.tb_Left); + this.panel2.Controls.Add(this.label23); + this.panel2.Controls.Add(this.label22); + this.panel2.Controls.Add(this.label21); + this.panel2.Controls.Add(this.label10); + this.panel2.Controls.Add(this.tb_Top); + this.panel2.Controls.Add(this.tb_Width); + this.panel2.Controls.Add(this.label19); + this.panel2.Controls.Add(this.label11); + this.panel2.Controls.Add(this.label9); + this.panel2.Controls.Add(this.tb_SeroGap); + this.panel2.Controls.Add(this.label8); + this.panel2.Controls.Add(this.tb_Height); + this.panel2.Controls.Add(this.tb_Sero); + this.panel2.Controls.Add(this.tb_GaroGap); + this.panel2.Controls.Add(this.label12); + this.panel2.Controls.Add(this.label15); + this.panel2.Controls.Add(this.label16); + this.panel2.Controls.Add(this.label6); + this.panel2.Controls.Add(this.label17); + this.panel2.Controls.Add(this.label13); + this.panel2.Controls.Add(this.label14); + this.panel2.Controls.Add(this.label5); + this.panel2.Controls.Add(this.tb_Garo); + this.panel2.Controls.Add(this.tb_ListName); + this.panel2.Controls.Add(this.label2); + this.panel2.Location = new System.Drawing.Point(458, 50); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(300, 196); + this.panel2.TabIndex = 4; + // + // label18 + // + this.label18.AutoSize = true; + this.label18.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label18.Location = new System.Drawing.Point(10, 147); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(44, 12); + this.label18.TabIndex = 106; + this.label18.Text = "글자체"; + // + // cb_TextFont + // + this.cb_TextFont.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_TextFont.FormattingEnabled = true; + this.cb_TextFont.Location = new System.Drawing.Point(56, 143); + this.cb_TextFont.Name = "cb_TextFont"; + this.cb_TextFont.Size = new System.Drawing.Size(72, 20); + this.cb_TextFont.TabIndex = 102; + // + // tb_TextSize + // + this.tb_TextSize.Location = new System.Drawing.Point(229, 143); + this.tb_TextSize.Name = "tb_TextSize"; + this.tb_TextSize.Size = new System.Drawing.Size(30, 21); + this.tb_TextSize.TabIndex = 103; + this.tb_TextSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // label20 + // + this.label20.AutoSize = true; + this.label20.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label20.Location = new System.Drawing.Point(170, 147); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(57, 12); + this.label20.TabIndex = 101; + this.label20.Text = "글자크기"; + // + // chk_C + // + this.chk_C.AutoSize = true; + this.chk_C.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; + this.chk_C.Location = new System.Drawing.Point(28, 169); + this.chk_C.Name = "chk_C"; + this.chk_C.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.chk_C.Size = new System.Drawing.Size(71, 16); + this.chk_C.TabIndex = 105; + this.chk_C.Text = "복본(C.)"; + this.chk_C.UseVisualStyleBackColor = true; + // + // chk_V + // + this.chk_V.AutoSize = true; + this.chk_V.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; + this.chk_V.Location = new System.Drawing.Point(172, 170); + this.chk_V.Name = "chk_V"; + this.chk_V.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.chk_V.Size = new System.Drawing.Size(70, 16); + this.chk_V.TabIndex = 104; + this.chk_V.Text = "볼륨(V.)"; + this.chk_V.UseVisualStyleBackColor = true; + // + // tb_Left + // + this.tb_Left.Location = new System.Drawing.Point(43, 35); + this.tb_Left.Name = "tb_Left"; + this.tb_Left.Size = new System.Drawing.Size(56, 21); + this.tb_Left.TabIndex = 85; + this.tb_Left.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // label23 + // + this.label23.AutoSize = true; + this.label23.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label23.Location = new System.Drawing.Point(10, 39); + this.label23.Name = "label23"; + this.label23.Size = new System.Drawing.Size(31, 12); + this.label23.TabIndex = 77; + this.label23.Text = "좌측"; + // + // label22 + // + this.label22.AutoSize = true; + this.label22.Location = new System.Drawing.Point(101, 39); + this.label22.Name = "label22"; + this.label22.Size = new System.Drawing.Size(27, 12); + this.label22.TabIndex = 81; + this.label22.Text = "mm"; + // + // label21 + // + this.label21.AutoSize = true; + this.label21.Location = new System.Drawing.Point(261, 39); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(27, 12); + this.label21.TabIndex = 92; + this.label21.Text = "mm"; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label10.Location = new System.Drawing.Point(170, 39); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(31, 12); + this.label10.TabIndex = 93; + this.label10.Text = "위쪽"; + // + // tb_Top + // + this.tb_Top.Location = new System.Drawing.Point(203, 35); + this.tb_Top.Name = "tb_Top"; + this.tb_Top.Size = new System.Drawing.Size(56, 21); + this.tb_Top.TabIndex = 94; + this.tb_Top.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tb_Width + // + this.tb_Width.Location = new System.Drawing.Point(43, 62); + this.tb_Width.Name = "tb_Width"; + this.tb_Width.Size = new System.Drawing.Size(56, 21); + this.tb_Width.TabIndex = 95; + this.tb_Width.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // label19 + // + this.label19.AutoSize = true; + this.label19.Location = new System.Drawing.Point(101, 66); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(27, 12); + this.label19.TabIndex = 91; + this.label19.Text = "mm"; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Location = new System.Drawing.Point(261, 66); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(27, 12); + this.label11.TabIndex = 87; + this.label11.Text = "mm"; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label9.Location = new System.Drawing.Point(10, 66); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(31, 12); + this.label9.TabIndex = 78; + this.label9.Text = "너비"; + // + // tb_SeroGap + // + this.tb_SeroGap.Location = new System.Drawing.Point(229, 89); + this.tb_SeroGap.Name = "tb_SeroGap"; + this.tb_SeroGap.Size = new System.Drawing.Size(30, 21); + this.tb_SeroGap.TabIndex = 98; + this.tb_SeroGap.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label8.Location = new System.Drawing.Point(170, 66); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(31, 12); + this.label8.TabIndex = 79; + this.label8.Text = "높이"; + // + // tb_Height + // + this.tb_Height.Location = new System.Drawing.Point(203, 62); + this.tb_Height.Name = "tb_Height"; + this.tb_Height.Size = new System.Drawing.Size(56, 21); + this.tb_Height.TabIndex = 96; + this.tb_Height.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tb_Sero + // + this.tb_Sero.Location = new System.Drawing.Point(229, 116); + this.tb_Sero.Name = "tb_Sero"; + this.tb_Sero.Size = new System.Drawing.Size(30, 21); + this.tb_Sero.TabIndex = 100; + this.tb_Sero.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tb_GaroGap + // + this.tb_GaroGap.Location = new System.Drawing.Point(69, 89); + this.tb_GaroGap.Name = "tb_GaroGap"; + this.tb_GaroGap.Size = new System.Drawing.Size(30, 21); + this.tb_GaroGap.TabIndex = 97; + this.tb_GaroGap.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Location = new System.Drawing.Point(101, 93); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(27, 12); + this.label12.TabIndex = 90; + this.label12.Text = "mm"; + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label15.Location = new System.Drawing.Point(170, 93); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(57, 12); + this.label15.TabIndex = 84; + this.label15.Text = "세로간격"; + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Location = new System.Drawing.Point(101, 120); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(17, 12); + this.label16.TabIndex = 89; + this.label16.Text = "개"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label6.Location = new System.Drawing.Point(170, 120); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(57, 12); + this.label6.TabIndex = 83; + this.label6.Text = "세로갯수"; + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Location = new System.Drawing.Point(261, 120); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(17, 12); + this.label17.TabIndex = 88; + this.label17.Text = "개"; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Location = new System.Drawing.Point(261, 93); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(27, 12); + this.label13.TabIndex = 86; + this.label13.Text = "mm"; + // + // label14 + // + this.label14.AutoSize = true; + this.label14.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label14.Location = new System.Drawing.Point(10, 93); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(57, 12); + this.label14.TabIndex = 82; + this.label14.Text = "가로간격"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label5.Location = new System.Drawing.Point(10, 120); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(57, 12); + this.label5.TabIndex = 80; + this.label5.Text = "가로갯수"; + // + // tb_Garo + // + this.tb_Garo.Location = new System.Drawing.Point(69, 116); + this.tb_Garo.Name = "tb_Garo"; + this.tb_Garo.Size = new System.Drawing.Size(30, 21); + this.tb_Garo.TabIndex = 99; + this.tb_Garo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // tb_ListName + // + this.tb_ListName.Location = new System.Drawing.Point(56, 8); + this.tb_ListName.Name = "tb_ListName"; + this.tb_ListName.Size = new System.Drawing.Size(229, 21); + this.tb_ListName.TabIndex = 4; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label2.Location = new System.Drawing.Point(10, 12); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(44, 12); + this.label2.TabIndex = 2; + this.label2.Text = "목록명"; + // + // btn_Apply + // + this.btn_Apply.Location = new System.Drawing.Point(683, 252); + this.btn_Apply.Name = "btn_Apply"; + this.btn_Apply.Size = new System.Drawing.Size(75, 23); + this.btn_Apply.TabIndex = 1; + this.btn_Apply.Text = "적 용"; + this.btn_Apply.UseVisualStyleBackColor = true; + this.btn_Apply.Click += new System.EventHandler(this.btn_Apply_Click); + // + // Marc_Plan_PrintLabel + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(770, 285); + this.Controls.Add(this.panel2); + this.Controls.Add(this.dataGridView1); + this.Controls.Add(this.btn_Apply); + this.Controls.Add(this.panel1); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "Marc_Plan_PrintLabel"; + this.Load += new System.EventHandler(this.Marc_Plan_PrintLabel_Load); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Button btn_Close; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.DataGridView dataGridView1; + private System.Windows.Forms.TextBox tb_Search; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.TextBox tb_ListName; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox tb_Left; + private System.Windows.Forms.Label label23; + private System.Windows.Forms.Label label22; + private System.Windows.Forms.Label label21; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.TextBox tb_Top; + private System.Windows.Forms.TextBox tb_Width; + private System.Windows.Forms.Label label19; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.TextBox tb_SeroGap; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.TextBox tb_Height; + private System.Windows.Forms.TextBox tb_Sero; + private System.Windows.Forms.TextBox tb_GaroGap; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.Label label16; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.Label label17; + private System.Windows.Forms.Label label13; + private System.Windows.Forms.Label label14; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.TextBox tb_Garo; + private System.Windows.Forms.ComboBox cb_TextFont; + private System.Windows.Forms.TextBox tb_TextSize; + private System.Windows.Forms.Label label20; + private System.Windows.Forms.CheckBox chk_C; + private System.Windows.Forms.CheckBox chk_V; + private System.Windows.Forms.Label label18; + private System.Windows.Forms.DataGridViewTextBoxColumn idx; + private System.Windows.Forms.DataGridViewTextBoxColumn name; + private System.Windows.Forms.DataGridViewTextBoxColumn user; + private System.Windows.Forms.Button btn_Apply; + private System.Windows.Forms.Button btn_Empty; + private System.Windows.Forms.Button btn_Delete; + private System.Windows.Forms.Button btn_Save; + } +} \ No newline at end of file diff --git a/unimarc/unimarc/마크/Marc_Plan_PrintLabel.cs b/unimarc/unimarc/마크/Marc_Plan_PrintLabel.cs new file mode 100644 index 0000000..6269fc1 --- /dev/null +++ b/unimarc/unimarc/마크/Marc_Plan_PrintLabel.cs @@ -0,0 +1,284 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using WindowsFormsApp1.Mac; +using WindowsFormsApp1; + +namespace UniMarc.마크 +{ + public partial class Marc_Plan_PrintLabel : Form + { + Marc_Plan mp; + Helper_DB db = new Helper_DB(); + public Marc_Plan_PrintLabel(Marc_Plan _mp) + { + InitializeComponent(); + mp = _mp; + } + + private void Marc_Plan_PrintLabel_Load(object sender, EventArgs e) + { + db.DBcon(); + + string[] Font = { "굴림", "굴림체", "돋움", "바탕체", "맑은 고딕", "HY강B", "HY강M" }; + cb_TextFont.Items.AddRange(Font); + } + + private void tb_Search_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) + SearchList(); + } + #region Search + /// + /// 검색값을 토대로 DB에서 목록을 불러옴 + /// + private void SearchList() + { + string Text = tb_Search.Text; + + string Area = "`compidx`, `name`, `user`"; + string Tabel = "PrintLabel"; + string compidx = Properties.Settings.Default.compidx; + + string cmd = string.Format( + "SELECT {0} " + + "FROM {1} " + + "WHERE `compidx` = \"{2}\" AND `name` LIKE \"%{3}%\";", Area, Tabel, compidx, Text); + string res = db.self_Made_Cmd(cmd); + InputGrid(res); + } + + /// + /// Grid에 검색값을 표출 + /// + /// + private void InputGrid(string DB_Data) + { + string[] SplitData = DB_Data.Split('|'); + + string[] Grid = { "", "", "" }; + for (int a = 0; a < SplitData.Length; a++) + { + if (a % 3 == 0) Grid[0] = SplitData[a]; + if (a % 3 == 1) Grid[1] = SplitData[a]; + if (a % 3 == 2) + { + Grid[2] = SplitData[a]; + dataGridView1.Rows.Add(Grid); + } + } + } + #endregion + + private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e) + { + int row = e.RowIndex; + + string Area = + "`left`, `top`, `width`, `height`, `garogap`, " + + "`serogap`, `garocount`, `serocount`, `vol`, `count`, " + + "`textfont`, `fontsize`"; + string Table = "PrintLabel"; + string idx = dataGridView1.Rows[row].Cells["idx"].Value.ToString(); + + string cmd = string.Format("SELECT {0} FROM {1} WHERE `idx` = {2}", Area, Table, idx); + string res = db.self_Made_Cmd(cmd); + InputText(row, res); + } + #region CellClick_Sub + + private void InputText(int row, string DB_Data) + { + string[] SplitData = DB_Data.Split('|'); + + tb_ListName.Text = dataGridView1.Rows[row].Cells["name"].Value.ToString(); + + TextBox[] tb = { tb_Left, tb_Top, tb_Width, tb_Height, tb_GaroGap, tb_SeroGap, tb_Garo, tb_Sero }; + int count = 0; + foreach (string Data in SplitData) + { + if (tb.Length <= count) + { + tb[count].Text = Data; + } + else if (count == 8) + { + if (Data == "0") + chk_V.Checked = false; + else + chk_V.Checked = true; + } + else if (count == 9) + { + if (Data == "0") + chk_C.Checked = false; + else + chk_C.Checked = true; + } + else if (count == 10) + { + cb_TextFont.SelectedItem = Data; + } + else if (count == 11) + { + tb_TextSize.Text = Data; + } + count++; + } + } + + #endregion + + private void btn_Apply_Click(object sender, EventArgs e) + { + // 적용 + TextBox[] Box = { tb_Left, tb_Top, tb_Width, tb_Height, tb_GaroGap, tb_SeroGap, tb_Garo, tb_Sero, tb_TextSize }; + string Font = cb_TextFont.SelectedItem.ToString(); + bool[] ChkByC_V = { chk_C.Checked, chk_V.Checked }; + + mp.BringPringLabel(Box, Font, ChkByC_V); + } + + private void btn_Empty_Click(object sender, EventArgs e) + { + TextBox[] tb = { tb_Left, tb_Top, tb_Width, tb_Height, tb_GaroGap, tb_SeroGap, tb_Garo, tb_Sero, tb_TextSize }; + + foreach (TextBox Box in tb) + { + Box.Text = ""; + } + + chk_C.Checked = false; + chk_V.Checked = false; + } + + private void btn_Delete_Click(object sender, EventArgs e) + { + // 삭제 + string listName = tb_ListName.Text; + if (listName == "") return; + + int row = -1; + if (dataGridView1.CurrentRow != null) + row = dataGridView1.CurrentCell.RowIndex; + else if (row > 0) + return; + + string idx = dataGridView1.Rows[row].Cells["idx"].Value.ToString(); + string cmd = string.Format("DELETE FROM `PrintLabel` WHERE `idx` = {0}", idx); + + db.DB_Send_CMD_reVoid(cmd); + dataGridView1.Rows.Remove(dataGridView1.Rows[row]); + } + + private void btn_Save_Click(object sender, EventArgs e) + { + // 저장 + string listName = tb_ListName.Text; + if (listName == "") return; + + int row = -1; + if (dataGridView1.CurrentRow != null) + row = dataGridView1.CurrentCell.RowIndex; + else if (row > 0) + return; + + string User = Properties.Settings.Default.User; + string compidx = Properties.Settings.Default.compidx; + + string CopyCheckCMD = string.Format( + "SELECT * " + + "FROM `PrintLabel` " + + "WHERE `name` = \"{0}\" AND `compidx` = \"{1}\";", listName, compidx); + string CopyCehck = db.DB_Send_CMD_Search(CopyCheckCMD); + + bool isCopy = false; + + if (CopyCehck.Length > 0) + isCopy = true; + + if (isCopy) // 중복 데이터가 있을 경우 + { + string idx = dataGridView1.Rows[row].Cells["idx"].Value.ToString(); + + string[] editCol = { + "left", "top", "width", "height", + "garogap", "serogap", "garocount", "serocount", + "vol", "count", + "textfont", "fontsize" + }; + string[] editData = { + tb_Left.Text, tb_Top.Text, tb_Width.Text, tb_Height.Text, + tb_GaroGap.Text, tb_SeroGap.Text, tb_Garo.Text, tb_Sero.Text, + ConvertBool(chk_V.Checked), ConvertBool(chk_C.Checked), + cb_TextFont.SelectedItem.ToString(), tb_TextSize.Text + }; + string[] SearchCol = { "idx", "compidx" }; + string[] SearchData = { idx, compidx }; + + string U_cmd = db.More_Update("PrintLabel", editCol, editData, SearchCol, SearchData); + + db.DB_Send_CMD_reVoid(U_cmd); + + MessageBox.Show(tb_ListName.Text + "가 성공적으로 수정되었습니다!", "수정완료"); + } + else + { + string[] InsertCol = { + "compidx", "name", "user", + "left", "top", "width", "height", + "garogap", "serogap", "garocount", "serocount", + "vol", "count", + "textfont", "fontsize" + }; + string[] InsertData = { + compidx, listName, User, + tb_Left.Text, tb_Top.Text, tb_Width.Text, tb_Height.Text, + tb_GaroGap.Text, tb_SeroGap.Text, tb_Garo.Text, tb_Sero.Text, + ConvertBool(chk_V.Checked), ConvertBool(chk_C.Checked), + cb_TextFont.SelectedItem.ToString(), tb_TextSize.Text + }; + + string Incmd = db.DB_INSERT("PrintLabel", InsertCol, InsertData); + + db.DB_Send_CMD_reVoid(Incmd); + + MessageBox.Show(tb_ListName.Text + "가 성공적으로 저장되었습니다!", "저장완료"); + } + } + + #region Save_Sub + + string ConvertBool(bool Check) + { + if (Check) + return "0"; + else + return "1"; + } + #endregion + + private void btn_Close_Click(object sender, EventArgs e) + { + this.Close(); + } + + private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) + { + Skill_Grid sg = new Skill_Grid(); + sg.Print_Grid_Num(sender, e); + } + + private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) + { + + } + } +} diff --git a/unimarc/unimarc/마크/Marc_Plan_PrintLabel.resx b/unimarc/unimarc/마크/Marc_Plan_PrintLabel.resx new file mode 100644 index 0000000..f3be171 --- /dev/null +++ b/unimarc/unimarc/마크/Marc_Plan_PrintLabel.resx @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + True + + + True + + + True + + \ No newline at end of file