diff --git a/ExcelTest/.vs/ExcelTest/v16/.suo b/ExcelTest/.vs/ExcelTest/v16/.suo index 93c2786..d62eb3f 100644 Binary files a/ExcelTest/.vs/ExcelTest/v16/.suo and b/ExcelTest/.vs/ExcelTest/v16/.suo differ diff --git a/ExcelTest/ExcelTest/Marc.Designer.cs b/ExcelTest/ExcelTest/Marc.Designer.cs index 616b56a..6c68f50 100644 --- a/ExcelTest/ExcelTest/Marc.Designer.cs +++ b/ExcelTest/ExcelTest/Marc.Designer.cs @@ -390,7 +390,7 @@ this.Column3}); this.GridView020.Location = new System.Drawing.Point(350, 71); this.GridView020.Name = "GridView020"; - this.GridView020.RowHeadersWidth = 10; + this.GridView020.RowHeadersWidth = 30; this.GridView020.RowTemplate.Height = 23; this.GridView020.Size = new System.Drawing.Size(395, 71); this.GridView020.TabIndex = 208; @@ -583,7 +583,7 @@ this.Column8}); this.GridView246.Location = new System.Drawing.Point(760, 238); this.GridView246.Name = "GridView246"; - this.GridView246.RowHeadersWidth = 10; + this.GridView246.RowHeadersWidth = 30; this.GridView246.RowTemplate.Height = 23; this.GridView246.Size = new System.Drawing.Size(568, 71); this.GridView246.TabIndex = 208; @@ -764,7 +764,7 @@ this.Column12}); this.GridView710.Location = new System.Drawing.Point(605, 384); this.GridView710.Name = "GridView710"; - this.GridView710.RowHeadersWidth = 10; + this.GridView710.RowHeadersWidth = 30; this.GridView710.RowTemplate.Height = 23; this.GridView710.Size = new System.Drawing.Size(360, 71); this.GridView710.TabIndex = 208; @@ -797,7 +797,7 @@ this.dataGridViewTextBoxColumn2}); this.GridView910.Location = new System.Drawing.Point(968, 384); this.GridView910.Name = "GridView910"; - this.GridView910.RowHeadersWidth = 10; + this.GridView910.RowHeadersWidth = 30; this.GridView910.RowTemplate.Height = 23; this.GridView910.Size = new System.Drawing.Size(360, 71); this.GridView910.TabIndex = 208; @@ -898,7 +898,7 @@ this.text440x}); this.GridView440.Location = new System.Drawing.Point(350, 486); this.GridView440.Name = "GridView440"; - this.GridView440.RowHeadersWidth = 10; + this.GridView440.RowHeadersWidth = 30; this.GridView440.RowTemplate.Height = 23; this.GridView440.Size = new System.Drawing.Size(610, 71); this.GridView440.TabIndex = 208; @@ -975,7 +975,7 @@ this.text490v}); this.GridView490.Location = new System.Drawing.Point(968, 486); this.GridView490.Name = "GridView490"; - this.GridView490.RowHeadersWidth = 10; + this.GridView490.RowHeadersWidth = 30; this.GridView490.RowTemplate.Height = 23; this.GridView490.Size = new System.Drawing.Size(360, 71); this.GridView490.TabIndex = 208; @@ -1019,7 +1019,7 @@ this.text505e}); this.GridView505.Location = new System.Drawing.Point(350, 617); this.GridView505.Name = "GridView505"; - this.GridView505.RowHeadersWidth = 10; + this.GridView505.RowHeadersWidth = 30; this.GridView505.RowTemplate.Height = 23; this.GridView505.Size = new System.Drawing.Size(410, 71); this.GridView505.TabIndex = 208; diff --git a/ExcelTest/ExcelTest/Marc.cs b/ExcelTest/ExcelTest/Marc.cs index ea2df8e..cc5bd78 100644 --- a/ExcelTest/ExcelTest/Marc.cs +++ b/ExcelTest/ExcelTest/Marc.cs @@ -96,12 +96,12 @@ namespace ExcelTest private void button2_Click(object sender, EventArgs e) { - string result = ""; + string result; richTextBox1.Text = ""; string mid = "\t--\t"; string Sort = "▼"; string End = "▲\n"; - string dlatl = ""; + string dlatl; DataGridView data020 = GridView020; DataGridView data246 = GridView246; DataGridView data710 = GridView710; @@ -116,7 +116,7 @@ namespace ExcelTest string[] data440a = { "", "", "", "", "", "" }; string[] data490a = { "", "" }; string[] data505a = { "", "", "", "" }; - int count = 0, a = 0, b = 0; + int count = 0, a, b; result = "메모장\n008\t\t200604s20192020ulk b 000a kor "; result = Create_008(result); diff --git a/ExcelTest/ExcelTest/bin/Debug/ExcelTest.exe b/ExcelTest/ExcelTest/bin/Debug/ExcelTest.exe index eedb321..60e29dc 100644 Binary files a/ExcelTest/ExcelTest/bin/Debug/ExcelTest.exe and b/ExcelTest/ExcelTest/bin/Debug/ExcelTest.exe differ diff --git a/ExcelTest/ExcelTest/bin/Debug/ExcelTest.pdb b/ExcelTest/ExcelTest/bin/Debug/ExcelTest.pdb index db7cf11..b1169be 100644 Binary files a/ExcelTest/ExcelTest/bin/Debug/ExcelTest.pdb and b/ExcelTest/ExcelTest/bin/Debug/ExcelTest.pdb differ diff --git a/ExcelTest/ExcelTest/bin/Debug/System.Memory.dll b/ExcelTest/ExcelTest/bin/Debug/System.Memory.dll index bdfc501..5d19470 100644 Binary files a/ExcelTest/ExcelTest/bin/Debug/System.Memory.dll and b/ExcelTest/ExcelTest/bin/Debug/System.Memory.dll differ diff --git a/ExcelTest/ExcelTest/bin/Debug/System.Numerics.Vectors.dll b/ExcelTest/ExcelTest/bin/Debug/System.Numerics.Vectors.dll index ce46d5b..0865972 100644 Binary files a/ExcelTest/ExcelTest/bin/Debug/System.Numerics.Vectors.dll and b/ExcelTest/ExcelTest/bin/Debug/System.Numerics.Vectors.dll differ diff --git a/ExcelTest/ExcelTest/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/ExcelTest/ExcelTest/obj/Debug/DesignTimeResolveAssemblyReferences.cache index 5b72e0d..3bbe158 100644 Binary files a/ExcelTest/ExcelTest/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/ExcelTest/ExcelTest/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/ExcelTest/ExcelTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/ExcelTest/ExcelTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index e2c8853..a416d51 100644 Binary files a/ExcelTest/ExcelTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/ExcelTest/ExcelTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/ExcelTest/ExcelTest/obj/Debug/ExcelTest.csproj.AssemblyReference.cache b/ExcelTest/ExcelTest/obj/Debug/ExcelTest.csproj.AssemblyReference.cache new file mode 100644 index 0000000..f9a647b Binary files /dev/null and b/ExcelTest/ExcelTest/obj/Debug/ExcelTest.csproj.AssemblyReference.cache differ diff --git a/ExcelTest/ExcelTest/obj/Debug/ExcelTest.csproj.FileListAbsolute.txt b/ExcelTest/ExcelTest/obj/Debug/ExcelTest.csproj.FileListAbsolute.txt index ba1cdd7..bb5d5e6 100644 --- a/ExcelTest/ExcelTest/obj/Debug/ExcelTest.csproj.FileListAbsolute.txt +++ b/ExcelTest/ExcelTest/obj/Debug/ExcelTest.csproj.FileListAbsolute.txt @@ -45,3 +45,34 @@ C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\System.Runt C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\System.Numerics.Vectors.dll C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\bin\Debug\MySql.Data.xml C:\Users\Administrator\Desktop\project\ExcelTest\ExcelTest\obj\Debug\ExcelTest.csproj.CopyComplete +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\bin\Debug\ExcelTest.exe.config +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\bin\Debug\ExcelTest.exe +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\bin\Debug\ExcelTest.pdb +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\bin\Debug\MySql.Data.dll +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\bin\Debug\Google.Protobuf.dll +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\bin\Debug\Zstandard.Net.dll +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\bin\Debug\K4os.Compression.LZ4.Streams.dll +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\bin\Debug\BouncyCastle.Crypto.dll +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\bin\Debug\Ubiety.Dns.Core.dll +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\bin\Debug\Renci.SshNet.dll +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\bin\Debug\System.Buffers.dll +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\bin\Debug\K4os.Compression.LZ4.dll +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\bin\Debug\K4os.Hash.xxHash.dll +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\bin\Debug\System.Memory.dll +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\bin\Debug\System.Runtime.CompilerServices.Unsafe.dll +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\bin\Debug\System.Numerics.Vectors.dll +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\bin\Debug\MySql.Data.xml +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\obj\Debug\ExcelTest.csproj.AssemblyReference.cache +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\obj\Debug\ExcelTest.csproj.ResolveComReference.cache +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\obj\Debug\ExcelTest.findNchange.resources +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\obj\Debug\ExcelTest.Helper008.resources +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\obj\Debug\ExcelTest.Font.resources +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\obj\Debug\ExcelTest.Email.resources +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\obj\Debug\ExcelTest.Marc.resources +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\obj\Debug\ExcelTest.Properties.Resources.resources +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\obj\Debug\ExcelTest.SubString.resources +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\obj\Debug\ExcelTest.csproj.GenerateResource.cache +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\obj\Debug\ExcelTest.csproj.CoreCompileInputs.cache +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\obj\Debug\ExcelTest.csproj.CopyComplete +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\obj\Debug\ExcelTest.exe +C:\Users\Administrator\Desktop\unimarc\ExcelTest\ExcelTest\obj\Debug\ExcelTest.pdb diff --git a/ExcelTest/ExcelTest/obj/Debug/ExcelTest.exe b/ExcelTest/ExcelTest/obj/Debug/ExcelTest.exe index eedb321..60e29dc 100644 Binary files a/ExcelTest/ExcelTest/obj/Debug/ExcelTest.exe and b/ExcelTest/ExcelTest/obj/Debug/ExcelTest.exe differ diff --git a/ExcelTest/ExcelTest/obj/Debug/ExcelTest.pdb b/ExcelTest/ExcelTest/obj/Debug/ExcelTest.pdb index db7cf11..b1169be 100644 Binary files a/ExcelTest/ExcelTest/obj/Debug/ExcelTest.pdb and b/ExcelTest/ExcelTest/obj/Debug/ExcelTest.pdb differ diff --git a/ISBN_Check_test/.vs/ISBN_Check_test/v16/.suo b/ISBN_Check_test/.vs/ISBN_Check_test/v16/.suo index 199d3ee..73887d6 100644 Binary files a/ISBN_Check_test/.vs/ISBN_Check_test/v16/.suo and b/ISBN_Check_test/.vs/ISBN_Check_test/v16/.suo differ diff --git a/ISBN_Check_test/Form1.Designer.cs b/ISBN_Check_test/Form1.Designer.cs index 4b0c8cc..343edb6 100644 --- a/ISBN_Check_test/Form1.Designer.cs +++ b/ISBN_Check_test/Form1.Designer.cs @@ -29,21 +29,12 @@ namespace ISBN_Check_test /// private void InitializeComponent() { - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); this.cb_filter = new System.Windows.Forms.ComboBox(); this.button1 = new System.Windows.Forms.Button(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); - this.label1 = new System.Windows.Forms.Label(); - this.richTextBox1 = new System.Windows.Forms.RichTextBox(); - this.start_idx = new System.Windows.Forms.TextBox(); - this.end_idx = new System.Windows.Forms.TextBox(); - this.label2 = new System.Windows.Forms.Label(); - this.button2 = new System.Windows.Forms.Button(); - this.cb_api = new System.Windows.Forms.ComboBox(); - this.progressBar1 = new System.Windows.Forms.ProgressBar(); - this.btn_Yes24 = new System.Windows.Forms.Button(); this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.author = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -55,21 +46,37 @@ namespace ISBN_Check_test this.sold_out = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.count = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.label1 = new System.Windows.Forms.Label(); + this.richTextBox1 = new System.Windows.Forms.RichTextBox(); + this.start_idx = new System.Windows.Forms.TextBox(); + this.end_idx = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.button2 = new System.Windows.Forms.Button(); + this.cb_api = new System.Windows.Forms.ComboBox(); + this.progressBar1 = new System.Windows.Forms.ProgressBar(); + this.btn_Yes24 = new System.Windows.Forms.Button(); + this.panel1 = new System.Windows.Forms.Panel(); + this.panel2 = new System.Windows.Forms.Panel(); + this.panel3 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); + this.panel1.SuspendLayout(); + this.panel2.SuspendLayout(); + this.panel3.SuspendLayout(); this.SuspendLayout(); // // cb_filter // this.cb_filter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cb_filter.FormattingEnabled = true; - this.cb_filter.Location = new System.Drawing.Point(154, 10); + this.cb_filter.Location = new System.Drawing.Point(139, 11); this.cb_filter.Name = "cb_filter"; this.cb_filter.Size = new System.Drawing.Size(121, 20); this.cb_filter.TabIndex = 0; + this.cb_filter.SelectedIndexChanged += new System.EventHandler(this.cb_filter_SelectedIndexChanged); // // button1 // - this.button1.Location = new System.Drawing.Point(431, 9); + this.button1.Location = new System.Drawing.Point(416, 10); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 2; @@ -79,14 +86,14 @@ namespace ISBN_Check_test // // dataGridView1 // - dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle10.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10; + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.book_name, this.author, @@ -99,106 +106,27 @@ namespace ISBN_Check_test this.sold_out, this.Column1, this.count}); + this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnF2; - this.dataGridView1.Location = new System.Drawing.Point(12, 38); + this.dataGridView1.Location = new System.Drawing.Point(0, 0); this.dataGridView1.Name = "dataGridView1"; - dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle12.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle12; + 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.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; - this.dataGridView1.Size = new System.Drawing.Size(973, 466); + this.dataGridView1.Size = new System.Drawing.Size(1001, 471); this.dataGridView1.TabIndex = 3; this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick); this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick); this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint); this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown); // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(734, 15); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(65, 12); - this.label1.TabIndex = 4; - this.label1.Text = "00:00:00.00"; - // - // richTextBox1 - // - this.richTextBox1.Location = new System.Drawing.Point(12, 510); - this.richTextBox1.Name = "richTextBox1"; - this.richTextBox1.Size = new System.Drawing.Size(973, 96); - this.richTextBox1.TabIndex = 5; - this.richTextBox1.Text = ""; - // - // start_idx - // - this.start_idx.Location = new System.Drawing.Point(287, 10); - this.start_idx.Name = "start_idx"; - this.start_idx.Size = new System.Drawing.Size(42, 21); - this.start_idx.TabIndex = 6; - this.start_idx.Text = "1"; - this.start_idx.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress); - // - // end_idx - // - this.end_idx.Location = new System.Drawing.Point(355, 10); - this.end_idx.Name = "end_idx"; - this.end_idx.Size = new System.Drawing.Size(42, 21); - this.end_idx.TabIndex = 6; - this.end_idx.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress); - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(335, 14); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(14, 12); - this.label2.TabIndex = 4; - this.label2.Text = "~"; - // - // button2 - // - this.button2.Location = new System.Drawing.Point(518, 9); - this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(75, 23); - this.button2.TabIndex = 2; - this.button2.Text = "리 셋"; - this.button2.UseVisualStyleBackColor = true; - this.button2.Click += new System.EventHandler(this.button2_Click); - // - // cb_api - // - this.cb_api.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_api.FormattingEnabled = true; - this.cb_api.Location = new System.Drawing.Point(27, 9); - this.cb_api.Name = "cb_api"; - this.cb_api.Size = new System.Drawing.Size(121, 20); - this.cb_api.TabIndex = 0; - this.cb_api.SelectedIndexChanged += new System.EventHandler(this.cb_api_SelectedIndexChanged); - // - // progressBar1 - // - this.progressBar1.Location = new System.Drawing.Point(801, 9); - this.progressBar1.Name = "progressBar1"; - this.progressBar1.Size = new System.Drawing.Size(184, 23); - this.progressBar1.TabIndex = 7; - // - // btn_Yes24 - // - this.btn_Yes24.Location = new System.Drawing.Point(605, 9); - this.btn_Yes24.Name = "btn_Yes24"; - this.btn_Yes24.Size = new System.Drawing.Size(75, 23); - this.btn_Yes24.TabIndex = 8; - this.btn_Yes24.Text = "Yes반출"; - this.btn_Yes24.UseVisualStyleBackColor = true; - this.btn_Yes24.Click += new System.EventHandler(this.btn_Yes24_Click); - // // book_name // this.book_name.HeaderText = "도서명"; @@ -258,35 +186,147 @@ namespace ISBN_Check_test // // count // - dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.count.DefaultCellStyle = dataGridViewCellStyle11; + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.count.DefaultCellStyle = dataGridViewCellStyle2; this.count.HeaderText = "검색갯수"; this.count.Name = "count"; this.count.Width = 80; // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(719, 16); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(65, 12); + this.label1.TabIndex = 4; + this.label1.Text = "00:00:00.00"; + // + // richTextBox1 + // + this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill; + this.richTextBox1.Location = new System.Drawing.Point(0, 0); + this.richTextBox1.Name = "richTextBox1"; + this.richTextBox1.Size = new System.Drawing.Size(1001, 100); + this.richTextBox1.TabIndex = 5; + this.richTextBox1.Text = ""; + // + // start_idx + // + this.start_idx.Location = new System.Drawing.Point(272, 11); + this.start_idx.Name = "start_idx"; + this.start_idx.Size = new System.Drawing.Size(42, 21); + this.start_idx.TabIndex = 6; + this.start_idx.Text = "1"; + this.start_idx.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress); + // + // end_idx + // + this.end_idx.Location = new System.Drawing.Point(340, 11); + this.end_idx.Name = "end_idx"; + this.end_idx.Size = new System.Drawing.Size(42, 21); + this.end_idx.TabIndex = 6; + this.end_idx.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress); + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(320, 15); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(14, 12); + this.label2.TabIndex = 4; + this.label2.Text = "~"; + // + // button2 + // + this.button2.Location = new System.Drawing.Point(503, 10); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(75, 23); + this.button2.TabIndex = 2; + this.button2.Text = "리 셋"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // cb_api + // + this.cb_api.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_api.FormattingEnabled = true; + this.cb_api.Location = new System.Drawing.Point(12, 10); + this.cb_api.Name = "cb_api"; + this.cb_api.Size = new System.Drawing.Size(121, 20); + this.cb_api.TabIndex = 0; + this.cb_api.SelectedIndexChanged += new System.EventHandler(this.cb_api_SelectedIndexChanged); + // + // progressBar1 + // + this.progressBar1.Location = new System.Drawing.Point(786, 10); + this.progressBar1.Name = "progressBar1"; + this.progressBar1.Size = new System.Drawing.Size(184, 23); + this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Continuous; + this.progressBar1.TabIndex = 7; + // + // btn_Yes24 + // + this.btn_Yes24.Location = new System.Drawing.Point(590, 10); + this.btn_Yes24.Name = "btn_Yes24"; + this.btn_Yes24.Size = new System.Drawing.Size(75, 23); + this.btn_Yes24.TabIndex = 8; + this.btn_Yes24.Text = "Yes반출"; + this.btn_Yes24.UseVisualStyleBackColor = true; + this.btn_Yes24.Click += new System.EventHandler(this.btn_Yes24_Click); + // + // panel1 + // + this.panel1.Controls.Add(this.cb_api); + this.panel1.Controls.Add(this.btn_Yes24); + this.panel1.Controls.Add(this.cb_filter); + this.panel1.Controls.Add(this.label1); + this.panel1.Controls.Add(this.button1); + this.panel1.Controls.Add(this.progressBar1); + this.panel1.Controls.Add(this.button2); + this.panel1.Controls.Add(this.end_idx); + this.panel1.Controls.Add(this.label2); + this.panel1.Controls.Add(this.start_idx); + 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(1001, 47); + this.panel1.TabIndex = 9; + // + // panel2 + // + this.panel2.Controls.Add(this.richTextBox1); + this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel2.Location = new System.Drawing.Point(0, 518); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(1001, 100); + this.panel2.TabIndex = 10; + // + // panel3 + // + this.panel3.Controls.Add(this.dataGridView1); + this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel3.Location = new System.Drawing.Point(0, 47); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(1001, 471); + this.panel3.TabIndex = 11; + // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1001, 618); - this.Controls.Add(this.btn_Yes24); - this.Controls.Add(this.label1); - this.Controls.Add(this.progressBar1); - this.Controls.Add(this.end_idx); - this.Controls.Add(this.start_idx); - this.Controls.Add(this.richTextBox1); - this.Controls.Add(this.label2); - this.Controls.Add(this.dataGridView1); - this.Controls.Add(this.button2); - this.Controls.Add(this.button1); - this.Controls.Add(this.cb_api); - this.Controls.Add(this.cb_filter); + this.Controls.Add(this.panel3); + this.Controls.Add(this.panel2); + this.Controls.Add(this.panel1); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.panel2.ResumeLayout(false); + this.panel3.ResumeLayout(false); this.ResumeLayout(false); - this.PerformLayout(); } @@ -315,6 +355,9 @@ namespace ISBN_Check_test private System.Windows.Forms.DataGridViewTextBoxColumn sold_out; private System.Windows.Forms.DataGridViewTextBoxColumn Column1; private System.Windows.Forms.DataGridViewTextBoxColumn count; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.Panel panel3; } } diff --git a/ISBN_Check_test/Form1.cs b/ISBN_Check_test/Form1.cs index 5487daa..67d2878 100644 --- a/ISBN_Check_test/Form1.cs +++ b/ISBN_Check_test/Form1.cs @@ -86,20 +86,6 @@ namespace ISBN_Check_test dataGridView1.CurrentCell = dataGridView1.Rows[0].Cells[0]; this.ActiveControl = dataGridView1; } - #region 검색갯수 계산 - private void count_res() - { - String_Text st = new String_Text(); - int count = dataGridView1.Rows.Count; - for(int a= 0; a < count; a++) - { - string search_data = dataGridView1.Rows[a].Cells["Column1"].Value.ToString(); - int tmp_count = st.Char_count(search_data, '|'); - int lcount = tmp_count / 8; - dataGridView1.Rows[a].Cells["count"].Value = lcount.ToString(); - } - } - #endregion /// /// 알라딘 API /// @@ -109,18 +95,42 @@ namespace ISBN_Check_test // 도서명 / 저자 / 출판사 / isbn / 정가 // 발행일 / 도서분류 / 재고 string[] param = { "title", "author", "publisher", "isbn13", "priceStandard", - "pubDate", "categoryName" }; + "pubDate", "categoryName", "stockStatus", }; API api = new API(); for (int a = start; a < end; a++) { process_Sub(); - string query = dataGridView1.Rows[a].Cells["isbn"].Value.ToString(); + string type; + switch (cb_filter.SelectedIndex) + { + case 0: + type = "Keyword"; + break; + case 1: + type = "Title"; + break; + case 2: + type = "Author"; + break; + case 3: + type = "Publisher"; + break; + case 4: + type = "ISBN13"; + break; + default: + type = ""; + break; + } + // string query = dataGridView1.Rows[a].Cells["isbn"].Value.ToString(); + string query = Set_query(type, a); if (gridview.Rows[a].DefaultCellStyle.BackColor == Color.Yellow) continue; else if (gridview.Rows[a].DefaultCellStyle.BackColor == Color.LightGray) gridview.Rows[a].DefaultCellStyle.BackColor = Color.Empty; - string aladin = api.Aladin(query, "ISBN13", param); + // string aladin = api.Aladin(query, "ISBN13", param); + string aladin = api.Aladin(query, type, param); insert_By_Aladin(aladin, a); try { @@ -129,6 +139,28 @@ namespace ISBN_Check_test catch { } } } + string Set_query(string type, int idx) + { + string result = string.Empty; + + if (type == "Keyword") + result = dataGridView1.Rows[idx].Cells["book_name"].Value.ToString() + + dataGridView1.Rows[idx].Cells["author"].Value.ToString(); + + if (type == "Title") + result = dataGridView1.Rows[idx].Cells["book_name"].Value.ToString(); + + if (type == "Author") + result = dataGridView1.Rows[idx].Cells["author"].Value.ToString(); + + if (type == "Publisher") + result = dataGridView1.Rows[idx].Cells["book_comp"].Value.ToString(); + + if (type == "ISBN13") + result = dataGridView1.Rows[idx].Cells["isbn"].Value.ToString(); + + return result; + } private void Naver_API(DataGridView gridview, int start, int end) { // 도서명 / 저자 / 출판사 / isbn / 정가 @@ -139,7 +171,7 @@ namespace ISBN_Check_test List L_type = new List(); List L_Array = new List(); - for(int a = start; a < end; a++) + for (int a = start; a < end; a++) { L_type.Clear(); L_Array.Clear(); @@ -248,35 +280,11 @@ namespace ISBN_Check_test { progressBar1.PerformStep(); } - string Set_query(string type, int idx) - { - string result = string.Empty; - - if(type == "Keyword") - result = dataGridView1.Rows[idx].Cells["book_name"].Value.ToString() + - dataGridView1.Rows[idx].Cells["author"].Value.ToString(); - - if (type == "Title") - result = dataGridView1.Rows[idx].Cells["book_name"].Value.ToString(); - - if (type == "Author") - result = dataGridView1.Rows[idx].Cells["author"].Value.ToString(); - - if (type == "Publisher") - result = dataGridView1.Rows[idx].Cells["book_comp"].Value.ToString(); - - return result; - } void insert_By_Aladin(string data, int row) { if (row > 0) { dataGridView1.Rows[row - 1].Selected = false; } dataGridView1.Rows[row].Selected = true; - if (data.Length > 0) { - dataGridView1.Rows[row].Cells["Column1"].Value = data; - dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.LightGray; - } - string[] insert = data.Split('|'); if (data == "") { return; } @@ -290,14 +298,28 @@ namespace ISBN_Check_test } catch(Exception ex) { MessageBox.Show(data); } - // 도서 분류 필요한 데이터로 재정리 - int top = insert[6].IndexOf('>'); - int mid = insert[6].IndexOf('>', top + 1); - int bot = insert[6].IndexOf('>', mid + 1); - if (bot < 0) { insert[6] = insert[6].Substring(top + 1); } - else { insert[6] = insert[6].Substring(top + 1, bot - top - 1); } + for (int a = 0; a < insert.Length; a++) + { + if (a % 8 == 6) { insert[a] = Aladin_CategorySort(insert[a]); } + } - input_api_aladin(insert, row, newstring); + dataGridView1.Rows[row].Cells["Column1"].Value += string.Join("|", insert) + "|"; + dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.LightGray; + if (cb_filter.SelectedItem.ToString() == "별치조사") + input_api_aladin(insert, row, newstring); + input_api(insert, row, newstring); + } + string Aladin_CategorySort(string insert) + { + // 도서 분류 필요한 데이터로 재정리 + int top = insert.IndexOf('>'); + int mid = insert.IndexOf('>', top + 1); + int bot = insert.IndexOf('>', mid + 1); + + if (bot < 0) { insert = insert.Substring(top + 1); } + else { insert = insert.Substring(top + 1, bot - top - 1); } + + return insert; } void input_api_aladin(string[] data, int row, string date) { @@ -450,12 +472,27 @@ namespace ISBN_Check_test dataGridView1.Rows[idx].Cells["isbn"].Value = value[3]; dataGridView1.Rows[idx].Cells["price2"].Value = value[4]; dataGridView1.Rows[idx].Cells["pubDate"].Value = date; - // dataGridView1.Rows[idx].Cells["category"].Value = value[6]; + //if (cb_api.SelectedIndex == 2) + dataGridView1.Rows[idx].Cells["category"].Value = value[6]; dataGridView1.Rows[idx].Cells["sold_out"].Value = value[7]; dataGridView1.Rows[idx].DefaultCellStyle.BackColor = Color.Yellow; } count_res(); } + #region 검색갯수 계산 + private void count_res() + { + String_Text st = new String_Text(); + int count = dataGridView1.Rows.Count; + for (int a = 0; a < count; a++) + { + string search_data = dataGridView1.Rows[a].Cells["Column1"].Value.ToString(); + int tmp_count = st.Char_count(search_data, '|'); + int lcount = tmp_count / 8; + dataGridView1.Rows[a].Cells["count"].Value = lcount.ToString(); + } + } + #endregion private void dataGridView1_KeyDown(object sender, KeyEventArgs e) { Skill_Grid sg = new Skill_Grid(); @@ -488,7 +525,8 @@ namespace ISBN_Check_test private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { rowidx = e.RowIndex; - if(dataGridView1.Rows[e.RowIndex].Cells["Column1"].Value == null) + if (rowidx < 0) return; + if (dataGridView1.Rows[e.RowIndex].Cells["Column1"].Value == null) dataGridView1.Rows[e.RowIndex].Cells["Column1"].Value = ""; richTextBox1.Text = dataGridView1.Rows[e.RowIndex].Cells["Column1"].Value.ToString(); @@ -522,27 +560,20 @@ namespace ISBN_Check_test cb_filter.Items.AddRange(naver); } else if (cb_api.SelectedIndex == 2) { - string[] aladin = { "별치 조사" }; + string[] aladin = { "도서명 + 저자", "도서명", "저자", "출판사", "별치조사" }; cb_filter.Items.AddRange(aladin); } Must_Col(cb_api.SelectedIndex); } private void Must_Col(int cb_idx) { - if (cb_idx == 0 || cb_idx == 1) + if (cb_idx == 0 || cb_idx == 1 || cb_idx == 2) { dataGridView1.Columns["isbn"].DefaultCellStyle.BackColor = Color.Empty; dataGridView1.Columns["book_name"].DefaultCellStyle.BackColor = Color.FromArgb(234, 226, 202); dataGridView1.Columns["author"].DefaultCellStyle.BackColor = Color.FromArgb(234, 226, 202); dataGridView1.Columns["book_comp"].DefaultCellStyle.BackColor = Color.FromArgb(234, 226, 202); } - else if (cb_idx == 2) - { - dataGridView1.Columns["isbn"].DefaultCellStyle.BackColor = Color.FromArgb(234, 226, 202); - dataGridView1.Columns["book_name"].DefaultCellStyle.BackColor = Color.Empty; - dataGridView1.Columns["author"].DefaultCellStyle.BackColor = Color.Empty; - dataGridView1.Columns["book_comp"].DefaultCellStyle.BackColor = Color.Empty; - } else { return; } @@ -552,5 +583,17 @@ namespace ISBN_Check_test Yes24 yes24 = new Yes24(this); yes24.Show(); } + + private void cb_filter_SelectedIndexChanged(object sender, EventArgs e) + { + + if (cb_filter.SelectedItem.ToString() == "별치조사") + { + dataGridView1.Columns["isbn"].DefaultCellStyle.BackColor = Color.FromArgb(234, 226, 202); + dataGridView1.Columns["book_name"].DefaultCellStyle.BackColor = Color.Empty; + dataGridView1.Columns["author"].DefaultCellStyle.BackColor = Color.Empty; + dataGridView1.Columns["book_comp"].DefaultCellStyle.BackColor = Color.Empty; + } + } } } diff --git a/ISBN_Check_test/Form2.Designer.cs b/ISBN_Check_test/Form2.Designer.cs index eda81e2..802b14c 100644 --- a/ISBN_Check_test/Form2.Designer.cs +++ b/ISBN_Check_test/Form2.Designer.cs @@ -52,7 +52,12 @@ namespace ISBN_Check_test this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); + this.panel1 = new System.Windows.Forms.Panel(); + this.btn_ReSearch = new System.Windows.Forms.Button(); + this.panel3 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); + this.panel1.SuspendLayout(); + this.panel3.SuspendLayout(); this.SuspendLayout(); // // dataGridView1 @@ -77,9 +82,9 @@ namespace ISBN_Check_test this.category, this.sold_out, this.Column1}); - this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; - this.dataGridView1.Location = new System.Drawing.Point(0, 55); + this.dataGridView1.Location = new System.Drawing.Point(0, 0); this.dataGridView1.Name = "dataGridView1"; dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; @@ -91,10 +96,11 @@ namespace ISBN_Check_test this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle2; this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; - this.dataGridView1.Size = new System.Drawing.Size(834, 324); + this.dataGridView1.Size = new System.Drawing.Size(876, 444); this.dataGridView1.TabIndex = 4; 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); this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown); // // book_name @@ -150,43 +156,47 @@ namespace ISBN_Check_test // // tb_book_name // - this.tb_book_name.Location = new System.Drawing.Point(43, 28); + this.tb_book_name.Location = new System.Drawing.Point(12, 23); this.tb_book_name.Name = "tb_book_name"; this.tb_book_name.Size = new System.Drawing.Size(254, 21); this.tb_book_name.TabIndex = 5; // // tb_author // - this.tb_author.Location = new System.Drawing.Point(303, 28); + this.tb_author.Location = new System.Drawing.Point(272, 23); this.tb_author.Name = "tb_author"; + this.tb_author.ReadOnly = true; this.tb_author.Size = new System.Drawing.Size(101, 21); this.tb_author.TabIndex = 5; // // tb_book_comp // - this.tb_book_comp.Location = new System.Drawing.Point(410, 28); + this.tb_book_comp.Location = new System.Drawing.Point(379, 23); this.tb_book_comp.Name = "tb_book_comp"; + this.tb_book_comp.ReadOnly = true; this.tb_book_comp.Size = new System.Drawing.Size(134, 21); this.tb_book_comp.TabIndex = 5; // // tb_isbn // - this.tb_isbn.Location = new System.Drawing.Point(550, 28); + this.tb_isbn.Location = new System.Drawing.Point(519, 23); this.tb_isbn.Name = "tb_isbn"; + this.tb_isbn.ReadOnly = true; this.tb_isbn.Size = new System.Drawing.Size(109, 21); this.tb_isbn.TabIndex = 5; // // tb_price // - this.tb_price.Location = new System.Drawing.Point(665, 28); + this.tb_price.Location = new System.Drawing.Point(634, 23); this.tb_price.Name = "tb_price"; + this.tb_price.ReadOnly = true; this.tb_price.Size = new System.Drawing.Size(55, 21); this.tb_price.TabIndex = 5; // // label1 // this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(150, 13); + this.label1.Location = new System.Drawing.Point(119, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(41, 12); this.label1.TabIndex = 6; @@ -195,7 +205,7 @@ namespace ISBN_Check_test // label2 // this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(339, 13); + this.label2.Location = new System.Drawing.Point(308, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(29, 12); this.label2.TabIndex = 6; @@ -204,7 +214,7 @@ namespace ISBN_Check_test // label3 // this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(457, 13); + this.label3.Location = new System.Drawing.Point(426, 8); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(41, 12); this.label3.TabIndex = 6; @@ -213,7 +223,7 @@ namespace ISBN_Check_test // label4 // this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(588, 13); + this.label4.Location = new System.Drawing.Point(557, 8); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(33, 12); this.label4.TabIndex = 6; @@ -222,7 +232,7 @@ namespace ISBN_Check_test // label5 // this.label5.AutoSize = true; - this.label5.Location = new System.Drawing.Point(678, 13); + this.label5.Location = new System.Drawing.Point(647, 8); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(29, 12); this.label5.TabIndex = 6; @@ -230,7 +240,7 @@ namespace ISBN_Check_test // // button1 // - this.button1.Location = new System.Drawing.Point(737, 18); + this.button1.Location = new System.Drawing.Point(776, 12); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 7; @@ -238,29 +248,60 @@ namespace ISBN_Check_test this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // + // panel1 + // + this.panel1.Controls.Add(this.tb_book_name); + this.panel1.Controls.Add(this.btn_ReSearch); + this.panel1.Controls.Add(this.button1); + this.panel1.Controls.Add(this.tb_author); + this.panel1.Controls.Add(this.label5); + this.panel1.Controls.Add(this.tb_book_comp); + this.panel1.Controls.Add(this.label4); + this.panel1.Controls.Add(this.tb_isbn); + this.panel1.Controls.Add(this.label3); + this.panel1.Controls.Add(this.tb_price); + this.panel1.Controls.Add(this.label2); + this.panel1.Controls.Add(this.label1); + 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(876, 55); + this.panel1.TabIndex = 8; + // + // btn_ReSearch + // + this.btn_ReSearch.Location = new System.Drawing.Point(695, 12); + this.btn_ReSearch.Name = "btn_ReSearch"; + this.btn_ReSearch.Size = new System.Drawing.Size(75, 23); + this.btn_ReSearch.TabIndex = 7; + this.btn_ReSearch.Text = "검 색"; + this.btn_ReSearch.UseVisualStyleBackColor = true; + this.btn_ReSearch.Click += new System.EventHandler(this.btn_ReSearch_Click); + // + // panel3 + // + this.panel3.Controls.Add(this.dataGridView1); + this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel3.Location = new System.Drawing.Point(0, 55); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(876, 444); + this.panel3.TabIndex = 10; + // // Form2 // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(834, 379); - this.Controls.Add(this.button1); - this.Controls.Add(this.label5); - this.Controls.Add(this.label4); - this.Controls.Add(this.label3); - this.Controls.Add(this.label2); - this.Controls.Add(this.label1); - this.Controls.Add(this.tb_price); - this.Controls.Add(this.tb_isbn); - this.Controls.Add(this.tb_book_comp); - this.Controls.Add(this.tb_author); - this.Controls.Add(this.tb_book_name); - this.Controls.Add(this.dataGridView1); + this.ClientSize = new System.Drawing.Size(876, 499); + this.Controls.Add(this.panel3); + this.Controls.Add(this.panel1); this.Name = "Form2"; this.Text = "Form2"; this.Load += new System.EventHandler(this.Form2_Load); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.panel3.ResumeLayout(false); this.ResumeLayout(false); - this.PerformLayout(); } @@ -287,5 +328,8 @@ namespace ISBN_Check_test private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label5; private System.Windows.Forms.Button button1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Button btn_ReSearch; + private System.Windows.Forms.Panel panel3; } } \ No newline at end of file diff --git a/ISBN_Check_test/Form2.cs b/ISBN_Check_test/Form2.cs index e8fcbd9..efffdf2 100644 --- a/ISBN_Check_test/Form2.cs +++ b/ISBN_Check_test/Form2.cs @@ -23,23 +23,30 @@ namespace ISBN_Check_test } private void Form2_Load(object sender, EventArgs e) { - Sort_data(); + + + Sort_data(f1.dataGridView1); // 비슷한거 색깔표시 same_chk(); } - private void Sort_data() + private void Sort_data(DataGridView f1GridView) { - tb_book_name.Text = f1.dataGridView1.Rows[row].Cells["book_name"].Value.ToString(); - tb_author.Text = f1.dataGridView1.Rows[row].Cells["author"].Value.ToString(); - tb_book_comp.Text = f1.dataGridView1.Rows[row].Cells["book_comp"].Value.ToString(); + tb_book_name.Text = f1GridView.Rows[row].Cells["book_name"].Value.ToString(); + tb_author.Text = f1GridView.Rows[row].Cells["author"].Value.ToString(); + tb_book_comp.Text = f1GridView.Rows[row].Cells["book_comp"].Value.ToString(); - if (f1.dataGridView1.Rows[row].Cells["price"].Value != null) - tb_price.Text = f1.dataGridView1.Rows[row].Cells["price"].Value.ToString(); + if (f1GridView.Rows[row].Cells["price"].Value != null) + tb_price.Text = f1GridView.Rows[row].Cells["price"].Value.ToString(); else { tb_price.Text = ""; } - string data = f1.dataGridView1.Rows[row].Cells["Column1"].Value.ToString(); + string data = f1GridView.Rows[row].Cells["Column1"].Value.ToString(); + inputGrid(data); + } + private void inputGrid(string data) + { + dataGridView1.Rows.Clear(); // 도서명 / 저자 / 출판사 / isbn / 출간일 / 카테고리 / 품절여부 string[] tmp = data.Split('|'); @@ -53,15 +60,22 @@ namespace ISBN_Check_test if (a % 8 == 3) { grid[3] = tmp[a]; } if (a % 8 == 4) { grid[4] = tmp[a]; } if (a % 8 == 5) { grid[5] = change_Date_type(tmp[a]); } - if (a % 8 == 6) { grid[6] = tmp[a]; } + if (a % 8 == 6) { grid[6] = Aladin_CategorySort(tmp[a]); } if (a % 8 == 7) { grid[7] = tmp[a]; dataGridView1.Rows.Add(grid); } } } private string change_Date_type(string date) { if (Call_API == "알라딘") - return String.Format("{0:yyyy/MM/dd}", DateTime.Parse(date.Remove(date.IndexOf(" G")))); - else if (Call_API == "네이버") + { + try + { + return String.Format("{0:yyyy/MM/dd}", + DateTime.Parse(date.Remove(date.IndexOf(" G")))); + } + catch { return date; } + } + if (Call_API == "네이버") try { return DateTime.ParseExact(date, "yyyyMMdd", null).ToString("yyyy-MM-dd"); @@ -157,5 +171,49 @@ namespace ISBN_Check_test { rowidx = e.RowIndex; } + + /// + /// 재검색 + /// + /// + /// + private void btn_ReSearch_Click(object sender, EventArgs e) + { + string[] param = { "title", "author", "publisher", "isbn13", "priceStandard", + "pubDate", "categoryName", "stockStatus", }; + API api = new API(); + + string type = "Title"; + string query = tb_book_name.Text; + + string aladin = api.Aladin(query, type, param); + if (aladin == "") return; + + inputGrid(aladin); + } + + string Aladin_CategorySort(string insert) + { + try + { + // 도서 분류 필요한 데이터로 재정리 + int top = insert.IndexOf('>'); + int mid = insert.IndexOf('>', top + 1); + int bot = insert.IndexOf('>', mid + 1); + if (bot < 0) { insert = insert.Substring(top + 1); } + else { insert = insert.Substring(top + 1, bot - top - 1); } + return insert; + } + catch + { + return insert; + } + } + + private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) + { + Skill_Grid sg = new Skill_Grid(); + sg.Print_Grid_Num(sender, e); + } } } diff --git a/ISBN_Check_test/bin/Debug/ISBN_Check_test.application b/ISBN_Check_test/bin/Debug/ISBN_Check_test.application index d482e3e..62881fa 100644 --- a/ISBN_Check_test/bin/Debug/ISBN_Check_test.application +++ b/ISBN_Check_test/bin/Debug/ISBN_Check_test.application @@ -21,7 +21,7 @@ - +MrCwwIqdW5a7byy/y9gxOk+aEXFqsgtK5j+CUByFTI= + oDGHLUSiwYxsLD3eIcgv30mFLMv2XBPtto12TCuBiKE= diff --git a/ISBN_Check_test/bin/Debug/ISBN_Check_test.exe b/ISBN_Check_test/bin/Debug/ISBN_Check_test.exe index 12b442c..633a409 100644 Binary files a/ISBN_Check_test/bin/Debug/ISBN_Check_test.exe and b/ISBN_Check_test/bin/Debug/ISBN_Check_test.exe differ diff --git a/ISBN_Check_test/bin/Debug/ISBN_Check_test.exe.manifest b/ISBN_Check_test/bin/Debug/ISBN_Check_test.exe.manifest index 80f6a86..8497406 100644 --- a/ISBN_Check_test/bin/Debug/ISBN_Check_test.exe.manifest +++ b/ISBN_Check_test/bin/Debug/ISBN_Check_test.exe.manifest @@ -3,7 +3,7 @@ - + @@ -66,14 +66,14 @@ - - + + - ++pv0LHaDa8ziJMfnyICIlKOnuotJHtIQcdR8OfA+uQ= + PBtPbXDpNLIogBBAhd0sSHeOXXuVr2EUhxehjKWs9nk= @@ -230,13 +230,13 @@ Qx+jN639AkukL3VOtM7n2jV0SwkhZyRLAjCNL9Lyp14= - + - LHCHPQZvhBXwS5g0pB0KViIDcPqgteLoLW03r6PxZSI= + LHqpLQbzqW7AQgNAsA417MTjarz9ePKU/qMVRC8RamY= \ No newline at end of file diff --git a/ISBN_Check_test/bin/Debug/ISBN_Check_test.pdb b/ISBN_Check_test/bin/Debug/ISBN_Check_test.pdb index 7dee2c6..3ff5483 100644 Binary files a/ISBN_Check_test/bin/Debug/ISBN_Check_test.pdb and b/ISBN_Check_test/bin/Debug/ISBN_Check_test.pdb differ diff --git a/ISBN_Check_test/bin/Debug/app.publish/ISBN_Check_test.exe b/ISBN_Check_test/bin/Debug/app.publish/ISBN_Check_test.exe index 16b0913..c379b78 100644 Binary files a/ISBN_Check_test/bin/Debug/app.publish/ISBN_Check_test.exe and b/ISBN_Check_test/bin/Debug/app.publish/ISBN_Check_test.exe differ diff --git a/ISBN_Check_test/obj/Debug/ISBN_Check_test.application b/ISBN_Check_test/obj/Debug/ISBN_Check_test.application index d482e3e..62881fa 100644 --- a/ISBN_Check_test/obj/Debug/ISBN_Check_test.application +++ b/ISBN_Check_test/obj/Debug/ISBN_Check_test.application @@ -21,7 +21,7 @@ - +MrCwwIqdW5a7byy/y9gxOk+aEXFqsgtK5j+CUByFTI= + oDGHLUSiwYxsLD3eIcgv30mFLMv2XBPtto12TCuBiKE= diff --git a/ISBN_Check_test/obj/Debug/ISBN_Check_test.csproj.GenerateResource.cache b/ISBN_Check_test/obj/Debug/ISBN_Check_test.csproj.GenerateResource.cache index 29d5e67..89d8c56 100644 Binary files a/ISBN_Check_test/obj/Debug/ISBN_Check_test.csproj.GenerateResource.cache and b/ISBN_Check_test/obj/Debug/ISBN_Check_test.csproj.GenerateResource.cache differ diff --git a/ISBN_Check_test/obj/Debug/ISBN_Check_test.exe b/ISBN_Check_test/obj/Debug/ISBN_Check_test.exe index 12b442c..633a409 100644 Binary files a/ISBN_Check_test/obj/Debug/ISBN_Check_test.exe and b/ISBN_Check_test/obj/Debug/ISBN_Check_test.exe differ diff --git a/ISBN_Check_test/obj/Debug/ISBN_Check_test.exe.manifest b/ISBN_Check_test/obj/Debug/ISBN_Check_test.exe.manifest index 80f6a86..8497406 100644 --- a/ISBN_Check_test/obj/Debug/ISBN_Check_test.exe.manifest +++ b/ISBN_Check_test/obj/Debug/ISBN_Check_test.exe.manifest @@ -3,7 +3,7 @@ - + @@ -66,14 +66,14 @@ - - + + - ++pv0LHaDa8ziJMfnyICIlKOnuotJHtIQcdR8OfA+uQ= + PBtPbXDpNLIogBBAhd0sSHeOXXuVr2EUhxehjKWs9nk= @@ -230,13 +230,13 @@ Qx+jN639AkukL3VOtM7n2jV0SwkhZyRLAjCNL9Lyp14= - + - LHCHPQZvhBXwS5g0pB0KViIDcPqgteLoLW03r6PxZSI= + LHqpLQbzqW7AQgNAsA417MTjarz9ePKU/qMVRC8RamY= \ No newline at end of file diff --git a/ISBN_Check_test/obj/Debug/ISBN_Check_test.pdb b/ISBN_Check_test/obj/Debug/ISBN_Check_test.pdb index 7dee2c6..3ff5483 100644 Binary files a/ISBN_Check_test/obj/Debug/ISBN_Check_test.pdb and b/ISBN_Check_test/obj/Debug/ISBN_Check_test.pdb differ diff --git a/Test_Project/.vs/Test_Project/v16/.suo b/Test_Project/.vs/Test_Project/v16/.suo index f6379b2..42245d6 100644 Binary files a/Test_Project/.vs/Test_Project/v16/.suo and b/Test_Project/.vs/Test_Project/v16/.suo differ diff --git a/unimarc/.vs/unimarc/v16/.suo b/unimarc/.vs/unimarc/v16/.suo index 73bcd53..b2469e6 100644 Binary files a/unimarc/.vs/unimarc/v16/.suo and b/unimarc/.vs/unimarc/v16/.suo differ diff --git a/unimarc/.vs/unimarc/v16/TestStore/0/000.testlog b/unimarc/.vs/unimarc/v16/TestStore/0/000.testlog new file mode 100644 index 0000000..a4d8cea Binary files /dev/null and b/unimarc/.vs/unimarc/v16/TestStore/0/000.testlog differ diff --git a/unimarc/.vs/unimarc/v16/TestStore/0/testlog.manifest b/unimarc/.vs/unimarc/v16/TestStore/0/testlog.manifest new file mode 100644 index 0000000..e92ede2 Binary files /dev/null and b/unimarc/.vs/unimarc/v16/TestStore/0/testlog.manifest differ diff --git a/unimarc/unimarc/Main.Designer.cs b/unimarc/unimarc/Main.Designer.cs index c0bda02..9758867 100644 --- a/unimarc/unimarc/Main.Designer.cs +++ b/unimarc/unimarc/Main.Designer.cs @@ -30,75 +30,75 @@ { this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.홈ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.사용자정보ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.사용자관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.납품거래처관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.주문처관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.비밀번호변경ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.도서정보관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.사용대장ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.사업체정보 = new System.Windows.Forms.ToolStripMenuItem(); + this.사용자관리 = new System.Windows.Forms.ToolStripMenuItem(); + this.납품거래처관리 = new System.Windows.Forms.ToolStripMenuItem(); + this.주문처관리 = new System.Windows.Forms.ToolStripMenuItem(); + this.비밀번호변경 = new System.Windows.Forms.ToolStripMenuItem(); + this.도서정보관리 = new System.Windows.Forms.ToolStripMenuItem(); + this.사용대장 = new System.Windows.Forms.ToolStripMenuItem(); this.납품관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.물품등록ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.목록등록편의ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.목록집계ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.주문입력ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.매입ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.재고입력및조회ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.반품처리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.목록등록 = new System.Windows.Forms.ToolStripMenuItem(); + this.목록조회 = new System.Windows.Forms.ToolStripMenuItem(); + this.목록집계 = new System.Windows.Forms.ToolStripMenuItem(); + this.주문입력 = new System.Windows.Forms.ToolStripMenuItem(); + this.입고작업 = new System.Windows.Forms.ToolStripMenuItem(); + this.재고입력및조회 = new System.Windows.Forms.ToolStripMenuItem(); + this.반품처리 = new System.Windows.Forms.ToolStripMenuItem(); this.회계ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.송금내역조회ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.송금등록ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.매입장부ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.매입집계ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.매입장부ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.송금내역조회 = new System.Windows.Forms.ToolStripMenuItem(); + this.송금등록 = new System.Windows.Forms.ToolStripMenuItem(); + this.매입 = new System.Windows.Forms.ToolStripMenuItem(); + this.매입집계 = new System.Windows.Forms.ToolStripMenuItem(); + this.매입장부 = new System.Windows.Forms.ToolStripMenuItem(); this.매입미결제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.매출입력ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.매출입력ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.매출입금toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.매출조회ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.매출집계ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.파트타임관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.매출 = new System.Windows.Forms.ToolStripMenuItem(); + this.매출입력 = new System.Windows.Forms.ToolStripMenuItem(); + this.매출입금 = new System.Windows.Forms.ToolStripMenuItem(); + this.매출조회 = new System.Windows.Forms.ToolStripMenuItem(); + this.매출집계 = new System.Windows.Forms.ToolStripMenuItem(); + this.파트타임관리 = new System.Windows.Forms.ToolStripMenuItem(); this.마크ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.설정ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.단축키설정ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.매크로문구설정ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.불용어ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.작업지시서ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.마크작업ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.마크목록ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.소장자료검색ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.마크정리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.iSBN조회ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.반입및반출ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.반입ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.반출ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.복본조사ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.복본조사ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.dLS복본조사ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.부가기능ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.마크수집ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.전집관리ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.검수ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.저자기호ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.dLSToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.dLS조회ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.dLS입력ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.기타ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.서류작성ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.마크통계ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.장비관리ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.마크설정 = new System.Windows.Forms.ToolStripMenuItem(); + this.단축키설정 = new System.Windows.Forms.ToolStripMenuItem(); + this.매크로문구 = new System.Windows.Forms.ToolStripMenuItem(); + this.불용어 = new System.Windows.Forms.ToolStripMenuItem(); + this.작업지시서 = new System.Windows.Forms.ToolStripMenuItem(); + this.마크작업 = new System.Windows.Forms.ToolStripMenuItem(); + this.마크목록 = new System.Windows.Forms.ToolStripMenuItem(); + this.소장자료검색 = new System.Windows.Forms.ToolStripMenuItem(); + this.마크정리 = new System.Windows.Forms.ToolStripMenuItem(); + this.iSBN조회 = new System.Windows.Forms.ToolStripMenuItem(); + this.반입및반출 = new System.Windows.Forms.ToolStripMenuItem(); + this.마크반입 = new System.Windows.Forms.ToolStripMenuItem(); + this.마크반출 = new System.Windows.Forms.ToolStripMenuItem(); + this.복본조사 = new System.Windows.Forms.ToolStripMenuItem(); + this.복본조사1 = new System.Windows.Forms.ToolStripMenuItem(); + this.dLS복본조사 = new System.Windows.Forms.ToolStripMenuItem(); + this.부가기능 = new System.Windows.Forms.ToolStripMenuItem(); + this.마크수집 = new System.Windows.Forms.ToolStripMenuItem(); + this.전집관리 = new System.Windows.Forms.ToolStripMenuItem(); + this.검수 = new System.Windows.Forms.ToolStripMenuItem(); + this.저자기호 = new System.Windows.Forms.ToolStripMenuItem(); + this.DLS = new System.Windows.Forms.ToolStripMenuItem(); + this.DLS조회 = new System.Windows.Forms.ToolStripMenuItem(); + this.DLS입력 = new System.Windows.Forms.ToolStripMenuItem(); + this.마크기타 = new System.Windows.Forms.ToolStripMenuItem(); + this.서류작성 = new System.Windows.Forms.ToolStripMenuItem(); + this.마크통계 = new System.Windows.Forms.ToolStripMenuItem(); + this.장비관리 = new System.Windows.Forms.ToolStripMenuItem(); this.작업일지ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.편의기능ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.캘린더ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.채팅ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.퀵메뉴ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.게시판ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.공지발송ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.판매ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.판매ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.정산ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.판매마감ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.회원관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.캘린더 = new System.Windows.Forms.ToolStripMenuItem(); + this.채팅 = new System.Windows.Forms.ToolStripMenuItem(); + this.퀵메뉴 = new System.Windows.Forms.ToolStripMenuItem(); + this.게시판 = new System.Windows.Forms.ToolStripMenuItem(); + this.공지발송 = new System.Windows.Forms.ToolStripMenuItem(); + this.판매 = new System.Windows.Forms.ToolStripMenuItem(); + this.판매1 = new System.Windows.Forms.ToolStripMenuItem(); + this.정산 = new System.Windows.Forms.ToolStripMenuItem(); + this.판매마감 = new System.Windows.Forms.ToolStripMenuItem(); + this.회원관리 = new System.Windows.Forms.ToolStripMenuItem(); this.마스터ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.이용자관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.공지발송ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); @@ -107,21 +107,21 @@ this.마크설정ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.일괄처리관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.panel1 = new System.Windows.Forms.Panel(); - this.button12 = new System.Windows.Forms.Button(); - this.button11 = new System.Windows.Forms.Button(); - this.button10 = new System.Windows.Forms.Button(); - this.button9 = new System.Windows.Forms.Button(); - this.button8 = new System.Windows.Forms.Button(); - this.button6 = new System.Windows.Forms.Button(); - this.button5 = new System.Windows.Forms.Button(); - this.button7 = new System.Windows.Forms.Button(); - this.button3 = new System.Windows.Forms.Button(); - this.button4 = new System.Windows.Forms.Button(); - this.button2 = new System.Windows.Forms.Button(); - this.button1 = new System.Windows.Forms.Button(); + this.ShortCut12 = new System.Windows.Forms.Button(); + this.ShortCut11 = new System.Windows.Forms.Button(); + this.ShortCut10 = new System.Windows.Forms.Button(); + this.ShortCut9 = new System.Windows.Forms.Button(); + this.ShortCut8 = new System.Windows.Forms.Button(); + this.ShortCut6 = new System.Windows.Forms.Button(); + this.ShortCut5 = new System.Windows.Forms.Button(); + this.ShortCut7 = new System.Windows.Forms.Button(); + this.ShortCut3 = new System.Windows.Forms.Button(); + this.ShortCut4 = new System.Windows.Forms.Button(); + this.ShortCut2 = new System.Windows.Forms.Button(); + this.ShortCut1 = new System.Windows.Forms.Button(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); - this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); + this.botUserLabel = new System.Windows.Forms.ToolStripLabel(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.menuStrip1.SuspendLayout(); this.panel1.SuspendLayout(); @@ -147,560 +147,560 @@ // 홈ToolStripMenuItem // this.홈ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.사용자정보ToolStripMenuItem, - this.사용자관리ToolStripMenuItem, - this.납품거래처관리ToolStripMenuItem, - this.주문처관리ToolStripMenuItem, - this.비밀번호변경ToolStripMenuItem, - this.도서정보관리ToolStripMenuItem, - this.사용대장ToolStripMenuItem}); + this.사업체정보, + this.사용자관리, + this.납품거래처관리, + this.주문처관리, + this.비밀번호변경, + this.도서정보관리, + this.사용대장}); this.홈ToolStripMenuItem.Name = "홈ToolStripMenuItem"; - this.홈ToolStripMenuItem.Size = new System.Drawing.Size(48, 20); - this.홈ToolStripMenuItem.Text = "홈(&H)"; + this.홈ToolStripMenuItem.Size = new System.Drawing.Size(31, 20); + this.홈ToolStripMenuItem.Text = "홈"; // - // 사용자정보ToolStripMenuItem + // 사업체정보 // - this.사용자정보ToolStripMenuItem.Name = "사용자정보ToolStripMenuItem"; - this.사용자정보ToolStripMenuItem.Size = new System.Drawing.Size(175, 22); - this.사용자정보ToolStripMenuItem.Text = "사업자 정보"; - this.사용자정보ToolStripMenuItem.Click += new System.EventHandler(this.사용자정보ToolStripMenuItem_Click); + this.사업체정보.Name = "사업체정보"; + this.사업체정보.Size = new System.Drawing.Size(180, 22); + this.사업체정보.Text = "사업체 정보"; + this.사업체정보.Click += new System.EventHandler(this.사용자정보ToolStripMenuItem_Click); // - // 사용자관리ToolStripMenuItem + // 사용자관리 // - this.사용자관리ToolStripMenuItem.Name = "사용자관리ToolStripMenuItem"; - this.사용자관리ToolStripMenuItem.Size = new System.Drawing.Size(175, 22); - this.사용자관리ToolStripMenuItem.Text = "사용자 관리"; - this.사용자관리ToolStripMenuItem.Click += new System.EventHandler(this.사용자관리ToolStripMenuItem_Click); + this.사용자관리.Name = "사용자관리"; + this.사용자관리.Size = new System.Drawing.Size(180, 22); + this.사용자관리.Text = "사용자 관리"; + this.사용자관리.Click += new System.EventHandler(this.사용자관리ToolStripMenuItem_Click); // - // 납품거래처관리ToolStripMenuItem + // 납품거래처관리 // - this.납품거래처관리ToolStripMenuItem.Name = "납품거래처관리ToolStripMenuItem"; - this.납품거래처관리ToolStripMenuItem.Size = new System.Drawing.Size(175, 22); - this.납품거래처관리ToolStripMenuItem.Text = "납품 / 거래처 관리"; - this.납품거래처관리ToolStripMenuItem.Click += new System.EventHandler(this.납품거래처관리ToolStripMenuItem_Click); + this.납품거래처관리.Name = "납품거래처관리"; + this.납품거래처관리.Size = new System.Drawing.Size(180, 22); + this.납품거래처관리.Text = "납품 / 거래처 관리"; + this.납품거래처관리.Click += new System.EventHandler(this.납품거래처관리ToolStripMenuItem_Click); // - // 주문처관리ToolStripMenuItem + // 주문처관리 // - this.주문처관리ToolStripMenuItem.Name = "주문처관리ToolStripMenuItem"; - this.주문처관리ToolStripMenuItem.Size = new System.Drawing.Size(175, 22); - this.주문처관리ToolStripMenuItem.Text = "주문처 관리"; - this.주문처관리ToolStripMenuItem.Click += new System.EventHandler(this.주문처관리ToolStripMenuItem_Click); + this.주문처관리.Name = "주문처관리"; + this.주문처관리.Size = new System.Drawing.Size(180, 22); + this.주문처관리.Text = "주문처 관리"; + this.주문처관리.Click += new System.EventHandler(this.주문처관리ToolStripMenuItem_Click); // - // 비밀번호변경ToolStripMenuItem + // 비밀번호변경 // - this.비밀번호변경ToolStripMenuItem.Enabled = false; - this.비밀번호변경ToolStripMenuItem.Name = "비밀번호변경ToolStripMenuItem"; - this.비밀번호변경ToolStripMenuItem.Size = new System.Drawing.Size(175, 22); - this.비밀번호변경ToolStripMenuItem.Text = "비밀번호 변경"; - this.비밀번호변경ToolStripMenuItem.Click += new System.EventHandler(this.비밀번호변경ToolStripMenuItem_Click); + this.비밀번호변경.Enabled = false; + this.비밀번호변경.Name = "비밀번호변경"; + this.비밀번호변경.Size = new System.Drawing.Size(180, 22); + this.비밀번호변경.Text = "비밀번호 변경"; + this.비밀번호변경.Click += new System.EventHandler(this.비밀번호변경ToolStripMenuItem_Click); // - // 도서정보관리ToolStripMenuItem + // 도서정보관리 // - this.도서정보관리ToolStripMenuItem.Name = "도서정보관리ToolStripMenuItem"; - this.도서정보관리ToolStripMenuItem.Size = new System.Drawing.Size(175, 22); - this.도서정보관리ToolStripMenuItem.Text = "도서정보 관리"; - this.도서정보관리ToolStripMenuItem.Click += new System.EventHandler(this.도서정보관리ToolStripMenuItem_Click); + this.도서정보관리.Name = "도서정보관리"; + this.도서정보관리.Size = new System.Drawing.Size(180, 22); + this.도서정보관리.Text = "도서정보 관리"; + this.도서정보관리.Click += new System.EventHandler(this.도서정보관리ToolStripMenuItem_Click); // - // 사용대장ToolStripMenuItem + // 사용대장 // - this.사용대장ToolStripMenuItem.Enabled = false; - this.사용대장ToolStripMenuItem.Name = "사용대장ToolStripMenuItem"; - this.사용대장ToolStripMenuItem.Size = new System.Drawing.Size(175, 22); - this.사용대장ToolStripMenuItem.Text = "사용대장"; - this.사용대장ToolStripMenuItem.Click += new System.EventHandler(this.사용대장ToolStripMenuItem_Click); + this.사용대장.Enabled = false; + this.사용대장.Name = "사용대장"; + this.사용대장.Size = new System.Drawing.Size(180, 22); + this.사용대장.Text = "사용대장"; + this.사용대장.Click += new System.EventHandler(this.사용대장ToolStripMenuItem_Click); // // 납품관리ToolStripMenuItem // this.납품관리ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.물품등록ToolStripMenuItem, - this.목록등록편의ToolStripMenuItem, - this.목록집계ToolStripMenuItem, - this.주문입력ToolStripMenuItem, - this.매입ToolStripMenuItem, - this.재고입력및조회ToolStripMenuItem, - this.반품처리ToolStripMenuItem}); + this.목록등록, + this.목록조회, + this.목록집계, + this.주문입력, + this.입고작업, + this.재고입력및조회, + this.반품처리}); this.납품관리ToolStripMenuItem.Name = "납품관리ToolStripMenuItem"; - this.납품관리ToolStripMenuItem.Size = new System.Drawing.Size(84, 20); - this.납품관리ToolStripMenuItem.Text = "납품관리(&D)"; + this.납품관리ToolStripMenuItem.Size = new System.Drawing.Size(67, 20); + this.납품관리ToolStripMenuItem.Text = "납품관리"; // - // 물품등록ToolStripMenuItem + // 목록등록 // - this.물품등록ToolStripMenuItem.Name = "물품등록ToolStripMenuItem"; - this.물품등록ToolStripMenuItem.Size = new System.Drawing.Size(166, 22); - this.물품등록ToolStripMenuItem.Text = "물품등록"; - this.물품등록ToolStripMenuItem.Click += new System.EventHandler(this.물품등록ToolStripMenuItem_Click); + this.목록등록.Name = "목록등록"; + this.목록등록.Size = new System.Drawing.Size(180, 22); + this.목록등록.Text = "물품등록"; + this.목록등록.Click += new System.EventHandler(this.물품등록ToolStripMenuItem_Click); // - // 목록등록편의ToolStripMenuItem + // 목록조회 // - this.목록등록편의ToolStripMenuItem.Name = "목록등록편의ToolStripMenuItem"; - this.목록등록편의ToolStripMenuItem.Size = new System.Drawing.Size(166, 22); - this.목록등록편의ToolStripMenuItem.Text = "목록조회"; - this.목록등록편의ToolStripMenuItem.Click += new System.EventHandler(this.목록등록편의ToolStripMenuItem_Click); + this.목록조회.Name = "목록조회"; + this.목록조회.Size = new System.Drawing.Size(180, 22); + this.목록조회.Text = "목록조회"; + this.목록조회.Click += new System.EventHandler(this.목록등록편의ToolStripMenuItem_Click); // - // 목록집계ToolStripMenuItem + // 목록집계 // - this.목록집계ToolStripMenuItem.Name = "목록집계ToolStripMenuItem"; - this.목록집계ToolStripMenuItem.Size = new System.Drawing.Size(166, 22); - this.목록집계ToolStripMenuItem.Text = "목록집계"; - this.목록집계ToolStripMenuItem.Click += new System.EventHandler(this.목록집계ToolStripMenuItem_Click); + this.목록집계.Name = "목록집계"; + this.목록집계.Size = new System.Drawing.Size(180, 22); + this.목록집계.Text = "목록집계"; + this.목록집계.Click += new System.EventHandler(this.목록집계ToolStripMenuItem_Click); // - // 주문입력ToolStripMenuItem + // 주문입력 // - this.주문입력ToolStripMenuItem.Name = "주문입력ToolStripMenuItem"; - this.주문입력ToolStripMenuItem.Size = new System.Drawing.Size(166, 22); - this.주문입력ToolStripMenuItem.Text = "주문입력"; - this.주문입력ToolStripMenuItem.Click += new System.EventHandler(this.주문입력ToolStripMenuItem_Click); + this.주문입력.Name = "주문입력"; + this.주문입력.Size = new System.Drawing.Size(180, 22); + this.주문입력.Text = "주문입력"; + this.주문입력.Click += new System.EventHandler(this.주문입력ToolStripMenuItem_Click); // - // 매입ToolStripMenuItem + // 입고작업 // - this.매입ToolStripMenuItem.Name = "매입ToolStripMenuItem"; - this.매입ToolStripMenuItem.Size = new System.Drawing.Size(166, 22); - this.매입ToolStripMenuItem.Text = "입고작업"; - this.매입ToolStripMenuItem.Click += new System.EventHandler(this.매입ToolStripMenuItem_Click); + this.입고작업.Name = "입고작업"; + this.입고작업.Size = new System.Drawing.Size(180, 22); + this.입고작업.Text = "입고작업"; + this.입고작업.Click += new System.EventHandler(this.매입ToolStripMenuItem_Click); // - // 재고입력및조회ToolStripMenuItem + // 재고입력및조회 // - this.재고입력및조회ToolStripMenuItem.Name = "재고입력및조회ToolStripMenuItem"; - this.재고입력및조회ToolStripMenuItem.Size = new System.Drawing.Size(166, 22); - this.재고입력및조회ToolStripMenuItem.Text = "재고입력 및 조회"; - this.재고입력및조회ToolStripMenuItem.Click += new System.EventHandler(this.재고입력및조회ToolStripMenuItem_Click); + this.재고입력및조회.Name = "재고입력및조회"; + this.재고입력및조회.Size = new System.Drawing.Size(180, 22); + this.재고입력및조회.Text = "재고입력 및 조회"; + this.재고입력및조회.Click += new System.EventHandler(this.재고입력및조회ToolStripMenuItem_Click); // - // 반품처리ToolStripMenuItem + // 반품처리 // - this.반품처리ToolStripMenuItem.Name = "반품처리ToolStripMenuItem"; - this.반품처리ToolStripMenuItem.Size = new System.Drawing.Size(166, 22); - this.반품처리ToolStripMenuItem.Text = "반품처리"; - this.반품처리ToolStripMenuItem.Click += new System.EventHandler(this.반품처리ToolStripMenuItem_Click); + this.반품처리.Name = "반품처리"; + this.반품처리.Size = new System.Drawing.Size(180, 22); + this.반품처리.Text = "반품처리"; + this.반품처리.Click += new System.EventHandler(this.반품처리ToolStripMenuItem_Click); // // 회계ToolStripMenuItem // this.회계ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.송금내역조회ToolStripMenuItem, - this.송금등록ToolStripMenuItem, - this.매입장부ToolStripMenuItem, - this.매출입력ToolStripMenuItem, - this.파트타임관리ToolStripMenuItem}); + this.송금내역조회, + this.송금등록, + this.매입, + this.매출, + this.파트타임관리}); this.회계ToolStripMenuItem.Name = "회계ToolStripMenuItem"; - this.회계ToolStripMenuItem.Size = new System.Drawing.Size(59, 20); - this.회계ToolStripMenuItem.Text = "회계(&A)"; + this.회계ToolStripMenuItem.Size = new System.Drawing.Size(43, 20); + this.회계ToolStripMenuItem.Text = "회계"; // - // 송금내역조회ToolStripMenuItem + // 송금내역조회 // - this.송금내역조회ToolStripMenuItem.Name = "송금내역조회ToolStripMenuItem"; - this.송금내역조회ToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.송금내역조회ToolStripMenuItem.Text = "송금 내역 조회"; - this.송금내역조회ToolStripMenuItem.Click += new System.EventHandler(this.송금내역조회ToolStripMenuItem_Click); + this.송금내역조회.Name = "송금내역조회"; + this.송금내역조회.Size = new System.Drawing.Size(180, 22); + this.송금내역조회.Text = "송금 내역 조회"; + this.송금내역조회.Click += new System.EventHandler(this.송금내역조회ToolStripMenuItem_Click); // - // 송금등록ToolStripMenuItem + // 송금등록 // - this.송금등록ToolStripMenuItem.Name = "송금등록ToolStripMenuItem"; - this.송금등록ToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.송금등록ToolStripMenuItem.Text = "송금 등록"; - this.송금등록ToolStripMenuItem.Click += new System.EventHandler(this.송금등록ToolStripMenuItem_Click); + this.송금등록.Name = "송금등록"; + this.송금등록.Size = new System.Drawing.Size(180, 22); + this.송금등록.Text = "송금 등록"; + this.송금등록.Click += new System.EventHandler(this.송금등록ToolStripMenuItem_Click); // - // 매입장부ToolStripMenuItem + // 매입 // - this.매입장부ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.매입집계ToolStripMenuItem, - this.매입장부ToolStripMenuItem1, + this.매입.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.매입집계, + this.매입장부, this.매입미결제ToolStripMenuItem}); - this.매입장부ToolStripMenuItem.Name = "매입장부ToolStripMenuItem"; - this.매입장부ToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.매입장부ToolStripMenuItem.Text = "매입"; + this.매입.Name = "매입"; + this.매입.Size = new System.Drawing.Size(180, 22); + this.매입.Text = "매입"; // - // 매입집계ToolStripMenuItem + // 매입집계 // - this.매입집계ToolStripMenuItem.Name = "매입집계ToolStripMenuItem"; - this.매입집계ToolStripMenuItem.Size = new System.Drawing.Size(138, 22); - this.매입집계ToolStripMenuItem.Text = "매입 집계"; - this.매입집계ToolStripMenuItem.Click += new System.EventHandler(this.매입집계ToolStripMenuItem_Click); + this.매입집계.Name = "매입집계"; + this.매입집계.Size = new System.Drawing.Size(180, 22); + this.매입집계.Text = "매입 집계"; + this.매입집계.Click += new System.EventHandler(this.매입집계ToolStripMenuItem_Click); // - // 매입장부ToolStripMenuItem1 + // 매입장부 // - this.매입장부ToolStripMenuItem1.Name = "매입장부ToolStripMenuItem1"; - this.매입장부ToolStripMenuItem1.Size = new System.Drawing.Size(138, 22); - this.매입장부ToolStripMenuItem1.Text = "매입 장부"; - this.매입장부ToolStripMenuItem1.Click += new System.EventHandler(this.매입장부ToolStripMenuItem1_Click); + this.매입장부.Name = "매입장부"; + this.매입장부.Size = new System.Drawing.Size(180, 22); + this.매입장부.Text = "매입 장부"; + this.매입장부.Click += new System.EventHandler(this.매입장부ToolStripMenuItem1_Click); // // 매입미결제ToolStripMenuItem // this.매입미결제ToolStripMenuItem.Enabled = false; this.매입미결제ToolStripMenuItem.Name = "매입미결제ToolStripMenuItem"; - this.매입미결제ToolStripMenuItem.Size = new System.Drawing.Size(138, 22); + this.매입미결제ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.매입미결제ToolStripMenuItem.Text = "매입 미결제"; this.매입미결제ToolStripMenuItem.Click += new System.EventHandler(this.매입미결제ToolStripMenuItem_Click); // - // 매출입력ToolStripMenuItem + // 매출 // - this.매출입력ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.매출입력ToolStripMenuItem1, - this.매출입금toolStripMenuItem1, - this.매출조회ToolStripMenuItem, - this.매출집계ToolStripMenuItem1}); - this.매출입력ToolStripMenuItem.Name = "매출입력ToolStripMenuItem"; - this.매출입력ToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.매출입력ToolStripMenuItem.Text = "매출"; + this.매출.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.매출입력, + this.매출입금, + this.매출조회, + this.매출집계}); + this.매출.Name = "매출"; + this.매출.Size = new System.Drawing.Size(180, 22); + this.매출.Text = "매출"; // - // 매출입력ToolStripMenuItem1 + // 매출입력 // - this.매출입력ToolStripMenuItem1.Name = "매출입력ToolStripMenuItem1"; - this.매출입력ToolStripMenuItem1.Size = new System.Drawing.Size(126, 22); - this.매출입력ToolStripMenuItem1.Text = "매출 입력"; - this.매출입력ToolStripMenuItem1.Click += new System.EventHandler(this.매출입력ToolStripMenuItem1_Click); + this.매출입력.Name = "매출입력"; + this.매출입력.Size = new System.Drawing.Size(180, 22); + this.매출입력.Text = "매출 입력"; + this.매출입력.Click += new System.EventHandler(this.매출입력ToolStripMenuItem1_Click); // - // 매출입금toolStripMenuItem1 + // 매출입금 // - this.매출입금toolStripMenuItem1.Name = "매출입금toolStripMenuItem1"; - this.매출입금toolStripMenuItem1.Size = new System.Drawing.Size(126, 22); - this.매출입금toolStripMenuItem1.Text = "매출 입금"; - this.매출입금toolStripMenuItem1.Click += new System.EventHandler(this.매출입금toolStripMenuItem1_Click_1); + this.매출입금.Name = "매출입금"; + this.매출입금.Size = new System.Drawing.Size(180, 22); + this.매출입금.Text = "매출 입금"; + this.매출입금.Click += new System.EventHandler(this.매출입금toolStripMenuItem1_Click_1); // - // 매출조회ToolStripMenuItem + // 매출조회 // - this.매출조회ToolStripMenuItem.Name = "매출조회ToolStripMenuItem"; - this.매출조회ToolStripMenuItem.Size = new System.Drawing.Size(126, 22); - this.매출조회ToolStripMenuItem.Text = "매출 조회"; - this.매출조회ToolStripMenuItem.Click += new System.EventHandler(this.매출장부ToolStripMenuItem_Click); + this.매출조회.Name = "매출조회"; + this.매출조회.Size = new System.Drawing.Size(180, 22); + this.매출조회.Text = "매출 조회"; + this.매출조회.Click += new System.EventHandler(this.매출장부ToolStripMenuItem_Click); // - // 매출집계ToolStripMenuItem1 + // 매출집계 // - this.매출집계ToolStripMenuItem1.Name = "매출집계ToolStripMenuItem1"; - this.매출집계ToolStripMenuItem1.Size = new System.Drawing.Size(126, 22); - this.매출집계ToolStripMenuItem1.Text = "매출 집계"; - this.매출집계ToolStripMenuItem1.Click += new System.EventHandler(this.매출입금ToolStripMenuItem1_Click); + this.매출집계.Name = "매출집계"; + this.매출집계.Size = new System.Drawing.Size(180, 22); + this.매출집계.Text = "매출 집계"; + this.매출집계.Click += new System.EventHandler(this.매출입금ToolStripMenuItem1_Click); // - // 파트타임관리ToolStripMenuItem + // 파트타임관리 // - this.파트타임관리ToolStripMenuItem.Name = "파트타임관리ToolStripMenuItem"; - this.파트타임관리ToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.파트타임관리ToolStripMenuItem.Text = "파트타임 관리"; - this.파트타임관리ToolStripMenuItem.Click += new System.EventHandler(this.파트타임관리ToolStripMenuItem_Click); + this.파트타임관리.Name = "파트타임관리"; + this.파트타임관리.Size = new System.Drawing.Size(180, 22); + this.파트타임관리.Text = "파트타임 관리"; + this.파트타임관리.Click += new System.EventHandler(this.파트타임관리ToolStripMenuItem_Click); // // 마크ToolStripMenuItem // this.마크ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.설정ToolStripMenuItem, - this.마크작업ToolStripMenuItem, - this.반입및반출ToolStripMenuItem, - this.복본조사ToolStripMenuItem, - this.부가기능ToolStripMenuItem, - this.dLSToolStripMenuItem, - this.기타ToolStripMenuItem}); + this.마크설정, + this.마크작업, + this.반입및반출, + this.복본조사, + this.부가기능, + this.DLS, + this.마크기타}); this.마크ToolStripMenuItem.Name = "마크ToolStripMenuItem"; - this.마크ToolStripMenuItem.Size = new System.Drawing.Size(62, 20); - this.마크ToolStripMenuItem.Text = "마크(&M)"; + this.마크ToolStripMenuItem.Size = new System.Drawing.Size(43, 20); + this.마크ToolStripMenuItem.Text = "마크"; // - // 설정ToolStripMenuItem + // 마크설정 // - this.설정ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.단축키설정ToolStripMenuItem, - this.매크로문구설정ToolStripMenuItem, - this.불용어ToolStripMenuItem, - this.작업지시서ToolStripMenuItem}); - this.설정ToolStripMenuItem.Name = "설정ToolStripMenuItem"; - this.설정ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.설정ToolStripMenuItem.Text = "설정"; + this.마크설정.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.단축키설정, + this.매크로문구, + this.불용어, + this.작업지시서}); + this.마크설정.Name = "마크설정"; + this.마크설정.Size = new System.Drawing.Size(180, 22); + this.마크설정.Text = "설정"; // - // 단축키설정ToolStripMenuItem + // 단축키설정 // - this.단축키설정ToolStripMenuItem.Name = "단축키설정ToolStripMenuItem"; - this.단축키설정ToolStripMenuItem.Size = new System.Drawing.Size(138, 22); - this.단축키설정ToolStripMenuItem.Text = "단축키"; - this.단축키설정ToolStripMenuItem.Click += new System.EventHandler(this.단축키설정ToolStripMenuItem_Click); + this.단축키설정.Name = "단축키설정"; + this.단축키설정.Size = new System.Drawing.Size(180, 22); + this.단축키설정.Text = "단축키"; + this.단축키설정.Click += new System.EventHandler(this.단축키설정ToolStripMenuItem_Click); // - // 매크로문구설정ToolStripMenuItem + // 매크로문구 // - this.매크로문구설정ToolStripMenuItem.Name = "매크로문구설정ToolStripMenuItem"; - this.매크로문구설정ToolStripMenuItem.Size = new System.Drawing.Size(138, 22); - this.매크로문구설정ToolStripMenuItem.Text = "매크로 문구"; - this.매크로문구설정ToolStripMenuItem.Click += new System.EventHandler(this.매크로문구설정ToolStripMenuItem_Click); + this.매크로문구.Name = "매크로문구"; + this.매크로문구.Size = new System.Drawing.Size(180, 22); + this.매크로문구.Text = "매크로 문구"; + this.매크로문구.Click += new System.EventHandler(this.매크로문구설정ToolStripMenuItem_Click); // - // 불용어ToolStripMenuItem + // 불용어 // - this.불용어ToolStripMenuItem.Name = "불용어ToolStripMenuItem"; - this.불용어ToolStripMenuItem.Size = new System.Drawing.Size(138, 22); - this.불용어ToolStripMenuItem.Text = "불용어"; - this.불용어ToolStripMenuItem.Click += new System.EventHandler(this.불용어ToolStripMenuItem_Click); + this.불용어.Name = "불용어"; + this.불용어.Size = new System.Drawing.Size(180, 22); + this.불용어.Text = "불용어"; + this.불용어.Click += new System.EventHandler(this.불용어ToolStripMenuItem_Click); // - // 작업지시서ToolStripMenuItem + // 작업지시서 // - this.작업지시서ToolStripMenuItem.Name = "작업지시서ToolStripMenuItem"; - this.작업지시서ToolStripMenuItem.Size = new System.Drawing.Size(138, 22); - this.작업지시서ToolStripMenuItem.Text = "작업지시서"; - this.작업지시서ToolStripMenuItem.Click += new System.EventHandler(this.작업지시서ToolStripMenuItem_Click); + this.작업지시서.Name = "작업지시서"; + this.작업지시서.Size = new System.Drawing.Size(180, 22); + this.작업지시서.Text = "작업지시서"; + this.작업지시서.Click += new System.EventHandler(this.작업지시서ToolStripMenuItem_Click); // - // 마크작업ToolStripMenuItem + // 마크작업 // - this.마크작업ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.마크목록ToolStripMenuItem, - this.소장자료검색ToolStripMenuItem, - this.마크정리ToolStripMenuItem, - this.iSBN조회ToolStripMenuItem}); - this.마크작업ToolStripMenuItem.Name = "마크작업ToolStripMenuItem"; - this.마크작업ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.마크작업ToolStripMenuItem.Text = "마크 작업"; + this.마크작업.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.마크목록, + this.소장자료검색, + this.마크정리, + this.iSBN조회}); + this.마크작업.Name = "마크작업"; + this.마크작업.Size = new System.Drawing.Size(180, 22); + this.마크작업.Text = "마크 작업"; // - // 마크목록ToolStripMenuItem + // 마크목록 // - this.마크목록ToolStripMenuItem.Name = "마크목록ToolStripMenuItem"; - this.마크목록ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.마크목록ToolStripMenuItem.Text = "마크 목록"; - this.마크목록ToolStripMenuItem.Click += new System.EventHandler(this.마크목록ToolStripMenuItem_Click); + this.마크목록.Name = "마크목록"; + this.마크목록.Size = new System.Drawing.Size(180, 22); + this.마크목록.Text = "마크 목록"; + this.마크목록.Click += new System.EventHandler(this.마크목록ToolStripMenuItem_Click); // - // 소장자료검색ToolStripMenuItem + // 소장자료검색 // - this.소장자료검색ToolStripMenuItem.Name = "소장자료검색ToolStripMenuItem"; - this.소장자료검색ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.소장자료검색ToolStripMenuItem.Text = "소장자료검색"; - this.소장자료검색ToolStripMenuItem.Click += new System.EventHandler(this.소장자료검색ToolStripMenuItem_Click); + this.소장자료검색.Name = "소장자료검색"; + this.소장자료검색.Size = new System.Drawing.Size(180, 22); + this.소장자료검색.Text = "소장자료검색"; + this.소장자료검색.Click += new System.EventHandler(this.소장자료검색ToolStripMenuItem_Click); // - // 마크정리ToolStripMenuItem + // 마크정리 // - this.마크정리ToolStripMenuItem.Name = "마크정리ToolStripMenuItem"; - this.마크정리ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.마크정리ToolStripMenuItem.Text = "마크 정리"; - this.마크정리ToolStripMenuItem.Click += new System.EventHandler(this.마크정리ToolStripMenuItem_Click); + this.마크정리.Name = "마크정리"; + this.마크정리.Size = new System.Drawing.Size(180, 22); + this.마크정리.Text = "마크 정리"; + this.마크정리.Click += new System.EventHandler(this.마크정리ToolStripMenuItem_Click); // - // iSBN조회ToolStripMenuItem + // iSBN조회 // - this.iSBN조회ToolStripMenuItem.Name = "iSBN조회ToolStripMenuItem"; - this.iSBN조회ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.iSBN조회ToolStripMenuItem.Text = "ISBN 조회"; - this.iSBN조회ToolStripMenuItem.Click += new System.EventHandler(this.iSBN조회ToolStripMenuItem_Click); + this.iSBN조회.Name = "iSBN조회"; + this.iSBN조회.Size = new System.Drawing.Size(180, 22); + this.iSBN조회.Text = "ISBN 조회"; + this.iSBN조회.Click += new System.EventHandler(this.iSBN조회ToolStripMenuItem_Click); // - // 반입및반출ToolStripMenuItem + // 반입및반출 // - this.반입및반출ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.반입ToolStripMenuItem, - this.반출ToolStripMenuItem}); - this.반입및반출ToolStripMenuItem.Name = "반입및반출ToolStripMenuItem"; - this.반입및반출ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.반입및반출ToolStripMenuItem.Text = "반입 및 반출"; + this.반입및반출.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.마크반입, + this.마크반출}); + this.반입및반출.Name = "반입및반출"; + this.반입및반출.Size = new System.Drawing.Size(180, 22); + this.반입및반출.Text = "반입 및 반출"; // - // 반입ToolStripMenuItem + // 마크반입 // - this.반입ToolStripMenuItem.Name = "반입ToolStripMenuItem"; - this.반입ToolStripMenuItem.Size = new System.Drawing.Size(98, 22); - this.반입ToolStripMenuItem.Text = "반입"; - this.반입ToolStripMenuItem.Click += new System.EventHandler(this.반입ToolStripMenuItem_Click); + this.마크반입.Name = "마크반입"; + this.마크반입.Size = new System.Drawing.Size(180, 22); + this.마크반입.Text = "반입"; + this.마크반입.Click += new System.EventHandler(this.반입ToolStripMenuItem_Click); // - // 반출ToolStripMenuItem + // 마크반출 // - this.반출ToolStripMenuItem.Name = "반출ToolStripMenuItem"; - this.반출ToolStripMenuItem.Size = new System.Drawing.Size(98, 22); - this.반출ToolStripMenuItem.Text = "반출"; - this.반출ToolStripMenuItem.Click += new System.EventHandler(this.반출ToolStripMenuItem_Click); + this.마크반출.Name = "마크반출"; + this.마크반출.Size = new System.Drawing.Size(180, 22); + this.마크반출.Text = "반출"; + this.마크반출.Click += new System.EventHandler(this.반출ToolStripMenuItem_Click); // - // 복본조사ToolStripMenuItem + // 복본조사 // - this.복본조사ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.복본조사ToolStripMenuItem1, - this.dLS복본조사ToolStripMenuItem}); - this.복본조사ToolStripMenuItem.Name = "복본조사ToolStripMenuItem"; - this.복본조사ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.복본조사ToolStripMenuItem.Text = "복본 조사"; + this.복본조사.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.복본조사1, + this.dLS복본조사}); + this.복본조사.Name = "복본조사"; + this.복본조사.Size = new System.Drawing.Size(180, 22); + this.복본조사.Text = "복본 조사"; // - // 복본조사ToolStripMenuItem1 + // 복본조사1 // - this.복본조사ToolStripMenuItem1.Name = "복본조사ToolStripMenuItem1"; - this.복본조사ToolStripMenuItem1.Size = new System.Drawing.Size(148, 22); - this.복본조사ToolStripMenuItem1.Text = "복본조사"; - this.복본조사ToolStripMenuItem1.Click += new System.EventHandler(this.복본조사ToolStripMenuItem1_Click); + this.복본조사1.Name = "복본조사1"; + this.복본조사1.Size = new System.Drawing.Size(180, 22); + this.복본조사1.Text = "복본조사"; + this.복본조사1.Click += new System.EventHandler(this.복본조사ToolStripMenuItem1_Click); // - // dLS복본조사ToolStripMenuItem + // dLS복본조사 // - this.dLS복본조사ToolStripMenuItem.Name = "dLS복본조사ToolStripMenuItem"; - this.dLS복본조사ToolStripMenuItem.Size = new System.Drawing.Size(148, 22); - this.dLS복본조사ToolStripMenuItem.Text = "DLS 복본조사"; - this.dLS복본조사ToolStripMenuItem.Click += new System.EventHandler(this.dLS복본조사ToolStripMenuItem_Click); + this.dLS복본조사.Name = "dLS복본조사"; + this.dLS복본조사.Size = new System.Drawing.Size(180, 22); + this.dLS복본조사.Text = "DLS 복본조사"; + this.dLS복본조사.Click += new System.EventHandler(this.dLS복본조사ToolStripMenuItem_Click); // - // 부가기능ToolStripMenuItem + // 부가기능 // - this.부가기능ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.마크수집ToolStripMenuItem, - this.전집관리ToolStripMenuItem1, - this.검수ToolStripMenuItem, - this.저자기호ToolStripMenuItem}); - this.부가기능ToolStripMenuItem.Name = "부가기능ToolStripMenuItem"; - this.부가기능ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.부가기능ToolStripMenuItem.Text = "부가기능"; + this.부가기능.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.마크수집, + this.전집관리, + this.검수, + this.저자기호}); + this.부가기능.Name = "부가기능"; + this.부가기능.Size = new System.Drawing.Size(180, 22); + this.부가기능.Text = "부가기능"; // - // 마크수집ToolStripMenuItem + // 마크수집 // - this.마크수집ToolStripMenuItem.Name = "마크수집ToolStripMenuItem"; - this.마크수집ToolStripMenuItem.Size = new System.Drawing.Size(122, 22); - this.마크수집ToolStripMenuItem.Text = "마크수집"; - this.마크수집ToolStripMenuItem.Click += new System.EventHandler(this.마크수집ToolStripMenuItem_Click); + this.마크수집.Name = "마크수집"; + this.마크수집.Size = new System.Drawing.Size(180, 22); + this.마크수집.Text = "마크수집"; + this.마크수집.Click += new System.EventHandler(this.마크수집ToolStripMenuItem_Click); // - // 전집관리ToolStripMenuItem1 + // 전집관리 // - this.전집관리ToolStripMenuItem1.Name = "전집관리ToolStripMenuItem1"; - this.전집관리ToolStripMenuItem1.Size = new System.Drawing.Size(122, 22); - this.전집관리ToolStripMenuItem1.Text = "전집관리"; - this.전집관리ToolStripMenuItem1.Click += new System.EventHandler(this.전집관리ToolStripMenuItem1_Click); + this.전집관리.Name = "전집관리"; + this.전집관리.Size = new System.Drawing.Size(180, 22); + this.전집관리.Text = "전집관리"; + this.전집관리.Click += new System.EventHandler(this.전집관리ToolStripMenuItem1_Click); // - // 검수ToolStripMenuItem + // 검수 // - this.검수ToolStripMenuItem.Name = "검수ToolStripMenuItem"; - this.검수ToolStripMenuItem.Size = new System.Drawing.Size(122, 22); - this.검수ToolStripMenuItem.Text = "검수"; - this.검수ToolStripMenuItem.Click += new System.EventHandler(this.검수ToolStripMenuItem_Click); + this.검수.Name = "검수"; + this.검수.Size = new System.Drawing.Size(180, 22); + this.검수.Text = "검수"; + this.검수.Click += new System.EventHandler(this.검수ToolStripMenuItem_Click); // - // 저자기호ToolStripMenuItem + // 저자기호 // - this.저자기호ToolStripMenuItem.Name = "저자기호ToolStripMenuItem"; - this.저자기호ToolStripMenuItem.Size = new System.Drawing.Size(122, 22); - this.저자기호ToolStripMenuItem.Text = "저자기호"; - this.저자기호ToolStripMenuItem.Click += new System.EventHandler(this.저자기호ToolStripMenuItem_Click); + this.저자기호.Name = "저자기호"; + this.저자기호.Size = new System.Drawing.Size(180, 22); + this.저자기호.Text = "저자기호"; + this.저자기호.Click += new System.EventHandler(this.저자기호ToolStripMenuItem_Click); // - // dLSToolStripMenuItem + // DLS // - this.dLSToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.dLS조회ToolStripMenuItem, - this.dLS입력ToolStripMenuItem}); - this.dLSToolStripMenuItem.Name = "dLSToolStripMenuItem"; - this.dLSToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.dLSToolStripMenuItem.Text = "DLS"; + this.DLS.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.DLS조회, + this.DLS입력}); + this.DLS.Name = "DLS"; + this.DLS.Size = new System.Drawing.Size(180, 22); + this.DLS.Text = "DLS"; // - // dLS조회ToolStripMenuItem + // DLS조회 // - this.dLS조회ToolStripMenuItem.Name = "dLS조회ToolStripMenuItem"; - this.dLS조회ToolStripMenuItem.Size = new System.Drawing.Size(124, 22); - this.dLS조회ToolStripMenuItem.Text = "DLS 조회"; - this.dLS조회ToolStripMenuItem.Click += new System.EventHandler(this.dLS조회ToolStripMenuItem_Click); + this.DLS조회.Name = "DLS조회"; + this.DLS조회.Size = new System.Drawing.Size(180, 22); + this.DLS조회.Text = "DLS 조회"; + this.DLS조회.Click += new System.EventHandler(this.dLS조회ToolStripMenuItem_Click); // - // dLS입력ToolStripMenuItem + // DLS입력 // - this.dLS입력ToolStripMenuItem.Name = "dLS입력ToolStripMenuItem"; - this.dLS입력ToolStripMenuItem.Size = new System.Drawing.Size(124, 22); - this.dLS입력ToolStripMenuItem.Text = "DLS 입력"; - this.dLS입력ToolStripMenuItem.Click += new System.EventHandler(this.dLS입력ToolStripMenuItem_Click_1); + this.DLS입력.Name = "DLS입력"; + this.DLS입력.Size = new System.Drawing.Size(180, 22); + this.DLS입력.Text = "DLS 입력"; + this.DLS입력.Click += new System.EventHandler(this.dLS입력ToolStripMenuItem_Click_1); // - // 기타ToolStripMenuItem + // 마크기타 // - this.기타ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.서류작성ToolStripMenuItem, - this.마크통계ToolStripMenuItem, - this.장비관리ToolStripMenuItem1}); - this.기타ToolStripMenuItem.Name = "기타ToolStripMenuItem"; - this.기타ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.기타ToolStripMenuItem.Text = "기타"; + this.마크기타.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.서류작성, + this.마크통계, + this.장비관리}); + this.마크기타.Name = "마크기타"; + this.마크기타.Size = new System.Drawing.Size(180, 22); + this.마크기타.Text = "기타"; // - // 서류작성ToolStripMenuItem + // 서류작성 // - this.서류작성ToolStripMenuItem.Name = "서류작성ToolStripMenuItem"; - this.서류작성ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.서류작성ToolStripMenuItem.Text = "서류작성"; - this.서류작성ToolStripMenuItem.Click += new System.EventHandler(this.서류작성ToolStripMenuItem_Click); + this.서류작성.Name = "서류작성"; + this.서류작성.Size = new System.Drawing.Size(180, 22); + this.서류작성.Text = "서류작성"; + this.서류작성.Click += new System.EventHandler(this.서류작성ToolStripMenuItem_Click); // - // 마크통계ToolStripMenuItem + // 마크통계 // - this.마크통계ToolStripMenuItem.Name = "마크통계ToolStripMenuItem"; - this.마크통계ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); - this.마크통계ToolStripMenuItem.Text = "마크통계"; - this.마크통계ToolStripMenuItem.Click += new System.EventHandler(this.마크통계ToolStripMenuItem_Click); + this.마크통계.Name = "마크통계"; + this.마크통계.Size = new System.Drawing.Size(180, 22); + this.마크통계.Text = "마크통계"; + this.마크통계.Click += new System.EventHandler(this.마크통계ToolStripMenuItem_Click); // - // 장비관리ToolStripMenuItem1 + // 장비관리 // - this.장비관리ToolStripMenuItem1.Name = "장비관리ToolStripMenuItem1"; - this.장비관리ToolStripMenuItem1.Size = new System.Drawing.Size(180, 22); - this.장비관리ToolStripMenuItem1.Text = "장비관리"; - this.장비관리ToolStripMenuItem1.Click += new System.EventHandler(this.장비관리ToolStripMenuItem1_Click); + this.장비관리.Name = "장비관리"; + this.장비관리.Size = new System.Drawing.Size(180, 22); + this.장비관리.Text = "장비관리"; + this.장비관리.Click += new System.EventHandler(this.장비관리ToolStripMenuItem1_Click); // // 작업일지ToolStripMenuItem // this.작업일지ToolStripMenuItem.Enabled = false; this.작업일지ToolStripMenuItem.Name = "작업일지ToolStripMenuItem"; - this.작업일지ToolStripMenuItem.Size = new System.Drawing.Size(86, 20); - this.작업일지ToolStripMenuItem.Text = "작업일지(&W)"; + this.작업일지ToolStripMenuItem.Size = new System.Drawing.Size(67, 20); + this.작업일지ToolStripMenuItem.Text = "작업일지"; this.작업일지ToolStripMenuItem.Click += new System.EventHandler(this.작업일지ToolStripMenuItem_Click); // // 편의기능ToolStripMenuItem // this.편의기능ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.캘린더ToolStripMenuItem, - this.채팅ToolStripMenuItem, - this.퀵메뉴ToolStripMenuItem, - this.게시판ToolStripMenuItem, - this.공지발송ToolStripMenuItem, - this.판매ToolStripMenuItem}); + this.캘린더, + this.채팅, + this.퀵메뉴, + this.게시판, + this.공지발송, + this.판매}); this.편의기능ToolStripMenuItem.Name = "편의기능ToolStripMenuItem"; - this.편의기능ToolStripMenuItem.Size = new System.Drawing.Size(83, 20); - this.편의기능ToolStripMenuItem.Text = "편의기능(&C)"; + this.편의기능ToolStripMenuItem.Size = new System.Drawing.Size(67, 20); + this.편의기능ToolStripMenuItem.Text = "편의기능"; // - // 캘린더ToolStripMenuItem + // 캘린더 // - this.캘린더ToolStripMenuItem.Name = "캘린더ToolStripMenuItem"; - this.캘린더ToolStripMenuItem.Size = new System.Drawing.Size(122, 22); - this.캘린더ToolStripMenuItem.Text = "캘린더"; - this.캘린더ToolStripMenuItem.Click += new System.EventHandler(this.캘린더ToolStripMenuItem_Click); + this.캘린더.Name = "캘린더"; + this.캘린더.Size = new System.Drawing.Size(122, 22); + this.캘린더.Text = "캘린더"; + this.캘린더.Click += new System.EventHandler(this.캘린더ToolStripMenuItem_Click); // - // 채팅ToolStripMenuItem + // 채팅 // - this.채팅ToolStripMenuItem.Name = "채팅ToolStripMenuItem"; - this.채팅ToolStripMenuItem.Size = new System.Drawing.Size(122, 22); - this.채팅ToolStripMenuItem.Text = "채팅"; - this.채팅ToolStripMenuItem.Click += new System.EventHandler(this.채팅ToolStripMenuItem_Click); + this.채팅.Name = "채팅"; + this.채팅.Size = new System.Drawing.Size(122, 22); + this.채팅.Text = "채팅"; + this.채팅.Click += new System.EventHandler(this.채팅ToolStripMenuItem_Click); // - // 퀵메뉴ToolStripMenuItem + // 퀵메뉴 // - this.퀵메뉴ToolStripMenuItem.Name = "퀵메뉴ToolStripMenuItem"; - this.퀵메뉴ToolStripMenuItem.Size = new System.Drawing.Size(122, 22); - this.퀵메뉴ToolStripMenuItem.Text = "퀵메뉴"; - this.퀵메뉴ToolStripMenuItem.Click += new System.EventHandler(this.퀵메뉴ToolStripMenuItem_Click); + this.퀵메뉴.Name = "퀵메뉴"; + this.퀵메뉴.Size = new System.Drawing.Size(122, 22); + this.퀵메뉴.Text = "퀵메뉴"; + this.퀵메뉴.Click += new System.EventHandler(this.퀵메뉴ToolStripMenuItem_Click); // - // 게시판ToolStripMenuItem + // 게시판 // - this.게시판ToolStripMenuItem.Name = "게시판ToolStripMenuItem"; - this.게시판ToolStripMenuItem.Size = new System.Drawing.Size(122, 22); - this.게시판ToolStripMenuItem.Text = "게시판"; - this.게시판ToolStripMenuItem.Click += new System.EventHandler(this.게시판ToolStripMenuItem_Click); + this.게시판.Name = "게시판"; + this.게시판.Size = new System.Drawing.Size(122, 22); + this.게시판.Text = "게시판"; + this.게시판.Click += new System.EventHandler(this.게시판ToolStripMenuItem_Click); // - // 공지발송ToolStripMenuItem + // 공지발송 // - this.공지발송ToolStripMenuItem.Name = "공지발송ToolStripMenuItem"; - this.공지발송ToolStripMenuItem.Size = new System.Drawing.Size(122, 22); - this.공지발송ToolStripMenuItem.Text = "공지발송"; - this.공지발송ToolStripMenuItem.Click += new System.EventHandler(this.공지발송ToolStripMenuItem_Click); + this.공지발송.Name = "공지발송"; + this.공지발송.Size = new System.Drawing.Size(122, 22); + this.공지발송.Text = "공지발송"; + this.공지발송.Click += new System.EventHandler(this.공지발송ToolStripMenuItem_Click); // - // 판매ToolStripMenuItem + // 판매 // - this.판매ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.판매ToolStripMenuItem1, - this.정산ToolStripMenuItem, - this.판매마감ToolStripMenuItem, - this.회원관리ToolStripMenuItem}); - this.판매ToolStripMenuItem.Name = "판매ToolStripMenuItem"; - this.판매ToolStripMenuItem.Size = new System.Drawing.Size(122, 22); - this.판매ToolStripMenuItem.Text = "판매"; + this.판매.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.판매1, + this.정산, + this.판매마감, + this.회원관리}); + this.판매.Name = "판매"; + this.판매.Size = new System.Drawing.Size(122, 22); + this.판매.Text = "판매"; // - // 판매ToolStripMenuItem1 + // 판매1 // - this.판매ToolStripMenuItem1.Name = "판매ToolStripMenuItem1"; - this.판매ToolStripMenuItem1.Size = new System.Drawing.Size(122, 22); - this.판매ToolStripMenuItem1.Text = "판매"; - this.판매ToolStripMenuItem1.Click += new System.EventHandler(this.판매ToolStripMenuItem1_Click); + this.판매1.Name = "판매1"; + this.판매1.Size = new System.Drawing.Size(122, 22); + this.판매1.Text = "판매"; + this.판매1.Click += new System.EventHandler(this.판매ToolStripMenuItem1_Click); // - // 정산ToolStripMenuItem + // 정산 // - this.정산ToolStripMenuItem.Name = "정산ToolStripMenuItem"; - this.정산ToolStripMenuItem.Size = new System.Drawing.Size(122, 22); - this.정산ToolStripMenuItem.Text = "정산"; - this.정산ToolStripMenuItem.Click += new System.EventHandler(this.정산ToolStripMenuItem_Click); + this.정산.Name = "정산"; + this.정산.Size = new System.Drawing.Size(122, 22); + this.정산.Text = "정산"; + this.정산.Click += new System.EventHandler(this.정산ToolStripMenuItem_Click); // - // 판매마감ToolStripMenuItem + // 판매마감 // - this.판매마감ToolStripMenuItem.Name = "판매마감ToolStripMenuItem"; - this.판매마감ToolStripMenuItem.Size = new System.Drawing.Size(122, 22); - this.판매마감ToolStripMenuItem.Text = "판매마감"; - this.판매마감ToolStripMenuItem.Click += new System.EventHandler(this.판매마감ToolStripMenuItem_Click); + this.판매마감.Name = "판매마감"; + this.판매마감.Size = new System.Drawing.Size(122, 22); + this.판매마감.Text = "판매마감"; + this.판매마감.Click += new System.EventHandler(this.판매마감ToolStripMenuItem_Click); // - // 회원관리ToolStripMenuItem + // 회원관리 // - this.회원관리ToolStripMenuItem.Name = "회원관리ToolStripMenuItem"; - this.회원관리ToolStripMenuItem.Size = new System.Drawing.Size(122, 22); - this.회원관리ToolStripMenuItem.Text = "회원관리"; - this.회원관리ToolStripMenuItem.Click += new System.EventHandler(this.회원관리ToolStripMenuItem_Click); + this.회원관리.Name = "회원관리"; + this.회원관리.Size = new System.Drawing.Size(122, 22); + this.회원관리.Text = "회원관리"; + this.회원관리.Click += new System.EventHandler(this.회원관리ToolStripMenuItem_Click); // // 마스터ToolStripMenuItem // @@ -761,138 +761,162 @@ // this.panel1.BackColor = System.Drawing.SystemColors.ControlDark; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel1.Controls.Add(this.button12); - this.panel1.Controls.Add(this.button11); - this.panel1.Controls.Add(this.button10); - this.panel1.Controls.Add(this.button9); - this.panel1.Controls.Add(this.button8); - this.panel1.Controls.Add(this.button6); - this.panel1.Controls.Add(this.button5); - this.panel1.Controls.Add(this.button7); - this.panel1.Controls.Add(this.button3); - this.panel1.Controls.Add(this.button4); - this.panel1.Controls.Add(this.button2); - this.panel1.Controls.Add(this.button1); + this.panel1.Controls.Add(this.ShortCut12); + this.panel1.Controls.Add(this.ShortCut11); + this.panel1.Controls.Add(this.ShortCut10); + this.panel1.Controls.Add(this.ShortCut9); + this.panel1.Controls.Add(this.ShortCut8); + this.panel1.Controls.Add(this.ShortCut6); + this.panel1.Controls.Add(this.ShortCut5); + this.panel1.Controls.Add(this.ShortCut7); + this.panel1.Controls.Add(this.ShortCut3); + this.panel1.Controls.Add(this.ShortCut4); + this.panel1.Controls.Add(this.ShortCut2); + this.panel1.Controls.Add(this.ShortCut1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 24); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1252, 64); this.panel1.TabIndex = 2; // - // button12 + // ShortCut12 // - this.button12.Location = new System.Drawing.Point(869, 3); - this.button12.Name = "button12"; - this.button12.Size = new System.Drawing.Size(55, 55); - this.button12.TabIndex = 2; - this.button12.Text = "즐겨찾기12"; - this.button12.UseVisualStyleBackColor = true; + this.ShortCut12.Enabled = false; + this.ShortCut12.Location = new System.Drawing.Point(869, 3); + this.ShortCut12.Name = "ShortCut12"; + this.ShortCut12.Size = new System.Drawing.Size(61, 55); + this.ShortCut12.TabIndex = 2; + this.ShortCut12.Text = "즐겨찾기12"; + this.ShortCut12.UseVisualStyleBackColor = true; + this.ShortCut12.Click += new System.EventHandler(this.Btn_ShortCut_Click); // - // button11 + // ShortCut11 // - this.button11.Location = new System.Drawing.Point(791, 3); - this.button11.Name = "button11"; - this.button11.Size = new System.Drawing.Size(55, 55); - this.button11.TabIndex = 2; - this.button11.Text = "즐겨찾기11"; - this.button11.UseVisualStyleBackColor = true; + this.ShortCut11.Enabled = false; + this.ShortCut11.Location = new System.Drawing.Point(791, 3); + this.ShortCut11.Name = "ShortCut11"; + this.ShortCut11.Size = new System.Drawing.Size(61, 55); + this.ShortCut11.TabIndex = 2; + this.ShortCut11.Text = "즐겨찾기11"; + this.ShortCut11.UseVisualStyleBackColor = true; + this.ShortCut11.Click += new System.EventHandler(this.Btn_ShortCut_Click); // - // button10 + // ShortCut10 // - this.button10.Location = new System.Drawing.Point(714, 3); - this.button10.Name = "button10"; - this.button10.Size = new System.Drawing.Size(55, 55); - this.button10.TabIndex = 2; - this.button10.Text = "즐겨찾기10"; - this.button10.UseVisualStyleBackColor = true; + this.ShortCut10.Enabled = false; + this.ShortCut10.Location = new System.Drawing.Point(714, 3); + this.ShortCut10.Name = "ShortCut10"; + this.ShortCut10.Size = new System.Drawing.Size(61, 55); + this.ShortCut10.TabIndex = 2; + this.ShortCut10.Text = "즐겨찾기10"; + this.ShortCut10.UseVisualStyleBackColor = true; + this.ShortCut10.Click += new System.EventHandler(this.Btn_ShortCut_Click); // - // button9 + // ShortCut9 // - this.button9.Location = new System.Drawing.Point(636, 3); - this.button9.Name = "button9"; - this.button9.Size = new System.Drawing.Size(55, 55); - this.button9.TabIndex = 2; - this.button9.Text = "즐겨찾기9"; - this.button9.UseVisualStyleBackColor = true; + this.ShortCut9.Enabled = false; + this.ShortCut9.Location = new System.Drawing.Point(636, 3); + this.ShortCut9.Name = "ShortCut9"; + this.ShortCut9.Size = new System.Drawing.Size(61, 55); + this.ShortCut9.TabIndex = 2; + this.ShortCut9.Text = "즐겨찾기9"; + this.ShortCut9.UseVisualStyleBackColor = true; + this.ShortCut9.Click += new System.EventHandler(this.Btn_ShortCut_Click); // - // button8 + // ShortCut8 // - this.button8.Location = new System.Drawing.Point(558, 3); - this.button8.Name = "button8"; - this.button8.Size = new System.Drawing.Size(55, 55); - this.button8.TabIndex = 1; - this.button8.Text = "즐겨찾기8"; - this.button8.UseVisualStyleBackColor = true; + this.ShortCut8.Enabled = false; + this.ShortCut8.Location = new System.Drawing.Point(558, 3); + this.ShortCut8.Name = "ShortCut8"; + this.ShortCut8.Size = new System.Drawing.Size(61, 55); + this.ShortCut8.TabIndex = 1; + this.ShortCut8.Text = "즐겨찾기8"; + this.ShortCut8.UseVisualStyleBackColor = true; + this.ShortCut8.Click += new System.EventHandler(this.Btn_ShortCut_Click); // - // button6 + // ShortCut6 // - this.button6.Location = new System.Drawing.Point(402, 3); - this.button6.Name = "button6"; - this.button6.Size = new System.Drawing.Size(55, 55); - this.button6.TabIndex = 2; - this.button6.Text = "즐겨찾기6"; - this.button6.UseVisualStyleBackColor = true; + this.ShortCut6.Enabled = false; + this.ShortCut6.Location = new System.Drawing.Point(402, 3); + this.ShortCut6.Name = "ShortCut6"; + this.ShortCut6.Size = new System.Drawing.Size(61, 55); + this.ShortCut6.TabIndex = 2; + this.ShortCut6.Text = "즐겨찾기6"; + this.ShortCut6.UseVisualStyleBackColor = true; + this.ShortCut6.Click += new System.EventHandler(this.Btn_ShortCut_Click); // - // button5 + // ShortCut5 // - this.button5.Location = new System.Drawing.Point(324, 3); - this.button5.Name = "button5"; - this.button5.Size = new System.Drawing.Size(55, 55); - this.button5.TabIndex = 1; - this.button5.Text = "즐겨찾기5"; - this.button5.UseVisualStyleBackColor = true; + this.ShortCut5.Enabled = false; + this.ShortCut5.Location = new System.Drawing.Point(324, 3); + this.ShortCut5.Name = "ShortCut5"; + this.ShortCut5.Size = new System.Drawing.Size(61, 55); + this.ShortCut5.TabIndex = 1; + this.ShortCut5.Text = "즐겨찾기5"; + this.ShortCut5.UseVisualStyleBackColor = true; + this.ShortCut5.Click += new System.EventHandler(this.Btn_ShortCut_Click); // - // button7 + // ShortCut7 // - this.button7.Location = new System.Drawing.Point(480, 3); - this.button7.Name = "button7"; - this.button7.Size = new System.Drawing.Size(55, 55); - this.button7.TabIndex = 0; - this.button7.Text = "즐겨찾기7"; - this.button7.UseVisualStyleBackColor = true; + this.ShortCut7.Enabled = false; + this.ShortCut7.Location = new System.Drawing.Point(480, 3); + this.ShortCut7.Name = "ShortCut7"; + this.ShortCut7.Size = new System.Drawing.Size(61, 55); + this.ShortCut7.TabIndex = 0; + this.ShortCut7.Text = "즐겨찾기7"; + this.ShortCut7.UseVisualStyleBackColor = true; + this.ShortCut7.Click += new System.EventHandler(this.Btn_ShortCut_Click); // - // button3 + // ShortCut3 // - this.button3.Location = new System.Drawing.Point(168, 3); - this.button3.Name = "button3"; - this.button3.Size = new System.Drawing.Size(55, 55); - this.button3.TabIndex = 2; - this.button3.Text = "즐겨찾기3"; - this.button3.UseVisualStyleBackColor = true; + this.ShortCut3.Enabled = false; + this.ShortCut3.Location = new System.Drawing.Point(168, 3); + this.ShortCut3.Name = "ShortCut3"; + this.ShortCut3.Size = new System.Drawing.Size(61, 55); + this.ShortCut3.TabIndex = 2; + this.ShortCut3.Text = "즐겨찾기3"; + this.ShortCut3.UseVisualStyleBackColor = true; + this.ShortCut3.Click += new System.EventHandler(this.Btn_ShortCut_Click); // - // button4 + // ShortCut4 // - this.button4.Location = new System.Drawing.Point(246, 3); - this.button4.Name = "button4"; - this.button4.Size = new System.Drawing.Size(55, 55); - this.button4.TabIndex = 0; - this.button4.Text = "즐겨찾기4"; - this.button4.UseVisualStyleBackColor = true; + this.ShortCut4.Enabled = false; + this.ShortCut4.Location = new System.Drawing.Point(246, 3); + this.ShortCut4.Name = "ShortCut4"; + this.ShortCut4.Size = new System.Drawing.Size(61, 55); + this.ShortCut4.TabIndex = 0; + this.ShortCut4.Text = "즐겨찾기4"; + this.ShortCut4.UseVisualStyleBackColor = true; + this.ShortCut4.Click += new System.EventHandler(this.Btn_ShortCut_Click); // - // button2 + // ShortCut2 // - this.button2.Location = new System.Drawing.Point(90, 3); - this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(55, 55); - this.button2.TabIndex = 1; - this.button2.Text = "즐겨찾기2"; - this.button2.UseVisualStyleBackColor = true; + this.ShortCut2.Enabled = false; + this.ShortCut2.Location = new System.Drawing.Point(90, 3); + this.ShortCut2.Name = "ShortCut2"; + this.ShortCut2.Size = new System.Drawing.Size(61, 55); + this.ShortCut2.TabIndex = 1; + this.ShortCut2.Text = "즐겨찾기2"; + this.ShortCut2.UseVisualStyleBackColor = true; + this.ShortCut2.Click += new System.EventHandler(this.Btn_ShortCut_Click); // - // button1 + // ShortCut1 // - this.button1.Location = new System.Drawing.Point(12, 3); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(55, 55); - this.button1.TabIndex = 0; - this.button1.Text = "즐겨찾기1"; - this.button1.UseVisualStyleBackColor = true; + this.ShortCut1.Enabled = false; + this.ShortCut1.Location = new System.Drawing.Point(12, 3); + this.ShortCut1.Name = "ShortCut1"; + this.ShortCut1.Size = new System.Drawing.Size(61, 55); + this.ShortCut1.TabIndex = 0; + this.ShortCut1.Text = "즐겨찾기1"; + this.ShortCut1.UseVisualStyleBackColor = true; + this.ShortCut1.Click += new System.EventHandler(this.Btn_ShortCut_Click); // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabel2, - this.toolStripLabel1}); + this.botUserLabel}); this.toolStrip1.Location = new System.Drawing.Point(0, 607); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(1252, 25); @@ -905,11 +929,11 @@ this.toolStripLabel2.Size = new System.Drawing.Size(43, 22); this.toolStripLabel2.Text = "회사명"; // - // toolStripLabel1 + // botUserLabel // - this.toolStripLabel1.Name = "toolStripLabel1"; - this.toolStripLabel1.Size = new System.Drawing.Size(43, 22); - this.toolStripLabel1.Text = "이용자"; + this.botUserLabel.Name = "botUserLabel"; + this.botUserLabel.Size = new System.Drawing.Size(43, 22); + this.botUserLabel.Text = "이용자"; // // Main // @@ -939,47 +963,47 @@ private System.Windows.Forms.MenuStrip menuStrip1; private System.Windows.Forms.ToolStripMenuItem 홈ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 사용자관리ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 납품거래처관리ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 주문처관리ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 비밀번호변경ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 도서정보관리ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 사용대장ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 사용자관리; + private System.Windows.Forms.ToolStripMenuItem 납품거래처관리; + private System.Windows.Forms.ToolStripMenuItem 주문처관리; + private System.Windows.Forms.ToolStripMenuItem 비밀번호변경; + private System.Windows.Forms.ToolStripMenuItem 도서정보관리; + private System.Windows.Forms.ToolStripMenuItem 사용대장; private System.Windows.Forms.ToolStripMenuItem 납품관리ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 물품등록ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 목록등록편의ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 목록집계ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 주문입력ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 매입ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 재고입력및조회ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 목록등록; + private System.Windows.Forms.ToolStripMenuItem 목록조회; + private System.Windows.Forms.ToolStripMenuItem 목록집계; + private System.Windows.Forms.ToolStripMenuItem 주문입력; + private System.Windows.Forms.ToolStripMenuItem 입고작업; + private System.Windows.Forms.ToolStripMenuItem 재고입력및조회; private System.Windows.Forms.ToolStripMenuItem 회계ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 송금등록ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 매입장부ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 매출입력ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 매입장부ToolStripMenuItem1; - private System.Windows.Forms.ToolStripMenuItem 매입집계ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 송금등록; + private System.Windows.Forms.ToolStripMenuItem 매입; + private System.Windows.Forms.ToolStripMenuItem 매출; + private System.Windows.Forms.ToolStripMenuItem 매입장부; + private System.Windows.Forms.ToolStripMenuItem 매입집계; private System.Windows.Forms.ToolStripMenuItem 매입미결제ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 매출입력ToolStripMenuItem1; - private System.Windows.Forms.ToolStripMenuItem 매출집계ToolStripMenuItem1; - private System.Windows.Forms.ToolStripMenuItem 매출조회ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 매출입력; + private System.Windows.Forms.ToolStripMenuItem 매출집계; + private System.Windows.Forms.ToolStripMenuItem 매출조회; private System.Windows.Forms.ToolStripMenuItem 마크ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 설정ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 단축키설정ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 매크로문구설정ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 불용어ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 복본조사ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 마크설정; + private System.Windows.Forms.ToolStripMenuItem 단축키설정; + private System.Windows.Forms.ToolStripMenuItem 매크로문구; + private System.Windows.Forms.ToolStripMenuItem 불용어; + private System.Windows.Forms.ToolStripMenuItem 복본조사; private System.Windows.Forms.ToolStripMenuItem 작업일지ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 편의기능ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 캘린더ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 채팅ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 퀵메뉴ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 게시판ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 공지발송ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 판매ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 판매ToolStripMenuItem1; - private System.Windows.Forms.ToolStripMenuItem 정산ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 판매마감ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 회원관리ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 캘린더; + private System.Windows.Forms.ToolStripMenuItem 채팅; + private System.Windows.Forms.ToolStripMenuItem 퀵메뉴; + private System.Windows.Forms.ToolStripMenuItem 게시판; + private System.Windows.Forms.ToolStripMenuItem 공지발송; + private System.Windows.Forms.ToolStripMenuItem 판매; + private System.Windows.Forms.ToolStripMenuItem 판매1; + private System.Windows.Forms.ToolStripMenuItem 정산; + private System.Windows.Forms.ToolStripMenuItem 판매마감; + private System.Windows.Forms.ToolStripMenuItem 회원관리; private System.Windows.Forms.ToolStripMenuItem 마스터ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 이용자관리ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 공지발송ToolStripMenuItem1; @@ -988,49 +1012,49 @@ private System.Windows.Forms.ToolStripMenuItem 마크설정ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 일괄처리관리ToolStripMenuItem; private System.Windows.Forms.Panel panel1; - private System.Windows.Forms.Button button3; - private System.Windows.Forms.Button button2; - private System.Windows.Forms.Button button1; - private System.Windows.Forms.ToolStripMenuItem 송금내역조회ToolStripMenuItem; - private System.Windows.Forms.Button button10; - private System.Windows.Forms.Button button9; - private System.Windows.Forms.Button button8; - private System.Windows.Forms.Button button6; - private System.Windows.Forms.Button button5; - private System.Windows.Forms.Button button7; - private System.Windows.Forms.Button button4; + private System.Windows.Forms.Button ShortCut3; + private System.Windows.Forms.Button ShortCut2; + private System.Windows.Forms.Button ShortCut1; + private System.Windows.Forms.ToolStripMenuItem 송금내역조회; + private System.Windows.Forms.Button ShortCut10; + private System.Windows.Forms.Button ShortCut9; + private System.Windows.Forms.Button ShortCut8; + private System.Windows.Forms.Button ShortCut6; + private System.Windows.Forms.Button ShortCut5; + private System.Windows.Forms.Button ShortCut7; + private System.Windows.Forms.Button ShortCut4; private System.Windows.Forms.ToolStrip toolStrip1; - private System.Windows.Forms.ToolStripMenuItem 사용자정보ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 작업지시서ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 마크작업ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 마크목록ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 소장자료검색ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 마크정리ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 반입및반출ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 반입ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 반출ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 부가기능ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 마크수집ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 전집관리ToolStripMenuItem1; - private System.Windows.Forms.ToolStripMenuItem 검수ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 저자기호ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem dLSToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem dLS조회ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem dLS입력ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 기타ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 서류작성ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 마크통계ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem 장비관리ToolStripMenuItem1; - private System.Windows.Forms.ToolStripMenuItem 복본조사ToolStripMenuItem1; - private System.Windows.Forms.ToolStripMenuItem dLS복본조사ToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem iSBN조회ToolStripMenuItem; - private System.Windows.Forms.Button button12; - private System.Windows.Forms.Button button11; + private System.Windows.Forms.ToolStripMenuItem 사업체정보; + private System.Windows.Forms.ToolStripMenuItem 작업지시서; + private System.Windows.Forms.ToolStripMenuItem 마크작업; + private System.Windows.Forms.ToolStripMenuItem 마크목록; + private System.Windows.Forms.ToolStripMenuItem 소장자료검색; + private System.Windows.Forms.ToolStripMenuItem 마크정리; + private System.Windows.Forms.ToolStripMenuItem 반입및반출; + private System.Windows.Forms.ToolStripMenuItem 마크반입; + private System.Windows.Forms.ToolStripMenuItem 마크반출; + private System.Windows.Forms.ToolStripMenuItem 부가기능; + private System.Windows.Forms.ToolStripMenuItem 마크수집; + private System.Windows.Forms.ToolStripMenuItem 전집관리; + private System.Windows.Forms.ToolStripMenuItem 검수; + private System.Windows.Forms.ToolStripMenuItem 저자기호; + private System.Windows.Forms.ToolStripMenuItem DLS; + private System.Windows.Forms.ToolStripMenuItem DLS조회; + private System.Windows.Forms.ToolStripMenuItem DLS입력; + private System.Windows.Forms.ToolStripMenuItem 마크기타; + private System.Windows.Forms.ToolStripMenuItem 서류작성; + private System.Windows.Forms.ToolStripMenuItem 마크통계; + private System.Windows.Forms.ToolStripMenuItem 장비관리; + private System.Windows.Forms.ToolStripMenuItem 복본조사1; + private System.Windows.Forms.ToolStripMenuItem dLS복본조사; + private System.Windows.Forms.ToolStripMenuItem iSBN조회; + private System.Windows.Forms.Button ShortCut12; + private System.Windows.Forms.Button ShortCut11; private System.Windows.Forms.OpenFileDialog openFileDialog1; - private System.Windows.Forms.ToolStripMenuItem 매출입금toolStripMenuItem1; - private System.Windows.Forms.ToolStripMenuItem 반품처리ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 매출입금; + private System.Windows.Forms.ToolStripMenuItem 반품처리; public System.Windows.Forms.ToolStripLabel toolStripLabel2; - private System.Windows.Forms.ToolStripMenuItem 파트타임관리ToolStripMenuItem; - public System.Windows.Forms.ToolStripLabel toolStripLabel1; + private System.Windows.Forms.ToolStripMenuItem 파트타임관리; + public System.Windows.Forms.ToolStripLabel botUserLabel; } } \ No newline at end of file diff --git a/unimarc/unimarc/Main.cs b/unimarc/unimarc/Main.cs index 9378ced..35bd252 100644 --- a/unimarc/unimarc/Main.cs +++ b/unimarc/unimarc/Main.cs @@ -47,23 +47,25 @@ namespace WindowsFormsApp1 login login = new login(); - if (DialogResult.OK == login.ShowDialog(this)) - { + if (DialogResult.OK == login.ShowDialog(this)) { this.Visible = true; } - else { this.Close(); } + else { + this.Close(); + } _DB.DBcon(); - string cmd = _DB.DB_Search("User_Data", "id", User_Name); + string cmd = _DB.DB_Search("User_Data", "ID", User_Name); DB_User_Data = _DB.DB_Send_CMD_Search(cmd); try { string[] result = DB_User_Data.Split('|'); if (result[3] == null) { } - else { + else + { toolStripLabel2.Text = result[4]; - toolStripLabel1.Text = result[3]; + botUserLabel.Text = result[3]; User = result[3]; } @@ -72,13 +74,215 @@ namespace WindowsFormsApp1 cmd = _DB.DB_Select_Search("`idx`", "Comp", "comp_name", result[5]); com_idx = _DB.DB_Send_CMD_Search(cmd).Replace("|", ""); Settings.Default.compidx = com_idx; - Settings.Default.User = toolStripLabel1.Text; + Settings.Default.User = botUserLabel.Text; this.Text = "[ '" + com_idx + "' : " + result[4] + " - " + result[3] + "]"; + + isAccess(); + SetBtnName(); } - catch { } + catch (Exception ex) { MessageBox.Show(ex.ToString()); } } + #region 즐겨찾기 버튼 세팅 + public void SetBtnName() + { + string Area = + "`ShortCut1`, `ShortCut2`, `ShortCut3`, `ShortCut4`, `ShortCut5`, " + + "`ShortCut6`, `ShortCut7`, `ShortCut8`, `ShortCut9`, `ShortCut10`, " + + "`ShortCut11`, `ShortCut12`"; + + string cmd = string.Format("SELECT {0} FROM `User_ShortCut` WHERE `id` = \"{1}\"", Area, User_Name); + string res = _DB.DB_Send_CMD_Search(cmd); + string[] ary_res = res.Split('|'); + + Button[] btn = { + ShortCut1, ShortCut2, ShortCut3, ShortCut4, ShortCut5, + ShortCut6, ShortCut7, ShortCut8, ShortCut9, ShortCut10, + ShortCut11, ShortCut12 + }; + + for (int a = 0; a < btn.Length; a++) + { + if (ary_res[a] == "") + ary_res[a] = string.Format("미지정{0}", a + 1); + + btn[a].Text = ary_res[a]; + + if (!ary_res[a].Contains("미지정")) + btn[a].Enabled = true; + } + } + + private void Btn_ShortCut_Click(object sender, EventArgs e) + { + #region 변수선언 + Button btn = sender as Button; + string btnText = btn.Text; + + string[] Div = { + "물품등록", "목록조회", "목록집계", "주문입력", "입고작업", + "재고입력 및 조회", "반품처리" }; + ToolStripMenuItem[] DivT = { + 목록등록, 목록조회, 목록집계, 주문입력, 입고작업, + 재고입력및조회, 반품처리 + }; + + string[] Acc = { + "송금내역조회", "송금등록", "매입 집계", "매입 장부", "매출 입력", + "매출 입금", "매출 조회", "매출 집계", "파트타임 관리" }; + ToolStripMenuItem[] AccT = { + 송금내역조회, 송금등록, 매입집계, 매입장부, 매출입력, + 매출입금, 매출조회, 매출집계, 파트타임관리 + }; + ToolStripMenuItem[] TempAcc = { + 송금내역조회, 송금등록, 매입, 매입, 매출, + 매출, 매출, 매출, 파트타임관리 + }; + + string[] Marc = { + "마크 목록", "소장자료검색", "마크 정리", "ISBN 조회", "반입", + "반출", "복본 조사", "DLS 복본 조사", "마크 수집", "전집관리", + "검수", "저자기호", "DLS 조회", "DLS 입력", "서류작성", + "마크통계", "장비관리" }; + ToolStripMenuItem[] MarcT = { + 마크목록, 소장자료검색, 마크정리, iSBN조회, 마크반입, + 마크반출, 복본조사1, dLS복본조사, 마크수집, 전집관리, + 검수, 저자기호, DLS조회, DLS입력, 서류작성, + 마크통계, 장비관리 + }; + ToolStripMenuItem[] TempMarc = { + 마크작업, 마크작업, 마크작업, 마크작업, 반입및반출, + 반입및반출, 복본조사, 복본조사, 부가기능, 부가기능, + 부가기능, 부가기능, DLS, DLS, 마크기타, + 마크기타, 마크기타 + }; + + + string[] Home = { + "사용자 관리", "납품 / 거래처 관리", "주문처 관리", "도서정보 관리" }; + ToolStripMenuItem[] HomeT = { + 사용자관리, 납품거래처관리, 주문처관리, 도서정보관리 + }; + + string[][] MenuTotal = { Div, Acc, Marc, Home }; + ToolStripMenuItem[][] MenuTotalT = { DivT, AccT, MarcT, HomeT }; + ToolStripMenuItem[][] MenuCheckT = { DivT, TempAcc, TempMarc, HomeT }; + + int[] count = { -1, -1 }; + #endregion + + for (int a = 0; a < MenuTotal.Length; a++) + { + bool IsText = false; + for(int b = 0; b < MenuTotal[a].Length; b++) + { + if (MenuTotal[a][b] == btnText) { + IsText = true; + count[1] = b; + break; + } + } + if (IsText) { + count[0] = a; + break; + } + } + + // 지정된게 없을경우 리턴 + foreach (int a in count) + if (a == -1) + return; + + // 권한설정으로 인한 리턴 + if (!MenuCheckT[count[0]][count[1]].Enabled) { + MessageBox.Show("권한이 설정되지 않았습니다!"); + return; + } + + // 실행. + MenuTotalT[count[0]][count[1]].PerformClick(); + } + #endregion + + #region 권한별 잠금 + private void isAccess() + { + string Area = + "`Div_ListInput`, `Div_ListLookup`, `Div_ListTotal`, `Div_OrderInput`, `Div_Inven`," + + "`Div_Stock`, `Div_Return`," + + + "`Acc_SendMoneyList`, `Acc_SendMoneyInput`, `Acc_Buy`, `Acc_Sales`, `Acc_PartTime`," + + + "`Marc_Setup`, `Marc_Work`, `Marc_Input`, `Marc_CopyCheck`, `Marc_Option`," + + "`Marc_DLS`, `Marc_ETC`," + + + "`Manage_User`, `Manage_Client`, `Manage_Purchase`, `Manage_Book`"; + + string cmd = string.Format("SELECT {0} FROM `User_Access` WHERE `id` = \"{1}\"", Area, User_Name); + string res = _DB.DB_Send_CMD_Search(cmd); + string[] ary_res = res.Split('|'); + + ToolStripMenuItem[] menus = + { + 목록등록, 목록조회, 목록집계, 주문입력, 입고작업, + 재고입력및조회, 반품처리, + + 송금내역조회, 송금등록, 매입, 매출, 파트타임관리, + + 마크설정, 마크작업, 반입및반출, 복본조사, 부가기능, DLS, 마크기타, + + 사용자관리, 납품거래처관리, 주문처관리, 도서정보관리 + }; + + for (int a = 0; a < ary_res.Length; a++) + { + if (ary_res[a] == "0") + { + menus[a].Enabled = false; + } + } + + ToolStripMenuItem[] Div = { + 목록등록, 목록조회, 목록집계, 주문입력, 입고작업, + 재고입력및조회, 반품처리 + }; + IsMenuAccess(Div, 납품관리ToolStripMenuItem); + + ToolStripMenuItem[] Acc = { + 송금내역조회, 송금등록, 매입, 매출, 파트타임관리 + }; + IsMenuAccess(Acc, 회계ToolStripMenuItem); + + ToolStripMenuItem[] Marc = { + 마크설정, 마크작업, 반입및반출, 복본조사, 부가기능, DLS, 마크기타 + }; + IsMenuAccess(Marc, 마크ToolStripMenuItem); + + ToolStripMenuItem[] Manage = { + 사용자관리, 납품거래처관리, 주문처관리, 도서정보관리 + }; + IsMenuAccess(Manage, 홈ToolStripMenuItem); + } + + private void IsMenuAccess(ToolStripMenuItem[] Menu, ToolStripMenuItem Target) + { + bool IsEnabled = true; + for (int a = 0; a < Menu.Length; a++) + { + if (Menu[a].Enabled) + IsEnabled = false; + + if (!IsEnabled) + break; + } + + if (IsEnabled) + Target.Enabled = false; + + } + #endregion + #region 홈 탭 // 홈 탭 클릭이벤트 private User_Infor User_Infor; diff --git a/unimarc/unimarc/Marc_FillBlank.Designer.cs b/unimarc/unimarc/Marc_FillBlank.Designer.cs new file mode 100644 index 0000000..61100c2 --- /dev/null +++ b/unimarc/unimarc/Marc_FillBlank.Designer.cs @@ -0,0 +1,1347 @@ + +namespace UniMarc +{ + partial class Marc_FillBlank + { + /// + /// 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() + { + this.Btn_interlock = new System.Windows.Forms.Button(); + this.Btn_Helper = new System.Windows.Forms.Button(); + this.panel1 = new System.Windows.Forms.Panel(); + this.radioButton4 = new System.Windows.Forms.RadioButton(); + this.invertCheck = new System.Windows.Forms.CheckBox(); + this.radioButton3 = new System.Windows.Forms.RadioButton(); + this.radioButton2 = new System.Windows.Forms.RadioButton(); + this.radioButton1 = new System.Windows.Forms.RadioButton(); + this.basicHeadBox = new System.Windows.Forms.TextBox(); + this.checkBox2 = new System.Windows.Forms.CheckBox(); + this.checkBox1 = new System.Windows.Forms.CheckBox(); + this.text940a = new System.Windows.Forms.TextBox(); + this.text507a = new System.Windows.Forms.TextBox(); + this.text250a = new System.Windows.Forms.TextBox(); + this.text245p = new System.Windows.Forms.TextBox(); + this.text245e = new System.Windows.Forms.TextBox(); + this.text500a = new System.Windows.Forms.TextBox(); + this.text653a = new System.Windows.Forms.TextBox(); + this.text900a = new System.Windows.Forms.TextBox(); + this.text525a = new System.Windows.Forms.TextBox(); + this.text700a = new System.Windows.Forms.TextBox(); + this.text245d = new System.Windows.Forms.TextBox(); + this.text245n = new System.Windows.Forms.TextBox(); + this.text245x = new System.Windows.Forms.TextBox(); + this.text245b = new System.Windows.Forms.TextBox(); + this.text245a = new System.Windows.Forms.TextBox(); + this.textDDC23 = new System.Windows.Forms.TextBox(); + this.textDDC22 = new System.Windows.Forms.TextBox(); + this.textDDC21 = new System.Windows.Forms.TextBox(); + this.text260g = new System.Windows.Forms.TextBox(); + this.text260c = new System.Windows.Forms.TextBox(); + this.text260b = new System.Windows.Forms.TextBox(); + this.text521a = new System.Windows.Forms.TextBox(); + this.text520a = new System.Windows.Forms.TextBox(); + this.text586a = new System.Windows.Forms.TextBox(); + this.text650a = new System.Windows.Forms.TextBox(); + this.text536a = new System.Windows.Forms.TextBox(); + this.text505a = new System.Windows.Forms.TextBox(); + this.text300e = new System.Windows.Forms.TextBox(); + this.text300b = new System.Windows.Forms.TextBox(); + this.text504a = new System.Windows.Forms.TextBox(); + this.text300c2 = new System.Windows.Forms.TextBox(); + this.text300c1 = new System.Windows.Forms.TextBox(); + this.text300a = new System.Windows.Forms.TextBox(); + this.text260a = new System.Windows.Forms.TextBox(); + this.textKDC6 = new System.Windows.Forms.TextBox(); + this.textKDC5 = new System.Windows.Forms.TextBox(); + this.textKDC4 = new System.Windows.Forms.TextBox(); + this.text546a = new System.Windows.Forms.TextBox(); + this.text041k = new System.Windows.Forms.TextBox(); + this.text041h = new System.Windows.Forms.TextBox(); + this.text041b = new System.Windows.Forms.TextBox(); + this.text041a = new System.Windows.Forms.TextBox(); + this.GridView910 = new System.Windows.Forms.DataGridView(); + this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.GridView710 = new System.Windows.Forms.DataGridView(); + this.Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Column12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.GridView490 = new System.Windows.Forms.DataGridView(); + this.text490a = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.text490v = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.GridView505 = new System.Windows.Forms.DataGridView(); + this.text505n = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.text505t = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.text505d = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.text505e = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.GridView440 = new System.Windows.Forms.DataGridView(); + this.text440a = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.text440n = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.text440p = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.text440v = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.text440x = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.GridView246 = new System.Windows.Forms.DataGridView(); + this.Column10 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.GridView020 = new System.Windows.Forms.DataGridView(); + this.Column4 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.comboBox6 = new System.Windows.Forms.ComboBox(); + this.comboBox5 = new System.Windows.Forms.ComboBox(); + this.comboBox4 = new System.Windows.Forms.ComboBox(); + this.comboBox2 = new System.Windows.Forms.ComboBox(); + this.label102 = new System.Windows.Forms.Label(); + this.comboBox7 = new System.Windows.Forms.ComboBox(); + this.comboBox3 = new System.Windows.Forms.ComboBox(); + this.label101 = new System.Windows.Forms.Label(); + this.comboBox1 = new System.Windows.Forms.ComboBox(); + this.label100 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.col008res = new System.Windows.Forms.Label(); + this.label99 = new System.Windows.Forms.Label(); + this.gov008res = new System.Windows.Forms.Label(); + this.label103 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.text008col = new System.Windows.Forms.TextBox(); + this.text008gov = new System.Windows.Forms.TextBox(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.button3 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.richTextBox3 = new System.Windows.Forms.RichTextBox(); + this.richTextBox2 = new System.Windows.Forms.RichTextBox(); + this.richTextBox1 = new System.Windows.Forms.RichTextBox(); + this.label98 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.GridView910)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.GridView710)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.GridView490)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.GridView505)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.GridView440)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.GridView246)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.GridView020)).BeginInit(); + this.SuspendLayout(); + // + // Btn_interlock + // + this.Btn_interlock.Location = new System.Drawing.Point(730, 103); + this.Btn_interlock.Name = "Btn_interlock"; + this.Btn_interlock.Size = new System.Drawing.Size(137, 23); + this.Btn_interlock.TabIndex = 297; + this.Btn_interlock.Text = "태그연동 (041-546)"; + this.Btn_interlock.UseVisualStyleBackColor = true; + // + // Btn_Helper + // + this.Btn_Helper.Location = new System.Drawing.Point(860, 11); + this.Btn_Helper.Name = "Btn_Helper"; + this.Btn_Helper.Size = new System.Drawing.Size(75, 23); + this.Btn_Helper.TabIndex = 296; + this.Btn_Helper.Text = "도움말"; + this.Btn_Helper.UseVisualStyleBackColor = true; + // + // panel1 + // + this.panel1.Controls.Add(this.radioButton4); + this.panel1.Controls.Add(this.invertCheck); + this.panel1.Controls.Add(this.radioButton3); + this.panel1.Controls.Add(this.radioButton2); + this.panel1.Controls.Add(this.radioButton1); + this.panel1.Controls.Add(this.basicHeadBox); + this.panel1.Location = new System.Drawing.Point(7, 240); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(402, 60); + this.panel1.TabIndex = 295; + // + // radioButton4 + // + this.radioButton4.AutoSize = true; + this.radioButton4.Location = new System.Drawing.Point(282, 36); + this.radioButton4.Name = "radioButton4"; + this.radioButton4.Size = new System.Drawing.Size(71, 16); + this.radioButton4.TabIndex = 207; + this.radioButton4.TabStop = true; + this.radioButton4.Text = "작자미상"; + this.radioButton4.UseVisualStyleBackColor = true; + // + // invertCheck + // + this.invertCheck.AutoSize = true; + this.invertCheck.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.invertCheck.Location = new System.Drawing.Point(294, 10); + this.invertCheck.Name = "invertCheck"; + this.invertCheck.Size = new System.Drawing.Size(48, 16); + this.invertCheck.TabIndex = 213; + this.invertCheck.Text = "생성"; + this.invertCheck.UseVisualStyleBackColor = true; + // + // radioButton3 + // + this.radioButton3.AutoSize = true; + this.radioButton3.Location = new System.Drawing.Point(189, 36); + this.radioButton3.Name = "radioButton3"; + this.radioButton3.Size = new System.Drawing.Size(59, 16); + this.radioButton3.TabIndex = 207; + this.radioButton3.TabStop = true; + this.radioButton3.Text = "회의명"; + this.radioButton3.UseVisualStyleBackColor = true; + // + // radioButton2 + // + this.radioButton2.AutoSize = true; + this.radioButton2.Location = new System.Drawing.Point(96, 36); + this.radioButton2.Name = "radioButton2"; + this.radioButton2.Size = new System.Drawing.Size(59, 16); + this.radioButton2.TabIndex = 207; + this.radioButton2.TabStop = true; + this.radioButton2.Text = "단체명"; + this.radioButton2.UseVisualStyleBackColor = true; + // + // radioButton1 + // + this.radioButton1.AutoSize = true; + this.radioButton1.Location = new System.Drawing.Point(3, 36); + this.radioButton1.Name = "radioButton1"; + this.radioButton1.Size = new System.Drawing.Size(59, 16); + this.radioButton1.TabIndex = 207; + this.radioButton1.TabStop = true; + this.radioButton1.Text = "개인명"; + this.radioButton1.UseVisualStyleBackColor = true; + // + // basicHeadBox + // + this.basicHeadBox.Location = new System.Drawing.Point(0, 8); + this.basicHeadBox.Name = "basicHeadBox"; + this.basicHeadBox.Size = new System.Drawing.Size(285, 21); + this.basicHeadBox.TabIndex = 211; + this.basicHeadBox.Text = "기본표목"; + // + // checkBox2 + // + this.checkBox2.AutoSize = true; + this.checkBox2.Location = new System.Drawing.Point(131, 40); + this.checkBox2.Name = "checkBox2"; + this.checkBox2.Size = new System.Drawing.Size(112, 16); + this.checkBox2.TabIndex = 294; + this.checkBox2.Text = "기념논문집 여부"; + this.checkBox2.UseVisualStyleBackColor = true; + // + // checkBox1 + // + this.checkBox1.AutoSize = true; + this.checkBox1.Location = new System.Drawing.Point(7, 40); + this.checkBox1.Name = "checkBox1"; + this.checkBox1.Size = new System.Drawing.Size(112, 16); + this.checkBox1.TabIndex = 293; + this.checkBox1.Text = "회의간행물 여부"; + this.checkBox1.UseVisualStyleBackColor = true; + // + // text940a + // + this.text940a.Location = new System.Drawing.Point(7, 191); + this.text940a.Name = "text940a"; + this.text940a.Size = new System.Drawing.Size(402, 21); + this.text940a.TabIndex = 279; + this.text940a.Text = "940a 로컬서명"; + // + // text507a + // + this.text507a.Location = new System.Drawing.Point(598, 339); + this.text507a.Name = "text507a"; + this.text507a.Size = new System.Drawing.Size(387, 21); + this.text507a.TabIndex = 280; + this.text507a.Text = "507a"; + // + // text250a + // + this.text250a.Location = new System.Drawing.Point(619, 191); + this.text250a.Name = "text250a"; + this.text250a.Size = new System.Drawing.Size(200, 21); + this.text250a.TabIndex = 281; + this.text250a.Text = "250a"; + // + // text245p + // + this.text245p.Location = new System.Drawing.Point(119, 213); + this.text245p.Name = "text245p"; + this.text245p.Size = new System.Drawing.Size(290, 21); + this.text245p.TabIndex = 282; + this.text245p.Text = "245p"; + // + // text245e + // + this.text245e.Location = new System.Drawing.Point(266, 309); + this.text245e.Name = "text245e"; + this.text245e.Size = new System.Drawing.Size(719, 21); + this.text245e.TabIndex = 283; + this.text245e.Text = "245e"; + // + // text500a + // + this.text500a.Location = new System.Drawing.Point(7, 557); + this.text500a.Multiline = true; + this.text500a.Name = "text500a"; + this.text500a.Size = new System.Drawing.Size(487, 48); + this.text500a.TabIndex = 278; + this.text500a.Text = "500a"; + // + // text653a + // + this.text653a.Location = new System.Drawing.Point(625, 455); + this.text653a.Name = "text653a"; + this.text653a.Size = new System.Drawing.Size(360, 21); + this.text653a.TabIndex = 284; + this.text653a.Text = "653a"; + // + // text900a + // + this.text900a.Location = new System.Drawing.Point(7, 353); + this.text900a.Name = "text900a"; + this.text900a.Size = new System.Drawing.Size(585, 21); + this.text900a.TabIndex = 292; + this.text900a.Text = "900a"; + // + // text525a + // + this.text525a.Location = new System.Drawing.Point(262, 455); + this.text525a.Name = "text525a"; + this.text525a.Size = new System.Drawing.Size(360, 21); + this.text525a.TabIndex = 286; + this.text525a.Text = "525a"; + // + // text700a + // + this.text700a.Location = new System.Drawing.Point(7, 331); + this.text700a.Name = "text700a"; + this.text700a.Size = new System.Drawing.Size(585, 21); + this.text700a.TabIndex = 287; + this.text700a.Text = "700a"; + // + // text245d + // + this.text245d.Location = new System.Drawing.Point(7, 309); + this.text245d.Name = "text245d"; + this.text245d.Size = new System.Drawing.Size(253, 21); + this.text245d.TabIndex = 288; + this.text245d.Text = "245d"; + // + // text245n + // + this.text245n.Location = new System.Drawing.Point(7, 213); + this.text245n.Name = "text245n"; + this.text245n.Size = new System.Drawing.Size(94, 21); + this.text245n.TabIndex = 289; + this.text245n.Text = "245n"; + // + // text245x + // + this.text245x.Location = new System.Drawing.Point(417, 191); + this.text245x.Name = "text245x"; + this.text245x.Size = new System.Drawing.Size(200, 21); + this.text245x.TabIndex = 290; + this.text245x.Text = "245x"; + // + // text245b + // + this.text245b.Location = new System.Drawing.Point(417, 169); + this.text245b.Name = "text245b"; + this.text245b.Size = new System.Drawing.Size(402, 21); + this.text245b.TabIndex = 291; + this.text245b.Text = "245b"; + // + // text245a + // + this.text245a.Location = new System.Drawing.Point(7, 169); + this.text245a.Name = "text245a"; + this.text245a.Size = new System.Drawing.Size(402, 21); + this.text245a.TabIndex = 285; + this.text245a.Text = "245a 서명"; + // + // textDDC23 + // + this.textDDC23.Location = new System.Drawing.Point(707, 142); + this.textDDC23.Name = "textDDC23"; + this.textDDC23.Size = new System.Drawing.Size(112, 21); + this.textDDC23.TabIndex = 260; + this.textDDC23.Text = "DDC 23"; + // + // textDDC22 + // + this.textDDC22.Location = new System.Drawing.Point(562, 142); + this.textDDC22.Name = "textDDC22"; + this.textDDC22.Size = new System.Drawing.Size(112, 21); + this.textDDC22.TabIndex = 261; + this.textDDC22.Text = "DDC 22"; + // + // textDDC21 + // + this.textDDC21.Location = new System.Drawing.Point(417, 142); + this.textDDC21.Name = "textDDC21"; + this.textDDC21.Size = new System.Drawing.Size(112, 21); + this.textDDC21.TabIndex = 262; + this.textDDC21.Text = "DDC 21"; + // + // text260g + // + this.text260g.Location = new System.Drawing.Point(7, 453); + this.text260g.Name = "text260g"; + this.text260g.Size = new System.Drawing.Size(96, 21); + this.text260g.TabIndex = 263; + this.text260g.Text = "260g"; + // + // text260c + // + this.text260c.Location = new System.Drawing.Point(7, 428); + this.text260c.Name = "text260c"; + this.text260c.Size = new System.Drawing.Size(96, 21); + this.text260c.TabIndex = 264; + this.text260c.Text = "260c"; + // + // text260b + // + this.text260b.Location = new System.Drawing.Point(7, 403); + this.text260b.Name = "text260b"; + this.text260b.Size = new System.Drawing.Size(96, 21); + this.text260b.TabIndex = 268; + this.text260b.Text = "260b"; + // + // text521a + // + this.text521a.Location = new System.Drawing.Point(498, 713); + this.text521a.Name = "text521a"; + this.text521a.Size = new System.Drawing.Size(487, 21); + this.text521a.TabIndex = 265; + this.text521a.Text = "521a"; + // + // text520a + // + this.text520a.Location = new System.Drawing.Point(499, 557); + this.text520a.Multiline = true; + this.text520a.Name = "text520a"; + this.text520a.Size = new System.Drawing.Size(486, 48); + this.text520a.TabIndex = 266; + this.text520a.Text = "520a"; + // + // text586a + // + this.text586a.Location = new System.Drawing.Point(7, 713); + this.text586a.Name = "text586a"; + this.text586a.Size = new System.Drawing.Size(487, 21); + this.text586a.TabIndex = 267; + this.text586a.Text = "586a"; + // + // text650a + // + this.text650a.Location = new System.Drawing.Point(498, 688); + this.text650a.Name = "text650a"; + this.text650a.Size = new System.Drawing.Size(487, 21); + this.text650a.TabIndex = 277; + this.text650a.Text = "650a"; + // + // text536a + // + this.text536a.Location = new System.Drawing.Point(7, 688); + this.text536a.Name = "text536a"; + this.text536a.Size = new System.Drawing.Size(487, 21); + this.text536a.TabIndex = 269; + this.text536a.Text = "536a"; + // + // text505a + // + this.text505a.Location = new System.Drawing.Point(423, 636); + this.text505a.Multiline = true; + this.text505a.Name = "text505a"; + this.text505a.Size = new System.Drawing.Size(562, 46); + this.text505a.TabIndex = 270; + this.text505a.Text = "505a"; + // + // text300e + // + this.text300e.Location = new System.Drawing.Point(133, 453); + this.text300e.Name = "text300e"; + this.text300e.Size = new System.Drawing.Size(126, 21); + this.text300e.TabIndex = 271; + this.text300e.Text = "300e"; + // + // text300b + // + this.text300b.Location = new System.Drawing.Point(133, 403); + this.text300b.Name = "text300b"; + this.text300b.Size = new System.Drawing.Size(126, 21); + this.text300b.TabIndex = 272; + this.text300b.Text = "300b"; + // + // text504a + // + this.text504a.Location = new System.Drawing.Point(423, 611); + this.text504a.Name = "text504a"; + this.text504a.Size = new System.Drawing.Size(562, 21); + this.text504a.TabIndex = 273; + this.text504a.Text = "504a"; + // + // text300c2 + // + this.text300c2.Location = new System.Drawing.Point(199, 428); + this.text300c2.Name = "text300c2"; + this.text300c2.Size = new System.Drawing.Size(60, 21); + this.text300c2.TabIndex = 274; + this.text300c2.Text = "c가로"; + // + // text300c1 + // + this.text300c1.Location = new System.Drawing.Point(133, 428); + this.text300c1.Name = "text300c1"; + this.text300c1.Size = new System.Drawing.Size(60, 21); + this.text300c1.TabIndex = 275; + this.text300c1.Text = "c세로"; + // + // text300a + // + this.text300a.Location = new System.Drawing.Point(133, 378); + this.text300a.Name = "text300a"; + this.text300a.Size = new System.Drawing.Size(126, 21); + this.text300a.TabIndex = 276; + this.text300a.Text = "300a"; + // + // text260a + // + this.text260a.Location = new System.Drawing.Point(7, 378); + this.text260a.Name = "text260a"; + this.text260a.Size = new System.Drawing.Size(96, 21); + this.text260a.TabIndex = 258; + this.text260a.Text = "260a"; + // + // textKDC6 + // + this.textKDC6.Location = new System.Drawing.Point(297, 142); + this.textKDC6.Name = "textKDC6"; + this.textKDC6.Size = new System.Drawing.Size(112, 21); + this.textKDC6.TabIndex = 259; + this.textKDC6.Text = "KDC 6"; + // + // textKDC5 + // + this.textKDC5.Location = new System.Drawing.Point(152, 142); + this.textKDC5.Name = "textKDC5"; + this.textKDC5.Size = new System.Drawing.Size(112, 21); + this.textKDC5.TabIndex = 257; + this.textKDC5.Text = "KDC 5"; + // + // textKDC4 + // + this.textKDC4.Location = new System.Drawing.Point(7, 142); + this.textKDC4.Name = "textKDC4"; + this.textKDC4.Size = new System.Drawing.Size(112, 21); + this.textKDC4.TabIndex = 256; + this.textKDC4.Text = "KDC 4"; + // + // text546a + // + this.text546a.AcceptsReturn = true; + this.text546a.AcceptsTab = true; + this.text546a.Location = new System.Drawing.Point(417, 92); + this.text546a.Multiline = true; + this.text546a.Name = "text546a"; + this.text546a.Size = new System.Drawing.Size(305, 44); + this.text546a.TabIndex = 255; + this.text546a.Text = "546a 언어주기"; + // + // text041k + // + this.text041k.Location = new System.Drawing.Point(530, 65); + this.text041k.Name = "text041k"; + this.text041k.Size = new System.Drawing.Size(94, 21); + this.text041k.TabIndex = 254; + this.text041k.Text = "041k"; + // + // text041h + // + this.text041h.Location = new System.Drawing.Point(643, 65); + this.text041h.Name = "text041h"; + this.text041h.Size = new System.Drawing.Size(94, 21); + this.text041h.TabIndex = 253; + this.text041h.Text = "041h"; + // + // text041b + // + this.text041b.Location = new System.Drawing.Point(756, 65); + this.text041b.Name = "text041b"; + this.text041b.Size = new System.Drawing.Size(94, 21); + this.text041b.TabIndex = 252; + this.text041b.Text = "041b"; + // + // text041a + // + this.text041a.Location = new System.Drawing.Point(417, 65); + this.text041a.Name = "text041a"; + this.text041a.Size = new System.Drawing.Size(94, 21); + this.text041a.TabIndex = 251; + this.text041a.Text = "041a"; + // + // GridView910 + // + this.GridView910.AllowDrop = true; + this.GridView910.AllowUserToResizeRows = false; + this.GridView910.BackgroundColor = System.Drawing.SystemColors.Window; + this.GridView910.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.GridView910.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.dataGridViewTextBoxColumn1, + this.dataGridViewTextBoxColumn2}); + this.GridView910.Location = new System.Drawing.Point(625, 378); + this.GridView910.Name = "GridView910"; + this.GridView910.RowHeadersWidth = 30; + this.GridView910.RowTemplate.Height = 23; + this.GridView910.Size = new System.Drawing.Size(360, 71); + this.GridView910.TabIndex = 249; + // + // dataGridViewTextBoxColumn1 + // + this.dataGridViewTextBoxColumn1.HeaderText = "910a"; + this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; + this.dataGridViewTextBoxColumn1.Width = 150; + // + // dataGridViewTextBoxColumn2 + // + this.dataGridViewTextBoxColumn2.HeaderText = "910b"; + this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; + this.dataGridViewTextBoxColumn2.Width = 150; + // + // GridView710 + // + this.GridView710.AllowDrop = true; + this.GridView710.AllowUserToResizeRows = false; + this.GridView710.BackgroundColor = System.Drawing.SystemColors.Window; + this.GridView710.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.GridView710.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.Column11, + this.Column12}); + this.GridView710.Location = new System.Drawing.Point(262, 378); + this.GridView710.Name = "GridView710"; + this.GridView710.RowHeadersWidth = 30; + this.GridView710.RowTemplate.Height = 23; + this.GridView710.Size = new System.Drawing.Size(360, 71); + this.GridView710.TabIndex = 248; + // + // Column11 + // + this.Column11.HeaderText = "710a"; + this.Column11.Name = "Column11"; + this.Column11.Width = 150; + // + // Column12 + // + this.Column12.HeaderText = "710b"; + this.Column12.Name = "Column12"; + this.Column12.Width = 150; + // + // GridView490 + // + this.GridView490.AllowDrop = true; + this.GridView490.AllowUserToResizeRows = false; + this.GridView490.BackgroundColor = System.Drawing.SystemColors.Window; + this.GridView490.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.GridView490.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.text490a, + this.text490v}); + this.GridView490.Location = new System.Drawing.Point(625, 480); + this.GridView490.Name = "GridView490"; + this.GridView490.RowHeadersWidth = 30; + this.GridView490.RowTemplate.Height = 23; + this.GridView490.Size = new System.Drawing.Size(360, 71); + this.GridView490.TabIndex = 247; + // + // text490a + // + this.text490a.HeaderText = "490a"; + this.text490a.Name = "text490a"; + this.text490a.Width = 150; + // + // text490v + // + this.text490v.HeaderText = "490v"; + this.text490v.Name = "text490v"; + this.text490v.Width = 150; + // + // GridView505 + // + this.GridView505.AllowDrop = true; + this.GridView505.AllowUserToResizeRows = false; + this.GridView505.BackgroundColor = System.Drawing.SystemColors.Window; + this.GridView505.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.GridView505.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.text505n, + this.text505t, + this.text505d, + this.text505e}); + this.GridView505.Location = new System.Drawing.Point(7, 611); + this.GridView505.Name = "GridView505"; + this.GridView505.RowHeadersWidth = 30; + this.GridView505.RowTemplate.Height = 23; + this.GridView505.Size = new System.Drawing.Size(410, 71); + this.GridView505.TabIndex = 246; + // + // text505n + // + this.text505n.HeaderText = "505n"; + this.text505n.Name = "text505n"; + this.text505n.Width = 50; + // + // text505t + // + this.text505t.HeaderText = "505t"; + this.text505t.Name = "text505t"; + // + // text505d + // + this.text505d.HeaderText = "505d"; + this.text505d.Name = "text505d"; + // + // text505e + // + this.text505e.HeaderText = "505e"; + this.text505e.Name = "text505e"; + // + // GridView440 + // + this.GridView440.AllowDrop = true; + this.GridView440.AllowUserToResizeRows = false; + this.GridView440.BackgroundColor = System.Drawing.SystemColors.Window; + this.GridView440.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.GridView440.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.text440a, + this.text440n, + this.text440p, + this.text440v, + this.Column13, + this.text440x}); + this.GridView440.Location = new System.Drawing.Point(7, 480); + this.GridView440.Name = "GridView440"; + this.GridView440.RowHeadersWidth = 30; + this.GridView440.RowTemplate.Height = 23; + this.GridView440.Size = new System.Drawing.Size(610, 71); + this.GridView440.TabIndex = 245; + // + // text440a + // + this.text440a.HeaderText = "440a"; + this.text440a.Name = "text440a"; + // + // text440n + // + this.text440n.HeaderText = "440n"; + this.text440n.Name = "text440n"; + this.text440n.Width = 50; + // + // text440p + // + this.text440p.HeaderText = "440p"; + this.text440p.Name = "text440p"; + // + // text440v + // + this.text440v.HeaderText = "440v [숫자]"; + this.text440v.Name = "text440v"; + // + // Column13 + // + this.Column13.HeaderText = "440v [문자]"; + this.Column13.Name = "Column13"; + // + // text440x + // + this.text440x.HeaderText = "440x"; + this.text440x.Name = "text440x"; + // + // GridView246 + // + this.GridView246.AllowDrop = true; + this.GridView246.AllowUserToResizeRows = false; + this.GridView246.BackgroundColor = System.Drawing.SystemColors.Window; + this.GridView246.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.GridView246.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.Column10, + this.Column5, + this.Column6, + this.Column9, + this.Column7, + this.Column8}); + this.GridView246.Location = new System.Drawing.Point(417, 232); + this.GridView246.Name = "GridView246"; + this.GridView246.RowHeadersWidth = 30; + this.GridView246.RowTemplate.Height = 23; + this.GridView246.Size = new System.Drawing.Size(568, 71); + this.GridView246.TabIndex = 250; + // + // Column10 + // + this.Column10.DisplayStyleForCurrentCellOnly = true; + this.Column10.HeaderText = "지시기호"; + this.Column10.Items.AddRange(new object[] { + "A", + "B", + "C", + "D", + "E"}); + this.Column10.Name = "Column10"; + this.Column10.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.Column10.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.Column10.Width = 77; + // + // Column5 + // + this.Column5.HeaderText = "246i"; + this.Column5.Name = "Column5"; + this.Column5.Width = 80; + // + // Column6 + // + this.Column6.HeaderText = "246a"; + this.Column6.Name = "Column6"; + // + // Column9 + // + this.Column9.HeaderText = "246b"; + this.Column9.Name = "Column9"; + // + // Column7 + // + this.Column7.HeaderText = "246n"; + this.Column7.Name = "Column7"; + this.Column7.Width = 50; + // + // Column8 + // + this.Column8.HeaderText = "246p"; + this.Column8.Name = "Column8"; + // + // GridView020 + // + this.GridView020.AllowDrop = true; + this.GridView020.AllowUserToResizeRows = false; + this.GridView020.BackgroundColor = System.Drawing.SystemColors.Window; + this.GridView020.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.GridView020.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.Column4, + this.Column1, + this.Column2, + this.Column3}); + this.GridView020.Location = new System.Drawing.Point(7, 65); + this.GridView020.Name = "GridView020"; + this.GridView020.RowHeadersWidth = 30; + this.GridView020.RowTemplate.Height = 23; + this.GridView020.Size = new System.Drawing.Size(395, 71); + this.GridView020.TabIndex = 244; + // + // Column4 + // + this.Column4.HeaderText = "세트"; + this.Column4.Name = "Column4"; + this.Column4.Width = 35; + // + // Column1 + // + this.Column1.HeaderText = "020a"; + this.Column1.Name = "Column1"; + // + // Column2 + // + this.Column2.HeaderText = "020g"; + this.Column2.Name = "Column2"; + // + // Column3 + // + this.Column3.HeaderText = "020c"; + this.Column3.Name = "Column3"; + // + // comboBox6 + // + this.comboBox6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox6.FormattingEnabled = true; + this.comboBox6.Location = new System.Drawing.Point(574, 37); + this.comboBox6.Name = "comboBox6"; + this.comboBox6.Size = new System.Drawing.Size(101, 20); + this.comboBox6.TabIndex = 237; + // + // comboBox5 + // + this.comboBox5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox5.FormattingEnabled = true; + this.comboBox5.Location = new System.Drawing.Point(428, 37); + this.comboBox5.Name = "comboBox5"; + this.comboBox5.Size = new System.Drawing.Size(101, 20); + this.comboBox5.TabIndex = 238; + // + // comboBox4 + // + this.comboBox4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox4.FormattingEnabled = true; + this.comboBox4.Location = new System.Drawing.Point(310, 37); + this.comboBox4.Name = "comboBox4"; + this.comboBox4.Size = new System.Drawing.Size(79, 20); + this.comboBox4.TabIndex = 239; + // + // comboBox2 + // + this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox2.FormattingEnabled = true; + this.comboBox2.Location = new System.Drawing.Point(358, 8); + this.comboBox2.Name = "comboBox2"; + this.comboBox2.Size = new System.Drawing.Size(79, 20); + this.comboBox2.TabIndex = 243; + // + // label102 + // + this.label102.AutoSize = true; + this.label102.Location = new System.Drawing.Point(544, 41); + this.label102.Name = "label102"; + this.label102.Size = new System.Drawing.Size(29, 12); + this.label102.TabIndex = 231; + this.label102.Text = "언어"; + // + // comboBox7 + // + this.comboBox7.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox7.FormattingEnabled = true; + this.comboBox7.Location = new System.Drawing.Point(633, 8); + this.comboBox7.Name = "comboBox7"; + this.comboBox7.Size = new System.Drawing.Size(118, 20); + this.comboBox7.TabIndex = 241; + // + // comboBox3 + // + this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox3.FormattingEnabled = true; + this.comboBox3.Location = new System.Drawing.Point(514, 8); + this.comboBox3.Name = "comboBox3"; + this.comboBox3.Size = new System.Drawing.Size(118, 20); + this.comboBox3.TabIndex = 240; + // + // label101 + // + this.label101.AutoSize = true; + this.label101.Location = new System.Drawing.Point(398, 41); + this.label101.Name = "label101"; + this.label101.Size = new System.Drawing.Size(29, 12); + this.label101.TabIndex = 228; + this.label101.Text = "전기"; + // + // comboBox1 + // + this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBox1.FormattingEnabled = true; + this.comboBox1.Location = new System.Drawing.Point(215, 8); + this.comboBox1.Name = "comboBox1"; + this.comboBox1.Size = new System.Drawing.Size(79, 20); + this.comboBox1.TabIndex = 242; + // + // label100 + // + this.label100.AutoSize = true; + this.label100.Location = new System.Drawing.Point(259, 41); + this.label100.Name = "label100"; + this.label100.Size = new System.Drawing.Size(53, 12); + this.label100.TabIndex = 229; + this.label100.Text = "문학형식"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(307, 12); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(53, 12); + this.label3.TabIndex = 230; + this.label3.Text = "자료형식"; + // + // col008res + // + this.col008res.AutoSize = true; + this.col008res.ForeColor = System.Drawing.Color.Blue; + this.col008res.Location = new System.Drawing.Point(828, 12); + this.col008res.Name = "col008res"; + this.col008res.Size = new System.Drawing.Size(13, 12); + this.col008res.TabIndex = 234; + this.col008res.Text = " "; + // + // label99 + // + this.label99.AutoSize = true; + this.label99.Location = new System.Drawing.Point(757, 12); + this.label99.Name = "label99"; + this.label99.Size = new System.Drawing.Size(29, 12); + this.label99.TabIndex = 232; + this.label99.Text = "대학"; + // + // gov008res + // + this.gov008res.AutoSize = true; + this.gov008res.ForeColor = System.Drawing.Color.Blue; + this.gov008res.Location = new System.Drawing.Point(757, 41); + this.gov008res.Name = "gov008res"; + this.gov008res.Size = new System.Drawing.Size(13, 12); + this.gov008res.TabIndex = 233; + this.gov008res.Text = " "; + // + // label103 + // + this.label103.AutoSize = true; + this.label103.Location = new System.Drawing.Point(685, 41); + this.label103.Name = "label103"; + this.label103.Size = new System.Drawing.Size(29, 12); + this.label103.TabIndex = 235; + this.label103.Text = "기관"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(174, 12); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(41, 12); + this.label2.TabIndex = 236; + this.label2.Text = "이용자"; + // + // text008col + // + this.text008col.Location = new System.Drawing.Point(786, 8); + this.text008col.Name = "text008col"; + this.text008col.Size = new System.Drawing.Size(41, 21); + this.text008col.TabIndex = 227; + // + // text008gov + // + this.text008gov.Location = new System.Drawing.Point(714, 37); + this.text008gov.Name = "text008gov"; + this.text008gov.Size = new System.Drawing.Size(41, 21); + this.text008gov.TabIndex = 226; + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(60, 8); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(100, 21); + this.textBox1.TabIndex = 225; + // + // button3 + // + this.button3.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.button3.Location = new System.Drawing.Point(943, 107); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(42, 101); + this.button3.TabIndex = 217; + this.button3.Text = "<<"; + this.button3.UseVisualStyleBackColor = true; + // + // button2 + // + this.button2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.button2.Location = new System.Drawing.Point(943, 0); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(42, 101); + this.button2.TabIndex = 218; + this.button2.Text = ">>"; + this.button2.UseVisualStyleBackColor = true; + // + // richTextBox3 + // + this.richTextBox3.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.richTextBox3.Location = new System.Drawing.Point(991, 614); + this.richTextBox3.Name = "richTextBox3"; + this.richTextBox3.Size = new System.Drawing.Size(284, 120); + this.richTextBox3.TabIndex = 222; + this.richTextBox3.Text = "Remark2"; + // + // richTextBox2 + // + this.richTextBox2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.richTextBox2.Location = new System.Drawing.Point(991, 488); + this.richTextBox2.Name = "richTextBox2"; + this.richTextBox2.Size = new System.Drawing.Size(284, 120); + this.richTextBox2.TabIndex = 224; + this.richTextBox2.Text = "Remark1"; + // + // richTextBox1 + // + this.richTextBox1.AcceptsTab = true; + this.richTextBox1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.richTextBox1.Location = new System.Drawing.Point(991, 0); + this.richTextBox1.Name = "richTextBox1"; + this.richTextBox1.Size = new System.Drawing.Size(284, 482); + this.richTextBox1.TabIndex = 223; + this.richTextBox1.Text = "메모장"; + // + // label98 + // + this.label98.AutoSize = true; + this.label98.Location = new System.Drawing.Point(460, 12); + this.label98.Name = "label98"; + this.label98.Size = new System.Drawing.Size(53, 12); + this.label98.TabIndex = 221; + this.label98.Text = "내용형식"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(103, 383); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(29, 12); + this.label5.TabIndex = 220; + this.label5.Text = "링크"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(5, 12); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(53, 12); + this.label1.TabIndex = 219; + this.label1.Text = "입력일자"; + // + // Marc_FillBlank + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1282, 740); + this.Controls.Add(this.Btn_interlock); + this.Controls.Add(this.Btn_Helper); + this.Controls.Add(this.panel1); + this.Controls.Add(this.checkBox2); + this.Controls.Add(this.checkBox1); + this.Controls.Add(this.text940a); + this.Controls.Add(this.text507a); + this.Controls.Add(this.text250a); + this.Controls.Add(this.text245p); + this.Controls.Add(this.text245e); + this.Controls.Add(this.text500a); + this.Controls.Add(this.text653a); + this.Controls.Add(this.text900a); + this.Controls.Add(this.text525a); + this.Controls.Add(this.text700a); + this.Controls.Add(this.text245d); + this.Controls.Add(this.text245n); + this.Controls.Add(this.text245x); + this.Controls.Add(this.text245b); + this.Controls.Add(this.text245a); + this.Controls.Add(this.textDDC23); + this.Controls.Add(this.textDDC22); + this.Controls.Add(this.textDDC21); + this.Controls.Add(this.text260g); + this.Controls.Add(this.text260c); + this.Controls.Add(this.text260b); + this.Controls.Add(this.text521a); + this.Controls.Add(this.text520a); + this.Controls.Add(this.text586a); + this.Controls.Add(this.text650a); + this.Controls.Add(this.text536a); + this.Controls.Add(this.text505a); + this.Controls.Add(this.text300e); + this.Controls.Add(this.text300b); + this.Controls.Add(this.text504a); + this.Controls.Add(this.text300c2); + this.Controls.Add(this.text300c1); + this.Controls.Add(this.text300a); + this.Controls.Add(this.text260a); + this.Controls.Add(this.textKDC6); + this.Controls.Add(this.textKDC5); + this.Controls.Add(this.textKDC4); + this.Controls.Add(this.text546a); + this.Controls.Add(this.text041k); + this.Controls.Add(this.text041h); + this.Controls.Add(this.text041b); + this.Controls.Add(this.text041a); + this.Controls.Add(this.GridView910); + this.Controls.Add(this.GridView710); + this.Controls.Add(this.GridView490); + this.Controls.Add(this.GridView505); + this.Controls.Add(this.GridView440); + this.Controls.Add(this.GridView246); + this.Controls.Add(this.GridView020); + this.Controls.Add(this.comboBox6); + this.Controls.Add(this.comboBox5); + this.Controls.Add(this.comboBox4); + this.Controls.Add(this.comboBox2); + this.Controls.Add(this.label102); + this.Controls.Add(this.comboBox7); + this.Controls.Add(this.comboBox3); + this.Controls.Add(this.label101); + this.Controls.Add(this.comboBox1); + this.Controls.Add(this.label100); + this.Controls.Add(this.label3); + this.Controls.Add(this.col008res); + this.Controls.Add(this.label99); + this.Controls.Add(this.gov008res); + this.Controls.Add(this.label103); + this.Controls.Add(this.label2); + this.Controls.Add(this.text008col); + this.Controls.Add(this.text008gov); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.button3); + this.Controls.Add(this.button2); + this.Controls.Add(this.richTextBox3); + this.Controls.Add(this.richTextBox2); + this.Controls.Add(this.richTextBox1); + this.Controls.Add(this.label98); + this.Controls.Add(this.label5); + this.Controls.Add(this.label1); + this.Name = "Marc_FillBlank"; + this.Text = "칸채우기"; + this.Load += new System.EventHandler(this.Marc_FillBlank_Load); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.GridView910)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.GridView710)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.GridView490)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.GridView505)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.GridView440)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.GridView246)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.GridView020)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Button Btn_interlock; + private System.Windows.Forms.Button Btn_Helper; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.RadioButton radioButton4; + private System.Windows.Forms.CheckBox invertCheck; + private System.Windows.Forms.RadioButton radioButton3; + private System.Windows.Forms.RadioButton radioButton2; + private System.Windows.Forms.RadioButton radioButton1; + private System.Windows.Forms.TextBox basicHeadBox; + private System.Windows.Forms.CheckBox checkBox2; + private System.Windows.Forms.CheckBox checkBox1; + private System.Windows.Forms.TextBox text940a; + private System.Windows.Forms.TextBox text507a; + private System.Windows.Forms.TextBox text250a; + private System.Windows.Forms.TextBox text245p; + private System.Windows.Forms.TextBox text245e; + private System.Windows.Forms.TextBox text500a; + private System.Windows.Forms.TextBox text653a; + private System.Windows.Forms.TextBox text900a; + private System.Windows.Forms.TextBox text525a; + private System.Windows.Forms.TextBox text700a; + private System.Windows.Forms.TextBox text245d; + private System.Windows.Forms.TextBox text245n; + private System.Windows.Forms.TextBox text245x; + private System.Windows.Forms.TextBox text245b; + private System.Windows.Forms.TextBox text245a; + private System.Windows.Forms.TextBox textDDC23; + private System.Windows.Forms.TextBox textDDC22; + private System.Windows.Forms.TextBox textDDC21; + private System.Windows.Forms.TextBox text260g; + private System.Windows.Forms.TextBox text260c; + private System.Windows.Forms.TextBox text260b; + private System.Windows.Forms.TextBox text521a; + private System.Windows.Forms.TextBox text520a; + private System.Windows.Forms.TextBox text586a; + private System.Windows.Forms.TextBox text650a; + private System.Windows.Forms.TextBox text536a; + private System.Windows.Forms.TextBox text505a; + private System.Windows.Forms.TextBox text300e; + private System.Windows.Forms.TextBox text300b; + private System.Windows.Forms.TextBox text504a; + private System.Windows.Forms.TextBox text300c2; + private System.Windows.Forms.TextBox text300c1; + private System.Windows.Forms.TextBox text300a; + private System.Windows.Forms.TextBox text260a; + private System.Windows.Forms.TextBox textKDC6; + private System.Windows.Forms.TextBox textKDC5; + private System.Windows.Forms.TextBox textKDC4; + private System.Windows.Forms.TextBox text546a; + private System.Windows.Forms.TextBox text041k; + private System.Windows.Forms.TextBox text041h; + private System.Windows.Forms.TextBox text041b; + private System.Windows.Forms.TextBox text041a; + private System.Windows.Forms.DataGridView GridView910; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; + private System.Windows.Forms.DataGridView GridView710; + private System.Windows.Forms.DataGridViewTextBoxColumn Column11; + private System.Windows.Forms.DataGridViewTextBoxColumn Column12; + private System.Windows.Forms.DataGridView GridView490; + private System.Windows.Forms.DataGridViewTextBoxColumn text490a; + private System.Windows.Forms.DataGridViewTextBoxColumn text490v; + private System.Windows.Forms.DataGridView GridView505; + private System.Windows.Forms.DataGridViewTextBoxColumn text505n; + private System.Windows.Forms.DataGridViewTextBoxColumn text505t; + private System.Windows.Forms.DataGridViewTextBoxColumn text505d; + private System.Windows.Forms.DataGridViewTextBoxColumn text505e; + private System.Windows.Forms.DataGridView GridView440; + private System.Windows.Forms.DataGridViewTextBoxColumn text440a; + private System.Windows.Forms.DataGridViewTextBoxColumn text440n; + private System.Windows.Forms.DataGridViewTextBoxColumn text440p; + private System.Windows.Forms.DataGridViewTextBoxColumn text440v; + private System.Windows.Forms.DataGridViewTextBoxColumn Column13; + private System.Windows.Forms.DataGridViewTextBoxColumn text440x; + private System.Windows.Forms.DataGridView GridView246; + private System.Windows.Forms.DataGridViewComboBoxColumn Column10; + private System.Windows.Forms.DataGridViewTextBoxColumn Column5; + private System.Windows.Forms.DataGridViewTextBoxColumn Column6; + private System.Windows.Forms.DataGridViewTextBoxColumn Column9; + private System.Windows.Forms.DataGridViewTextBoxColumn Column7; + private System.Windows.Forms.DataGridViewTextBoxColumn Column8; + private System.Windows.Forms.DataGridView GridView020; + private System.Windows.Forms.DataGridViewCheckBoxColumn Column4; + private System.Windows.Forms.DataGridViewTextBoxColumn Column1; + private System.Windows.Forms.DataGridViewTextBoxColumn Column2; + private System.Windows.Forms.DataGridViewTextBoxColumn Column3; + private System.Windows.Forms.ComboBox comboBox6; + private System.Windows.Forms.ComboBox comboBox5; + private System.Windows.Forms.ComboBox comboBox4; + private System.Windows.Forms.ComboBox comboBox2; + private System.Windows.Forms.Label label102; + private System.Windows.Forms.ComboBox comboBox7; + private System.Windows.Forms.ComboBox comboBox3; + private System.Windows.Forms.Label label101; + private System.Windows.Forms.ComboBox comboBox1; + private System.Windows.Forms.Label label100; + private System.Windows.Forms.Label label3; + public System.Windows.Forms.Label col008res; + private System.Windows.Forms.Label label99; + public System.Windows.Forms.Label gov008res; + private System.Windows.Forms.Label label103; + private System.Windows.Forms.Label label2; + public System.Windows.Forms.TextBox text008col; + public System.Windows.Forms.TextBox text008gov; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Button button3; + private System.Windows.Forms.Button button2; + public System.Windows.Forms.RichTextBox richTextBox3; + public System.Windows.Forms.RichTextBox richTextBox2; + public System.Windows.Forms.RichTextBox richTextBox1; + private System.Windows.Forms.Label label98; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.Label label1; + } +} \ No newline at end of file diff --git a/unimarc/unimarc/Marc_FillBlank.cs b/unimarc/unimarc/Marc_FillBlank.cs new file mode 100644 index 0000000..c01aa17 --- /dev/null +++ b/unimarc/unimarc/Marc_FillBlank.cs @@ -0,0 +1,25 @@ +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; + +namespace UniMarc +{ + public partial class Marc_FillBlank : Form + { + public Marc_FillBlank() + { + InitializeComponent(); + } + + private void Marc_FillBlank_Load(object sender, EventArgs e) + { + + } + } +} diff --git a/unimarc/unimarc/Marc_FillBlank.resx b/unimarc/unimarc/Marc_FillBlank.resx new file mode 100644 index 0000000..5701eb9 --- /dev/null +++ b/unimarc/unimarc/Marc_FillBlank.resx @@ -0,0 +1,276 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + \ No newline at end of file diff --git a/unimarc/unimarc/UniMarc.csproj b/unimarc/unimarc/UniMarc.csproj index da7f836..6829937 100644 --- a/unimarc/unimarc/UniMarc.csproj +++ b/unimarc/unimarc/UniMarc.csproj @@ -96,6 +96,12 @@ True Reference.svcmap + + Form + + + Marc_FillBlank.cs + Form @@ -699,6 +705,9 @@ Work_Log.cs + + Marc_FillBlank.cs + Bring_Back.cs diff --git a/unimarc/unimarc/bin/Debug/UniMarc.exe b/unimarc/unimarc/bin/Debug/UniMarc.exe index 79c03d0..1de46bb 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 6f810c8..c08b8b1 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 d3d8688..b315b29 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/DesignTimeResolveAssemblyReferences.cache b/unimarc/unimarc/obj/Debug/DesignTimeResolveAssemblyReferences.cache index 9a21dab..d142153 100644 Binary files a/unimarc/unimarc/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/unimarc/unimarc/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/unimarc/unimarc/obj/Debug/ExcelTest.Marc.resources b/unimarc/unimarc/obj/Debug/ExcelTest.Marc.resources index 6c05a97..dc21949 100644 Binary files a/unimarc/unimarc/obj/Debug/ExcelTest.Marc.resources and b/unimarc/unimarc/obj/Debug/ExcelTest.Marc.resources differ diff --git a/unimarc/unimarc/obj/Debug/Interop.SHDocVw.dll b/unimarc/unimarc/obj/Debug/Interop.SHDocVw.dll index b6f07a8..9559932 100644 Binary files a/unimarc/unimarc/obj/Debug/Interop.SHDocVw.dll and b/unimarc/unimarc/obj/Debug/Interop.SHDocVw.dll differ diff --git a/unimarc/unimarc/obj/Debug/UniMarc.Marc_FillBlank.resources b/unimarc/unimarc/obj/Debug/UniMarc.Marc_FillBlank.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/unimarc/unimarc/obj/Debug/UniMarc.Marc_FillBlank.resources differ diff --git a/unimarc/unimarc/obj/Debug/UniMarc.csproj.CoreCompileInputs.cache b/unimarc/unimarc/obj/Debug/UniMarc.csproj.CoreCompileInputs.cache index 94ec0aa..8d736f3 100644 --- a/unimarc/unimarc/obj/Debug/UniMarc.csproj.CoreCompileInputs.cache +++ b/unimarc/unimarc/obj/Debug/UniMarc.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -01f4ac01b639d352c1b8aaaec11c6204688f1d5e +02c13c381324ee7c969ccf6c53a55e2b4d05469e diff --git a/unimarc/unimarc/obj/Debug/UniMarc.csproj.FileListAbsolute.txt b/unimarc/unimarc/obj/Debug/UniMarc.csproj.FileListAbsolute.txt index b1091bd..2dac21b 100644 --- a/unimarc/unimarc/obj/Debug/UniMarc.csproj.FileListAbsolute.txt +++ b/unimarc/unimarc/obj/Debug/UniMarc.csproj.FileListAbsolute.txt @@ -129,3 +129,4 @@ C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크. C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Check_Copy_Sub_List.resources C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\Interop.SHDocVw.dll C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.DLS_Manage.resources +C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.Marc_FillBlank.resources diff --git a/unimarc/unimarc/obj/Debug/UniMarc.csproj.GenerateResource.cache b/unimarc/unimarc/obj/Debug/UniMarc.csproj.GenerateResource.cache index 4368017..b32e0f8 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.csproj.ResolveComReference.cache b/unimarc/unimarc/obj/Debug/UniMarc.csproj.ResolveComReference.cache index 8f17535..6ae33f9 100644 Binary files a/unimarc/unimarc/obj/Debug/UniMarc.csproj.ResolveComReference.cache and b/unimarc/unimarc/obj/Debug/UniMarc.csproj.ResolveComReference.cache differ diff --git a/unimarc/unimarc/obj/Debug/UniMarc.exe b/unimarc/unimarc/obj/Debug/UniMarc.exe index 79c03d0..1de46bb 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 6f810c8..c08b8b1 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/ko/UniMarc.resources.dll b/unimarc/unimarc/obj/Debug/ko/UniMarc.resources.dll index d3d8688..b315b29 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/납품관리/Commodity_Search.Designer.cs b/unimarc/unimarc/납품관리/Commodity_Search.Designer.cs index 485cf90..b9c990b 100644 --- a/unimarc/unimarc/납품관리/Commodity_Search.Designer.cs +++ b/unimarc/unimarc/납품관리/Commodity_Search.Designer.cs @@ -35,6 +35,9 @@ this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.DLS_Area = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.DLS_ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.DLS_PW = new System.Windows.Forms.DataGridViewTextBoxColumn(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.SuspendLayout(); // @@ -56,7 +59,10 @@ this.Column2, this.Column3, this.Column4, - this.Column5}); + this.Column5, + this.DLS_Area, + this.DLS_ID, + this.DLS_PW}); this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; this.dataGridView1.Location = new System.Drawing.Point(0, 0); @@ -101,6 +107,21 @@ this.Column5.Name = "Column5"; this.Column5.ReadOnly = true; // + // DLS_Area + // + this.DLS_Area.HeaderText = "DLS_지역"; + this.DLS_Area.Name = "DLS_Area"; + // + // DLS_ID + // + this.DLS_ID.HeaderText = "DLS_ID"; + this.DLS_ID.Name = "DLS_ID"; + // + // DLS_PW + // + this.DLS_PW.HeaderText = "DLS_PW"; + this.DLS_PW.Name = "DLS_PW"; + // // Commodity_Search // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); @@ -124,5 +145,8 @@ private System.Windows.Forms.DataGridViewTextBoxColumn Column3; private System.Windows.Forms.DataGridViewTextBoxColumn Column4; private System.Windows.Forms.DataGridViewTextBoxColumn Column5; + private System.Windows.Forms.DataGridViewTextBoxColumn DLS_Area; + private System.Windows.Forms.DataGridViewTextBoxColumn DLS_ID; + private System.Windows.Forms.DataGridViewTextBoxColumn DLS_PW; } } \ No newline at end of file diff --git a/unimarc/unimarc/납품관리/Commodity_Search.cs b/unimarc/unimarc/납품관리/Commodity_Search.cs index 4f9e9a5..cbf1374 100644 --- a/unimarc/unimarc/납품관리/Commodity_Search.cs +++ b/unimarc/unimarc/납품관리/Commodity_Search.cs @@ -24,6 +24,7 @@ namespace WindowsFormsApp1.Delivery Sales_Lookup sb; Sales_In_Pay sip; List_Lookup ll; + Mac.DLS_Copy dc; public Commodity_Search(Purchase _pur) { InitializeComponent(); @@ -64,6 +65,11 @@ namespace WindowsFormsApp1.Delivery InitializeComponent(); ll = _ll; } + public Commodity_Search(Mac.DLS_Copy _dc) + { + InitializeComponent(); + dc = _dc; + } #region 거래처 가져오는 폼의 코드 @@ -71,19 +77,22 @@ namespace WindowsFormsApp1.Delivery { string compidx = Set_compidx(); Helper_DB db = new Helper_DB(); - string Area = "`c_sangho`, `c_boss`, `c_tel`, `c_man`, `c_mantel`"; + string Area = "`c_sangho`, `c_boss`, `c_tel`, `c_man`, `c_mantel`, `c_dlsArea`, `c_dlsID`, `c_dlsPW`"; db.DBcon(); string dbcmd = db.DB_Contains("Client", compidx, "c_sangho", Clinet_name, Area); string dbcon = db.DB_Send_CMD_Search(dbcmd); string[] res = dbcon.Split('|'); - string[] grid = { "", "", "", "", "" }; + string[] grid = { "", "", "", "", "", "", "", "" }; for(int a = 0; a < res.Length; a++) { - if (a % 5 == 0) { grid[0] = res[a]; } - if (a % 5 == 1) { grid[1] = res[a]; } - if (a % 5 == 2) { grid[2] = res[a]; } - if (a % 5 == 3) { grid[3] = res[a]; } - if (a % 5 == 4) { grid[4] = res[a]; + if (a % 8 == 0) { grid[0] = res[a]; } + if (a % 8 == 1) { grid[1] = res[a]; } + if (a % 8 == 2) { grid[2] = res[a]; } + if (a % 8 == 3) { grid[3] = res[a]; } + if (a % 8 == 4) { grid[4] = res[a]; } + if (a % 8 == 5) { grid[5] = res[a]; } + if (a % 8 == 6) { grid[6] = res[a]; } + if (a % 8 == 7) { grid[7] = res[a]; dataGridView1.Rows.Add(grid); } } @@ -142,9 +151,16 @@ namespace WindowsFormsApp1.Delivery if (sb != null) { sb.tb_clt.Text = ""; compidx = sb.compidx; } if (sip != null) { sip.tb_clt.Text = ""; compidx = sip.compidx; } if (ll != null) { ll.tb_clt.Text = ""; compidx = ll.compidx; } + if (dc != null) { dc.tb_SearchClient.Text = ""; compidx = dc.compidx; } return compidx; } + + /// + /// 검색결과 원하는 창에 표출 + /// + /// 검색 결과 + /// 선택 인덱스 private void Set_data(string value, int idx) { if (edit != null) { edit.New_Clit.Text = value; } @@ -155,6 +171,13 @@ namespace WindowsFormsApp1.Delivery if (sb != null) { sb.tb_clt.Text = value; sb.btn_Lookup_Click(null, null); } if (sip != null) { sip.tb_clt.Text = value; } if (ll != null) { ll.tb_clt.Text = value; } + if (dc != null) { + dc.tb_SearchClient.Text = value; + dc.lbl_Client.Text = value; + dc.lbl_ID.Text = dataGridView1.Rows[idx].Cells["DLS_ID"].Value.ToString(); + dc.lbl_PW.Text = dataGridView1.Rows[idx].Cells["DLS_PW"].Value.ToString(); + dc.lbl_Area.Text = dataGridView1.Rows[idx].Cells["DLS_Area"].Value.ToString(); + } } } } diff --git a/unimarc/unimarc/납품관리/Commodity_Search.resx b/unimarc/unimarc/납품관리/Commodity_Search.resx index f876335..00b151e 100644 --- a/unimarc/unimarc/납품관리/Commodity_Search.resx +++ b/unimarc/unimarc/납품관리/Commodity_Search.resx @@ -132,4 +132,13 @@ True + + True + + + True + + + True + \ No newline at end of file diff --git a/unimarc/unimarc/납품관리/List_Lookup.Designer.cs b/unimarc/unimarc/납품관리/List_Lookup.Designer.cs index 11c1716..bd93f4d 100644 --- a/unimarc/unimarc/납품관리/List_Lookup.Designer.cs +++ b/unimarc/unimarc/납품관리/List_Lookup.Designer.cs @@ -28,13 +28,13 @@ /// private void InitializeComponent() { - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + 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.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(List_Lookup)); this.label1 = new System.Windows.Forms.Label(); - this.cb_list = new System.Windows.Forms.ComboBox(); + this.cb_stat = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.cb_search = new System.Windows.Forms.ComboBox(); this.tb_search = new System.Windows.Forms.TextBox(); @@ -77,9 +77,10 @@ this.lbl_pay = new System.Windows.Forms.Label(); this.lbl_count = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); - this.printDialog1 = new System.Windows.Forms.PrintDialog(); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); + this.button1 = new System.Windows.Forms.Button(); + this.printDialog1 = new System.Windows.Forms.PrintDialog(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); @@ -96,15 +97,15 @@ this.label1.TabIndex = 0; this.label1.Text = "목록"; // - // cb_list + // cb_stat // - this.cb_list.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_list.FormattingEnabled = true; - this.cb_list.Location = new System.Drawing.Point(35, 6); - this.cb_list.Name = "cb_list"; - this.cb_list.Size = new System.Drawing.Size(58, 20); - this.cb_list.TabIndex = 1; - this.cb_list.SelectedIndexChanged += new System.EventHandler(this.cb_list_SelectedIndexChanged); + this.cb_stat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_stat.FormattingEnabled = true; + this.cb_stat.Location = new System.Drawing.Point(35, 6); + this.cb_stat.Name = "cb_stat"; + this.cb_stat.Size = new System.Drawing.Size(58, 20); + this.cb_stat.TabIndex = 1; + this.cb_stat.SelectedIndexChanged += new System.EventHandler(this.cb_list_SelectedIndexChanged); // // label2 // @@ -135,7 +136,7 @@ // panel1 // this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel1.Controls.Add(this.cb_list); + this.panel1.Controls.Add(this.cb_stat); this.panel1.Controls.Add(this.tb_search); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.cb_search); @@ -312,14 +313,14 @@ // this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.AllowUserToDeleteRows = false; - dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; + dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle5.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5; this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.idx, @@ -337,31 +338,31 @@ this.order, this.Column2, this.Column3}); - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle2; + dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle6.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle6; this.dataGridView1.Location = new System.Drawing.Point(10, 80); this.dataGridView1.Name = "dataGridView1"; - 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.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; + dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle7.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle7; this.dataGridView1.RowHeadersVisible = false; this.dataGridView1.RowHeadersWidth = 21; - dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle4; + dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle8; this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; - this.dataGridView1.Size = new System.Drawing.Size(1206, 371); + this.dataGridView1.Size = new System.Drawing.Size(1206, 547); this.dataGridView1.TabIndex = 8; this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick); // @@ -463,7 +464,7 @@ this.panel4.Controls.Add(this.lbl_pay); this.panel4.Controls.Add(this.lbl_count); this.panel4.Controls.Add(this.label11); - this.panel4.Location = new System.Drawing.Point(10, 457); + this.panel4.Location = new System.Drawing.Point(10, 633); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(1206, 26); this.panel4.TabIndex = 9; @@ -508,13 +509,9 @@ this.label11.TabIndex = 0; this.label11.Text = "목록 총 합계"; // - // printDialog1 - // - this.printDialog1.UseEXDialog = true; - // // printDocument1 // - this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); + this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_tempPage); // // printPreviewDialog1 // @@ -526,11 +523,26 @@ this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Visible = false; // + // button1 + // + this.button1.Location = new System.Drawing.Point(898, 51); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(75, 23); + this.button1.TabIndex = 10; + this.button1.Text = "button1"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // printDialog1 + // + this.printDialog1.UseEXDialog = true; + // // List_Lookup // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1229, 494); + this.ClientSize = new System.Drawing.Size(1229, 671); + this.Controls.Add(this.button1); this.Controls.Add(this.panel4); this.Controls.Add(this.dataGridView1); this.Controls.Add(this.panel3); @@ -558,7 +570,7 @@ #endregion private System.Windows.Forms.Label label1; - private System.Windows.Forms.ComboBox cb_list; + private System.Windows.Forms.ComboBox cb_stat; private System.Windows.Forms.Label label2; private System.Windows.Forms.ComboBox cb_search; private System.Windows.Forms.TextBox tb_search; @@ -585,7 +597,6 @@ private System.Windows.Forms.Label lbl_pay; private System.Windows.Forms.Label lbl_count; private System.Windows.Forms.Label label11; - private System.Windows.Forms.PrintDialog printDialog1; private System.Drawing.Printing.PrintDocument printDocument1; private System.Windows.Forms.PrintPreviewDialog printPreviewDialog1; private System.Windows.Forms.DataGridViewTextBoxColumn idx; @@ -604,5 +615,7 @@ private System.Windows.Forms.DataGridViewTextBoxColumn Column2; private System.Windows.Forms.DataGridViewTextBoxColumn Column3; public System.Windows.Forms.TextBox tb_clt; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.PrintDialog printDialog1; } } \ No newline at end of file diff --git a/unimarc/unimarc/납품관리/List_Lookup.cs b/unimarc/unimarc/납품관리/List_Lookup.cs index 961b770..38b2372 100644 --- a/unimarc/unimarc/납품관리/List_Lookup.cs +++ b/unimarc/unimarc/납품관리/List_Lookup.cs @@ -17,7 +17,6 @@ namespace WindowsFormsApp1.Delivery Helper_DB db = new Helper_DB(); List_aggregation list_a; Main main; - string form_call; public string call_base; public int grididx; public string compidx; @@ -29,22 +28,20 @@ namespace WindowsFormsApp1.Delivery { InitializeComponent(); list_a = list_ag; - form_call = "list_a"; compidx = list_a.compidx; } public List_Lookup(Main _main) { InitializeComponent(); main = _main; - form_call = "main"; compidx = main.com_idx; } private void List_Lookup_Load(object sender, EventArgs e) { db.DBcon(); string[] combo_list = { "진행", "완료" }; - cb_list.Items.AddRange(combo_list); - cb_list.SelectedIndex = 0; + cb_stat.Items.AddRange(combo_list); + cb_stat.SelectedIndex = 0; string[] combo_search = { "도서명", "출판사" }; cb_search.Items.AddRange(combo_search); @@ -84,21 +81,22 @@ namespace WindowsFormsApp1.Delivery } #endregion int cnt = 0, pageNo = 1; + PrinterSettings ps = new PrinterSettings(); private void btn_print_Click(object sender, EventArgs e) // 인쇄 기능 { - PrinterSettings ps = new PrinterSettings(); - ps.FromPage = 12; - ps.PrintRange = PrintRange.CurrentPage; - ps.ToPage = 13; - + if (dataGridView1.Rows.Count < 1) + { + MessageBox.Show("인쇄할 목록이 없습니다!"); + return; + } // 여백 설정 printDocument1.DefaultPageSettings.Margins.Top = 10; printDocument1.DefaultPageSettings.Margins.Left = 10; printDocument1.DefaultPageSettings.Margins.Right = 10; printDocument1.DefaultPageSettings.Margins.Bottom = 10; - // 용지 방향 - printDocument1.DefaultPageSettings.Landscape = true; // 가로(true), 세로(false) + // 용지 방향 가로(true), 세로(false) + printDocument1.DefaultPageSettings.Landscape = true; // 용지 크기 printDocument1.DefaultPageSettings.PaperSize = @@ -114,11 +112,126 @@ namespace WindowsFormsApp1.Delivery pageNo = 1; } } + + private void button1_Click(object sender, EventArgs e) + { + string x = ps.DefaultPageSettings.PrintableArea.ToString(); + string y = ps.DefaultPageSettings.PrintableArea.ToString(); + string landscape = ps.DefaultPageSettings.Landscape.ToString(); + string size = ps.DefaultPageSettings.PaperSize.ToString(); + + string msg = string.Format("x:{0}\n, y:{1}\n, 가로:{2}\n, 사이즈:{3}\n", x, y, landscape, size); + MessageBox.Show(msg); + } + + private void printDocument1_tempPage(object sender, PrintPageEventArgs e) + { + PrintGrid(dataGridView1, e); + cnt = 0; + pageNo = 1; + } + + private void PrintGrid(DataGridView gridView, PrintPageEventArgs e) + { + Graphics g = e.Graphics; + + // 페이지 전체넓이 printPreviewDialog.Width + int dialogWidth = 528; + + // 컬럼 안에 있는 값들 가운데로 정렬하기 위해 선언 + StringFormat sf = new StringFormat(); + sf.Alignment = StringAlignment.Center; + + // 시작점 위치, datagrid 1개의 컬럼 가로길이 + int width, width1; + + // 시작점 x좌표 + int startWidth = 10; + // 시작점 y좌표 + int startHeight = 140; + + // datagrid 1개의 컬럼 하나의 높이 + int avgHeight = gridView.Rows[0].Height; + + int temp = 0; // row개수 세어줄 것. cnt역할. + + g.DrawString("목록 조회", new Font("Arial", 20, FontStyle.Bold), Brushes.Black, dialogWidth / 2, 40); + g.DrawString("인쇄일: " + DateTime.Now.ToString("yyyy/MM/dd"), new Font("Arial", 13), Brushes.Black, dialogWidth - 20, 80); + g.DrawString("페이지번호: " + pageNo, new Font("Arial", 13), Brushes.Black, dialogWidth - 20, 100); + + for (int a = 0; a < gridView.ColumnCount; a++) // columnCount는 일정 + { + if (!gridView.Columns[a].Visible) { continue; } + if (a == 0) + { + width = 0; + width1 = gridView.Columns[a].Width + 15; + } + else if (a >= 1 && a < gridView.ColumnCount - 1) + { + width = gridView.Columns[a - 1].Width + 15; + width1 = gridView.Columns[a].Width + 15; + } + else + { + width = gridView.Columns[a - 1].Width + 15; + width1 = gridView.Columns[a].Width + 40; + } + RectangleF drawRect = new RectangleF((float)(startWidth + width) / 4 * 3, + (float)startHeight, (float)width1 / 4 * 3, avgHeight); + g.DrawRectangle(Pens.Black, (float)(startWidth + width) / 4 * 3, + (float)startHeight, (float)width1 / 4 * 3, avgHeight); + g.DrawString(gridView.Columns[a].HeaderText, + new Font("Arial", 12, FontStyle.Bold), Brushes.Black, drawRect, sf); + startWidth += width; + } + startHeight += avgHeight; + + for (int a = cnt; a < gridView.RowCount; a++) + { + startWidth = 10; + for (int b = 0; b < gridView.ColumnCount; b++) + { + if (!gridView.Columns[b].Visible) { continue; } + if (b == 0) + { + width = 0; + width1 = gridView.Columns[b].Width + 15; + } + else if (b >= 1 && b <= gridView.ColumnCount - 2) + { + width = gridView.Columns[b - 1].Width + 15; + width1 = gridView.Columns[b].Width + 15; + } + else + { + width = gridView.Columns[b - 1].Width + 15; + width1 = gridView.Columns[b].Width + 40; + } + if (b == 2) { sf.LineAlignment = StringAlignment.Near; } + else { sf.LineAlignment = StringAlignment.Center; } + RectangleF drawRect = new RectangleF((float)(startWidth + width) / 4 * 3, + (float)startHeight, (float)width1 / 4 * 3, avgHeight); + g.DrawRectangle(Pens.Black, (float)(startWidth + width) / 4 * 3, + (float)startHeight, (float)width1 / 4 * 3, avgHeight); + g.DrawString(gridView.Rows[a].Cells[b].FormattedValue.ToString(), + new Font("Arial", 7), Brushes.Black, drawRect, sf); + startWidth += width; + } + startHeight += avgHeight; + temp++; + cnt++; + + if (temp % 23 == 0) + { + e.HasMorePages = true; + pageNo++; + return; + } + } + } private void printDocument1_PrintPage(object sender, PrintPageEventArgs e) { - if (dataGridView1.Rows.Count < 1) { - MessageBox.Show("인쇄할 목록이 없습니다!"); - return; } int dialogWidth = 528; // 페이지 전체 넓이 StringFormat sf = new StringFormat(); @@ -132,9 +245,11 @@ namespace WindowsFormsApp1.Delivery int avgHeight = dataGridView1.Rows[0].Height; // girdview 컬럼 하나의 높이 int temp = 0; // row 개수 세어줄 것. cnt의 역할 avgHeight = avgHeight / 3 * 4; + e.Graphics.DrawString("목록 조회", new Font("Arial", 20, FontStyle.Bold), Brushes.Black, dialogWidth / 2, 40); e.Graphics.DrawString("인쇄일: " + DateTime.Now.ToString("yyyy/MM/dd"), new Font("Arial", 13), Brushes.Black, dialogWidth - 20, 80); e.Graphics.DrawString("페이지번호: " + pageNo, new Font("Arial", 13), Brushes.Black, dialogWidth - 20, 100); + for(int a = 0; a < dataGridView1.ColumnCount; a++) // columnCount는 일정 { if (!dataGridView1.Columns[a].Visible) { continue; } @@ -213,12 +328,7 @@ namespace WindowsFormsApp1.Delivery private void mk_grid() { dataGridView1.Rows.Clear(); - string list = cb_list_name.Text; - string area = "`idx`, `header`, `num`, `book_name`, `author`, `book_comp`, " + - "`count`, `pay`, `total`, `stat`, `etc`, " + - "`list_name`, `order`, `import`, `export`, `set_book_name`"; - string cmd = db.DB_Select_Search(area, "Obj_List_Book", "compidx", compidx); - string db_res = db.DB_Send_CMD_Search(cmd); + string db_res = db.DB_Send_CMD_Search(QueryFilter()); string[] data = db_res.Split('|'); string[] mkgrid = { "", "", "", "", "", "", "", "", "", "", @@ -246,13 +356,59 @@ namespace WindowsFormsApp1.Delivery if (data[a] != "") // 세트분할도서 미표시 continue; - if (filter(mkgrid)) - { - dataGridView1.Rows.Add(mkgrid); - } + dataGridView1.Rows.Add(mkgrid); + // if (filter(mkgrid)) + } } } + private string QueryFilter() + { + string[] ary_where = { "", "", "", "", "", "" }; + + ary_where[0] = string.Format("`list_name` IN (SELECT `list_name` FROM `Obj_List` WHERE `state` = \"{0}\")", cb_stat.Text); + if (tb_search.Text != "") + { + if (cb_search.SelectedIndex == 0) // 도서명 + ary_where[1] = string.Format("`book_name` like \"%{0}%\"", tb_search.Text); + + else if (cb_search.SelectedIndex == 1) // 출판사 + ary_where[1] = string.Format("`book_comp` like \"%{0}%\"", tb_search.Text); + } + if (tb_clt.Text != "") + { + ary_where[2] = string.Format("`order` like \"%{0}%\"", tb_clt.Text); + } + if (cb_list_name.SelectedItem.ToString() != "전체") + { + ary_where[3] = string.Format("`list_name` = \"{0}\"", cb_list_name.Text); + } + if (cb_import.SelectedItem.ToString() != "전체") + { + ary_where[4] = string.Format("`import` = \"{0}\"", cb_import.Text); + } + if (cb_export.SelectedItem.ToString() != "전체") + { + ary_where[5] = string.Format("`export` = \"{0}\"", cb_export.Text); + } + + string where = ""; + for (int a = 0; a < ary_where.Length; a++) + { + if (ary_where[a] != "" && where != "") + where += " AND " + ary_where[a]; + + else if (ary_where[a] != "") + where += ary_where[a]; + } + + string area = "`idx`, `header`, `num`, `book_name`, `author`, `book_comp`, " + + "`count`, `pay`, `total`, `stat`, `etc`, " + + "`list_name`, `order`, `import`, `export`, `set_book_name`"; + // string cmd = db.DB_Select_Search(area, "Obj_List_Book", "compidx", compidx); + string cmd = string.Format("SELECT {0} FROM {1} WHERE {2};", area, "Obj_List_Book", where); + return cmd; + } private bool filter(string[] array) { @@ -353,7 +509,7 @@ namespace WindowsFormsApp1.Delivery { cb_list_name.Items.Clear(); // 진행과 완료를 구분지어 명단목록 작성 - string state = cb_list.Text; + string state = cb_stat.Text; string charge = cb_charge.Text; string search_table = "list_name"; string cmd; @@ -373,17 +529,21 @@ namespace WindowsFormsApp1.Delivery for (int a = 0; a < data.Length - 1; a++) { cb_list_name.Items.Add(data[a]); } - for(int a = 0; a < cb_list_name.Items.Count; a++) { - if(call_base == cb_list_name.Items[a].ToString()) { + for (int a = 0; a < cb_list_name.Items.Count; a++) + { + if (call_base == cb_list_name.Items[a].ToString()) + { cb_list_name.SelectedIndex = a; btn_lookup_Click(null, null); - break; + break; } else { cb_list_name.SelectedIndex = 0; } } } private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { + if (e.RowIndex < 0) return; + Book_Lookup bl = new Book_Lookup(this); bl.TopMost = true; bl.Lookup_Load_tmp(dataGridView1.Rows[e.RowIndex].Cells["idx"].Value.ToString()); diff --git a/unimarc/unimarc/납품관리/List_Lookup.resx b/unimarc/unimarc/납품관리/List_Lookup.resx index 8978282..6046a6d 100644 --- a/unimarc/unimarc/납품관리/List_Lookup.resx +++ b/unimarc/unimarc/납품관리/List_Lookup.resx @@ -162,14 +162,11 @@ True - - -2, -3 - - 119, -3 + 1, -5 - 262, -3 + 125, -3 @@ -345,6 +342,9 @@ wf+0BQAAgAUAAIAFAACAAQAAgAHB/4ABAACAAQAAgAEAALwBAAC8AQAAvAHB/4ABbP///5H/ + + 289, -3 + 25 diff --git a/unimarc/unimarc/납품관리/List_aggregation.Designer.cs b/unimarc/unimarc/납품관리/List_aggregation.Designer.cs index 2970638..6ec939f 100644 --- a/unimarc/unimarc/납품관리/List_aggregation.Designer.cs +++ b/unimarc/unimarc/납품관리/List_aggregation.Designer.cs @@ -61,7 +61,6 @@ this.combo_user = new System.Windows.Forms.ComboBox(); this.btn_process = new System.Windows.Forms.Button(); this.btn_ISBN = new System.Windows.Forms.Button(); - this.btn_date = new System.Windows.Forms.Button(); this.btn_checkup = new System.Windows.Forms.Button(); this.btn_print = new System.Windows.Forms.Button(); this.combo_year = new System.Windows.Forms.ComboBox(); @@ -361,7 +360,7 @@ // // btn_process // - this.btn_process.Location = new System.Drawing.Point(308, 5); + this.btn_process.Location = new System.Drawing.Point(306, 5); this.btn_process.Name = "btn_process"; this.btn_process.Size = new System.Drawing.Size(65, 23); this.btn_process.TabIndex = 4; @@ -371,7 +370,7 @@ // // btn_ISBN // - this.btn_ISBN.Location = new System.Drawing.Point(166, 5); + this.btn_ISBN.Location = new System.Drawing.Point(212, 5); this.btn_ISBN.Name = "btn_ISBN"; this.btn_ISBN.Size = new System.Drawing.Size(65, 23); this.btn_ISBN.TabIndex = 2; @@ -379,20 +378,9 @@ this.btn_ISBN.UseVisualStyleBackColor = true; this.btn_ISBN.Click += new System.EventHandler(this.btn_ISBN_Click); // - // btn_date - // - this.btn_date.Enabled = false; - this.btn_date.Location = new System.Drawing.Point(237, 5); - this.btn_date.Name = "btn_date"; - this.btn_date.Size = new System.Drawing.Size(65, 23); - this.btn_date.TabIndex = 3; - this.btn_date.Text = "일 정"; - this.btn_date.UseVisualStyleBackColor = true; - this.btn_date.Click += new System.EventHandler(this.btn_date_Click); - // // btn_checkup // - this.btn_checkup.Location = new System.Drawing.Point(95, 5); + this.btn_checkup.Location = new System.Drawing.Point(118, 5); this.btn_checkup.Name = "btn_checkup"; this.btn_checkup.Size = new System.Drawing.Size(65, 23); this.btn_checkup.TabIndex = 1; @@ -463,7 +451,6 @@ this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.label10); this.panel1.Controls.Add(this.btn_ISBN); - this.panel1.Controls.Add(this.btn_date); this.panel1.Controls.Add(this.btn_apply); this.panel1.Controls.Add(this.btn_checkup); this.panel1.Controls.Add(this.btn_process); @@ -889,7 +876,6 @@ private System.Windows.Forms.ComboBox combo_user; private System.Windows.Forms.Button btn_process; private System.Windows.Forms.Button btn_ISBN; - private System.Windows.Forms.Button btn_date; private System.Windows.Forms.Button btn_checkup; private System.Windows.Forms.Button btn_print; private System.Windows.Forms.ComboBox combo_year; diff --git a/unimarc/unimarc/납품관리/List_aggregation.cs b/unimarc/unimarc/납품관리/List_aggregation.cs index af07edc..8d5cde9 100644 --- a/unimarc/unimarc/납품관리/List_aggregation.cs +++ b/unimarc/unimarc/납품관리/List_aggregation.cs @@ -59,7 +59,7 @@ namespace WindowsFormsApp1.Delivery if (a == user_name.Length - 1) { break; } combo_user.Items.Add(user_name[a]); } - combo_user.SelectedItem = main.toolStripLabel1.Text; + combo_user.SelectedItem = main.botUserLabel.Text; } public void btn_lookup_Click(object sender, EventArgs e) // 조회 { @@ -363,6 +363,7 @@ namespace WindowsFormsApp1.Delivery int startHeight = 140; // 시작 y좌표 int avgHeight = dataGridView1.Rows[0].Height; // gridview 컬럼 하나의 높이 int temp = 0; + avgHeight = avgHeight / 3 * 4; e.Graphics.DrawString("제목", new Font("Arial", 20, FontStyle.Bold), Brushes.Black, dialogWidth / 2, 40); e.Graphics.DrawString("인쇄일 : " + DateTime.Now.ToString("yyyy/MM/dd"), new Font("Arial", 13), Brushes.Black, dialogWidth - 20, 80); @@ -370,6 +371,7 @@ namespace WindowsFormsApp1.Delivery for (int i = 0; i < dataGridView1.ColumnCount; i++) { + if (!dataGridView1.Columns[i].Visible) continue; if (i == 0) { width = 0; @@ -385,34 +387,40 @@ namespace WindowsFormsApp1.Delivery width = this.dataGridView1.Columns[i - 1].Width + 15; width1 = this.dataGridView1.Columns[i].Width + 40; } - RectangleF drawRect = new RectangleF((float)(startWidth + width), (float)startHeight, (float)width1, avgHeight); - e.Graphics.DrawRectangle(Pens.Black, (float)(startWidth + width), (float)startHeight, (float)width1, avgHeight); - e.Graphics.DrawString(dataGridView1.Columns[i].HeaderText, new Font("Arial", 12, FontStyle.Bold), Brushes.Black, drawRect, sf); + RectangleF drawRect = new RectangleF((float)(startWidth + width) / 4 * 3, + (float)startHeight, (float)width1 / 4 * 3, avgHeight); + e.Graphics.DrawRectangle(Pens.Black, (float)(startWidth + width) / 4 * 3, + (float)startHeight, (float)width1 / 4 * 3, avgHeight); + e.Graphics.DrawString(dataGridView1.Columns[i].HeaderText, + new Font("Arial", 12, FontStyle.Bold), Brushes.Black, drawRect, sf); startWidth += width; } startHeight += avgHeight; - for (int i = cnt; i < dataGridView1.RowCount - 1; i++) { + for (int i = cnt; i < dataGridView1.RowCount - 1; i++) + { startWidth = 10; for(int j = 0; j < dataGridView1.ColumnCount; j++) { + if (!dataGridView1.Columns[j].Visible) continue; if (j == 0) { width = 0; width1 = this.dataGridView1.Columns[j].Width + 15; } - else if (j >= 1 && j <= dataGridView1.ColumnCount - 2) - { + else if (j >= 1 && j <= dataGridView1.ColumnCount - 2) { width = this.dataGridView1.Columns[j - 1].Width + 15; width1 = this.dataGridView1.Columns[j].Width + 15; } - else - { + else { width = this.dataGridView1.Columns[j - 1].Width + 15; width1 = this.dataGridView1.Columns[j].Width + 40; } - RectangleF drawRect = new RectangleF((float)(startWidth + width), (float)startHeight, (float)width1, avgHeight); - e.Graphics.DrawRectangle(Pens.Black, (float)(startWidth + width), (float)startHeight, (float)width1, avgHeight); - e.Graphics.DrawString(dataGridView1.Rows[i].Cells[j].FormattedValue.ToString(), new Font("Arial", 9), Brushes.Black, drawRect, sf); + RectangleF drawRect = new RectangleF((float)(startWidth + width) / 4 * 3, + (float)startHeight, (float)width1 / 4 * 3, avgHeight); + e.Graphics.DrawRectangle(Pens.Black, (float)(startWidth + width) / 4 * 3, + (float)startHeight, (float)width1 / 4 * 3, avgHeight); + e.Graphics.DrawString(dataGridView1.Rows[i].Cells[j].FormattedValue.ToString(), + new Font("Arial", 9), Brushes.Black, drawRect, sf); startWidth += width; } startHeight += avgHeight; @@ -460,8 +468,7 @@ namespace WindowsFormsApp1.Delivery string textBox = ((TextBox)sender).Name; switch (textBox) { case "tb_clt": - if (e.KeyCode == Keys.Enter) - { + if (e.KeyCode == Keys.Enter) { Commodity_Search sea = new Commodity_Search(this); sea.Clinet_name = tb_clt.Text; sea.Show(); @@ -469,13 +476,9 @@ namespace WindowsFormsApp1.Delivery break; case "tb_dlv": if (e.KeyCode == Keys.Enter) - { btn_lookup_Click(null, null); - } break; } - - } private void combo_state_SelectedIndexChanged(object sender, EventArgs e) { @@ -501,14 +504,9 @@ namespace WindowsFormsApp1.Delivery } // gird 선택시 우측란에 해당 정보로 초기화 및 최신화 - if(e.KeyCode == Keys.Up) + if(e.KeyCode == Keys.Up || e.KeyCode == Keys.Down) { - if (row > 0) { row -= 1; } - infor_Update(row); - } - if (e.KeyCode == Keys.Down) - { - if (row < dataGridView1.Rows.Count-1) { row += 1; } + int row = dataGridView1.CurrentRow.Index; infor_Update(row); } } diff --git a/unimarc/unimarc/납품관리/Order_input.Designer.cs b/unimarc/unimarc/납품관리/Order_input.Designer.cs index 692f839..9075746 100644 --- a/unimarc/unimarc/납품관리/Order_input.Designer.cs +++ b/unimarc/unimarc/납품관리/Order_input.Designer.cs @@ -52,7 +52,7 @@ this.tb_PS = new System.Windows.Forms.TextBox(); this.btn_lookup = new System.Windows.Forms.Button(); this.btn_Reset_Order = new System.Windows.Forms.Button(); - this.button8 = new System.Windows.Forms.Button(); + this.btn_AutoOrder = new System.Windows.Forms.Button(); this.checkBox3 = new System.Windows.Forms.CheckBox(); this.btn_All_chk = new System.Windows.Forms.Button(); this.btn_All_unchk = new System.Windows.Forms.Button(); @@ -287,15 +287,15 @@ this.btn_Reset_Order.UseVisualStyleBackColor = true; this.btn_Reset_Order.Click += new System.EventHandler(this.btn_Reset_Order_Click); // - // button8 + // btn_AutoOrder // - this.button8.Location = new System.Drawing.Point(173, 111); - this.button8.Name = "button8"; - this.button8.Size = new System.Drawing.Size(75, 23); - this.button8.TabIndex = 34; - this.button8.Text = "자동주문처"; - this.button8.UseVisualStyleBackColor = true; - this.button8.Visible = false; + this.btn_AutoOrder.Location = new System.Drawing.Point(173, 111); + this.btn_AutoOrder.Name = "btn_AutoOrder"; + this.btn_AutoOrder.Size = new System.Drawing.Size(75, 23); + this.btn_AutoOrder.TabIndex = 34; + this.btn_AutoOrder.Text = "자동주문처"; + this.btn_AutoOrder.UseVisualStyleBackColor = true; + this.btn_AutoOrder.Click += new System.EventHandler(this.btn_AutoOrder_Click); // // checkBox3 // @@ -710,7 +710,7 @@ this.Controls.Add(this.btn_All_unchk); this.Controls.Add(this.btn_All_chk); this.Controls.Add(this.checkBox3); - this.Controls.Add(this.button8); + this.Controls.Add(this.btn_AutoOrder); this.Controls.Add(this.btn_Reset_Order); this.Name = "Order_input"; this.Text = "주문입력"; @@ -748,7 +748,7 @@ private System.Windows.Forms.TextBox tb_PS; private System.Windows.Forms.Button btn_lookup; private System.Windows.Forms.Button btn_Reset_Order; - private System.Windows.Forms.Button button8; + private System.Windows.Forms.Button btn_AutoOrder; private System.Windows.Forms.CheckBox checkBox3; private System.Windows.Forms.Button btn_All_chk; private System.Windows.Forms.Button btn_All_unchk; diff --git a/unimarc/unimarc/납품관리/Order_input.cs b/unimarc/unimarc/납품관리/Order_input.cs index 3e7d19c..33b936a 100644 --- a/unimarc/unimarc/납품관리/Order_input.cs +++ b/unimarc/unimarc/납품관리/Order_input.cs @@ -56,7 +56,7 @@ namespace WindowsFormsApp1.Delivery if (a == user_name.Length - 1) { break; } cb_user.Items.Add(user_name[a]); } - cb_user.SelectedItem = main.toolStripLabel1.Text; + cb_user.SelectedItem = main.botUserLabel.Text; // 상태 구분 string[] state = { "미입고", "입고", "전체" }; @@ -719,5 +719,30 @@ namespace WindowsFormsApp1.Delivery else { return; } } } + + private void btn_AutoOrder_Click(object sender, EventArgs e) + { + // SELECT `sangho` + // FROM `Purchase` + // WHERE idx = (SELECT `puridx` FROM `IndexWord` WHERE `word` = "특별한서재"); + + for (int a = 0; a < dataGridView1.Rows.Count; a++) + { + string book_comp = dataGridView1.Rows[a].Cells["book_comp"].Value.ToString(); + + string cmdSub = string.Format( + "SELECT `puridx` FROM `IndexWord` WHERE `word` = \"{0}\" AND `compidx` = \"{1}\"", book_comp, compidx); + + string cmd = string.Format( + "SELECT `sangho` " + + "FROM `Purchase` " + + "WHERE `idx` = ({0});", cmdSub); + + string res = db.DB_Send_CMD_Search(cmd); + string[] pur = res.Split('|'); + + dataGridView1.Rows[a].Cells["order"].Value = pur[0]; + } + } } } \ No newline at end of file diff --git a/unimarc/unimarc/마크/DLS_Copy.Designer.cs b/unimarc/unimarc/마크/DLS_Copy.Designer.cs index f6bdc18..8244a44 100644 --- a/unimarc/unimarc/마크/DLS_Copy.Designer.cs +++ b/unimarc/unimarc/마크/DLS_Copy.Designer.cs @@ -29,32 +29,379 @@ private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); + this.panel1 = new System.Windows.Forms.Panel(); + this.panel3 = new System.Windows.Forms.Panel(); + this.dataGridView1 = new System.Windows.Forms.DataGridView(); + this.Book_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.ISBN = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Check = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.panel2 = new System.Windows.Forms.Panel(); + this.panel5 = new System.Windows.Forms.Panel(); + this.rBtn_ISBN = new System.Windows.Forms.RadioButton(); + this.rBtn_BookName = new System.Windows.Forms.RadioButton(); + this.label2 = new System.Windows.Forms.Label(); + this.btn_Search = new System.Windows.Forms.Button(); + this.lbl_PW = new System.Windows.Forms.Label(); + this.lbl_Check = new System.Windows.Forms.Label(); + this.lbl_Area = new System.Windows.Forms.Label(); + this.lbl_ID = new System.Windows.Forms.Label(); + this.lbl_Client = new System.Windows.Forms.Label(); + this.tb_SearchClient = new System.Windows.Forms.TextBox(); + this.btn_Close = new System.Windows.Forms.Button(); + this.webBrowser1 = new System.Windows.Forms.WebBrowser(); + this.panel4 = new System.Windows.Forms.Panel(); + this.panel7 = new System.Windows.Forms.Panel(); + this.panel6 = new System.Windows.Forms.Panel(); + this.btn_Back = new System.Windows.Forms.Button(); + this.btn_Forward = new System.Windows.Forms.Button(); + this.tb_URL = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.panel1.SuspendLayout(); + this.panel3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); + this.panel2.SuspendLayout(); + this.panel5.SuspendLayout(); + this.panel4.SuspendLayout(); + this.panel7.SuspendLayout(); + this.panel6.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(371, 219); + this.label1.Location = new System.Drawing.Point(7, 13); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(106, 12); - this.label1.TabIndex = 5; - this.label1.Text = "마크관리_DLS복본"; + this.label1.Size = new System.Drawing.Size(53, 12); + this.label1.TabIndex = 0; + this.label1.Text = "납품처명"; + // + // panel1 + // + this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel1.Controls.Add(this.panel3); + 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.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(364, 715); + this.panel1.TabIndex = 1; + // + // panel3 + // + this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel3.Controls.Add(this.dataGridView1); + this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel3.Location = new System.Drawing.Point(0, 70); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(362, 643); + this.panel3.TabIndex = 4; + // + // dataGridView1 + // + this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.Book_name, + this.ISBN, + this.Check}); + this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; + this.dataGridView1.Location = new System.Drawing.Point(0, 0); + this.dataGridView1.Name = "dataGridView1"; + this.dataGridView1.RowHeadersWidth = 31; + this.dataGridView1.RowTemplate.Height = 23; + this.dataGridView1.Size = new System.Drawing.Size(360, 641); + this.dataGridView1.TabIndex = 0; + this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint); + this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown); + // + // Book_name + // + this.Book_name.HeaderText = "도서명"; + this.Book_name.Name = "Book_name"; + this.Book_name.Width = 140; + // + // ISBN + // + this.ISBN.HeaderText = "ISBN"; + this.ISBN.Name = "ISBN"; + // + // Check + // + this.Check.HeaderText = "Y/N"; + this.Check.Name = "Check"; + this.Check.Width = 70; + // + // panel2 + // + this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel2.Controls.Add(this.panel5); + this.panel2.Controls.Add(this.lbl_PW); + this.panel2.Controls.Add(this.lbl_Check); + this.panel2.Controls.Add(this.lbl_Area); + this.panel2.Controls.Add(this.lbl_ID); + this.panel2.Controls.Add(this.lbl_Client); + this.panel2.Controls.Add(this.label1); + this.panel2.Controls.Add(this.tb_SearchClient); + this.panel2.Dock = System.Windows.Forms.DockStyle.Top; + this.panel2.Location = new System.Drawing.Point(0, 0); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(362, 70); + this.panel2.TabIndex = 3; + // + // panel5 + // + this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel5.Controls.Add(this.rBtn_ISBN); + this.panel5.Controls.Add(this.rBtn_BookName); + this.panel5.Controls.Add(this.label2); + this.panel5.Controls.Add(this.btn_Search); + this.panel5.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel5.Location = new System.Drawing.Point(0, 37); + this.panel5.Name = "panel5"; + this.panel5.Size = new System.Drawing.Size(360, 31); + this.panel5.TabIndex = 4; + // + // rBtn_ISBN + // + this.rBtn_ISBN.AutoSize = true; + this.rBtn_ISBN.Checked = true; + this.rBtn_ISBN.Location = new System.Drawing.Point(185, 7); + this.rBtn_ISBN.Name = "rBtn_ISBN"; + this.rBtn_ISBN.Size = new System.Drawing.Size(51, 16); + this.rBtn_ISBN.TabIndex = 4; + this.rBtn_ISBN.TabStop = true; + this.rBtn_ISBN.Text = "ISBN"; + this.rBtn_ISBN.UseVisualStyleBackColor = true; + // + // rBtn_BookName + // + this.rBtn_BookName.AutoSize = true; + this.rBtn_BookName.Location = new System.Drawing.Point(98, 7); + this.rBtn_BookName.Name = "rBtn_BookName"; + this.rBtn_BookName.Size = new System.Drawing.Size(59, 16); + this.rBtn_BookName.TabIndex = 4; + this.rBtn_BookName.Text = "도서명"; + this.rBtn_BookName.UseVisualStyleBackColor = true; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(6, 9); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(53, 12); + this.label2.TabIndex = 3; + this.label2.Text = "검색조건"; + // + // btn_Search + // + this.btn_Search.Location = new System.Drawing.Point(277, 4); + this.btn_Search.Name = "btn_Search"; + this.btn_Search.Size = new System.Drawing.Size(75, 23); + this.btn_Search.TabIndex = 2; + this.btn_Search.Text = "검 색"; + this.btn_Search.UseVisualStyleBackColor = true; + this.btn_Search.Click += new System.EventHandler(this.btn_Search_Click); + // + // lbl_PW + // + this.lbl_PW.AutoSize = true; + this.lbl_PW.Location = new System.Drawing.Point(297, 37); + this.lbl_PW.Name = "lbl_PW"; + this.lbl_PW.Size = new System.Drawing.Size(23, 12); + this.lbl_PW.TabIndex = 3; + this.lbl_PW.Text = "PW"; + // + // lbl_Check + // + this.lbl_Check.AutoSize = true; + this.lbl_Check.Location = new System.Drawing.Point(284, 13); + this.lbl_Check.Name = "lbl_Check"; + this.lbl_Check.Size = new System.Drawing.Size(0, 12); + this.lbl_Check.TabIndex = 3; + this.lbl_Check.TextChanged += new System.EventHandler(this.lbl_Area_TextChanged); + // + // lbl_Area + // + this.lbl_Area.AutoSize = true; + this.lbl_Area.Location = new System.Drawing.Point(111, 37); + this.lbl_Area.Name = "lbl_Area"; + this.lbl_Area.Size = new System.Drawing.Size(31, 12); + this.lbl_Area.TabIndex = 3; + this.lbl_Area.Text = "Area"; + this.lbl_Area.TextChanged += new System.EventHandler(this.lbl_Area_TextChanged_1); + // + // lbl_ID + // + this.lbl_ID.AutoSize = true; + this.lbl_ID.Location = new System.Drawing.Point(185, 37); + this.lbl_ID.Name = "lbl_ID"; + this.lbl_ID.Size = new System.Drawing.Size(16, 12); + this.lbl_ID.TabIndex = 3; + this.lbl_ID.Text = "ID"; + // + // lbl_Client + // + this.lbl_Client.AutoSize = true; + this.lbl_Client.Location = new System.Drawing.Point(7, 37); + this.lbl_Client.Name = "lbl_Client"; + this.lbl_Client.Size = new System.Drawing.Size(37, 12); + this.lbl_Client.TabIndex = 3; + this.lbl_Client.Text = "Client"; + // + // tb_SearchClient + // + this.tb_SearchClient.Location = new System.Drawing.Point(65, 9); + this.tb_SearchClient.Name = "tb_SearchClient"; + this.tb_SearchClient.Size = new System.Drawing.Size(288, 21); + this.tb_SearchClient.TabIndex = 1; + this.tb_SearchClient.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_SearchClient_KeyDown); + // + // btn_Close + // + this.btn_Close.Location = new System.Drawing.Point(820, 8); + this.btn_Close.Name = "btn_Close"; + this.btn_Close.Size = new System.Drawing.Size(75, 23); + this.btn_Close.TabIndex = 2; + this.btn_Close.Text = "닫 기"; + this.btn_Close.UseVisualStyleBackColor = true; + this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click); + // + // webBrowser1 + // + this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Fill; + this.webBrowser1.Location = new System.Drawing.Point(0, 0); + this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20); + this.webBrowser1.Name = "webBrowser1"; + this.webBrowser1.ScriptErrorsSuppressed = true; + this.webBrowser1.Size = new System.Drawing.Size(974, 675); + this.webBrowser1.TabIndex = 5; + this.webBrowser1.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.webBrowser1_DocumentCompleted); + // + // panel4 + // + this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel4.Controls.Add(this.panel7); + this.panel4.Controls.Add(this.panel6); + this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel4.Location = new System.Drawing.Point(364, 0); + this.panel4.Name = "panel4"; + this.panel4.Size = new System.Drawing.Size(976, 715); + this.panel4.TabIndex = 2; + // + // panel7 + // + this.panel7.Controls.Add(this.webBrowser1); + this.panel7.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel7.Location = new System.Drawing.Point(0, 38); + this.panel7.Name = "panel7"; + this.panel7.Size = new System.Drawing.Size(974, 675); + this.panel7.TabIndex = 7; + // + // panel6 + // + this.panel6.Controls.Add(this.label3); + this.panel6.Controls.Add(this.btn_Back); + this.panel6.Controls.Add(this.btn_Forward); + this.panel6.Controls.Add(this.tb_URL); + this.panel6.Controls.Add(this.btn_Close); + this.panel6.Dock = System.Windows.Forms.DockStyle.Top; + this.panel6.Location = new System.Drawing.Point(0, 0); + this.panel6.Name = "panel6"; + this.panel6.Size = new System.Drawing.Size(974, 38); + this.panel6.TabIndex = 6; + // + // btn_Back + // + this.btn_Back.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.btn_Back.Location = new System.Drawing.Point(10, 8); + this.btn_Back.Name = "btn_Back"; + this.btn_Back.Size = new System.Drawing.Size(43, 23); + this.btn_Back.TabIndex = 1; + this.btn_Back.Text = "<<"; + this.btn_Back.UseVisualStyleBackColor = true; + this.btn_Back.Click += new System.EventHandler(this.btn_Back_Click); + // + // btn_Forward + // + this.btn_Forward.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.btn_Forward.Location = new System.Drawing.Point(59, 8); + this.btn_Forward.Name = "btn_Forward"; + this.btn_Forward.Size = new System.Drawing.Size(43, 23); + this.btn_Forward.TabIndex = 1; + this.btn_Forward.Text = ">>"; + this.btn_Forward.UseVisualStyleBackColor = true; + this.btn_Forward.Click += new System.EventHandler(this.btn_Forward_Click); + // + // tb_URL + // + this.tb_URL.Location = new System.Drawing.Point(108, 9); + this.tb_URL.Name = "tb_URL"; + this.tb_URL.Size = new System.Drawing.Size(706, 21); + this.tb_URL.TabIndex = 0; + this.tb_URL.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_URL_KeyDown); + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(910, 13); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(53, 12); + this.label3.TabIndex = 3; + this.label3.Text = " "; // // DLS_Copy // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); - this.Controls.Add(this.label1); + this.ClientSize = new System.Drawing.Size(1340, 715); + this.Controls.Add(this.panel4); + this.Controls.Add(this.panel1); this.Name = "DLS_Copy"; - this.Text = "DLS_Copy"; + this.Text = "DLS 복본조사"; + this.Load += new System.EventHandler(this.DLS_Copy_Load); + this.panel1.ResumeLayout(false); + this.panel3.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.panel5.ResumeLayout(false); + this.panel5.PerformLayout(); + this.panel4.ResumeLayout(false); + this.panel7.ResumeLayout(false); + this.panel6.ResumeLayout(false); + this.panel6.PerformLayout(); this.ResumeLayout(false); - this.PerformLayout(); } #endregion private System.Windows.Forms.Label label1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.Button btn_Close; + public System.Windows.Forms.TextBox tb_SearchClient; + public System.Windows.Forms.Label lbl_PW; + public System.Windows.Forms.Label lbl_ID; + public System.Windows.Forms.Label lbl_Client; + private System.Windows.Forms.DataGridView dataGridView1; + private System.Windows.Forms.Panel panel5; + private System.Windows.Forms.RadioButton rBtn_ISBN; + private System.Windows.Forms.RadioButton rBtn_BookName; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Button btn_Search; + private System.Windows.Forms.DataGridViewTextBoxColumn Book_name; + private System.Windows.Forms.DataGridViewTextBoxColumn ISBN; + private System.Windows.Forms.DataGridViewTextBoxColumn Check; + public System.Windows.Forms.Label lbl_Area; + private System.Windows.Forms.WebBrowser webBrowser1; + private System.Windows.Forms.Panel panel4; + private System.Windows.Forms.Panel panel6; + private System.Windows.Forms.TextBox tb_URL; + private System.Windows.Forms.Button btn_Back; + private System.Windows.Forms.Button btn_Forward; + private System.Windows.Forms.Panel panel7; + public System.Windows.Forms.Label lbl_Check; + private System.Windows.Forms.Label label3; } } \ No newline at end of file diff --git a/unimarc/unimarc/마크/DLS_Copy.cs b/unimarc/unimarc/마크/DLS_Copy.cs index 8eaf172..b395d62 100644 --- a/unimarc/unimarc/마크/DLS_Copy.cs +++ b/unimarc/unimarc/마크/DLS_Copy.cs @@ -13,10 +13,306 @@ namespace WindowsFormsApp1.Mac public partial class DLS_Copy : Form { Main main; + public string compidx; public DLS_Copy(Main _main) { InitializeComponent(); main = _main; + compidx = main.com_idx; + } + + private void DLS_Copy_Load(object sender, EventArgs e) + { + webBrowser1.Navigate("https://reading.jnei.go.kr/r/newReading/member/loginForm.jsp"); + } + + private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) + { + Skill_Grid sg = new Skill_Grid(); + sg.Print_Grid_Num(sender, e); + } + + private void dataGridView1_KeyDown(object sender, KeyEventArgs e) + { + Skill_Grid sg = new Skill_Grid(); + sg.Excel_to_DataGridView(sender, e); + } + + private void tb_SearchClient_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) + { + // 검색 함수 + ClientSearch(); + } + } + + #region KeyDown SUB + private void ClientSearch() + { + Delivery.Commodity_Search cs = new Delivery.Commodity_Search(this); + cs.Clinet_name = tb_SearchClient.Text; + cs.Show(); + } + #endregion + + + private void lbl_Area_TextChanged_1(object sender, EventArgs e) + { + lbl_Check.Text = lbl_Area.Text; + } + private void lbl_Area_TextChanged(object sender, EventArgs e) + { + if (lbl_Client.Text == "Client") { + MessageBox.Show("납품처명을 선택해주세요"); + return; + } + if (lbl_Area.Text == "") { + MessageBox.Show("설정된 지역이 없습니다. 납품처 관리에서 확인해주세요."); + return; + } + + string dlsArea = lbl_Area.Text; + string code = SetArea(dlsArea); + string url = ""; + + webBrowser1.Navigate("https://reading.jnei.go.kr/r/newReading/member/loginForm.jsp"); + + Delay(2000); + + HtmlElementCollection combo = webBrowser1.Document.GetElementsByTagName("option"); + foreach (HtmlElement Select in combo) + { + if (Select.Id == code) + url = Select.GetAttribute("value"); + } + url = url.Replace("http", "https"); + + webBrowser1.Navigate(url + "/r/newReading/member/loginForm.jsp"); + bool isWebComplite = false; + + while (!isWebComplite) + { + Delay(500); + if (lbl_Check.Text == lbl_Area.Text) { + isWebComplite = true; + break; + } + } + + if (isWebComplite) + DLS_Login(url); + } + + private void DLS_Login(string url) + { + if (lbl_ID.Text == "" || lbl_PW.Text == "") { + MessageBox.Show("ID 혹은 PW가 없습니다."); + return; + } + string ID = lbl_ID.Text; + string PW = lbl_PW.Text; + + webBrowser1.Document.GetElementById("s_id").SetAttribute("value", ID); + webBrowser1.Document.GetElementById("s_pwd").SetAttribute("value", PW); + + HtmlElementCollection button = webBrowser1.Document.GetElementsByTagName("button"); + foreach (HtmlElement SearchButton in button) + { + if (SearchButton.Id == "s_login") + SearchButton.InvokeMember("click"); + } + + Delay(4000); + webBrowser1.Navigate(url + "/r/dls_new/bookInfo/collectionFormMA.jsp"); + } + + private void btn_Search_Click(object sender, EventArgs e) + { + + if (dataGridView1.Rows[0].Cells["ISBN"].Value == null && rBtn_ISBN.Checked) { + MessageBox.Show("ISBN이 입력되지않았습니다!"); + return; + } + if (dataGridView1.Rows[0].Cells["Book_name"].Value == null && rBtn_BookName.Checked) { + MessageBox.Show("도서명이 입력되지않았습니다!"); + return; + } + + bool isISBN = rBtn_ISBN.Checked; + SearchCopy(isISBN); + + MessageBox.Show("완료되었습니다."); + } + #region SearchClick_Sub + + private void SearchCopy(bool isISBN) + { + if (!webBrowser1.Url.AbsoluteUri.Contains("collectionFormMA")) { + MessageBox.Show("자료관리 창이 아닙니다!"); + return; + } + + for(int a = 0; a < dataGridView1.Rows.Count; a++) + { + if (isISBN) { + string Target = dataGridView1.Rows[a].Cells["ISBN"].Value.ToString(); + SearchISBN(Target, a); + } + else { + string Target = dataGridView1.Rows[a].Cells["Book_name"].Value.ToString(); + SearchName(Target, a); + } + } + } + + private void SearchName(string Target, int row) + { + HtmlElementCollection search = webBrowser1.Document.GetElementsByTagName("input"); + foreach (HtmlElement Search in search) + { + if (Search.Id == "bib1") + Search.SetAttribute("value", Target); + + if (Search.GetAttribute("className") == "button_search") + Search.InvokeMember("click"); + } + + Delay(1000); + + HtmlElementCollection paging_nav = webBrowser1.Document.GetElementsByTagName("div"); + foreach (HtmlElement div in paging_nav) + { + if (div.GetAttribute("className") == "paging_nav") + { + HtmlElementCollection span = div.GetElementsByTagName("span"); + foreach (HtmlElement count in span) + { + dataGridView1.Rows[row].Cells["Check"].Value = count.InnerText; + break; + } + } + } + } + + private void SearchISBN(string Target, int row) + { + HtmlElementCollection combo = webBrowser1.Document.GetElementsByTagName("select"); + foreach (HtmlElement Search in combo) + { + if (Search.Id == "bibKind2") + Search.SetAttribute("selectedIndex", "2"); + } + + Delay(1000); + + HtmlElementCollection search = webBrowser1.Document.GetElementsByTagName("input"); + foreach (HtmlElement Search in search) + { + if (Search.Id == "bib2") + Search.SetAttribute("value", Target); + + if (Search.GetAttribute("className") == "button_search") + Search.InvokeMember("click"); + } + + Delay(1000); + + HtmlElementCollection paging_nav = webBrowser1.Document.GetElementsByTagName("div"); + foreach (HtmlElement div in paging_nav) + { + if (div.GetAttribute("className") == "paging_nav") + { + HtmlElementCollection span = div.GetElementsByTagName("span"); + foreach (HtmlElement count in span) + { + dataGridView1.Rows[row].Cells["Check"].Value = count.InnerText; + break; + } + } + } + + + + } + #endregion + + /// + /// DLS지역 코드 변환 + /// + /// 코드 + string SetArea(string dlsArea) + { + string[] Area = { + "서울", "부산", "대구", "인천", "광주", + "대전", "울산", "세종", "경기", "강원", + "충북", "충남", "전북", "전남", "경북", + "경남", "제주" + }; + + string[] Code = { + "SU", "BS", "DG", "IC", "KJ", + "DJ", "US", "SJ", "KG", "KW", + "CB", "CN", "JB", "JN", "KB", + "KN", "JJ" + }; + + int idx = 0; + foreach (string code in Area) + { + if (code == dlsArea) + { + break; + } + idx++; + } + + return Code[idx]; + } + + /// + /// 지연시키는 함수 + /// + /// 1000 = 1초 + void Delay(int ms) + { + DateTime dateTimeNow = DateTime.Now; + TimeSpan duration = new TimeSpan(0, 0, 0, 0, ms); + DateTime dateTimeAdd = dateTimeNow.Add(duration); + while (dateTimeAdd >= dateTimeNow) + { + Application.DoEvents(); + dateTimeNow = DateTime.Now; + } + return; + } + + private void btn_Close_Click(object sender, EventArgs e) + { + this.Close(); + } + + private void btn_Back_Click(object sender, EventArgs e) + { + webBrowser1.GoBack(); + } + + private void btn_Forward_Click(object sender, EventArgs e) + { + webBrowser1.GoForward(); + } + + private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) + { + tb_URL.Text = webBrowser1.Url.AbsoluteUri; + } + + private void tb_URL_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) { + string url = tb_URL.Text; + webBrowser1.Navigate(url); + } } } } diff --git a/unimarc/unimarc/마크/DLS_Copy.resx b/unimarc/unimarc/마크/DLS_Copy.resx index 1af7de1..9d9ff6e 100644 --- a/unimarc/unimarc/마크/DLS_Copy.resx +++ b/unimarc/unimarc/마크/DLS_Copy.resx @@ -117,4 +117,13 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + True + + + True + + + True + \ No newline at end of file diff --git a/unimarc/unimarc/마크/Help008Tag.cs b/unimarc/unimarc/마크/Help008Tag.cs index a07d479..1769187 100644 --- a/unimarc/unimarc/마크/Help008Tag.cs +++ b/unimarc/unimarc/마크/Help008Tag.cs @@ -12,82 +12,112 @@ namespace ExcelTest /// /// 이용자 9개 /// - public string[] combo1 = { "일반", "유아", "아동", "초등", "중학생", - "고등학생", "성인용 19금", "특수계층", "미상" }; + public string[] combo1 = { + "일반", "유아", "아동", "초등", "중학생", + "고등학생", "성인용 19금", "특수계층", "미상" + }; /// /// 자료형식 3개 /// - public string[] combo2 = { "해당무", "큰 글자", "점자" }; + public string[] combo2 = { + "해당무", "큰 글자", "점자" + }; /// /// 내용형식 28개 /// - public string[] combo3 = { "해당무", "만화/그래픽노블", "사전", "백과사전", "평론", - "통계자료", "명감", "연감", "족보", "조약, 협정문", - "학위논문", "법률논문", "법령집", "판례집 및 판례요약집", "판결보도 및 판결 평석", - "별쇄본", "역서(전체)", "음반목록", "영화작품목록", "초록", - "서지", "목록", "편람", "색인", "조사보고", - "기술보고서", "프로그램화된 텍스트", "표준/표준해설자료"}; + public string[] combo3 = { + "해당무", "만화/그래픽노블", "사전", "백과사전", "평론", + "통계자료", "명감", "연감", "족보", "조약", "협정문", + "학위논문", "법률논문", "법령집", "판례집 및 판례요약집", "판결보도 및 판결 평석", + "별쇄본", "역서(전체)", "음반목록", "영화작품목록", "초록", + "서지", "목록", "편람", "색인", "조사보고", + "기술보고서", "프로그램화된 텍스트", "표준/표준해설자료" + }; /// /// 문학형식 16개 /// - public string[] combo4 = { "해당무", "소설", "추리소설", "단편소설", "시", - "수필", "희곡/시나리오", "문집", "기행문/일기문/수기", "평론", - "논픽션", "연설문", "논설문", "향가/시조", "풍자문학", - "서간문학" }; + public string[] combo4 = { + "해당무", "소설", "추리소설", "단편소설", "시", + "수필", "희곡/시나리오", "문집", "기행문/일기문/수기", "평론", + "논픽션", "연설문", "논설문", "향가/시조", "풍자문학", + "서간문학" + }; /// /// 전기 5개 /// - public string[] combo5 = { "해당무", "자서전", "개인전기서", "전기물의 합저서", "전기적 정보가 포함된 자료" }; + public string[] combo5 = { + "해당무", "자서전", "개인전기서", "전기물의 합저서", "전기적 정보가 포함된 자료" + }; /// /// 언어 36개 /// - public string[] combo6 = { "한국어", "영어", "일본어", "중국어", "독일어", - "프랑스어", "러시아어", "스페인어", "이탈리아어", "네덜란드어", - "핀란드어", "스웨덴어", "포르투갈어", "노르웨이어", "그리스어", - "체코어", "폴란드어", "다국어", "말레이시아어", "몽골어", - "미얀마(버마어)", "베트남어", "슬로베니아어", "아랍어", "아프리카어", - "에스토니아어", "우즈베키스탄어", "우크라이나어", "인도(마라티어)", "캄보디아어", - "태국어", "터키어", "투르크메니스탄어", "티베르어", "필리핀(타갈로그어)", - "헝가리어" }; + public string[] combo6 = { + "한국어", "영어", "일본어", "중국어", "독일어", + "프랑스어", "러시아어", "스페인어", "이탈리아어", "네덜란드어", + "핀란드어", "스웨덴어", "포르투갈어", "노르웨이어", "그리스어", + "체코어", "폴란드어", "다국어", "말레이시아어", "몽골어", + "미얀마(버마어)", "베트남어", "슬로베니아어", "아랍어", "아프리카어", + "에스토니아어", "우즈베키스탄어", "우크라이나어", "인도(마라티어)", "캄보디아어", + "태국어", "터키어", "투르크메니스탄어", "티베르어", "필리핀(타갈로그어)", + "헝가리어" + }; public string Combo_Change(string Text, string Name, int idx) { char[] textArray = Text.ToCharArray(); - string[] combo1_res = { " ", "a", "j", "b", "c", - "d", "e", "f", "z" }; - string[] combo2_res = { " ", "d", "f" }; - string[] combo3_res = { " ", "6", "d", "e", "o", - "s", "r", "y", "j", "z", - "m", "g", "l", "v", "w", - "2", "5", "k", "q", "a", - "b", "c", "f", "i", "n", - "t", "p", "u" }; - string[] combo4_res = { " ", "f", "k", "j", "p", - "e", "d", "v", "m", "u", - "l", "s", "t", "w", "h", - "i" }; - string[] combo5_res = { " ", "a", "b", "c", "d" }; - string[] combo6_res = { "kor", "eng", "jpn", "chi", "ger", - "fre", "rus", "spa", "ita", "dut", - "fin", "swe", "por", "nor", "grc", - "cze", "pol", "mul", "may", "mon", - "bur", "vie", "slv", "ara", "afr", - "est", "uzb", "ukr", "mar", "cam", - "tha", "tur", "tuk", "tib", "tag", - "hun" }; - /* comboBox1 = 이용대상자수준 - * comboBox2 = 개별자료형태 - * comboBox3 = 내용형식1 - * comboBox7 = 내용형식2 - * comboBox4 = 문학형식 - * comboBox5 = 전기 - * comboBox6 = 언어 */ + // comboBox1 = 이용대상자수준 + string[] combo1_res = { + " ", "a", "j", "b", "c", + "d", "e", "f", "z" + }; + + // comboBox2 = 개별자료형태 + string[] combo2_res = { + " ", "d", "f" + }; + + // comboBox3 = 내용형식1 + // comboBox7 = 내용형식2 + string[] combo3_res = { + " ", "6", "d", "e", "o", + "s", "r", "y", "j", "z", + "m", "g", "l", "v", "w", + "2", "5", "k", "q", "a", + "b", "c", "f", "i", "n", + "t", "p", "u" + }; + + // comboBox4 = 문학형식 + string[] combo4_res = { + " ", "f", "k", "j", "p", + "e", "d", "v", "m", "u", + "l", "s", "t", "w", "h", + "i" + }; + + // comboBox5 = 전기 + string[] combo5_res = { + " ", "a", "b", "c", "d" + }; + + // comboBox6 = 언어 + string[] combo6_res = { + "kor", "eng", "jpn", "chi", "ger", + "fre", "rus", "spa", "ita", "dut", + "fin", "swe", "por", "nor", "grc", + "cze", "pol", "mul", "may", "mon", + "bur", "vie", "slv", "ara", "afr", + "est", "uzb", "ukr", "mar", "cam", + "tha", "tur", "tuk", "tib", "tag", + "hun" + }; + char[] inputArray; switch (Name) @@ -139,7 +169,7 @@ namespace ExcelTest int result; for(result = 0; result < combo1_res.Length; result++) { - if(value == combo1_res[result]) { break; } + if (value == combo1_res[result]) { break; } } return result; } @@ -261,25 +291,25 @@ namespace ExcelTest string result = ""; strValue = strValue.ToLower(); - if (strValue.Contains(ulk) == true) { result = "ulk"; } // 서울 - if (strValue.Contains(bnk) == true) { result = "bnk"; } // 부산 - if (strValue.Contains(tgk) == true) { result = "tgk"; } // 대구 - if (strValue.Contains(ick) == true) { result = "ick"; } // 인천 - if (strValue.Contains(kjk) == true) { result = "kjk"; } // 광주 - if (strValue.Contains(tjk) == true) { result = "tjk"; } // 대전 - if (strValue.Contains(usk) == true) { result = "usk"; } // 울산 - if (strValue.Contains(sjk) == true) { result = "sjk"; } // 세종 - for (int a = 0; a < ggk.Length; a++) { if (strValue.Contains(ggk[a]) == true) { result = "ggk"; } } // 경기 - for (int a = 0; a < gak.Length; a++) { if (strValue.Contains(gak[a]) == true) { result = "gak"; } } // 강원 - for (int a = 0; a < hbk.Length; a++) { if (strValue.Contains(hbk[a]) == true) { result = "hbk"; } } // 충북 - for (int a = 0; a < hck.Length; a++) { if (strValue.Contains(hck[a]) == true) { result = "hck"; } } // 충남 - for (int a = 0; a < gbk.Length; a++) { if (strValue.Contains(gbk[a]) == true) { result = "gbk"; } } // 경북 - for (int a = 0; a < gnk.Length; a++) { if (strValue.Contains(gnk[a]) == true) { result = "gnk"; } } // 경남 - for (int a = 0; a < jbk.Length; a++) { if (strValue.Contains(jbk[a]) == true) { result = "jbk"; } } // 전북 - for (int a = 0; a < jnk.Length; a++) { if (strValue.Contains(jnk[a]) == true) { result = "jnk"; } } // 전남 - for (int a = 0; a < jjk.Length; a++) { if (strValue.Contains(jjk[a]) == true) { result = "jjk"; } } // 제주 - for (int a = 0; a < us.Length; a++) { if (strValue.Contains(us[a]) == true) { result = "us"; } } // 미국 - for (int a = 0; a < uk.Length; a++) { if (strValue.Contains(uk[a]) == true) { result = "uk"; } } // 영국 + if (strValue.Contains(ulk)) { result = "ulk"; } // 서울 + if (strValue.Contains(bnk)) { result = "bnk"; } // 부산 + if (strValue.Contains(tgk)) { result = "tgk"; } // 대구 + if (strValue.Contains(ick)) { result = "ick"; } // 인천 + if (strValue.Contains(kjk)) { result = "kjk"; } // 광주 + if (strValue.Contains(tjk)) { result = "tjk"; } // 대전 + if (strValue.Contains(usk)) { result = "usk"; } // 울산 + if (strValue.Contains(sjk)) { result = "sjk"; } // 세종 + for (int a = 0; a < ggk.Length; a++) { if (strValue.Contains(ggk[a])) { result = "ggk"; } } // 경기 + for (int a = 0; a < gak.Length; a++) { if (strValue.Contains(gak[a])) { result = "gak"; } } // 강원 + for (int a = 0; a < hbk.Length; a++) { if (strValue.Contains(hbk[a])) { result = "hbk"; } } // 충북 + for (int a = 0; a < hck.Length; a++) { if (strValue.Contains(hck[a])) { result = "hck"; } } // 충남 + for (int a = 0; a < gbk.Length; a++) { if (strValue.Contains(gbk[a])) { result = "gbk"; } } // 경북 + for (int a = 0; a < gnk.Length; a++) { if (strValue.Contains(gnk[a])) { result = "gnk"; } } // 경남 + for (int a = 0; a < jbk.Length; a++) { if (strValue.Contains(jbk[a])) { result = "jbk"; } } // 전북 + for (int a = 0; a < jnk.Length; a++) { if (strValue.Contains(jnk[a])) { result = "jnk"; } } // 전남 + for (int a = 0; a < jjk.Length; a++) { if (strValue.Contains(jjk[a])) { result = "jjk"; } } // 제주 + for (int a = 0; a < us.Length; a++) { if (strValue.Contains(us[a])) { result = "us"; } } // 미국 + for (int a = 0; a < uk.Length; a++) { if (strValue.Contains(uk[a])) { result = "uk"; } } // 영국 return result; } @@ -287,23 +317,26 @@ namespace ExcelTest public string Picture_008(string strValue) { string result = ""; - string[] dpfk = { "삽화", "지도", "초상화", "표", "설계도", + string[] dpfk = { "삽화", "지도", "초상", "표", "설계", "도판", "악보", "영인물", "문장", "계보", - "서식", "양식", "견본", "녹음자료", "사진", + "서식", "양식", "견본", "녹음", "사진", "채색장식", "ill", "map", "photo" }; + string[] tlqkf = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "k", "l", "m", "o", "p", "a", "b", "o" }; + + // "col.ill.", "col. ill.", "ill." strValue = strValue.ToLower(); string[] str1 = strValue.Split(','); for(int a = 0; a < str1.Length; a++) { for (int b = 0; b < dpfk.Length; b++) { - if(str1[a].Contains(dpfk[b]) == true) { result += tlqkf[b]; } + if(str1[a].Contains(dpfk[b])) { result += tlqkf[b]; } } } if (result.Length > 4) @@ -314,12 +347,14 @@ namespace ExcelTest { for(int a = 0; a < 4; a++) { - if (result.Length < 4) { result += " "; } - else { break; } + if (result.Length < 4) + result += " "; + else + break; } } return result; } } -} +} \ No newline at end of file diff --git a/unimarc/unimarc/마크/Input_DLS.Designer.cs b/unimarc/unimarc/마크/Input_DLS.Designer.cs index d28d297..faf8bbb 100644 --- a/unimarc/unimarc/마크/Input_DLS.Designer.cs +++ b/unimarc/unimarc/마크/Input_DLS.Designer.cs @@ -28,50 +28,19 @@ /// private void InitializeComponent() { - this.panel2 = new System.Windows.Forms.Panel(); - this.richTextBox1 = new System.Windows.Forms.RichTextBox(); - this.webBrowser1 = new System.Windows.Forms.WebBrowser(); this.panel1 = new System.Windows.Forms.Panel(); this.btn_Close = new System.Windows.Forms.Button(); this.btn_Go = new System.Windows.Forms.Button(); this.tb_URL = new System.Windows.Forms.TextBox(); this.btn_Forward = new System.Windows.Forms.Button(); this.btn_Back = new System.Windows.Forms.Button(); - this.panel2.SuspendLayout(); + this.webBrowser1 = new System.Windows.Forms.WebBrowser(); + this.richTextBox1 = new System.Windows.Forms.RichTextBox(); + this.panel2 = new System.Windows.Forms.Panel(); this.panel1.SuspendLayout(); + this.panel2.SuspendLayout(); this.SuspendLayout(); // - // panel2 - // - this.panel2.Controls.Add(this.richTextBox1); - this.panel2.Controls.Add(this.webBrowser1); - this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel2.Location = new System.Drawing.Point(0, 36); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(1152, 612); - this.panel2.TabIndex = 5; - // - // richTextBox1 - // - this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Bottom; - this.richTextBox1.Location = new System.Drawing.Point(0, 580); - this.richTextBox1.Name = "richTextBox1"; - this.richTextBox1.Size = new System.Drawing.Size(1152, 32); - this.richTextBox1.TabIndex = 1; - this.richTextBox1.Text = ""; - // - // webBrowser1 - // - this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Fill; - this.webBrowser1.Location = new System.Drawing.Point(0, 0); - this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20); - this.webBrowser1.Name = "webBrowser1"; - this.webBrowser1.ScriptErrorsSuppressed = true; - this.webBrowser1.Size = new System.Drawing.Size(1152, 612); - this.webBrowser1.TabIndex = 0; - this.webBrowser1.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.webBrowser1_DocumentCompleted); - this.webBrowser1.NewWindow += new System.ComponentModel.CancelEventHandler(this.webBrowser1_NewWindow); - // // panel1 // this.panel1.Controls.Add(this.btn_Close); @@ -135,6 +104,37 @@ this.btn_Back.UseVisualStyleBackColor = true; this.btn_Back.Click += new System.EventHandler(this.btn_Back_Click); // + // webBrowser1 + // + this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Fill; + this.webBrowser1.Location = new System.Drawing.Point(0, 0); + this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20); + this.webBrowser1.Name = "webBrowser1"; + this.webBrowser1.ScriptErrorsSuppressed = true; + this.webBrowser1.Size = new System.Drawing.Size(1152, 612); + this.webBrowser1.TabIndex = 0; + this.webBrowser1.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.webBrowser1_DocumentCompleted); + this.webBrowser1.NewWindow += new System.ComponentModel.CancelEventHandler(this.webBrowser1_NewWindow); + // + // richTextBox1 + // + this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.richTextBox1.Location = new System.Drawing.Point(0, 580); + this.richTextBox1.Name = "richTextBox1"; + this.richTextBox1.Size = new System.Drawing.Size(1152, 32); + this.richTextBox1.TabIndex = 1; + this.richTextBox1.Text = ""; + // + // panel2 + // + this.panel2.Controls.Add(this.richTextBox1); + this.panel2.Controls.Add(this.webBrowser1); + this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel2.Location = new System.Drawing.Point(0, 36); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(1152, 612); + this.panel2.TabIndex = 5; + // // Input_DLS // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); @@ -145,23 +145,22 @@ this.Name = "Input_DLS"; this.Text = "DLS_DLS입력"; this.Load += new System.EventHandler(this.Input_DLS_Load); - this.panel2.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); + this.panel2.ResumeLayout(false); this.ResumeLayout(false); } #endregion - - private System.Windows.Forms.Panel panel2; - private System.Windows.Forms.RichTextBox richTextBox1; - private System.Windows.Forms.WebBrowser webBrowser1; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Button btn_Close; private System.Windows.Forms.Button btn_Go; private System.Windows.Forms.TextBox tb_URL; private System.Windows.Forms.Button btn_Forward; private System.Windows.Forms.Button btn_Back; + private System.Windows.Forms.WebBrowser webBrowser1; + private System.Windows.Forms.RichTextBox richTextBox1; + private System.Windows.Forms.Panel panel2; } } \ No newline at end of file diff --git a/unimarc/unimarc/마크/Mac_Input.cs b/unimarc/unimarc/마크/Mac_Input.cs index 8252405..d3a8e0a 100644 --- a/unimarc/unimarc/마크/Mac_Input.cs +++ b/unimarc/unimarc/마크/Mac_Input.cs @@ -126,22 +126,27 @@ namespace WindowsFormsApp1.Mac } private void btn_db_save_Click(object sender, EventArgs e) { + string compidx = UniMarc.Properties.Settings.Default.compidx; string table = "Marc"; - string[] col = { "grade", "ISBN", "서명", "총서명", "저자", "출판사", "가격", "marc", "marc_chk" }; + string[] col = { "ISBN", "서명", "총서명", "저자", "출판사", "가격", "marc", "marc_chk", "compidx", "grade" }; for(int a = 0; a < dataGridView1.Rows.Count; a++) { string Marc = dataGridView1.Rows[a].Cells["Marc"].Value.ToString(); Marc = Marc.Replace(@"'", "'"); Marc = Marc.Replace(@"""", "\"\""); - string[] data = { "2", dataGridView1.Rows[a].Cells["isbn"].Value.ToString(), - dataGridView1.Rows[a].Cells["book_name"].Value.ToString(), - dataGridView1.Rows[a].Cells["series"].Value.ToString(), - dataGridView1.Rows[a].Cells["author"].Value.ToString(), - dataGridView1.Rows[a].Cells["book_comp"].Value.ToString(), - dataGridView1.Rows[a].Cells["price"].Value.ToString(), - Marc, "1" }; - string Incmd = db.DB_INSERT(table, col, data); - db.DB_Send_CMD_reVoid(Incmd); + try + { + string[] data = { dataGridView1.Rows[a].Cells["isbn"].Value.ToString(), + dataGridView1.Rows[a].Cells["book_name"].Value.ToString(), + dataGridView1.Rows[a].Cells["series"].Value.ToString(), + dataGridView1.Rows[a].Cells["author"].Value.ToString(), + dataGridView1.Rows[a].Cells["book_comp"].Value.ToString(), + dataGridView1.Rows[a].Cells["price"].Value.ToString(), + Marc, "1", compidx, "4" }; + string Incmd = db.DB_INSERT(table, col, data); + db.DB_Send_CMD_reVoid(Incmd); + } + catch(Exception ex) { MessageBox.Show(ex.Message); } } MessageBox.Show("DB 저장 완료!"); } diff --git a/unimarc/unimarc/마크/Mac_List.cs b/unimarc/unimarc/마크/Mac_List.cs index b67256a..2bc0d9d 100644 --- a/unimarc/unimarc/마크/Mac_List.cs +++ b/unimarc/unimarc/마크/Mac_List.cs @@ -22,7 +22,7 @@ namespace WindowsFormsApp1.Mac InitializeComponent(); main = _main; compidx = main.com_idx; - user_name = main.toolStripLabel1.Text; + user_name = main.botUserLabel.Text; } private void Mac_List_Load(object sender, EventArgs e) { diff --git a/unimarc/unimarc/마크/Mac_Output.Designer.cs b/unimarc/unimarc/마크/Mac_Output.Designer.cs index 0e6d585..35bc374 100644 --- a/unimarc/unimarc/마크/Mac_Output.Designer.cs +++ b/unimarc/unimarc/마크/Mac_Output.Designer.cs @@ -28,7 +28,7 @@ /// private void InitializeComponent() { - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.isbn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -38,6 +38,7 @@ this.price = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Marc = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panel1 = new System.Windows.Forms.Panel(); + this.btn_close = new System.Windows.Forms.Button(); this.connect_list = new System.Windows.Forms.ComboBox(); this.cb_list = new System.Windows.Forms.ComboBox(); this.btn_file_save = new System.Windows.Forms.Button(); @@ -46,7 +47,6 @@ this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); - this.btn_close = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); @@ -55,14 +55,14 @@ // this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.AllowUserToDeleteRows = false; - dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle8.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8; + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.isbn, @@ -137,11 +137,21 @@ this.panel1.Size = new System.Drawing.Size(1273, 40); this.panel1.TabIndex = 10; // + // btn_close + // + this.btn_close.Location = new System.Drawing.Point(826, 8); + this.btn_close.Name = "btn_close"; + this.btn_close.Size = new System.Drawing.Size(75, 23); + this.btn_close.TabIndex = 7; + this.btn_close.Text = "닫 기"; + this.btn_close.UseVisualStyleBackColor = true; + this.btn_close.Click += new System.EventHandler(this.btn_close_Click); + // // connect_list // this.connect_list.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.connect_list.FormattingEnabled = true; - this.connect_list.Location = new System.Drawing.Point(1147, 11); + this.connect_list.Location = new System.Drawing.Point(1147, 9); this.connect_list.Name = "connect_list"; this.connect_list.Size = new System.Drawing.Size(121, 20); this.connect_list.TabIndex = 6; @@ -205,16 +215,6 @@ this.label1.TabIndex = 1; this.label1.Text = "구분"; // - // btn_close - // - this.btn_close.Location = new System.Drawing.Point(826, 8); - this.btn_close.Name = "btn_close"; - this.btn_close.Size = new System.Drawing.Size(75, 23); - this.btn_close.TabIndex = 7; - this.btn_close.Text = "닫 기"; - this.btn_close.UseVisualStyleBackColor = true; - this.btn_close.Click += new System.EventHandler(this.btn_close_Click); - // // Mac_Output // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); diff --git a/unimarc/unimarc/마크/Mac_Output.cs b/unimarc/unimarc/마크/Mac_Output.cs index 3d7da40..da7c12a 100644 --- a/unimarc/unimarc/마크/Mac_Output.cs +++ b/unimarc/unimarc/마크/Mac_Output.cs @@ -131,6 +131,7 @@ namespace WindowsFormsApp1.Mac } } } + private void Search_Marc() { string area = "`총서명`, `marc`, `marc_chk`, `marc1`, `marc_chk1`, `marc2`, `marc_chk2`"; @@ -178,7 +179,7 @@ namespace WindowsFormsApp1.Mac dataGridView1.Rows[a].Cells["Marc"].Value == null) continue; - Marc_data += dataGridView1.Rows[a].Cells["Marc"].Value.ToString(); + Marc_data += dataGridView1.Rows[a].Cells["Marc"].Value.ToString().Replace("₩", "\\"); } string FileName; diff --git a/unimarc/unimarc/마크/Mac_Stat_Stat.cs b/unimarc/unimarc/마크/Mac_Stat_Stat.cs index 77056a4..47ac1f3 100644 --- a/unimarc/unimarc/마크/Mac_Stat_Stat.cs +++ b/unimarc/unimarc/마크/Mac_Stat_Stat.cs @@ -86,15 +86,17 @@ namespace UniMarc.마크 lbl_log_a.Text = db.self_Made_Cmd(cmd).Replace("|", ""); Label[] k_lbl = { lbl_kor_s, lbl_kor_a, lbl_kor_t }; // 국내서 라벨 + tab2_total1(k_lbl); + Label[] l_lbl = { lbl_log_s, lbl_log_a, lbl_log_t }; // 서양서 라벨 + tab2_total1(l_lbl); Label[] s_lbl = { lbl_kor_s, lbl_log_s, lbl_s_total }; // 소장 라벨 - Label[] a_lbl = { lbl_kor_a, lbl_log_a, lbl_a_total }; // 추가 라벨 - - tab2_total1(k_lbl); - tab2_total1(l_lbl); tab2_total1(s_lbl); + + Label[] a_lbl = { lbl_kor_a, lbl_log_a, lbl_a_total }; // 추가 라벨 tab2_total1(a_lbl); + } #region button2_Click_Sub void tab2_total1(Label[] lbl) diff --git a/unimarc/unimarc/마크/Marc.cs b/unimarc/unimarc/마크/Marc.cs index 25d7427..1aeca39 100644 --- a/unimarc/unimarc/마크/Marc.cs +++ b/unimarc/unimarc/마크/Marc.cs @@ -13,8 +13,12 @@ namespace ExcelTest { public partial class Marc : Form { + /// + /// isbn / 도서명 / 저자 / 출판사 / 가격 + /// string[] data_book = { "", "", "", "", "" }; string user_name; + string compidx; public string find; public string change; public string call = ""; @@ -74,6 +78,7 @@ namespace ExcelTest comboBox7.SelectedIndex = 0; comboBox8.SelectedIndex = 0; #endregion + compidx = UniMarc.Properties.Settings.Default.compidx; } /// /// 가져온 목록을 책목록과 연동하여 Grid에 집어넣음. @@ -121,7 +126,32 @@ namespace ExcelTest { string[] sear_tbl = { "ISBN" }; string[] sear_col = { List_Book.Rows[a].Cells["ISBN13"].Value.ToString() }; - string cmd = db.More_DB_Search("Marc", sear_tbl, sear_col, "`idx`, `marc`, `grade`"); + + string tmp_cmd = db.More_DB_Search("Marc", sear_tbl, sear_col, "`marc_chk`, `marc_chk1`, `marc_chk2`"); + string tmp_res = db.DB_Send_CMD_Search(tmp_cmd); + string[] tmp_ary = tmp_res.Split('|'); + + string cmd = ""; + if (tmp_ary.Length <= 1) + { + cmd = db.More_DB_Search("Marc", sear_tbl, sear_col, "`idx`, `marc`, `grade`"); + } + else + { + if (tmp_ary[0] == "1") + cmd = string.Format( + "SELECT `idx`, `marc`, `grade`, `008tag` FROM `Marc` WHERE `{0}` = \"{1}\" " + + "AND (`marc_chk` = 1 OR `marc_chk1` = 1 OR `marc_chk2` = 1);", sear_tbl[0], sear_col[0]); + else if (tmp_ary[1] == "1") + cmd = string.Format( + "SELECT `idx`, `marc1`, `grade`, `008tag` FROM `Marc` WHERE `{0}` = \"{1}\" " + + "AND (`marc_chk` = 1 OR `marc_chk1` = 1 OR `marc_chk2` = 1);", sear_tbl[0], sear_col[0]); + else if (tmp_ary[2] == "1") + cmd = string.Format( + "SELECT `idx`, `marc2`, `grade`, `008tag` FROM `Marc` WHERE `{0}` = \"{1}\" " + + "AND (`marc_chk` = 1 OR `marc_chk1` = 1 OR `marc_chk2` = 1);", sear_tbl[0], sear_col[0]); + } + string db_res = db.DB_Send_CMD_Search(cmd); string[] db_data = db_res.Split('|'); if (db_data.Length < 2) { @@ -147,6 +177,7 @@ namespace ExcelTest List_Book.Rows[a].Cells["marc_idx"].Value = db_data[0]; List_Book.Rows[a].Cells["db_marc"].Value = db_data[1]; List_Book.Rows[a].Cells["grade"].Value = db_data[2]; + text008.Text = db_data[3]; } } } @@ -337,7 +368,7 @@ namespace ExcelTest break; case 88: // TODO: 입력시 코드값?이 출력됨 X쪽의 문제인지 아스키코드의 문제인지 확인 불가. richTextBox1.SelectionColor = Color.Blue; - richTextBox1.SelectedText = "▼x"; + richTextBox1.SelectedText = @"▼x"; richTextBox1.SelectionColor = Color.Black; break; case 89: @@ -406,63 +437,18 @@ namespace ExcelTest helper.Show(); } } - private void checkBox1_CheckedChanged(object sender, EventArgs e) - { - string name = ((CheckBox)sender).Name; - if (((CheckBox)sender).Checked == true) { - switch (name) - { - case "checkBox1": - ((CheckBox)sender).Text = "회의간행물o"; - break; - case "checkBox2": - ((CheckBox)sender).Text = "기념논문집o"; - break; - } - } - else if (((CheckBox)sender).Checked == false) { - switch (name) - { - case "checkBox1": - ((CheckBox)sender).Text = "회의간행물x"; - break; - case "checkBox2": - ((CheckBox)sender).Text = "기념논문집x"; - break; - } - } - switch (name) - { - case "checkBox1": - Publication(checkBox1.Checked, 29); - break; - case "checkBox2": - Publication(checkBox2.Checked, 30); - break; - } - } - void Publication(bool check, int idx) - { - if(text008.Text == "") { return; } - char[] ArrayChar = text008.Text.ToCharArray(); - if (check == false) { ArrayChar[idx] = '0'; } - else if(check == true) { ArrayChar[idx] = '1'; } - text008.Text = new string(ArrayChar); - Apply_Main_marc(); - } private void Btn_Memo_Click(object sender, EventArgs e) { Marc_memo memo = new Marc_memo(this); memo.StartPosition = FormStartPosition.Manual; memo.Location = new Point(1018, 8); - memo.TopMost = true; memo.Show(); } private void Btn_preview_Click(object sender, EventArgs e) { - Marc_Preview mp = new Marc_Preview(); - mp.url_isbn = data_book[0]; - mp.TopMost = true; + Marc_Preview mp = new Marc_Preview(this); + mp.book_data = data_book; + mp.richTextBox1.Text = richTextBox1.Text; mp.Show(); } private void Btn_Save_Click(object sender, EventArgs e) @@ -481,8 +467,14 @@ namespace ExcelTest if (List_Book.Rows[row_idx].Cells["db_marc"].Value.ToString() != "") { - string[] Edit_tbl = { "marc", "marc_chk", "marc_chk1", "비고1", "비고2", "url", "division", "008tag", "date", "user" }; - string[] Edit_col = { st.made_Ori_marc(richTextBox1), "1", "0", etc1.Text, etc2.Text, grid_data[5], tag056, text008.Text, date, user_name }; + string[] Edit_tbl = { + "compidx", "marc", "marc_chk", "marc_chk1", "비고1", + "비고2", "url", "division", "008tag", "date", + "user" }; + string[] Edit_col = { + compidx, st.made_Ori_marc(richTextBox1), "1", "0", etc1.Text, + etc2.Text, grid_data[5], tag056, text008.Text, date, + user_name }; string[] Sear_tbl = { "ISBN" }; string[] Sear_col = { List_Book.Rows[row_idx].Cells["ISBN13"].Value.ToString() }; @@ -490,19 +482,19 @@ namespace ExcelTest switch (res) { case "0": - Edit_tbl[0] = "marc1"; - Edit_tbl[1] = "marc_chk1"; - Edit_tbl[2] = "marc_chk"; + Edit_tbl[1] = "marc1"; + Edit_tbl[2] = "marc_chk1"; + Edit_tbl[3] = "marc_chk"; break; case "1": - Edit_tbl[0] = "marc2"; - Edit_tbl[1] = "marc_chk2"; - Edit_tbl[2] = "marc_chk1"; + Edit_tbl[1] = "marc2"; + Edit_tbl[2] = "marc_chk2"; + Edit_tbl[3] = "marc_chk1"; break; case "2": - Edit_tbl[0] = "marc"; - Edit_tbl[1] = "marc_chk"; - Edit_tbl[2] = "marc_chk2"; + Edit_tbl[1] = "marc"; + Edit_tbl[2] = "marc_chk"; + Edit_tbl[3] = "marc_chk2"; break; default: break; @@ -510,22 +502,22 @@ namespace ExcelTest string U_cmd = db.More_Update(table_name, Edit_tbl, Edit_col, Sear_tbl, Sear_col); db.DB_Send_CMD_reVoid(U_cmd); - MessageBox.Show(res + ": 업데이트"); } else { - string[] Insert_tbl = { "ISBN", "서명", "저자", "출판사", - "가격", "marc", "비고1", "비고2", "url", - "grade", "marc_chk", "user", "division", "008tag", - "date" }; - string[] Insert_col = { grid_data[0], grid_data[1], grid_data[2], grid_data[3], - grid_data[4], st.made_Ori_marc(richTextBox1), etc1.Text, etc2.Text, grid_data[5], - cb_grade.SelectedIndex.ToString(), "1", user_name, tag056, text008.Text, - date }; + string[] Insert_tbl = { + "ISBN", "서명", "저자", "출판사", + "가격", "marc", "비고1", "비고2", "url", + "grade", "marc_chk", "user", "division", "008tag", + "date", "compidx" }; + string[] Insert_col = { + grid_data[0], grid_data[1], grid_data[2], grid_data[3], + grid_data[4], st.made_Ori_marc(richTextBox1), etc1.Text, etc2.Text, grid_data[5], + cb_grade.SelectedIndex.ToString(), "1", user_name, tag056, text008.Text, + date, compidx }; string Incmd = db.DB_INSERT(table_name, Insert_tbl, Insert_col); db.DB_Send_CMD_reVoid(Incmd); - MessageBox.Show("추가"); } List_Book.Rows[row_idx].Cells["db_marc"].Value = st.made_Ori_marc(richTextBox1); List_Book.Rows[row_idx].DefaultCellStyle.BackColor = Color.White; @@ -547,6 +539,10 @@ namespace ExcelTest MessageBox.Show("저장되었습니다!"); } #region Save_Click_Sub + /// + /// 분류기호(056)추출 & 008태그 마크에 삽입 + /// + /// string Tag056() { string marc = richTextBox1.Text; @@ -606,7 +602,10 @@ namespace ExcelTest Save_data(row_idx); richTextBox1.Text = ""; - if (!click_Marc(row_idx)) { richTextBox1.Text = Make_Empty(); } + + bool check_Marc = click_Marc(row_idx); + if (!check_Marc) { richTextBox1.Text = Make_Empty(); } + else { ReadRemark(row_idx); } input_picture(row_idx); Create_008(); st.Color_change("▼", richTextBox1); @@ -619,6 +618,19 @@ namespace ExcelTest cb_grade.SelectedIndex = grade; } #region ContentClick_Sub + + void ReadRemark(int row) + { + string[] sear_tbl = { "ISBN" }; + string[] sear_col = { List_Book.Rows[row].Cells["ISBN13"].Value.ToString() }; + string cmd = db.More_DB_Search("Marc", sear_tbl, sear_col, "`비고1`, `비고2`"); + string res = db.DB_Send_CMD_Search(cmd); + + string[] ary = res.Split('|'); + etc1.Text = ary[0]; + etc2.Text = ary[1]; + } + bool check_V(int row, int col) { string name = List_Book.Columns[col].Name; @@ -629,7 +641,7 @@ namespace ExcelTest else List_Book.Rows[row].Cells["colCheck"].Value = "V"; - + return true; } else @@ -765,14 +777,16 @@ namespace ExcelTest if (data == "" || data == null) { return; } - string[] Tag008 = { "", "", "", "", "", - "", "", "", "", "", - "", "", "", "", "", - "", "", "", "", "" }; - /* 입력일자 발행년유형 발행년1 발행년2 발행국 - * 삽화표시 이용대상자수준 개별자료형태 내용형식1 내용형식2 - * 한국대학부호 수정레코드 회의간행물 기념논문집 색인 - * 목록전거 문학형식 전기 언어 한국정부기관부호 */ + string[] Tag008 = { + // 입력일자 발행년유형 발행년1 발행년2 발행국 + "", "", "", "", "", + // 삽화표시 이용대상자수준 개별자료형태 내용형식1 내용형식2 + "", "", "", "", "", + // 한국대학부호 수정레코드 회의간행물 기념논문집 색인 + "", "", "", "", "", + // 목록전거 문학형식 전기 언어 한국정부기관부호 + "", "", "", "", "" + }; // 사전에 선언된 string배열에 맞는 데이터를 배정. int tmp_years = Convert.ToInt32(data.Substring(0, 2)); @@ -831,6 +845,119 @@ namespace ExcelTest return; } #endregion + + #region 008 관련 함수들 + + private void btn_Reflesh008_Click(object sender, EventArgs e) + { + string data = text008.Text; + string oriMarc = st.made_Ori_marc(richTextBox1); + + if (data == "" || data == null) { return; } + + // 입력일자 발행년유형 발행년1 발행년2 발행국 + // 삽화표시 이용대상자수준 개별자료형태 내용형식1 내용형식2 + // 한국대학부호 수정레코드 회의간행물 기념논문집 색인 + // 목록전거 문학형식 전기 언어 한국정부기관부호 + + #region 사전에 선언된 string배열에 맞는 데이터를 배정. + // 참조할 태그 배열선언 + string[] SearchTag = { "260c", "260a", "300b" }; + string[] ContentTag = st.Take_Tag(oriMarc, SearchTag); + + // 입력일자 (00-05) + string day; + if (input_date.Checked) + day = string.Format("{0}{1}{2}", + DateTime.Now.ToString("yy"), DateTime.Now.ToString("MM"), DateTime.Now.ToString("dd")); + else + day = input_date.Value.ToString("yy") + input_date.Value.ToString("MM") + input_date.Value.ToString("dd"); + + // 발행년유형 (6), 발행년1 (07-10), 발행년2 (11-14) + string DateSet = pubDateSet(ContentTag[0]); + + // 발행국 (15-17) + string Country = pubCountry(ContentTag[1]); + + // 삽화표시 (18-21) + string Picture = tag008.Picture_008(ContentTag[2]); + + string tmp = day + DateSet + Country + Picture; + + + char[] textArray = data.ToCharArray(); + for (int a = 0; a < tmp.Length; a++) + { + textArray[a] = tmp[a]; + } + text008.Text = new string(textArray); + + // 이용대상자수준 (22) v + // 개별자료형태 (23) v + // 내용형식1 (24) v + // 내용형식2 (25) v + // 한국대학부호 (26-27) + // 수정레코드 (28) + // 회의간행물 (29) c + // 기념논문집 (30) c + // 색인 (31) + // 목록전거 (32) + // 문학형식 (33) v + // 전기 (34) v + // 언어 (35-37) v + // 한국정부기관부호 (38-39) + #endregion + } + + /// + /// 발행년유형 / 발행년1 / 발행년2 를 260c태그로 확인. + /// + /// 260c의 태그내용 + /// + private string pubDateSet(string ContentTag) + { + string Result = ""; + + string pubDate = Regex.Replace(ContentTag, @"[^0-9]", ""); + + if (pubDate.Length < 3) { + MessageBox.Show("260c가 인식되지않습니다."); + return "false"; + } + else if (pubDate.Length < 5) + Result = "s" + pubDate + " "; + else + Result = "m" + pubDate; + + return Result; + } + + /// + /// 발행국명 을 260a태그로 확인. + /// + /// 260a의 태그내용 + /// + private string pubCountry(string ContentTag) + { + string Result = ""; + + // string cmd = db.DB_Select_Search("`Code`", "Tag008_Country", "Area", ContentTag); + string cmd = string.Format( + "SELECT `Code` FROM `Tag008_Country` WHERE `Area` <= \"{0}\" ORDER BY `Area` DESC LIMIT 1;", ContentTag); + string res = db.DB_Send_CMD_Search(cmd).Replace("|", ""); + + if (res == "") { + MessageBox.Show("260a가 인식되지않습니다."); + return "false"; + } + else if (res.Length < 3) + Result = res + " "; + else + Result = res; + + return Result; + } + private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { if (text008.Text.Length < 3) { return; } @@ -842,15 +969,7 @@ namespace ExcelTest text008.Text = tag008.Combo_Change(text, comboName, comboIdx); Apply_Main_marc(); } - /// - /// 008text가 메인 텍스트박스에 적용됨. - /// - private void Apply_Main_marc() - { - string text = text008.Text; - richTextBox1.Text = richTextBox1.Text.Replace(data008, text); - data008 = text; - } + private void col008res_TextChanged(object sender, EventArgs e) { if (text008.Text.Length < 3) { return; } @@ -875,6 +994,7 @@ namespace ExcelTest text008.Text = text; Apply_Main_marc(); } + private void input_date_ValueChanged(object sender, EventArgs e) { if (text008.Text.Length < 3) { return; } @@ -888,10 +1008,71 @@ namespace ExcelTest Apply_Main_marc(); } + + private void checkBox1_CheckedChanged(object sender, EventArgs e) + { + string name = ((CheckBox)sender).Name; + if (((CheckBox)sender).Checked == true) + { + switch (name) + { + case "checkBox1": + ((CheckBox)sender).Text = "회의간행물o"; + break; + case "checkBox2": + ((CheckBox)sender).Text = "기념논문집o"; + break; + } + } + else if (((CheckBox)sender).Checked == false) + { + switch (name) + { + case "checkBox1": + ((CheckBox)sender).Text = "회의간행물x"; + break; + case "checkBox2": + ((CheckBox)sender).Text = "기념논문집x"; + break; + } + } + switch (name) + { + case "checkBox1": + Publication(checkBox1.Checked, 29); + break; + case "checkBox2": + Publication(checkBox2.Checked, 30); + break; + } + } + + void Publication(bool check, int idx) + { + if (text008.Text == "") { return; } + char[] ArrayChar = text008.Text.ToCharArray(); + if (check == false) { ArrayChar[idx] = '0'; } + else if (check == true) { ArrayChar[idx] = '1'; } + text008.Text = new string(ArrayChar); + Apply_Main_marc(); + } + + /// + /// 008text가 메인 텍스트박스에 적용됨. + /// + private void Apply_Main_marc() + { + string text = text008.Text; + richTextBox1.Text = richTextBox1.Text.Replace(data008, text); + data008 = text; + } + #endregion + private void Btn_Close_Click(object sender, EventArgs e) { this.Close(); } + private void dataGridView8_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Space) @@ -1048,5 +1229,10 @@ namespace ExcelTest } } } + + private void btn_FillBlank_Click(object sender, EventArgs e) + { + + } } } \ No newline at end of file diff --git a/unimarc/unimarc/마크/Marc.designer.cs b/unimarc/unimarc/마크/Marc.designer.cs index 5866b52..da9470e 100644 --- a/unimarc/unimarc/마크/Marc.designer.cs +++ b/unimarc/unimarc/마크/Marc.designer.cs @@ -28,8 +28,9 @@ /// private void InitializeComponent() { - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Marc)); this.richTextBox1 = new System.Windows.Forms.RichTextBox(); this.etc1 = new System.Windows.Forms.RichTextBox(); this.etc2 = new System.Windows.Forms.RichTextBox(); @@ -74,6 +75,7 @@ this.label4 = new System.Windows.Forms.Label(); this.text008 = new System.Windows.Forms.TextBox(); this.panel3 = new System.Windows.Forms.Panel(); + this.btn_Reflesh008 = new System.Windows.Forms.Button(); this.btn_close = new System.Windows.Forms.Button(); this.input_date = new System.Windows.Forms.DateTimePicker(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); @@ -89,6 +91,7 @@ this.btn_mk_marcList = new System.Windows.Forms.Button(); this.btn_Search = new System.Windows.Forms.Button(); this.checkBox3 = new System.Windows.Forms.CheckBox(); + this.btn_FillBlank = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.List_Book)).BeginInit(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); @@ -100,7 +103,7 @@ // this.richTextBox1.AcceptsTab = true; this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.richTextBox1.Font = new System.Drawing.Font("굴림체", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.richTextBox1.Font = new System.Drawing.Font("굴림체", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.richTextBox1.Location = new System.Drawing.Point(542, 95); this.richTextBox1.Name = "richTextBox1"; this.richTextBox1.Size = new System.Drawing.Size(631, 649); @@ -111,7 +114,7 @@ // etc1 // this.etc1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.etc1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.etc1.Font = new System.Drawing.Font("굴림체", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etc1.Location = new System.Drawing.Point(1187, 324); this.etc1.Name = "etc1"; this.etc1.Size = new System.Drawing.Size(291, 204); @@ -122,7 +125,7 @@ // etc2 // this.etc2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.etc2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.etc2.Font = new System.Drawing.Font("굴림체", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etc2.Location = new System.Drawing.Point(1187, 534); this.etc2.Name = "etc2"; this.etc2.Size = new System.Drawing.Size(291, 201); @@ -162,7 +165,7 @@ // label3 // this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(856, 15); + this.label3.Location = new System.Drawing.Point(872, 15); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(53, 12); this.label3.TabIndex = 206; @@ -172,7 +175,7 @@ // this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox2.FormattingEnabled = true; - this.comboBox2.Location = new System.Drawing.Point(907, 11); + this.comboBox2.Location = new System.Drawing.Point(926, 11); this.comboBox2.Name = "comboBox2"; this.comboBox2.Size = new System.Drawing.Size(79, 20); this.comboBox2.TabIndex = 207; @@ -202,7 +205,7 @@ // label99 // this.label99.AutoSize = true; - this.label99.Location = new System.Drawing.Point(1306, 15); + this.label99.Location = new System.Drawing.Point(1310, 15); this.label99.Name = "label99"; this.label99.Size = new System.Drawing.Size(29, 12); this.label99.TabIndex = 206; @@ -210,7 +213,7 @@ // // text008col // - this.text008col.Location = new System.Drawing.Point(1335, 11); + this.text008col.Location = new System.Drawing.Point(1339, 11); this.text008col.Name = "text008col"; this.text008col.Size = new System.Drawing.Size(41, 21); this.text008col.TabIndex = 204; @@ -219,7 +222,7 @@ // label100 // this.label100.AutoSize = true; - this.label100.Location = new System.Drawing.Point(808, 37); + this.label100.Location = new System.Drawing.Point(872, 37); this.label100.Name = "label100"; this.label100.Size = new System.Drawing.Size(53, 12); this.label100.TabIndex = 206; @@ -229,7 +232,7 @@ // this.comboBox4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox4.FormattingEnabled = true; - this.comboBox4.Location = new System.Drawing.Point(859, 33); + this.comboBox4.Location = new System.Drawing.Point(926, 33); this.comboBox4.Name = "comboBox4"; this.comboBox4.Size = new System.Drawing.Size(79, 20); this.comboBox4.TabIndex = 207; @@ -239,7 +242,7 @@ // label101 // this.label101.AutoSize = true; - this.label101.Location = new System.Drawing.Point(947, 37); + this.label101.Location = new System.Drawing.Point(1033, 37); this.label101.Name = "label101"; this.label101.Size = new System.Drawing.Size(29, 12); this.label101.TabIndex = 206; @@ -249,9 +252,9 @@ // this.comboBox5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox5.FormattingEnabled = true; - this.comboBox5.Location = new System.Drawing.Point(977, 33); + this.comboBox5.Location = new System.Drawing.Point(1063, 33); this.comboBox5.Name = "comboBox5"; - this.comboBox5.Size = new System.Drawing.Size(101, 20); + this.comboBox5.Size = new System.Drawing.Size(97, 20); this.comboBox5.TabIndex = 207; this.comboBox5.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); this.comboBox5.MouseClick += new System.Windows.Forms.MouseEventHandler(this.comboBox1_MouseClick); @@ -259,7 +262,7 @@ // label102 // this.label102.AutoSize = true; - this.label102.Location = new System.Drawing.Point(1093, 37); + this.label102.Location = new System.Drawing.Point(1173, 37); this.label102.Name = "label102"; this.label102.Size = new System.Drawing.Size(29, 12); this.label102.TabIndex = 206; @@ -269,16 +272,16 @@ // this.comboBox6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox6.FormattingEnabled = true; - this.comboBox6.Location = new System.Drawing.Point(1123, 33); + this.comboBox6.Location = new System.Drawing.Point(1203, 33); this.comboBox6.Name = "comboBox6"; - this.comboBox6.Size = new System.Drawing.Size(101, 20); + this.comboBox6.Size = new System.Drawing.Size(97, 20); this.comboBox6.TabIndex = 207; this.comboBox6.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); this.comboBox6.MouseClick += new System.Windows.Forms.MouseEventHandler(this.comboBox1_MouseClick); // // text008gov // - this.text008gov.Location = new System.Drawing.Point(1263, 33); + this.text008gov.Location = new System.Drawing.Point(1339, 33); this.text008gov.Name = "text008gov"; this.text008gov.Size = new System.Drawing.Size(41, 21); this.text008gov.TabIndex = 204; @@ -287,7 +290,7 @@ // label103 // this.label103.AutoSize = true; - this.label103.Location = new System.Drawing.Point(1234, 37); + this.label103.Location = new System.Drawing.Point(1310, 37); this.label103.Name = "label103"; this.label103.Size = new System.Drawing.Size(29, 12); this.label103.TabIndex = 206; @@ -298,7 +301,7 @@ this.col008res.AutoSize = true; this.col008res.BackColor = System.Drawing.SystemColors.ActiveBorder; this.col008res.ForeColor = System.Drawing.Color.Blue; - this.col008res.Location = new System.Drawing.Point(1378, 15); + this.col008res.Location = new System.Drawing.Point(1382, 15); this.col008res.Name = "col008res"; this.col008res.Size = new System.Drawing.Size(13, 12); this.col008res.TabIndex = 206; @@ -310,7 +313,7 @@ this.gov008res.AutoSize = true; this.gov008res.BackColor = System.Drawing.SystemColors.ActiveBorder; this.gov008res.ForeColor = System.Drawing.Color.Blue; - this.gov008res.Location = new System.Drawing.Point(1306, 37); + this.gov008res.Location = new System.Drawing.Point(1382, 37); this.gov008res.Name = "gov008res"; this.gov008res.Size = new System.Drawing.Size(13, 12); this.gov008res.TabIndex = 206; @@ -352,9 +355,9 @@ // // Btn_Memo // - this.Btn_Memo.Location = new System.Drawing.Point(1403, 92); + this.Btn_Memo.Location = new System.Drawing.Point(1191, 164); this.Btn_Memo.Name = "Btn_Memo"; - this.Btn_Memo.Size = new System.Drawing.Size(75, 23); + this.Btn_Memo.Size = new System.Drawing.Size(77, 23); this.Btn_Memo.TabIndex = 215; this.Btn_Memo.Text = "메모장"; this.Btn_Memo.UseVisualStyleBackColor = true; @@ -365,14 +368,14 @@ this.List_Book.AllowUserToAddRows = false; this.List_Book.AllowUserToDeleteRows = false; this.List_Book.AllowUserToResizeColumns = false; - dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.List_Book.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; + dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle5.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.List_Book.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5; this.List_Book.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.list_idx, this.ISBN13, @@ -495,8 +498,8 @@ // // colCheck // - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.colCheck.DefaultCellStyle = dataGridViewCellStyle2; + dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.colCheck.DefaultCellStyle = dataGridViewCellStyle6; this.colCheck.HeaderText = "V"; this.colCheck.Name = "colCheck"; this.colCheck.ReadOnly = true; @@ -505,9 +508,9 @@ // // btn_Save // - this.btn_Save.Location = new System.Drawing.Point(1403, 120); + this.btn_Save.Location = new System.Drawing.Point(1191, 192); this.btn_Save.Name = "btn_Save"; - this.btn_Save.Size = new System.Drawing.Size(75, 23); + this.btn_Save.Size = new System.Drawing.Size(77, 23); this.btn_Save.TabIndex = 215; this.btn_Save.Text = "저 장"; this.btn_Save.UseVisualStyleBackColor = true; @@ -516,7 +519,7 @@ // label4 // this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(8, 9); + this.label4.Location = new System.Drawing.Point(8, 7); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(49, 12); this.label4.TabIndex = 206; @@ -525,27 +528,41 @@ // text008 // this.text008.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.text008.Location = new System.Drawing.Point(60, 4); + this.text008.Location = new System.Drawing.Point(60, 3); this.text008.MaxLength = 40; this.text008.Name = "text008"; - this.text008.Size = new System.Drawing.Size(356, 21); + this.text008.Size = new System.Drawing.Size(317, 21); this.text008.TabIndex = 204; // // panel3 // this.panel3.BackColor = System.Drawing.SystemColors.ActiveCaption; + this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel3.Controls.Add(this.btn_Reflesh008); this.panel3.Controls.Add(this.text008); this.panel3.Controls.Add(this.label4); this.panel3.Location = new System.Drawing.Point(551, 57); this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(430, 30); + this.panel3.Size = new System.Drawing.Size(409, 30); this.panel3.TabIndex = 219; // + // btn_Reflesh008 + // + this.btn_Reflesh008.BackColor = System.Drawing.SystemColors.WindowText; + this.btn_Reflesh008.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btn_Reflesh008.BackgroundImage"))); + this.btn_Reflesh008.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.btn_Reflesh008.Location = new System.Drawing.Point(379, -2); + this.btn_Reflesh008.Name = "btn_Reflesh008"; + this.btn_Reflesh008.Size = new System.Drawing.Size(30, 30); + this.btn_Reflesh008.TabIndex = 207; + this.btn_Reflesh008.UseVisualStyleBackColor = false; + this.btn_Reflesh008.Click += new System.EventHandler(this.btn_Reflesh008_Click); + // // btn_close // - this.btn_close.Location = new System.Drawing.Point(1403, 149); + this.btn_close.Location = new System.Drawing.Point(1191, 221); this.btn_close.Name = "btn_close"; - this.btn_close.Size = new System.Drawing.Size(75, 23); + this.btn_close.Size = new System.Drawing.Size(77, 23); this.btn_close.TabIndex = 215; this.btn_close.Text = "닫 기"; this.btn_close.UseVisualStyleBackColor = true; @@ -553,11 +570,13 @@ // // input_date // + this.input_date.Checked = false; this.input_date.CustomFormat = "yyyy-MM-dd"; this.input_date.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.input_date.Location = new System.Drawing.Point(613, 11); this.input_date.Name = "input_date"; - this.input_date.Size = new System.Drawing.Size(91, 21); + this.input_date.ShowCheckBox = true; + this.input_date.Size = new System.Drawing.Size(101, 21); this.input_date.TabIndex = 220; this.input_date.ValueChanged += new System.EventHandler(this.input_date_ValueChanged); // @@ -565,7 +584,7 @@ // this.pictureBox1.BackColor = System.Drawing.SystemColors.ControlLight; this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; - this.pictureBox1.Location = new System.Drawing.Point(1187, 62); + this.pictureBox1.Location = new System.Drawing.Point(1273, 62); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(204, 256); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; @@ -575,9 +594,9 @@ // // btn_preview // - this.btn_preview.Location = new System.Drawing.Point(1403, 63); + this.btn_preview.Location = new System.Drawing.Point(1191, 106); this.btn_preview.Name = "btn_preview"; - this.btn_preview.Size = new System.Drawing.Size(75, 23); + this.btn_preview.Size = new System.Drawing.Size(77, 23); this.btn_preview.TabIndex = 215; this.btn_preview.Text = "미리보기"; this.btn_preview.UseVisualStyleBackColor = true; @@ -592,7 +611,7 @@ "B", "C", "D"}); - this.cb_grade.Location = new System.Drawing.Point(1074, 62); + this.cb_grade.Location = new System.Drawing.Point(1192, 80); this.cb_grade.Name = "cb_grade"; this.cb_grade.Size = new System.Drawing.Size(75, 20); this.cb_grade.TabIndex = 222; @@ -600,9 +619,10 @@ // label6 // this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(1011, 66); + 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(1198, 66); this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(57, 12); + this.label6.Size = new System.Drawing.Size(62, 12); this.label6.TabIndex = 223; this.label6.Text = "마크 등급"; // @@ -704,11 +724,22 @@ this.checkBox3.UseVisualStyleBackColor = true; this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged); // + // btn_FillBlank + // + this.btn_FillBlank.Location = new System.Drawing.Point(1191, 135); + this.btn_FillBlank.Name = "btn_FillBlank"; + this.btn_FillBlank.Size = new System.Drawing.Size(77, 23); + this.btn_FillBlank.TabIndex = 228; + this.btn_FillBlank.Text = "칸채우기"; + this.btn_FillBlank.UseVisualStyleBackColor = true; + this.btn_FillBlank.Click += new System.EventHandler(this.btn_FillBlank_Click); + // // Marc // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1489, 770); + this.Controls.Add(this.btn_FillBlank); this.Controls.Add(this.checkBox3); this.Controls.Add(this.panel1); this.Controls.Add(this.label6); @@ -826,5 +857,7 @@ private System.Windows.Forms.DataGridViewTextBoxColumn colCheck; public System.Windows.Forms.DataGridView List_Book; private System.Windows.Forms.CheckBox checkBox3; + private System.Windows.Forms.Button btn_Reflesh008; + private System.Windows.Forms.Button btn_FillBlank; } } \ No newline at end of file diff --git a/unimarc/unimarc/마크/Marc.resx b/unimarc/unimarc/마크/Marc.resx index fc48524..3e338ee 100644 --- a/unimarc/unimarc/마크/Marc.resx +++ b/unimarc/unimarc/마크/Marc.resx @@ -156,4 +156,43 @@ True + + + + iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAABGdBTUEAALGPC/xhBQAAAIFQTFRF//// + AAAAlJSU4ODgU1NT6enp+Pj4w8PDxMTEkpKS/Pz81tbW5eXlRERE3NzcmZmZzMzMZGRkTU1Nb29vg4OD + urq6KioqW1tb8vLyf39/sbGxEhISPz8/i4uL0NDQZmZmIyMjoqKiNTU1tLS0GRkZp6end3d3Li4uOjo6 + Dg4OJSUlLUB5vgAABwxJREFUeF7tnX97ojAMx6ceIqDi/DXndJ47vZt7/y/wFOMUSKG0SWE8+fxz9zxl + ZN8BaZq26ZMgCIIgCIIgCIIgCIIgCIIgCIIgCIIgCELrWHnDsb8+7uNuvD+u/fHQW0GLOT34t276kb99 + nn51siynu60f9eEqA7Zb+E+d9P1g9AaKcN42gR/C1dUIOl34X12E43gDMsrYxGP4IX26nZoVRtt/8Ovr + 8bmtJvIssE6Fq/3n9feuxOao73wuAutTGD0nv7AJM80HmQisS6E/TaybMh3AfYq4CqxH4ULXuagp1wgC + 61A4MPn88kzf4X44N4HuFQ5/gWV7dh7cE+FboGuF/S3YpSFWhQF3gY4VTqp1f+V8RnDnNA8C3Sr8C0Yp + wcLOR4EuFUYnsEnLMjd4SAl0qDAGi/SswQKQFuhMYWgewpTzF4wkZAS6Ujj8DfZ4+LzHqlmBjhROwBob + p1uomhPoRuEajJUzms3jtT+JxtHEP3bnM/3w7hrF5QU6UbgHW8V8BAsvl60I+8M/2w+4opjF+XJEoAuF + mNkMy3lhIB0uZhrf8RG3xK8wAEtKvrZ4YJJmMitO5ZzB3TW7wrIn+OLrJtJWa73XNQO3wpJvcFYtmzkY + wc9VgFnhHzCDMysY/iiYVNbIq/AdrKC8VE8OXlhUHJ+wKvTACMZJJ9WCEpb6rhScCsN8kv6bV7MU9pVe + lTwPp8IZ2MhzmMAlpmj0sTcYFard6LP9jNKktHe8wadwDBbyBHCFFStdp8qnUBlnGbuYDJo5ETaFr2Ag + y5tOiKaHnk/lUqjqCQ9DuIACrUELk8JQEUIe7H3MI8Uh0xUmhQpvTixQK7vFo1ARzLxRvqJntHpFHoU7 + uHsGOieToNftsyhUuBkfmonQjGtYFOLTn8SmdAM3DoV47vAZWonQFciiEH2ExG5UWyCHQvwR2o4m0ugL + 5FD4ArdO8QqNNFQQyKCwB3dOcbIZ8OaoIpBBIRryU40nEioJpFfYhxuneIFGEqoJpFeIzsKYZdVwKgqk + V4h1FTNoo6CqQHKFqJ+pnvhVUi2TeIFaITaeIXyElZ8gvUIsP0S30tpAILVCbGBI50hNBFIrPMJtHyEb + NBkJpFaIRGxLi4X2KcwEUiuEuz5CtRvAUCCxQmxwT5S6MBVIrBD5DP9BkyXGAokVIp/hHJrsMBdIrBCZ + qyAZVVSPZO6QKhzCTR+BJitsBNIqRBzNBppssHhFz5AqRBwNwVyhnUBahcjw/rLazA6rV/QMqULElVoP + nGwF0sw430AGFrYhWzjuWUKZp10dQNadETS1BGToRJm/aABId0gT0TQGJEcTQ1NLQCYsMlshfjoLkPUA + 8aRo3SAKaWecagdJdxPP3NcNEpZSpvMbQPufYfu/w/b70vb3h+2Padofl7Z/bNH+8SHHGL9hcORpmgVL + rq1R8ORLmwRTzrtBcM1bNAiuuafmwDZ/2BgQV7OEppbAOI/fFEDVI+5e02D6Kwc00YFs+idbT1PGCqnw + k6rrQgLyITob52PbvOhDKt51bcVgiwYZ3h9sAa2bKrARWHuEeBdLAvP60gKQvpglTcS9RliJO8Pc67xV + YKVbdtBGC/tafRx0QyBPTMy/3wIFqzd5gjZq0D0z3H0ikm7nS9Zig0TifU850BenQ7yt+g7mton3rmVB + 3xv6iO2Gi/2HaQZgIw1joOFiD+kjWMjN1VVccbIP+AH0s+DtodCHyJZYxAv3cj5CRffL1WWgHUWnQ1y+ + IYubmgoJir8md2ZBURfjRP+HRQPuM+yJBcXKZXKH6inKRfHProeKuuvEEhXvSmcK7ZwoPg/aAi69/JTs + FSdZBQd1opTlsx2tj1DW+qLqNHy4Xw5X813qem00+wPUi/idzTuz1txb4aHaBYfTzuq6iW+2I42Jysdw + j9MyLMEoglXty1Dlxs64Xd+i6q4unMwdjl9wBMHB8fIWVa+YYFiDdqz+As84X7JLXkfYQxMW39Qwp05b + C7qndl4JtazeKds9qF/PO/QL388zR7jSMaXb677mOoFcNC+tAb2HS52jsQe0pK7+02Be0PHcqOkJXtAq + M9r5xM5GeOp7i0Cv8nOtC64rnW/RPSbnW7z763g+0y0WXPua+cJ+kYTa17R4BcXLCfjgSzdrEyrSbyQ0 + ZDU533lPNTrRNJF6xGPD7ybtHiuOKc1wOhwsh/zsvI/GbR0jPv8w4J1aNmNYFj7r88I8+2LMwP6c1Quj + Ju9tJDhLdtT0jRy+fsCJMao5CtXC5kznn7Kw2tubvKyb+EdtpYo0z8W7sdRKBzSLcBzrfpIf8biJ3Z8O + fT8YFR/9c9gE2gmrptKP/O3zNJ+N+Zrutovop6u7s/KG48H6uI+78X6/9qOh14ChrSAIgiAIgiAIgiAI + giAIgiAIgiAIgiAIAilPT/8BzuZT5uV+S2QAAAAASUVORK5CYII= + + \ No newline at end of file diff --git a/unimarc/unimarc/마크/Marc_Preview.Designer.cs b/unimarc/unimarc/마크/Marc_Preview.Designer.cs index 96d7b9c..b1b3033 100644 --- a/unimarc/unimarc/마크/Marc_Preview.Designer.cs +++ b/unimarc/unimarc/마크/Marc_Preview.Designer.cs @@ -30,26 +30,187 @@ namespace UniMarc.마크 private void InitializeComponent() { this.webBrowser1 = new System.Windows.Forms.WebBrowser(); + this.panel1 = new System.Windows.Forms.Panel(); + this.panel4 = new System.Windows.Forms.Panel(); + this.richTextBox1 = new System.Windows.Forms.RichTextBox(); + this.panel3 = new System.Windows.Forms.Panel(); + this.btn_Search = new System.Windows.Forms.Button(); + this.btn_Save = new System.Windows.Forms.Button(); + this.panel2 = new System.Windows.Forms.Panel(); + this.tabControl1 = new System.Windows.Forms.TabControl(); + this.KyoBoPage = new System.Windows.Forms.TabPage(); + this.NLPage = new System.Windows.Forms.TabPage(); + this.webBrowser2 = new System.Windows.Forms.WebBrowser(); + this.KolisPage = new System.Windows.Forms.TabPage(); + this.webBrowser3 = new System.Windows.Forms.WebBrowser(); + this.panel1.SuspendLayout(); + this.panel4.SuspendLayout(); + this.panel3.SuspendLayout(); + this.panel2.SuspendLayout(); + this.tabControl1.SuspendLayout(); + this.KyoBoPage.SuspendLayout(); + this.NLPage.SuspendLayout(); + this.KolisPage.SuspendLayout(); this.SuspendLayout(); // // webBrowser1 // this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Fill; - this.webBrowser1.Location = new System.Drawing.Point(0, 0); + this.webBrowser1.Location = new System.Drawing.Point(3, 3); this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20); this.webBrowser1.Name = "webBrowser1"; - this.webBrowser1.Size = new System.Drawing.Size(800, 450); + this.webBrowser1.ScriptErrorsSuppressed = true; + this.webBrowser1.Size = new System.Drawing.Size(1302, 929); this.webBrowser1.TabIndex = 0; // - // Mac_Preview + // panel1 + // + this.panel1.Controls.Add(this.panel4); + this.panel1.Controls.Add(this.panel3); + this.panel1.Dock = System.Windows.Forms.DockStyle.Left; + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(432, 961); + this.panel1.TabIndex = 1; + // + // panel4 + // + this.panel4.Controls.Add(this.richTextBox1); + this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel4.Location = new System.Drawing.Point(0, 44); + this.panel4.Name = "panel4"; + this.panel4.Size = new System.Drawing.Size(432, 917); + this.panel4.TabIndex = 1; + // + // richTextBox1 + // + this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill; + this.richTextBox1.Location = new System.Drawing.Point(0, 0); + this.richTextBox1.Name = "richTextBox1"; + this.richTextBox1.Size = new System.Drawing.Size(432, 917); + this.richTextBox1.TabIndex = 0; + this.richTextBox1.Text = ""; + // + // panel3 + // + this.panel3.Controls.Add(this.btn_Search); + this.panel3.Controls.Add(this.btn_Save); + this.panel3.Dock = System.Windows.Forms.DockStyle.Top; + this.panel3.Location = new System.Drawing.Point(0, 0); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(432, 44); + this.panel3.TabIndex = 1; + // + // btn_Search + // + this.btn_Search.Location = new System.Drawing.Point(172, 12); + this.btn_Search.Name = "btn_Search"; + this.btn_Search.Size = new System.Drawing.Size(75, 23); + this.btn_Search.TabIndex = 0; + this.btn_Search.Text = "검 색"; + this.btn_Search.UseVisualStyleBackColor = true; + this.btn_Search.Click += new System.EventHandler(this.btn_Search_Click); + // + // btn_Save + // + this.btn_Save.Location = new System.Drawing.Point(253, 12); + this.btn_Save.Name = "btn_Save"; + this.btn_Save.Size = new System.Drawing.Size(75, 23); + this.btn_Save.TabIndex = 0; + this.btn_Save.Text = "마크 저장"; + this.btn_Save.UseVisualStyleBackColor = true; + this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click); + // + // panel2 + // + this.panel2.Controls.Add(this.tabControl1); + this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel2.Location = new System.Drawing.Point(432, 0); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(1316, 961); + this.panel2.TabIndex = 2; + // + // tabControl1 + // + this.tabControl1.Controls.Add(this.KyoBoPage); + this.tabControl1.Controls.Add(this.NLPage); + this.tabControl1.Controls.Add(this.KolisPage); + this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControl1.Location = new System.Drawing.Point(0, 0); + this.tabControl1.Name = "tabControl1"; + this.tabControl1.SelectedIndex = 0; + this.tabControl1.Size = new System.Drawing.Size(1316, 961); + this.tabControl1.TabIndex = 3; + // + // KyoBoPage + // + this.KyoBoPage.Controls.Add(this.webBrowser1); + this.KyoBoPage.Location = new System.Drawing.Point(4, 22); + this.KyoBoPage.Name = "KyoBoPage"; + this.KyoBoPage.Padding = new System.Windows.Forms.Padding(3); + this.KyoBoPage.Size = new System.Drawing.Size(1308, 935); + this.KyoBoPage.TabIndex = 0; + this.KyoBoPage.Text = "교보"; + this.KyoBoPage.UseVisualStyleBackColor = true; + // + // NLPage + // + this.NLPage.Controls.Add(this.webBrowser2); + this.NLPage.Location = new System.Drawing.Point(4, 22); + this.NLPage.Name = "NLPage"; + this.NLPage.Padding = new System.Windows.Forms.Padding(3); + this.NLPage.Size = new System.Drawing.Size(1308, 935); + this.NLPage.TabIndex = 1; + this.NLPage.Text = "국중"; + this.NLPage.UseVisualStyleBackColor = true; + // + // webBrowser2 + // + this.webBrowser2.Dock = System.Windows.Forms.DockStyle.Fill; + this.webBrowser2.Location = new System.Drawing.Point(3, 3); + this.webBrowser2.MinimumSize = new System.Drawing.Size(20, 20); + this.webBrowser2.Name = "webBrowser2"; + this.webBrowser2.ScriptErrorsSuppressed = true; + this.webBrowser2.Size = new System.Drawing.Size(1302, 929); + this.webBrowser2.TabIndex = 1; + // + // KolisPage + // + this.KolisPage.Controls.Add(this.webBrowser3); + this.KolisPage.Location = new System.Drawing.Point(4, 22); + this.KolisPage.Name = "KolisPage"; + this.KolisPage.Size = new System.Drawing.Size(1308, 935); + this.KolisPage.TabIndex = 2; + this.KolisPage.Text = "코리스"; + this.KolisPage.UseVisualStyleBackColor = true; + // + // webBrowser3 + // + this.webBrowser3.Dock = System.Windows.Forms.DockStyle.Fill; + this.webBrowser3.Location = new System.Drawing.Point(0, 0); + this.webBrowser3.MinimumSize = new System.Drawing.Size(20, 20); + this.webBrowser3.Name = "webBrowser3"; + this.webBrowser3.Size = new System.Drawing.Size(1308, 935); + this.webBrowser3.TabIndex = 0; + // + // Marc_Preview // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); - this.Controls.Add(this.webBrowser1); - this.Name = "Mac_Preview"; + this.ClientSize = new System.Drawing.Size(1748, 961); + this.Controls.Add(this.panel2); + this.Controls.Add(this.panel1); + this.Name = "Marc_Preview"; this.Text = "미리보기"; this.Load += new System.EventHandler(this.Mac_Preview_Load); + this.panel1.ResumeLayout(false); + this.panel4.ResumeLayout(false); + this.panel3.ResumeLayout(false); + this.panel2.ResumeLayout(false); + this.tabControl1.ResumeLayout(false); + this.KyoBoPage.ResumeLayout(false); + this.NLPage.ResumeLayout(false); + this.KolisPage.ResumeLayout(false); this.ResumeLayout(false); } @@ -57,5 +218,18 @@ namespace UniMarc.마크 #endregion private System.Windows.Forms.WebBrowser webBrowser1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.TabControl tabControl1; + private System.Windows.Forms.TabPage KyoBoPage; + private System.Windows.Forms.TabPage NLPage; + private System.Windows.Forms.WebBrowser webBrowser2; + public System.Windows.Forms.RichTextBox richTextBox1; + private System.Windows.Forms.Panel panel4; + private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.Button btn_Search; + private System.Windows.Forms.Button btn_Save; + private System.Windows.Forms.TabPage KolisPage; + private System.Windows.Forms.WebBrowser webBrowser3; } } \ No newline at end of file diff --git a/unimarc/unimarc/마크/Marc_Preview.cs b/unimarc/unimarc/마크/Marc_Preview.cs index a0646c3..38e5ae2 100644 --- a/unimarc/unimarc/마크/Marc_Preview.cs +++ b/unimarc/unimarc/마크/Marc_Preview.cs @@ -7,20 +7,121 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; +using ExcelTest; namespace UniMarc.마크 { public partial class Marc_Preview : Form { - public string url_isbn = ""; - public Marc_Preview() + /// + /// isbn / 도서명 / 저자 / 출판사 / 가격 + /// + public string[] book_data; + Marc mac; + public Marc_Preview(Marc _mac) { InitializeComponent(); } private void Mac_Preview_Load(object sender, EventArgs e) { - webBrowser1.Navigate("https://preview.kyobobook.co.kr/preview.jsp?siteGb=INK&ejkGb=KOR&barcode=" + url_isbn + "&loginYn=N&orderClick=JAW"); + webBrowser1.Navigate("http://www.kyobobook.co.kr/index.laf"); + webBrowser2.Navigate("https://www.nl.go.kr/"); + } + + private void btn_Search_Click(object sender, EventArgs e) + { + string Search = book_data[0]; + + KyoBo(Search); + NationalLibrary(Search); + Kolis(Search); + } + + /// + /// 교보 접속 + /// + private void KyoBo(string Search) + { + Delay(3000); + + HtmlElementCollection search = webBrowser1.Document.GetElementsByTagName("input"); + foreach (HtmlElement SearchBox in search) + { + if (SearchBox.Id == "searchKeyword") + SearchBox.InvokeMember("click"); + } + + webBrowser1.Document.GetElementById("searchKeyword").SetAttribute("value", Search); + + Delay(500); + + HtmlElementCollection button = webBrowser1.Document.GetElementsByTagName("input"); + foreach (HtmlElement SearchButton in button) + { + if (SearchButton.GetAttribute("className") == "btn_search") + SearchButton.InvokeMember("click"); + } + } + + /// + /// 국립중앙도서관 + /// + private void NationalLibrary(string Search) + { + Delay(3000); + + webBrowser2.Document.GetElementById("main_input-text").SetAttribute("value", Search); + + Delay(500); + + HtmlElementCollection button = webBrowser2.Document.GetElementsByTagName("button"); + foreach (HtmlElement SearchButton in button) + { + if (SearchButton.GetAttribute("className") == "btn-search") + SearchButton.InvokeMember("click"); + } + } + + /// + /// 국중 코리스넷 + /// + /// + private void Kolis(string Search) + { + string url = string.Format("https://www.nl.go.kr/kolisnet/search/searchResultAllList.do?tab=ALL" + + "&historyYn=Y" + + "&keywordType1=total" + + "&keyword1={0}" + + "&bookFilter=BKGM" + + "&bookFilter=YON" + + "&bookFilter=BKDM" + + "&bookFilter=NK" + + "&bookFilter=NP" + + "&bookFilter=OT", Search); + webBrowser3.Navigate(url); + } + + private void btn_Save_Click(object sender, EventArgs e) + { + mac.richTextBox1.Text = richTextBox1.Text; + } + + /// + /// 지연시키는 함수 + /// + /// 1000 = 1초 + void Delay(int ms) + { + DateTime dateTimeNow = DateTime.Now; + TimeSpan duration = new TimeSpan(0, 0, 0, 0, ms); + DateTime dateTimeAdd = dateTimeNow.Add(duration); + while (dateTimeAdd >= dateTimeNow) + { + Application.DoEvents(); + dateTimeNow = DateTime.Now; + } + return; } } } diff --git a/unimarc/unimarc/마크/Marc_mkList.cs b/unimarc/unimarc/마크/Marc_mkList.cs index 86885ac..b742e54 100644 --- a/unimarc/unimarc/마크/Marc_mkList.cs +++ b/unimarc/unimarc/마크/Marc_mkList.cs @@ -154,13 +154,27 @@ namespace UniMarc.마크 insert_marc_data[19] = marc.List_Book.Rows[row[a]].Cells["marc_idx"].Value.ToString(); string[] Marc = st.Take_Tag(insert_marc_data[14], Search); - string[] Author = { Marc[4], Marc[1] }; + string[] Author = { "", Marc[1] }; // 저자, 도서명 + + // 100, 110, 111태그중 한개라도 있으면 저자로 인식. + string[] Author_Search = { "100a", "110a", "111a" }; + string[] Author_res = st.Take_Tag(insert_marc_data[14], Author_Search); + + if (Author_res[0].Length > 1) Author[0] = Author_res[0]; + if (Author_res[1].Length > 1) Author[0] = Author_res[1]; + if (Author_res[2].Length > 1) Author[0] = Author_res[2]; + for (int b = 0; b < Marc.Length; b++) { insert_marc_data[b + 3] = Marc[b]; } + if (Author[0].Length < 1) { + MessageBox.Show(row[a] + "번째의 저자를 확인해주세요. \n (100a, 110a, 111a 중 1개 필수)"); + return; + } + Author[0] = Regex.Replace(Author[0], @"[^a-zA-Z0-9가-힣_]", "", RegexOptions.Singleline); Author[1] = Regex.Replace(Author[1], @"[^a-zA-Z0-9가-힣_]", "", RegexOptions.Singleline); Author[1] = st.RemoveWordInBracket(Author[1]); @@ -169,48 +183,6 @@ namespace UniMarc.마크 string authorType = cb_authorType.SelectedItem.ToString(); string res_Author = sb.SymbolAuthor(Author[0], Author[1], authorType, isType); - /* - char aut; - if (Author[0].Length <= 1) - aut = Author[0][0]; - else - aut = Author[0][1]; - - string res_Author = sb.Author_Fillter(Author[0][0], isAuthor); - - #region 콤보박스 선택 - if (cb_authorType.SelectedIndex == 0) // 이재철 1표 - Author[0] = sb.Symbol_1(aut); - if (cb_authorType.SelectedIndex == 1) // 이재철 2표 - Author[0] = sb.Symbol_2(aut); - if (cb_authorType.SelectedIndex == 2) // 이재철 3표 - Author[0] = sb.Symbol_3(aut); - if (cb_authorType.SelectedIndex == 3) // 이재철 4표 - Author[0] = sb.Symbol_4(aut); - if (cb_authorType.SelectedIndex == 4) // 이재철 5표 - Author[0] = sb.Symbol_5(aut); - if (cb_authorType.SelectedIndex == 5) // 이재철 6표 - Author[0] = sb.Symbol_6(aut); - if (cb_authorType.SelectedIndex == 6) // 이재철 7표 - Author[0] = sb.Symbol_7(aut); - if (cb_authorType.SelectedIndex == 7) // 이재철 7표 (동양서저자기호표) - Author[0] = sb.Symbol_7_동서(aut); - if (cb_authorType.SelectedIndex == 8) // 이재철 8표 - Author[0] = sb.Symbol_8(aut); - if (cb_authorType.SelectedIndex == 9) // 이재철 8표 (동양서저자기호표) - Author[0] = sb.Symbol_8_동서(aut); - if (cb_authorType.SelectedIndex == 10) // 장일세 - Author[0] = sb.Symbol_Jang(Marc[0]); - if (cb_authorType.SelectedIndex == 11) // 커터샌본 - Author[0] = sb.Cutter(Author[0]); - if (cb_authorType.SelectedIndex == 12) // 엘러드 - Author[0] = sb.Elord(Author[0]); - if (cb_authorType.SelectedIndex == 13) // 동서양 저자기호표(국중) - Author[0] = sb.NLK(Author[0]); - #endregion - Author[0] = Author[0].Replace("|", ""); - res_Author += Author[0] + sb.Book_Fillter(Author[1], isBook); - */ insert_marc_data[13] = res_Author; if (a == row.Length - 1) cmdByMarc += db.DB_INSERT_SUB("value", insert_marc_data) + ";"; diff --git a/unimarc/unimarc/마크/Search_Infor.Designer.cs b/unimarc/unimarc/마크/Search_Infor.Designer.cs index c56b73f..b3a09c1 100644 --- a/unimarc/unimarc/마크/Search_Infor.Designer.cs +++ b/unimarc/unimarc/마크/Search_Infor.Designer.cs @@ -31,12 +31,6 @@ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); this.label1 = new System.Windows.Forms.Label(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); - this.label2 = new System.Windows.Forms.Label(); - this.tb_search = new System.Windows.Forms.TextBox(); - this.btn_search = new System.Windows.Forms.Button(); - this.cb_filter = new System.Windows.Forms.ComboBox(); - this.btn_close = new System.Windows.Forms.Button(); - this.cb_data_area = new System.Windows.Forms.ComboBox(); this.grade = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ISBN = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -47,6 +41,13 @@ this.Marc = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.etc1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.etc2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.label2 = new System.Windows.Forms.Label(); + this.tb_search = new System.Windows.Forms.TextBox(); + this.btn_search = new System.Windows.Forms.Button(); + this.cb_filter = new System.Windows.Forms.ComboBox(); + this.btn_close = new System.Windows.Forms.Button(); + this.cb_data_area = new System.Windows.Forms.ComboBox(); + this.label3 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.SuspendLayout(); // @@ -91,61 +92,6 @@ this.dataGridView1.TabIndex = 49; this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick); // - // label2 - // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(430, 11); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(41, 12); - this.label2.TabIndex = 5; - this.label2.Text = "검색어"; - // - // tb_search - // - this.tb_search.Location = new System.Drawing.Point(477, 7); - this.tb_search.Name = "tb_search"; - this.tb_search.Size = new System.Drawing.Size(222, 21); - this.tb_search.TabIndex = 6; - this.tb_search.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_search_KeyDown); - // - // btn_search - // - this.btn_search.Location = new System.Drawing.Point(710, 6); - this.btn_search.Name = "btn_search"; - this.btn_search.Size = new System.Drawing.Size(75, 23); - this.btn_search.TabIndex = 7; - this.btn_search.Text = "검 색"; - this.btn_search.UseVisualStyleBackColor = true; - this.btn_search.Click += new System.EventHandler(this.btn_search_Click); - // - // cb_filter - // - this.cb_filter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_filter.FormattingEnabled = true; - this.cb_filter.Location = new System.Drawing.Point(222, 7); - this.cb_filter.Name = "cb_filter"; - this.cb_filter.Size = new System.Drawing.Size(161, 20); - this.cb_filter.TabIndex = 50; - // - // btn_close - // - this.btn_close.Location = new System.Drawing.Point(798, 6); - this.btn_close.Name = "btn_close"; - this.btn_close.Size = new System.Drawing.Size(75, 23); - this.btn_close.TabIndex = 51; - this.btn_close.Text = "닫 기"; - this.btn_close.UseVisualStyleBackColor = true; - this.btn_close.Click += new System.EventHandler(this.btn_close_Click); - // - // cb_data_area - // - this.cb_data_area.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_data_area.FormattingEnabled = true; - this.cb_data_area.Location = new System.Drawing.Point(71, 7); - this.cb_data_area.Name = "cb_data_area"; - this.cb_data_area.Size = new System.Drawing.Size(145, 20); - this.cb_data_area.TabIndex = 52; - // // grade // this.grade.HeaderText = "등급"; @@ -204,11 +150,76 @@ this.etc2.Name = "etc2"; this.etc2.Width = 140; // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(430, 11); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(41, 12); + this.label2.TabIndex = 5; + this.label2.Text = "검색어"; + // + // tb_search + // + this.tb_search.Location = new System.Drawing.Point(477, 7); + this.tb_search.Name = "tb_search"; + this.tb_search.Size = new System.Drawing.Size(222, 21); + this.tb_search.TabIndex = 6; + this.tb_search.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_search_KeyDown); + // + // btn_search + // + this.btn_search.Location = new System.Drawing.Point(710, 6); + this.btn_search.Name = "btn_search"; + this.btn_search.Size = new System.Drawing.Size(75, 23); + this.btn_search.TabIndex = 7; + this.btn_search.Text = "검 색"; + this.btn_search.UseVisualStyleBackColor = true; + this.btn_search.Click += new System.EventHandler(this.btn_search_Click); + // + // cb_filter + // + this.cb_filter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_filter.FormattingEnabled = true; + this.cb_filter.Location = new System.Drawing.Point(222, 7); + this.cb_filter.Name = "cb_filter"; + this.cb_filter.Size = new System.Drawing.Size(161, 20); + this.cb_filter.TabIndex = 50; + // + // btn_close + // + this.btn_close.Location = new System.Drawing.Point(798, 6); + this.btn_close.Name = "btn_close"; + this.btn_close.Size = new System.Drawing.Size(75, 23); + this.btn_close.TabIndex = 51; + this.btn_close.Text = "닫 기"; + this.btn_close.UseVisualStyleBackColor = true; + this.btn_close.Click += new System.EventHandler(this.btn_close_Click); + // + // cb_data_area + // + this.cb_data_area.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_data_area.FormattingEnabled = true; + this.cb_data_area.Location = new System.Drawing.Point(71, 7); + this.cb_data_area.Name = "cb_data_area"; + this.cb_data_area.Size = new System.Drawing.Size(145, 20); + this.cb_data_area.TabIndex = 52; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(898, 11); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(38, 12); + this.label3.TabIndex = 53; + this.label3.Text = "label3"; + // // Search_Infor // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1258, 666); + this.Controls.Add(this.label3); this.Controls.Add(this.cb_data_area); this.Controls.Add(this.btn_close); this.Controls.Add(this.cb_filter); @@ -246,5 +257,6 @@ private System.Windows.Forms.DataGridViewTextBoxColumn Marc; private System.Windows.Forms.DataGridViewTextBoxColumn etc1; private System.Windows.Forms.DataGridViewTextBoxColumn etc2; + private System.Windows.Forms.Label label3; } } \ No newline at end of file diff --git a/unimarc/unimarc/마크/Search_Infor.cs b/unimarc/unimarc/마크/Search_Infor.cs index eb57265..fe3a573 100644 --- a/unimarc/unimarc/마크/Search_Infor.cs +++ b/unimarc/unimarc/마크/Search_Infor.cs @@ -67,6 +67,7 @@ namespace WindowsFormsApp1.Mac string db_res = db.DB_Send_CMD_Search(cmd); string[] tmp_arr = db_res.Split('|'); input_grid(tmp_arr); + label3.Text = string.Format("결과 {0:0,0}건", dataGridView1.Rows.Count.ToString()); } #region search_Click_Sub diff --git a/unimarc/unimarc/마크/Symbol_Sub.cs b/unimarc/unimarc/마크/Symbol_Sub.cs index 8a2abc0..65e291d 100644 --- a/unimarc/unimarc/마크/Symbol_Sub.cs +++ b/unimarc/unimarc/마크/Symbol_Sub.cs @@ -1521,7 +1521,7 @@ namespace AuthorSymbol return Author.ToString(); HANGUL_INFO info = HangulJaso.DevideJaso(Author); - if (info.isHangul == "NH" && !rb) + if (info.isHangul == "NH" || !rb) return ""; return info.chars[0].ToString(); @@ -1533,7 +1533,7 @@ namespace AuthorSymbol return ""; HANGUL_INFO info = HangulJaso.DevideJaso(book[0]); - if (info.isHangul == "NH" && !rb) + if (info.isHangul == "NH" || !rb) return ""; if (rb) diff --git a/unimarc/unimarc/편의기능/Quick_menu.Designer.cs b/unimarc/unimarc/편의기능/Quick_menu.Designer.cs index db42362..a901273 100644 --- a/unimarc/unimarc/편의기능/Quick_menu.Designer.cs +++ b/unimarc/unimarc/편의기능/Quick_menu.Designer.cs @@ -31,145 +31,53 @@ this.label1 = new System.Windows.Forms.Label(); this.btn_save = new System.Windows.Forms.Button(); this.btn_close = new System.Windows.Forms.Button(); - this.rb_home1 = new System.Windows.Forms.RadioButton(); - this.rb_div1 = new System.Windows.Forms.RadioButton(); - this.rb_pay1 = new System.Windows.Forms.RadioButton(); - this.rb_marc1 = new System.Windows.Forms.RadioButton(); - this.rb_work1 = new System.Windows.Forms.RadioButton(); - this.rb_conv1 = new System.Windows.Forms.RadioButton(); - this.cb_home1 = new System.Windows.Forms.ComboBox(); - this.cb_div1 = new System.Windows.Forms.ComboBox(); - this.cb_pay1 = new System.Windows.Forms.ComboBox(); - this.cb_marc1 = new System.Windows.Forms.ComboBox(); - this.cb_work1 = new System.Windows.Forms.ComboBox(); - this.cb_conv1 = new System.Windows.Forms.ComboBox(); + this.cb_menu1 = new System.Windows.Forms.ComboBox(); + this.cb_setShort1 = new System.Windows.Forms.ComboBox(); this.panel1 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); - this.cb_conv2 = new System.Windows.Forms.ComboBox(); - this.cb_work2 = new System.Windows.Forms.ComboBox(); - this.cb_marc2 = new System.Windows.Forms.ComboBox(); - this.cb_pay2 = new System.Windows.Forms.ComboBox(); - this.cb_div2 = new System.Windows.Forms.ComboBox(); - this.cb_home2 = new System.Windows.Forms.ComboBox(); - this.rb_conv2 = new System.Windows.Forms.RadioButton(); - this.rb_work2 = new System.Windows.Forms.RadioButton(); - this.rb_marc2 = new System.Windows.Forms.RadioButton(); - this.rb_pay2 = new System.Windows.Forms.RadioButton(); - this.rb_div2 = new System.Windows.Forms.RadioButton(); - this.rb_home2 = new System.Windows.Forms.RadioButton(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); - this.rb_home3 = new System.Windows.Forms.RadioButton(); - this.rb_div3 = new System.Windows.Forms.RadioButton(); - this.rb_pay3 = new System.Windows.Forms.RadioButton(); - this.rb_marc3 = new System.Windows.Forms.RadioButton(); - this.rb_work3 = new System.Windows.Forms.RadioButton(); - this.rb_conv3 = new System.Windows.Forms.RadioButton(); - this.cb_home3 = new System.Windows.Forms.ComboBox(); - this.cb_div3 = new System.Windows.Forms.ComboBox(); - this.cb_pay3 = new System.Windows.Forms.ComboBox(); - this.cb_marc3 = new System.Windows.Forms.ComboBox(); - this.cb_work3 = new System.Windows.Forms.ComboBox(); - this.cb_conv3 = new System.Windows.Forms.ComboBox(); this.panel3 = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel(); - this.cb_conv4 = new System.Windows.Forms.ComboBox(); - this.cb_work4 = new System.Windows.Forms.ComboBox(); - this.cb_marc4 = new System.Windows.Forms.ComboBox(); - this.cb_pay4 = new System.Windows.Forms.ComboBox(); - this.cb_div4 = new System.Windows.Forms.ComboBox(); - this.cb_home4 = new System.Windows.Forms.ComboBox(); - this.rb_conv4 = new System.Windows.Forms.RadioButton(); - this.rb_work4 = new System.Windows.Forms.RadioButton(); - this.rb_marc4 = new System.Windows.Forms.RadioButton(); - this.rb_pay4 = new System.Windows.Forms.RadioButton(); - this.rb_div4 = new System.Windows.Forms.RadioButton(); - this.rb_home4 = new System.Windows.Forms.RadioButton(); this.label4 = new System.Windows.Forms.Label(); this.panel5 = new System.Windows.Forms.Panel(); - this.cb_conv5 = new System.Windows.Forms.ComboBox(); - this.cb_work5 = new System.Windows.Forms.ComboBox(); - this.cb_marc5 = new System.Windows.Forms.ComboBox(); - this.cb_pay5 = new System.Windows.Forms.ComboBox(); - this.cb_div5 = new System.Windows.Forms.ComboBox(); - this.cb_home5 = new System.Windows.Forms.ComboBox(); - this.rb_conv5 = new System.Windows.Forms.RadioButton(); - this.rb_work5 = new System.Windows.Forms.RadioButton(); - this.rb_marc5 = new System.Windows.Forms.RadioButton(); - this.rb_pay5 = new System.Windows.Forms.RadioButton(); - this.rb_div5 = new System.Windows.Forms.RadioButton(); - this.rb_home5 = new System.Windows.Forms.RadioButton(); this.label5 = new System.Windows.Forms.Label(); this.panel6 = new System.Windows.Forms.Panel(); - this.cb_conv6 = new System.Windows.Forms.ComboBox(); - this.cb_work6 = new System.Windows.Forms.ComboBox(); - this.cb_marc6 = new System.Windows.Forms.ComboBox(); - this.cb_pay6 = new System.Windows.Forms.ComboBox(); - this.cb_div6 = new System.Windows.Forms.ComboBox(); - this.cb_home6 = new System.Windows.Forms.ComboBox(); - this.rb_conv6 = new System.Windows.Forms.RadioButton(); - this.rb_work6 = new System.Windows.Forms.RadioButton(); - this.rb_marc6 = new System.Windows.Forms.RadioButton(); - this.rb_pay6 = new System.Windows.Forms.RadioButton(); - this.rb_div6 = new System.Windows.Forms.RadioButton(); - this.rb_home6 = new System.Windows.Forms.RadioButton(); this.label6 = new System.Windows.Forms.Label(); this.panel7 = new System.Windows.Forms.Panel(); - this.cb_conv7 = new System.Windows.Forms.ComboBox(); - this.cb_work7 = new System.Windows.Forms.ComboBox(); - this.cb_marc7 = new System.Windows.Forms.ComboBox(); - this.cb_pay7 = new System.Windows.Forms.ComboBox(); - this.cb_div7 = new System.Windows.Forms.ComboBox(); - this.cb_home7 = new System.Windows.Forms.ComboBox(); - this.rb_conv7 = new System.Windows.Forms.RadioButton(); - this.rb_work7 = new System.Windows.Forms.RadioButton(); - this.rb_marc7 = new System.Windows.Forms.RadioButton(); - this.rb_pay7 = new System.Windows.Forms.RadioButton(); - this.rb_div7 = new System.Windows.Forms.RadioButton(); - this.rb_home7 = new System.Windows.Forms.RadioButton(); this.label7 = new System.Windows.Forms.Label(); this.panel8 = new System.Windows.Forms.Panel(); - this.cb_conv8 = new System.Windows.Forms.ComboBox(); - this.cb_work8 = new System.Windows.Forms.ComboBox(); - this.cb_marc8 = new System.Windows.Forms.ComboBox(); - this.cb_pay8 = new System.Windows.Forms.ComboBox(); - this.cb_div8 = new System.Windows.Forms.ComboBox(); - this.cb_home8 = new System.Windows.Forms.ComboBox(); - this.rb_conv8 = new System.Windows.Forms.RadioButton(); - this.rb_work8 = new System.Windows.Forms.RadioButton(); - this.rb_marc8 = new System.Windows.Forms.RadioButton(); - this.rb_pay8 = new System.Windows.Forms.RadioButton(); - this.rb_div8 = new System.Windows.Forms.RadioButton(); - this.rb_home8 = new System.Windows.Forms.RadioButton(); this.label8 = new System.Windows.Forms.Label(); this.panel9 = new System.Windows.Forms.Panel(); - this.cb_conv9 = new System.Windows.Forms.ComboBox(); - this.cb_work9 = new System.Windows.Forms.ComboBox(); - this.cb_marc9 = new System.Windows.Forms.ComboBox(); - this.cb_pay9 = new System.Windows.Forms.ComboBox(); - this.cb_div9 = new System.Windows.Forms.ComboBox(); - this.cb_home9 = new System.Windows.Forms.ComboBox(); - this.rb_conv9 = new System.Windows.Forms.RadioButton(); - this.rb_work9 = new System.Windows.Forms.RadioButton(); - this.rb_marc9 = new System.Windows.Forms.RadioButton(); - this.rb_pay9 = new System.Windows.Forms.RadioButton(); - this.rb_div9 = new System.Windows.Forms.RadioButton(); - this.rb_home9 = new System.Windows.Forms.RadioButton(); this.label9 = new System.Windows.Forms.Label(); this.panel10 = new System.Windows.Forms.Panel(); - this.cb_conv10 = new System.Windows.Forms.ComboBox(); - this.cb_work10 = new System.Windows.Forms.ComboBox(); - this.cb_marc10 = new System.Windows.Forms.ComboBox(); - this.cb_pay10 = new System.Windows.Forms.ComboBox(); - this.cb_div10 = new System.Windows.Forms.ComboBox(); - this.cb_home10 = new System.Windows.Forms.ComboBox(); - this.rb_conv10 = new System.Windows.Forms.RadioButton(); - this.rb_work10 = new System.Windows.Forms.RadioButton(); - this.rb_marc10 = new System.Windows.Forms.RadioButton(); - this.rb_pay10 = new System.Windows.Forms.RadioButton(); - this.rb_div10 = new System.Windows.Forms.RadioButton(); - this.rb_home10 = new System.Windows.Forms.RadioButton(); this.label10 = new System.Windows.Forms.Label(); + this.cb_menu2 = new System.Windows.Forms.ComboBox(); + this.cb_setShort2 = new System.Windows.Forms.ComboBox(); + this.cb_menu3 = new System.Windows.Forms.ComboBox(); + this.cb_setShort3 = new System.Windows.Forms.ComboBox(); + this.cb_menu4 = new System.Windows.Forms.ComboBox(); + this.cb_setShort4 = new System.Windows.Forms.ComboBox(); + this.cb_menu5 = new System.Windows.Forms.ComboBox(); + this.cb_setShort5 = new System.Windows.Forms.ComboBox(); + this.cb_menu6 = new System.Windows.Forms.ComboBox(); + this.cb_setShort6 = new System.Windows.Forms.ComboBox(); + this.cb_menu7 = new System.Windows.Forms.ComboBox(); + this.cb_setShort7 = new System.Windows.Forms.ComboBox(); + this.cb_menu8 = new System.Windows.Forms.ComboBox(); + this.cb_setShort8 = new System.Windows.Forms.ComboBox(); + this.cb_menu9 = new System.Windows.Forms.ComboBox(); + this.cb_setShort9 = new System.Windows.Forms.ComboBox(); + this.cb_menu10 = new System.Windows.Forms.ComboBox(); + this.cb_setShort10 = new System.Windows.Forms.ComboBox(); + this.panel11 = new System.Windows.Forms.Panel(); + this.cb_setShort11 = new System.Windows.Forms.ComboBox(); + this.label11 = new System.Windows.Forms.Label(); + this.cb_menu11 = new System.Windows.Forms.ComboBox(); + this.panel12 = new System.Windows.Forms.Panel(); + this.cb_setShort12 = new System.Windows.Forms.ComboBox(); + this.label12 = new System.Windows.Forms.Label(); + this.cb_menu12 = new System.Windows.Forms.ComboBox(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); @@ -180,6 +88,8 @@ this.panel8.SuspendLayout(); this.panel9.SuspendLayout(); this.panel10.SuspendLayout(); + this.panel11.SuspendLayout(); + this.panel12.SuspendLayout(); this.SuspendLayout(); // // label1 @@ -194,7 +104,7 @@ // // btn_save // - this.btn_save.Location = new System.Drawing.Point(743, 16); + this.btn_save.Location = new System.Drawing.Point(612, 12); this.btn_save.Name = "btn_save"; this.btn_save.Size = new System.Drawing.Size(79, 27); this.btn_save.TabIndex = 1; @@ -204,7 +114,7 @@ // // btn_close // - this.btn_close.Location = new System.Drawing.Point(832, 16); + this.btn_close.Location = new System.Drawing.Point(701, 12); this.btn_close.Name = "btn_close"; this.btn_close.Size = new System.Drawing.Size(79, 27); this.btn_close.TabIndex = 1; @@ -212,314 +122,54 @@ this.btn_close.UseVisualStyleBackColor = true; this.btn_close.Click += new System.EventHandler(this.btn_close_Click); // - // rb_home1 + // cb_menu1 // - this.rb_home1.AutoSize = true; - this.rb_home1.Location = new System.Drawing.Point(179, 5); - this.rb_home1.Name = "rb_home1"; - this.rb_home1.Size = new System.Drawing.Size(35, 16); - this.rb_home1.TabIndex = 2; - this.rb_home1.TabStop = true; - this.rb_home1.Text = "홈"; - this.rb_home1.UseVisualStyleBackColor = true; - this.rb_home1.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); + this.cb_menu1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_menu1.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_menu1.FormattingEnabled = true; + this.cb_menu1.ItemHeight = 15; + this.cb_menu1.Location = new System.Drawing.Point(136, 11); + this.cb_menu1.Name = "cb_menu1"; + this.cb_menu1.Size = new System.Drawing.Size(121, 23); + this.cb_menu1.TabIndex = 3; + this.cb_menu1.SelectedIndexChanged += new System.EventHandler(this.cb_menus_SelectedIndexChanged); // - // rb_div1 + // cb_setShort1 // - this.rb_div1.AutoSize = true; - this.rb_div1.Location = new System.Drawing.Point(300, 5); - this.rb_div1.Name = "rb_div1"; - this.rb_div1.Size = new System.Drawing.Size(47, 16); - this.rb_div1.TabIndex = 2; - this.rb_div1.TabStop = true; - this.rb_div1.Text = "납품"; - this.rb_div1.UseVisualStyleBackColor = true; - this.rb_div1.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_pay1 - // - this.rb_pay1.AutoSize = true; - this.rb_pay1.Location = new System.Drawing.Point(427, 5); - this.rb_pay1.Name = "rb_pay1"; - this.rb_pay1.Size = new System.Drawing.Size(47, 16); - this.rb_pay1.TabIndex = 2; - this.rb_pay1.TabStop = true; - this.rb_pay1.Text = "회계"; - this.rb_pay1.UseVisualStyleBackColor = true; - this.rb_pay1.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_marc1 - // - this.rb_marc1.AutoSize = true; - this.rb_marc1.Location = new System.Drawing.Point(554, 5); - this.rb_marc1.Name = "rb_marc1"; - this.rb_marc1.Size = new System.Drawing.Size(47, 16); - this.rb_marc1.TabIndex = 2; - this.rb_marc1.TabStop = true; - this.rb_marc1.Text = "마크"; - this.rb_marc1.UseVisualStyleBackColor = true; - this.rb_marc1.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_work1 - // - this.rb_work1.AutoSize = true; - this.rb_work1.Location = new System.Drawing.Point(681, 5); - this.rb_work1.Name = "rb_work1"; - this.rb_work1.Size = new System.Drawing.Size(47, 16); - this.rb_work1.TabIndex = 2; - this.rb_work1.TabStop = true; - this.rb_work1.Text = "일지"; - this.rb_work1.UseVisualStyleBackColor = true; - this.rb_work1.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_conv1 - // - this.rb_conv1.AutoSize = true; - this.rb_conv1.Location = new System.Drawing.Point(808, 5); - this.rb_conv1.Name = "rb_conv1"; - this.rb_conv1.Size = new System.Drawing.Size(47, 16); - this.rb_conv1.TabIndex = 2; - this.rb_conv1.TabStop = true; - this.rb_conv1.Text = "편의"; - this.rb_conv1.UseVisualStyleBackColor = true; - this.rb_conv1.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // cb_home1 - // - this.cb_home1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_home1.Enabled = false; - this.cb_home1.FormattingEnabled = true; - this.cb_home1.Location = new System.Drawing.Point(136, 26); - this.cb_home1.Name = "cb_home1"; - this.cb_home1.Size = new System.Drawing.Size(121, 20); - this.cb_home1.TabIndex = 3; - // - // cb_div1 - // - this.cb_div1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_div1.Enabled = false; - this.cb_div1.FormattingEnabled = true; - this.cb_div1.Location = new System.Drawing.Point(263, 26); - this.cb_div1.Name = "cb_div1"; - this.cb_div1.Size = new System.Drawing.Size(121, 20); - this.cb_div1.TabIndex = 3; - // - // cb_pay1 - // - this.cb_pay1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_pay1.Enabled = false; - this.cb_pay1.FormattingEnabled = true; - this.cb_pay1.Location = new System.Drawing.Point(390, 26); - this.cb_pay1.Name = "cb_pay1"; - this.cb_pay1.Size = new System.Drawing.Size(121, 20); - this.cb_pay1.TabIndex = 3; - // - // cb_marc1 - // - this.cb_marc1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_marc1.Enabled = false; - this.cb_marc1.FormattingEnabled = true; - this.cb_marc1.Location = new System.Drawing.Point(517, 26); - this.cb_marc1.Name = "cb_marc1"; - this.cb_marc1.Size = new System.Drawing.Size(121, 20); - this.cb_marc1.TabIndex = 3; - // - // cb_work1 - // - this.cb_work1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_work1.Enabled = false; - this.cb_work1.FormattingEnabled = true; - this.cb_work1.Location = new System.Drawing.Point(644, 26); - this.cb_work1.Name = "cb_work1"; - this.cb_work1.Size = new System.Drawing.Size(121, 20); - this.cb_work1.TabIndex = 3; - // - // cb_conv1 - // - this.cb_conv1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_conv1.Enabled = false; - this.cb_conv1.FormattingEnabled = true; - this.cb_conv1.Location = new System.Drawing.Point(771, 26); - this.cb_conv1.Name = "cb_conv1"; - this.cb_conv1.Size = new System.Drawing.Size(121, 20); - this.cb_conv1.TabIndex = 3; + this.cb_setShort1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_setShort1.Enabled = false; + this.cb_setShort1.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_setShort1.FormattingEnabled = true; + this.cb_setShort1.ItemHeight = 15; + this.cb_setShort1.Location = new System.Drawing.Point(263, 11); + this.cb_setShort1.Name = "cb_setShort1"; + this.cb_setShort1.Size = new System.Drawing.Size(483, 23); + this.cb_setShort1.TabIndex = 3; // // panel1 // - this.panel1.BackColor = System.Drawing.Color.LightGray; + this.panel1.BackColor = System.Drawing.SystemColors.InactiveCaption; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel1.Controls.Add(this.cb_conv1); - this.panel1.Controls.Add(this.cb_work1); - this.panel1.Controls.Add(this.cb_marc1); - this.panel1.Controls.Add(this.cb_pay1); - this.panel1.Controls.Add(this.cb_div1); - this.panel1.Controls.Add(this.cb_home1); - this.panel1.Controls.Add(this.rb_conv1); - this.panel1.Controls.Add(this.rb_work1); - this.panel1.Controls.Add(this.rb_marc1); - this.panel1.Controls.Add(this.rb_pay1); - this.panel1.Controls.Add(this.rb_div1); - this.panel1.Controls.Add(this.rb_home1); + this.panel1.Controls.Add(this.cb_setShort1); + this.panel1.Controls.Add(this.cb_menu1); this.panel1.Controls.Add(this.label1); this.panel1.Location = new System.Drawing.Point(15, 51); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(928, 52); + this.panel1.Size = new System.Drawing.Size(765, 52); this.panel1.TabIndex = 4; // // panel2 // this.panel2.BackColor = System.Drawing.Color.WhiteSmoke; this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel2.Controls.Add(this.cb_conv2); - this.panel2.Controls.Add(this.cb_work2); - this.panel2.Controls.Add(this.cb_marc2); - this.panel2.Controls.Add(this.cb_pay2); - this.panel2.Controls.Add(this.cb_div2); - this.panel2.Controls.Add(this.cb_home2); - this.panel2.Controls.Add(this.rb_conv2); - this.panel2.Controls.Add(this.rb_work2); - this.panel2.Controls.Add(this.rb_marc2); - this.panel2.Controls.Add(this.rb_pay2); - this.panel2.Controls.Add(this.rb_div2); - this.panel2.Controls.Add(this.rb_home2); + this.panel2.Controls.Add(this.cb_setShort2); this.panel2.Controls.Add(this.label2); + this.panel2.Controls.Add(this.cb_menu2); this.panel2.Location = new System.Drawing.Point(15, 102); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(928, 52); + this.panel2.Size = new System.Drawing.Size(765, 52); this.panel2.TabIndex = 4; // - // cb_conv2 - // - this.cb_conv2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_conv2.Enabled = false; - this.cb_conv2.FormattingEnabled = true; - this.cb_conv2.Location = new System.Drawing.Point(771, 26); - this.cb_conv2.Name = "cb_conv2"; - this.cb_conv2.Size = new System.Drawing.Size(121, 20); - this.cb_conv2.TabIndex = 3; - // - // cb_work2 - // - this.cb_work2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_work2.Enabled = false; - this.cb_work2.FormattingEnabled = true; - this.cb_work2.Location = new System.Drawing.Point(644, 26); - this.cb_work2.Name = "cb_work2"; - this.cb_work2.Size = new System.Drawing.Size(121, 20); - this.cb_work2.TabIndex = 3; - // - // cb_marc2 - // - this.cb_marc2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_marc2.Enabled = false; - this.cb_marc2.FormattingEnabled = true; - this.cb_marc2.Location = new System.Drawing.Point(517, 26); - this.cb_marc2.Name = "cb_marc2"; - this.cb_marc2.Size = new System.Drawing.Size(121, 20); - this.cb_marc2.TabIndex = 3; - // - // cb_pay2 - // - this.cb_pay2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_pay2.Enabled = false; - this.cb_pay2.FormattingEnabled = true; - this.cb_pay2.Location = new System.Drawing.Point(390, 26); - this.cb_pay2.Name = "cb_pay2"; - this.cb_pay2.Size = new System.Drawing.Size(121, 20); - this.cb_pay2.TabIndex = 3; - // - // cb_div2 - // - this.cb_div2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_div2.Enabled = false; - this.cb_div2.FormattingEnabled = true; - this.cb_div2.Location = new System.Drawing.Point(263, 26); - this.cb_div2.Name = "cb_div2"; - this.cb_div2.Size = new System.Drawing.Size(121, 20); - this.cb_div2.TabIndex = 3; - // - // cb_home2 - // - this.cb_home2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_home2.Enabled = false; - this.cb_home2.FormattingEnabled = true; - this.cb_home2.Location = new System.Drawing.Point(136, 26); - this.cb_home2.Name = "cb_home2"; - this.cb_home2.Size = new System.Drawing.Size(121, 20); - this.cb_home2.TabIndex = 3; - // - // rb_conv2 - // - this.rb_conv2.AutoSize = true; - this.rb_conv2.Location = new System.Drawing.Point(808, 5); - this.rb_conv2.Name = "rb_conv2"; - this.rb_conv2.Size = new System.Drawing.Size(47, 16); - this.rb_conv2.TabIndex = 2; - this.rb_conv2.TabStop = true; - this.rb_conv2.Text = "편의"; - this.rb_conv2.UseVisualStyleBackColor = true; - this.rb_conv2.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_work2 - // - this.rb_work2.AutoSize = true; - this.rb_work2.Location = new System.Drawing.Point(681, 5); - this.rb_work2.Name = "rb_work2"; - this.rb_work2.Size = new System.Drawing.Size(47, 16); - this.rb_work2.TabIndex = 2; - this.rb_work2.TabStop = true; - this.rb_work2.Text = "일지"; - this.rb_work2.UseVisualStyleBackColor = true; - this.rb_work2.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_marc2 - // - this.rb_marc2.AutoSize = true; - this.rb_marc2.Location = new System.Drawing.Point(554, 5); - this.rb_marc2.Name = "rb_marc2"; - this.rb_marc2.Size = new System.Drawing.Size(47, 16); - this.rb_marc2.TabIndex = 2; - this.rb_marc2.TabStop = true; - this.rb_marc2.Text = "마크"; - this.rb_marc2.UseVisualStyleBackColor = true; - this.rb_marc2.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_pay2 - // - this.rb_pay2.AutoSize = true; - this.rb_pay2.Location = new System.Drawing.Point(427, 5); - this.rb_pay2.Name = "rb_pay2"; - this.rb_pay2.Size = new System.Drawing.Size(47, 16); - this.rb_pay2.TabIndex = 2; - this.rb_pay2.TabStop = true; - this.rb_pay2.Text = "회계"; - this.rb_pay2.UseVisualStyleBackColor = true; - this.rb_pay2.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_div2 - // - this.rb_div2.AutoSize = true; - this.rb_div2.Location = new System.Drawing.Point(300, 5); - this.rb_div2.Name = "rb_div2"; - this.rb_div2.Size = new System.Drawing.Size(47, 16); - this.rb_div2.TabIndex = 2; - this.rb_div2.TabStop = true; - this.rb_div2.Text = "납품"; - this.rb_div2.UseVisualStyleBackColor = true; - this.rb_div2.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_home2 - // - this.rb_home2.AutoSize = true; - this.rb_home2.Location = new System.Drawing.Point(179, 5); - this.rb_home2.Name = "rb_home2"; - this.rb_home2.Size = new System.Drawing.Size(35, 16); - this.rb_home2.TabIndex = 2; - this.rb_home2.TabStop = true; - this.rb_home2.Text = "홈"; - this.rb_home2.UseVisualStyleBackColor = true; - this.rb_home2.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // // label2 // this.label2.AutoSize = true; @@ -540,314 +190,30 @@ this.label3.TabIndex = 0; this.label3.Text = "퀵 메뉴 3"; // - // rb_home3 - // - this.rb_home3.AutoSize = true; - this.rb_home3.Location = new System.Drawing.Point(179, 5); - this.rb_home3.Name = "rb_home3"; - this.rb_home3.Size = new System.Drawing.Size(35, 16); - this.rb_home3.TabIndex = 2; - this.rb_home3.TabStop = true; - this.rb_home3.Text = "홈"; - this.rb_home3.UseVisualStyleBackColor = true; - this.rb_home3.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_div3 - // - this.rb_div3.AutoSize = true; - this.rb_div3.Location = new System.Drawing.Point(300, 5); - this.rb_div3.Name = "rb_div3"; - this.rb_div3.Size = new System.Drawing.Size(47, 16); - this.rb_div3.TabIndex = 2; - this.rb_div3.TabStop = true; - this.rb_div3.Text = "납품"; - this.rb_div3.UseVisualStyleBackColor = true; - this.rb_div3.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_pay3 - // - this.rb_pay3.AutoSize = true; - this.rb_pay3.Location = new System.Drawing.Point(427, 5); - this.rb_pay3.Name = "rb_pay3"; - this.rb_pay3.Size = new System.Drawing.Size(47, 16); - this.rb_pay3.TabIndex = 2; - this.rb_pay3.TabStop = true; - this.rb_pay3.Text = "회계"; - this.rb_pay3.UseVisualStyleBackColor = true; - this.rb_pay3.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_marc3 - // - this.rb_marc3.AutoSize = true; - this.rb_marc3.Location = new System.Drawing.Point(554, 5); - this.rb_marc3.Name = "rb_marc3"; - this.rb_marc3.Size = new System.Drawing.Size(47, 16); - this.rb_marc3.TabIndex = 2; - this.rb_marc3.TabStop = true; - this.rb_marc3.Text = "마크"; - this.rb_marc3.UseVisualStyleBackColor = true; - this.rb_marc3.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_work3 - // - this.rb_work3.AutoSize = true; - this.rb_work3.Location = new System.Drawing.Point(681, 5); - this.rb_work3.Name = "rb_work3"; - this.rb_work3.Size = new System.Drawing.Size(47, 16); - this.rb_work3.TabIndex = 2; - this.rb_work3.TabStop = true; - this.rb_work3.Text = "일지"; - this.rb_work3.UseVisualStyleBackColor = true; - this.rb_work3.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_conv3 - // - this.rb_conv3.AutoSize = true; - this.rb_conv3.Location = new System.Drawing.Point(808, 5); - this.rb_conv3.Name = "rb_conv3"; - this.rb_conv3.Size = new System.Drawing.Size(47, 16); - this.rb_conv3.TabIndex = 2; - this.rb_conv3.TabStop = true; - this.rb_conv3.Text = "편의"; - this.rb_conv3.UseVisualStyleBackColor = true; - this.rb_conv3.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // cb_home3 - // - this.cb_home3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_home3.Enabled = false; - this.cb_home3.FormattingEnabled = true; - this.cb_home3.Location = new System.Drawing.Point(136, 26); - this.cb_home3.Name = "cb_home3"; - this.cb_home3.Size = new System.Drawing.Size(121, 20); - this.cb_home3.TabIndex = 3; - // - // cb_div3 - // - this.cb_div3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_div3.Enabled = false; - this.cb_div3.FormattingEnabled = true; - this.cb_div3.Location = new System.Drawing.Point(263, 26); - this.cb_div3.Name = "cb_div3"; - this.cb_div3.Size = new System.Drawing.Size(121, 20); - this.cb_div3.TabIndex = 3; - // - // cb_pay3 - // - this.cb_pay3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_pay3.Enabled = false; - this.cb_pay3.FormattingEnabled = true; - this.cb_pay3.Location = new System.Drawing.Point(390, 26); - this.cb_pay3.Name = "cb_pay3"; - this.cb_pay3.Size = new System.Drawing.Size(121, 20); - this.cb_pay3.TabIndex = 3; - // - // cb_marc3 - // - this.cb_marc3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_marc3.Enabled = false; - this.cb_marc3.FormattingEnabled = true; - this.cb_marc3.Location = new System.Drawing.Point(517, 26); - this.cb_marc3.Name = "cb_marc3"; - this.cb_marc3.Size = new System.Drawing.Size(121, 20); - this.cb_marc3.TabIndex = 3; - // - // cb_work3 - // - this.cb_work3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_work3.Enabled = false; - this.cb_work3.FormattingEnabled = true; - this.cb_work3.Location = new System.Drawing.Point(644, 26); - this.cb_work3.Name = "cb_work3"; - this.cb_work3.Size = new System.Drawing.Size(121, 20); - this.cb_work3.TabIndex = 3; - // - // cb_conv3 - // - this.cb_conv3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_conv3.Enabled = false; - this.cb_conv3.FormattingEnabled = true; - this.cb_conv3.Location = new System.Drawing.Point(771, 26); - this.cb_conv3.Name = "cb_conv3"; - this.cb_conv3.Size = new System.Drawing.Size(121, 20); - this.cb_conv3.TabIndex = 3; - // // panel3 // - this.panel3.BackColor = System.Drawing.Color.LightGray; + this.panel3.BackColor = System.Drawing.SystemColors.InactiveCaption; this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel3.Controls.Add(this.cb_conv3); - this.panel3.Controls.Add(this.cb_work3); - this.panel3.Controls.Add(this.cb_marc3); - this.panel3.Controls.Add(this.cb_pay3); - this.panel3.Controls.Add(this.cb_div3); - this.panel3.Controls.Add(this.cb_home3); - this.panel3.Controls.Add(this.rb_conv3); - this.panel3.Controls.Add(this.rb_work3); - this.panel3.Controls.Add(this.rb_marc3); - this.panel3.Controls.Add(this.rb_pay3); - this.panel3.Controls.Add(this.rb_div3); - this.panel3.Controls.Add(this.rb_home3); + this.panel3.Controls.Add(this.cb_setShort3); this.panel3.Controls.Add(this.label3); + this.panel3.Controls.Add(this.cb_menu3); this.panel3.Location = new System.Drawing.Point(15, 153); this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(928, 52); + this.panel3.Size = new System.Drawing.Size(765, 52); this.panel3.TabIndex = 4; // // panel4 // this.panel4.BackColor = System.Drawing.Color.WhiteSmoke; this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel4.Controls.Add(this.cb_conv4); - this.panel4.Controls.Add(this.cb_work4); - this.panel4.Controls.Add(this.cb_marc4); - this.panel4.Controls.Add(this.cb_pay4); - this.panel4.Controls.Add(this.cb_div4); - this.panel4.Controls.Add(this.cb_home4); - this.panel4.Controls.Add(this.rb_conv4); - this.panel4.Controls.Add(this.rb_work4); - this.panel4.Controls.Add(this.rb_marc4); - this.panel4.Controls.Add(this.rb_pay4); - this.panel4.Controls.Add(this.rb_div4); - this.panel4.Controls.Add(this.rb_home4); + this.panel4.Controls.Add(this.cb_setShort4); this.panel4.Controls.Add(this.label4); + this.panel4.Controls.Add(this.cb_menu4); this.panel4.Location = new System.Drawing.Point(15, 204); this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(928, 52); + this.panel4.Size = new System.Drawing.Size(765, 52); this.panel4.TabIndex = 4; // - // cb_conv4 - // - this.cb_conv4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_conv4.Enabled = false; - this.cb_conv4.FormattingEnabled = true; - this.cb_conv4.Location = new System.Drawing.Point(771, 26); - this.cb_conv4.Name = "cb_conv4"; - this.cb_conv4.Size = new System.Drawing.Size(121, 20); - this.cb_conv4.TabIndex = 3; - // - // cb_work4 - // - this.cb_work4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_work4.Enabled = false; - this.cb_work4.FormattingEnabled = true; - this.cb_work4.Location = new System.Drawing.Point(644, 26); - this.cb_work4.Name = "cb_work4"; - this.cb_work4.Size = new System.Drawing.Size(121, 20); - this.cb_work4.TabIndex = 3; - // - // cb_marc4 - // - this.cb_marc4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_marc4.Enabled = false; - this.cb_marc4.FormattingEnabled = true; - this.cb_marc4.Location = new System.Drawing.Point(517, 26); - this.cb_marc4.Name = "cb_marc4"; - this.cb_marc4.Size = new System.Drawing.Size(121, 20); - this.cb_marc4.TabIndex = 3; - // - // cb_pay4 - // - this.cb_pay4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_pay4.Enabled = false; - this.cb_pay4.FormattingEnabled = true; - this.cb_pay4.Location = new System.Drawing.Point(390, 26); - this.cb_pay4.Name = "cb_pay4"; - this.cb_pay4.Size = new System.Drawing.Size(121, 20); - this.cb_pay4.TabIndex = 3; - // - // cb_div4 - // - this.cb_div4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_div4.Enabled = false; - this.cb_div4.FormattingEnabled = true; - this.cb_div4.Location = new System.Drawing.Point(263, 26); - this.cb_div4.Name = "cb_div4"; - this.cb_div4.Size = new System.Drawing.Size(121, 20); - this.cb_div4.TabIndex = 3; - // - // cb_home4 - // - this.cb_home4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_home4.Enabled = false; - this.cb_home4.FormattingEnabled = true; - this.cb_home4.Location = new System.Drawing.Point(136, 26); - this.cb_home4.Name = "cb_home4"; - this.cb_home4.Size = new System.Drawing.Size(121, 20); - this.cb_home4.TabIndex = 3; - // - // rb_conv4 - // - this.rb_conv4.AutoSize = true; - this.rb_conv4.Location = new System.Drawing.Point(808, 5); - this.rb_conv4.Name = "rb_conv4"; - this.rb_conv4.Size = new System.Drawing.Size(47, 16); - this.rb_conv4.TabIndex = 2; - this.rb_conv4.TabStop = true; - this.rb_conv4.Text = "편의"; - this.rb_conv4.UseVisualStyleBackColor = true; - this.rb_conv4.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_work4 - // - this.rb_work4.AutoSize = true; - this.rb_work4.Location = new System.Drawing.Point(681, 5); - this.rb_work4.Name = "rb_work4"; - this.rb_work4.Size = new System.Drawing.Size(47, 16); - this.rb_work4.TabIndex = 2; - this.rb_work4.TabStop = true; - this.rb_work4.Text = "일지"; - this.rb_work4.UseVisualStyleBackColor = true; - this.rb_work4.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_marc4 - // - this.rb_marc4.AutoSize = true; - this.rb_marc4.Location = new System.Drawing.Point(554, 5); - this.rb_marc4.Name = "rb_marc4"; - this.rb_marc4.Size = new System.Drawing.Size(47, 16); - this.rb_marc4.TabIndex = 2; - this.rb_marc4.TabStop = true; - this.rb_marc4.Text = "마크"; - this.rb_marc4.UseVisualStyleBackColor = true; - this.rb_marc4.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_pay4 - // - this.rb_pay4.AutoSize = true; - this.rb_pay4.Location = new System.Drawing.Point(427, 5); - this.rb_pay4.Name = "rb_pay4"; - this.rb_pay4.Size = new System.Drawing.Size(47, 16); - this.rb_pay4.TabIndex = 2; - this.rb_pay4.TabStop = true; - this.rb_pay4.Text = "회계"; - this.rb_pay4.UseVisualStyleBackColor = true; - this.rb_pay4.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_div4 - // - this.rb_div4.AutoSize = true; - this.rb_div4.Location = new System.Drawing.Point(300, 5); - this.rb_div4.Name = "rb_div4"; - this.rb_div4.Size = new System.Drawing.Size(47, 16); - this.rb_div4.TabIndex = 2; - this.rb_div4.TabStop = true; - this.rb_div4.Text = "납품"; - this.rb_div4.UseVisualStyleBackColor = true; - this.rb_div4.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_home4 - // - this.rb_home4.AutoSize = true; - this.rb_home4.Location = new System.Drawing.Point(179, 5); - this.rb_home4.Name = "rb_home4"; - this.rb_home4.Size = new System.Drawing.Size(35, 16); - this.rb_home4.TabIndex = 2; - this.rb_home4.TabStop = true; - this.rb_home4.Text = "홈"; - this.rb_home4.UseVisualStyleBackColor = true; - this.rb_home4.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // // label4 // this.label4.AutoSize = true; @@ -860,158 +226,16 @@ // // panel5 // - this.panel5.BackColor = System.Drawing.Color.LightGray; + this.panel5.BackColor = System.Drawing.SystemColors.InactiveCaption; this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel5.Controls.Add(this.cb_conv5); - this.panel5.Controls.Add(this.cb_work5); - this.panel5.Controls.Add(this.cb_marc5); - this.panel5.Controls.Add(this.cb_pay5); - this.panel5.Controls.Add(this.cb_div5); - this.panel5.Controls.Add(this.cb_home5); - this.panel5.Controls.Add(this.rb_conv5); - this.panel5.Controls.Add(this.rb_work5); - this.panel5.Controls.Add(this.rb_marc5); - this.panel5.Controls.Add(this.rb_pay5); - this.panel5.Controls.Add(this.rb_div5); - this.panel5.Controls.Add(this.rb_home5); + this.panel5.Controls.Add(this.cb_setShort5); this.panel5.Controls.Add(this.label5); + this.panel5.Controls.Add(this.cb_menu5); this.panel5.Location = new System.Drawing.Point(15, 255); this.panel5.Name = "panel5"; - this.panel5.Size = new System.Drawing.Size(928, 52); + this.panel5.Size = new System.Drawing.Size(765, 52); this.panel5.TabIndex = 4; // - // cb_conv5 - // - this.cb_conv5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_conv5.Enabled = false; - this.cb_conv5.FormattingEnabled = true; - this.cb_conv5.Location = new System.Drawing.Point(771, 26); - this.cb_conv5.Name = "cb_conv5"; - this.cb_conv5.Size = new System.Drawing.Size(121, 20); - this.cb_conv5.TabIndex = 3; - // - // cb_work5 - // - this.cb_work5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_work5.Enabled = false; - this.cb_work5.FormattingEnabled = true; - this.cb_work5.Location = new System.Drawing.Point(644, 26); - this.cb_work5.Name = "cb_work5"; - this.cb_work5.Size = new System.Drawing.Size(121, 20); - this.cb_work5.TabIndex = 3; - // - // cb_marc5 - // - this.cb_marc5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_marc5.Enabled = false; - this.cb_marc5.FormattingEnabled = true; - this.cb_marc5.Location = new System.Drawing.Point(517, 26); - this.cb_marc5.Name = "cb_marc5"; - this.cb_marc5.Size = new System.Drawing.Size(121, 20); - this.cb_marc5.TabIndex = 3; - // - // cb_pay5 - // - this.cb_pay5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_pay5.Enabled = false; - this.cb_pay5.FormattingEnabled = true; - this.cb_pay5.Location = new System.Drawing.Point(390, 26); - this.cb_pay5.Name = "cb_pay5"; - this.cb_pay5.Size = new System.Drawing.Size(121, 20); - this.cb_pay5.TabIndex = 3; - // - // cb_div5 - // - this.cb_div5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_div5.Enabled = false; - this.cb_div5.FormattingEnabled = true; - this.cb_div5.Location = new System.Drawing.Point(263, 26); - this.cb_div5.Name = "cb_div5"; - this.cb_div5.Size = new System.Drawing.Size(121, 20); - this.cb_div5.TabIndex = 3; - // - // cb_home5 - // - this.cb_home5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_home5.Enabled = false; - this.cb_home5.FormattingEnabled = true; - this.cb_home5.Location = new System.Drawing.Point(136, 26); - this.cb_home5.Name = "cb_home5"; - this.cb_home5.Size = new System.Drawing.Size(121, 20); - this.cb_home5.TabIndex = 3; - // - // rb_conv5 - // - this.rb_conv5.AutoSize = true; - this.rb_conv5.Location = new System.Drawing.Point(808, 5); - this.rb_conv5.Name = "rb_conv5"; - this.rb_conv5.Size = new System.Drawing.Size(47, 16); - this.rb_conv5.TabIndex = 2; - this.rb_conv5.TabStop = true; - this.rb_conv5.Text = "편의"; - this.rb_conv5.UseVisualStyleBackColor = true; - this.rb_conv5.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_work5 - // - this.rb_work5.AutoSize = true; - this.rb_work5.Location = new System.Drawing.Point(681, 5); - this.rb_work5.Name = "rb_work5"; - this.rb_work5.Size = new System.Drawing.Size(47, 16); - this.rb_work5.TabIndex = 2; - this.rb_work5.TabStop = true; - this.rb_work5.Text = "일지"; - this.rb_work5.UseVisualStyleBackColor = true; - this.rb_work5.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_marc5 - // - this.rb_marc5.AutoSize = true; - this.rb_marc5.Location = new System.Drawing.Point(554, 5); - this.rb_marc5.Name = "rb_marc5"; - this.rb_marc5.Size = new System.Drawing.Size(47, 16); - this.rb_marc5.TabIndex = 2; - this.rb_marc5.TabStop = true; - this.rb_marc5.Text = "마크"; - this.rb_marc5.UseVisualStyleBackColor = true; - this.rb_marc5.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_pay5 - // - this.rb_pay5.AutoSize = true; - this.rb_pay5.Location = new System.Drawing.Point(427, 5); - this.rb_pay5.Name = "rb_pay5"; - this.rb_pay5.Size = new System.Drawing.Size(47, 16); - this.rb_pay5.TabIndex = 2; - this.rb_pay5.TabStop = true; - this.rb_pay5.Text = "회계"; - this.rb_pay5.UseVisualStyleBackColor = true; - this.rb_pay5.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_div5 - // - this.rb_div5.AutoSize = true; - this.rb_div5.Location = new System.Drawing.Point(300, 5); - this.rb_div5.Name = "rb_div5"; - this.rb_div5.Size = new System.Drawing.Size(47, 16); - this.rb_div5.TabIndex = 2; - this.rb_div5.TabStop = true; - this.rb_div5.Text = "납품"; - this.rb_div5.UseVisualStyleBackColor = true; - this.rb_div5.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_home5 - // - this.rb_home5.AutoSize = true; - this.rb_home5.Location = new System.Drawing.Point(179, 5); - this.rb_home5.Name = "rb_home5"; - this.rb_home5.Size = new System.Drawing.Size(35, 16); - this.rb_home5.TabIndex = 2; - this.rb_home5.TabStop = true; - this.rb_home5.Text = "홈"; - this.rb_home5.UseVisualStyleBackColor = true; - this.rb_home5.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // // label5 // this.label5.AutoSize = true; @@ -1026,156 +250,14 @@ // this.panel6.BackColor = System.Drawing.Color.WhiteSmoke; this.panel6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel6.Controls.Add(this.cb_conv6); - this.panel6.Controls.Add(this.cb_work6); - this.panel6.Controls.Add(this.cb_marc6); - this.panel6.Controls.Add(this.cb_pay6); - this.panel6.Controls.Add(this.cb_div6); - this.panel6.Controls.Add(this.cb_home6); - this.panel6.Controls.Add(this.rb_conv6); - this.panel6.Controls.Add(this.rb_work6); - this.panel6.Controls.Add(this.rb_marc6); - this.panel6.Controls.Add(this.rb_pay6); - this.panel6.Controls.Add(this.rb_div6); - this.panel6.Controls.Add(this.rb_home6); + this.panel6.Controls.Add(this.cb_setShort6); this.panel6.Controls.Add(this.label6); + this.panel6.Controls.Add(this.cb_menu6); this.panel6.Location = new System.Drawing.Point(15, 306); this.panel6.Name = "panel6"; - this.panel6.Size = new System.Drawing.Size(928, 52); + this.panel6.Size = new System.Drawing.Size(765, 52); this.panel6.TabIndex = 4; // - // cb_conv6 - // - this.cb_conv6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_conv6.Enabled = false; - this.cb_conv6.FormattingEnabled = true; - this.cb_conv6.Location = new System.Drawing.Point(771, 26); - this.cb_conv6.Name = "cb_conv6"; - this.cb_conv6.Size = new System.Drawing.Size(121, 20); - this.cb_conv6.TabIndex = 3; - // - // cb_work6 - // - this.cb_work6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_work6.Enabled = false; - this.cb_work6.FormattingEnabled = true; - this.cb_work6.Location = new System.Drawing.Point(644, 26); - this.cb_work6.Name = "cb_work6"; - this.cb_work6.Size = new System.Drawing.Size(121, 20); - this.cb_work6.TabIndex = 3; - // - // cb_marc6 - // - this.cb_marc6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_marc6.Enabled = false; - this.cb_marc6.FormattingEnabled = true; - this.cb_marc6.Location = new System.Drawing.Point(517, 26); - this.cb_marc6.Name = "cb_marc6"; - this.cb_marc6.Size = new System.Drawing.Size(121, 20); - this.cb_marc6.TabIndex = 3; - // - // cb_pay6 - // - this.cb_pay6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_pay6.Enabled = false; - this.cb_pay6.FormattingEnabled = true; - this.cb_pay6.Location = new System.Drawing.Point(390, 26); - this.cb_pay6.Name = "cb_pay6"; - this.cb_pay6.Size = new System.Drawing.Size(121, 20); - this.cb_pay6.TabIndex = 3; - // - // cb_div6 - // - this.cb_div6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_div6.Enabled = false; - this.cb_div6.FormattingEnabled = true; - this.cb_div6.Location = new System.Drawing.Point(263, 26); - this.cb_div6.Name = "cb_div6"; - this.cb_div6.Size = new System.Drawing.Size(121, 20); - this.cb_div6.TabIndex = 3; - // - // cb_home6 - // - this.cb_home6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_home6.Enabled = false; - this.cb_home6.FormattingEnabled = true; - this.cb_home6.Location = new System.Drawing.Point(136, 26); - this.cb_home6.Name = "cb_home6"; - this.cb_home6.Size = new System.Drawing.Size(121, 20); - this.cb_home6.TabIndex = 3; - // - // rb_conv6 - // - this.rb_conv6.AutoSize = true; - this.rb_conv6.Location = new System.Drawing.Point(808, 5); - this.rb_conv6.Name = "rb_conv6"; - this.rb_conv6.Size = new System.Drawing.Size(47, 16); - this.rb_conv6.TabIndex = 2; - this.rb_conv6.TabStop = true; - this.rb_conv6.Text = "편의"; - this.rb_conv6.UseVisualStyleBackColor = true; - this.rb_conv6.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_work6 - // - this.rb_work6.AutoSize = true; - this.rb_work6.Location = new System.Drawing.Point(681, 5); - this.rb_work6.Name = "rb_work6"; - this.rb_work6.Size = new System.Drawing.Size(47, 16); - this.rb_work6.TabIndex = 2; - this.rb_work6.TabStop = true; - this.rb_work6.Text = "일지"; - this.rb_work6.UseVisualStyleBackColor = true; - this.rb_work6.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_marc6 - // - this.rb_marc6.AutoSize = true; - this.rb_marc6.Location = new System.Drawing.Point(554, 5); - this.rb_marc6.Name = "rb_marc6"; - this.rb_marc6.Size = new System.Drawing.Size(47, 16); - this.rb_marc6.TabIndex = 2; - this.rb_marc6.TabStop = true; - this.rb_marc6.Text = "마크"; - this.rb_marc6.UseVisualStyleBackColor = true; - this.rb_marc6.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_pay6 - // - this.rb_pay6.AutoSize = true; - this.rb_pay6.Location = new System.Drawing.Point(427, 5); - this.rb_pay6.Name = "rb_pay6"; - this.rb_pay6.Size = new System.Drawing.Size(47, 16); - this.rb_pay6.TabIndex = 2; - this.rb_pay6.TabStop = true; - this.rb_pay6.Text = "회계"; - this.rb_pay6.UseVisualStyleBackColor = true; - this.rb_pay6.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_div6 - // - this.rb_div6.AutoSize = true; - this.rb_div6.Location = new System.Drawing.Point(300, 5); - this.rb_div6.Name = "rb_div6"; - this.rb_div6.Size = new System.Drawing.Size(47, 16); - this.rb_div6.TabIndex = 2; - this.rb_div6.TabStop = true; - this.rb_div6.Text = "납품"; - this.rb_div6.UseVisualStyleBackColor = true; - this.rb_div6.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_home6 - // - this.rb_home6.AutoSize = true; - this.rb_home6.Location = new System.Drawing.Point(179, 5); - this.rb_home6.Name = "rb_home6"; - this.rb_home6.Size = new System.Drawing.Size(35, 16); - this.rb_home6.TabIndex = 2; - this.rb_home6.TabStop = true; - this.rb_home6.Text = "홈"; - this.rb_home6.UseVisualStyleBackColor = true; - this.rb_home6.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // // label6 // this.label6.AutoSize = true; @@ -1188,158 +270,16 @@ // // panel7 // - this.panel7.BackColor = System.Drawing.Color.LightGray; + this.panel7.BackColor = System.Drawing.SystemColors.InactiveCaption; this.panel7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel7.Controls.Add(this.cb_conv7); - this.panel7.Controls.Add(this.cb_work7); - this.panel7.Controls.Add(this.cb_marc7); - this.panel7.Controls.Add(this.cb_pay7); - this.panel7.Controls.Add(this.cb_div7); - this.panel7.Controls.Add(this.cb_home7); - this.panel7.Controls.Add(this.rb_conv7); - this.panel7.Controls.Add(this.rb_work7); - this.panel7.Controls.Add(this.rb_marc7); - this.panel7.Controls.Add(this.rb_pay7); - this.panel7.Controls.Add(this.rb_div7); - this.panel7.Controls.Add(this.rb_home7); + this.panel7.Controls.Add(this.cb_setShort7); this.panel7.Controls.Add(this.label7); + this.panel7.Controls.Add(this.cb_menu7); this.panel7.Location = new System.Drawing.Point(15, 357); this.panel7.Name = "panel7"; - this.panel7.Size = new System.Drawing.Size(928, 52); + this.panel7.Size = new System.Drawing.Size(765, 52); this.panel7.TabIndex = 4; // - // cb_conv7 - // - this.cb_conv7.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_conv7.Enabled = false; - this.cb_conv7.FormattingEnabled = true; - this.cb_conv7.Location = new System.Drawing.Point(771, 26); - this.cb_conv7.Name = "cb_conv7"; - this.cb_conv7.Size = new System.Drawing.Size(121, 20); - this.cb_conv7.TabIndex = 3; - // - // cb_work7 - // - this.cb_work7.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_work7.Enabled = false; - this.cb_work7.FormattingEnabled = true; - this.cb_work7.Location = new System.Drawing.Point(644, 26); - this.cb_work7.Name = "cb_work7"; - this.cb_work7.Size = new System.Drawing.Size(121, 20); - this.cb_work7.TabIndex = 3; - // - // cb_marc7 - // - this.cb_marc7.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_marc7.Enabled = false; - this.cb_marc7.FormattingEnabled = true; - this.cb_marc7.Location = new System.Drawing.Point(517, 26); - this.cb_marc7.Name = "cb_marc7"; - this.cb_marc7.Size = new System.Drawing.Size(121, 20); - this.cb_marc7.TabIndex = 3; - // - // cb_pay7 - // - this.cb_pay7.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_pay7.Enabled = false; - this.cb_pay7.FormattingEnabled = true; - this.cb_pay7.Location = new System.Drawing.Point(390, 26); - this.cb_pay7.Name = "cb_pay7"; - this.cb_pay7.Size = new System.Drawing.Size(121, 20); - this.cb_pay7.TabIndex = 3; - // - // cb_div7 - // - this.cb_div7.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_div7.Enabled = false; - this.cb_div7.FormattingEnabled = true; - this.cb_div7.Location = new System.Drawing.Point(263, 26); - this.cb_div7.Name = "cb_div7"; - this.cb_div7.Size = new System.Drawing.Size(121, 20); - this.cb_div7.TabIndex = 3; - // - // cb_home7 - // - this.cb_home7.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_home7.Enabled = false; - this.cb_home7.FormattingEnabled = true; - this.cb_home7.Location = new System.Drawing.Point(136, 26); - this.cb_home7.Name = "cb_home7"; - this.cb_home7.Size = new System.Drawing.Size(121, 20); - this.cb_home7.TabIndex = 3; - // - // rb_conv7 - // - this.rb_conv7.AutoSize = true; - this.rb_conv7.Location = new System.Drawing.Point(808, 5); - this.rb_conv7.Name = "rb_conv7"; - this.rb_conv7.Size = new System.Drawing.Size(47, 16); - this.rb_conv7.TabIndex = 2; - this.rb_conv7.TabStop = true; - this.rb_conv7.Text = "편의"; - this.rb_conv7.UseVisualStyleBackColor = true; - this.rb_conv7.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_work7 - // - this.rb_work7.AutoSize = true; - this.rb_work7.Location = new System.Drawing.Point(681, 5); - this.rb_work7.Name = "rb_work7"; - this.rb_work7.Size = new System.Drawing.Size(47, 16); - this.rb_work7.TabIndex = 2; - this.rb_work7.TabStop = true; - this.rb_work7.Text = "일지"; - this.rb_work7.UseVisualStyleBackColor = true; - this.rb_work7.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_marc7 - // - this.rb_marc7.AutoSize = true; - this.rb_marc7.Location = new System.Drawing.Point(554, 5); - this.rb_marc7.Name = "rb_marc7"; - this.rb_marc7.Size = new System.Drawing.Size(47, 16); - this.rb_marc7.TabIndex = 2; - this.rb_marc7.TabStop = true; - this.rb_marc7.Text = "마크"; - this.rb_marc7.UseVisualStyleBackColor = true; - this.rb_marc7.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_pay7 - // - this.rb_pay7.AutoSize = true; - this.rb_pay7.Location = new System.Drawing.Point(427, 5); - this.rb_pay7.Name = "rb_pay7"; - this.rb_pay7.Size = new System.Drawing.Size(47, 16); - this.rb_pay7.TabIndex = 2; - this.rb_pay7.TabStop = true; - this.rb_pay7.Text = "회계"; - this.rb_pay7.UseVisualStyleBackColor = true; - this.rb_pay7.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_div7 - // - this.rb_div7.AutoSize = true; - this.rb_div7.Location = new System.Drawing.Point(300, 5); - this.rb_div7.Name = "rb_div7"; - this.rb_div7.Size = new System.Drawing.Size(47, 16); - this.rb_div7.TabIndex = 2; - this.rb_div7.TabStop = true; - this.rb_div7.Text = "납품"; - this.rb_div7.UseVisualStyleBackColor = true; - this.rb_div7.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_home7 - // - this.rb_home7.AutoSize = true; - this.rb_home7.Location = new System.Drawing.Point(179, 5); - this.rb_home7.Name = "rb_home7"; - this.rb_home7.Size = new System.Drawing.Size(35, 16); - this.rb_home7.TabIndex = 2; - this.rb_home7.TabStop = true; - this.rb_home7.Text = "홈"; - this.rb_home7.UseVisualStyleBackColor = true; - this.rb_home7.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // // label7 // this.label7.AutoSize = true; @@ -1354,156 +294,14 @@ // this.panel8.BackColor = System.Drawing.Color.WhiteSmoke; this.panel8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel8.Controls.Add(this.cb_conv8); - this.panel8.Controls.Add(this.cb_work8); - this.panel8.Controls.Add(this.cb_marc8); - this.panel8.Controls.Add(this.cb_pay8); - this.panel8.Controls.Add(this.cb_div8); - this.panel8.Controls.Add(this.cb_home8); - this.panel8.Controls.Add(this.rb_conv8); - this.panel8.Controls.Add(this.rb_work8); - this.panel8.Controls.Add(this.rb_marc8); - this.panel8.Controls.Add(this.rb_pay8); - this.panel8.Controls.Add(this.rb_div8); - this.panel8.Controls.Add(this.rb_home8); + this.panel8.Controls.Add(this.cb_setShort8); this.panel8.Controls.Add(this.label8); + this.panel8.Controls.Add(this.cb_menu8); this.panel8.Location = new System.Drawing.Point(15, 408); this.panel8.Name = "panel8"; - this.panel8.Size = new System.Drawing.Size(928, 52); + this.panel8.Size = new System.Drawing.Size(765, 52); this.panel8.TabIndex = 4; // - // cb_conv8 - // - this.cb_conv8.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_conv8.Enabled = false; - this.cb_conv8.FormattingEnabled = true; - this.cb_conv8.Location = new System.Drawing.Point(771, 26); - this.cb_conv8.Name = "cb_conv8"; - this.cb_conv8.Size = new System.Drawing.Size(121, 20); - this.cb_conv8.TabIndex = 3; - // - // cb_work8 - // - this.cb_work8.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_work8.Enabled = false; - this.cb_work8.FormattingEnabled = true; - this.cb_work8.Location = new System.Drawing.Point(644, 26); - this.cb_work8.Name = "cb_work8"; - this.cb_work8.Size = new System.Drawing.Size(121, 20); - this.cb_work8.TabIndex = 3; - // - // cb_marc8 - // - this.cb_marc8.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_marc8.Enabled = false; - this.cb_marc8.FormattingEnabled = true; - this.cb_marc8.Location = new System.Drawing.Point(517, 26); - this.cb_marc8.Name = "cb_marc8"; - this.cb_marc8.Size = new System.Drawing.Size(121, 20); - this.cb_marc8.TabIndex = 3; - // - // cb_pay8 - // - this.cb_pay8.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_pay8.Enabled = false; - this.cb_pay8.FormattingEnabled = true; - this.cb_pay8.Location = new System.Drawing.Point(390, 26); - this.cb_pay8.Name = "cb_pay8"; - this.cb_pay8.Size = new System.Drawing.Size(121, 20); - this.cb_pay8.TabIndex = 3; - // - // cb_div8 - // - this.cb_div8.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_div8.Enabled = false; - this.cb_div8.FormattingEnabled = true; - this.cb_div8.Location = new System.Drawing.Point(263, 26); - this.cb_div8.Name = "cb_div8"; - this.cb_div8.Size = new System.Drawing.Size(121, 20); - this.cb_div8.TabIndex = 3; - // - // cb_home8 - // - this.cb_home8.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_home8.Enabled = false; - this.cb_home8.FormattingEnabled = true; - this.cb_home8.Location = new System.Drawing.Point(136, 26); - this.cb_home8.Name = "cb_home8"; - this.cb_home8.Size = new System.Drawing.Size(121, 20); - this.cb_home8.TabIndex = 3; - // - // rb_conv8 - // - this.rb_conv8.AutoSize = true; - this.rb_conv8.Location = new System.Drawing.Point(808, 5); - this.rb_conv8.Name = "rb_conv8"; - this.rb_conv8.Size = new System.Drawing.Size(47, 16); - this.rb_conv8.TabIndex = 2; - this.rb_conv8.TabStop = true; - this.rb_conv8.Text = "편의"; - this.rb_conv8.UseVisualStyleBackColor = true; - this.rb_conv8.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_work8 - // - this.rb_work8.AutoSize = true; - this.rb_work8.Location = new System.Drawing.Point(681, 5); - this.rb_work8.Name = "rb_work8"; - this.rb_work8.Size = new System.Drawing.Size(47, 16); - this.rb_work8.TabIndex = 2; - this.rb_work8.TabStop = true; - this.rb_work8.Text = "일지"; - this.rb_work8.UseVisualStyleBackColor = true; - this.rb_work8.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_marc8 - // - this.rb_marc8.AutoSize = true; - this.rb_marc8.Location = new System.Drawing.Point(554, 5); - this.rb_marc8.Name = "rb_marc8"; - this.rb_marc8.Size = new System.Drawing.Size(47, 16); - this.rb_marc8.TabIndex = 2; - this.rb_marc8.TabStop = true; - this.rb_marc8.Text = "마크"; - this.rb_marc8.UseVisualStyleBackColor = true; - this.rb_marc8.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_pay8 - // - this.rb_pay8.AutoSize = true; - this.rb_pay8.Location = new System.Drawing.Point(427, 5); - this.rb_pay8.Name = "rb_pay8"; - this.rb_pay8.Size = new System.Drawing.Size(47, 16); - this.rb_pay8.TabIndex = 2; - this.rb_pay8.TabStop = true; - this.rb_pay8.Text = "회계"; - this.rb_pay8.UseVisualStyleBackColor = true; - this.rb_pay8.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_div8 - // - this.rb_div8.AutoSize = true; - this.rb_div8.Location = new System.Drawing.Point(300, 5); - this.rb_div8.Name = "rb_div8"; - this.rb_div8.Size = new System.Drawing.Size(47, 16); - this.rb_div8.TabIndex = 2; - this.rb_div8.TabStop = true; - this.rb_div8.Text = "납품"; - this.rb_div8.UseVisualStyleBackColor = true; - this.rb_div8.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_home8 - // - this.rb_home8.AutoSize = true; - this.rb_home8.Location = new System.Drawing.Point(179, 5); - this.rb_home8.Name = "rb_home8"; - this.rb_home8.Size = new System.Drawing.Size(35, 16); - this.rb_home8.TabIndex = 2; - this.rb_home8.TabStop = true; - this.rb_home8.Text = "홈"; - this.rb_home8.UseVisualStyleBackColor = true; - this.rb_home8.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // // label8 // this.label8.AutoSize = true; @@ -1516,158 +314,16 @@ // // panel9 // - this.panel9.BackColor = System.Drawing.Color.LightGray; + this.panel9.BackColor = System.Drawing.SystemColors.InactiveCaption; this.panel9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel9.Controls.Add(this.cb_conv9); - this.panel9.Controls.Add(this.cb_work9); - this.panel9.Controls.Add(this.cb_marc9); - this.panel9.Controls.Add(this.cb_pay9); - this.panel9.Controls.Add(this.cb_div9); - this.panel9.Controls.Add(this.cb_home9); - this.panel9.Controls.Add(this.rb_conv9); - this.panel9.Controls.Add(this.rb_work9); - this.panel9.Controls.Add(this.rb_marc9); - this.panel9.Controls.Add(this.rb_pay9); - this.panel9.Controls.Add(this.rb_div9); - this.panel9.Controls.Add(this.rb_home9); + this.panel9.Controls.Add(this.cb_setShort9); this.panel9.Controls.Add(this.label9); + this.panel9.Controls.Add(this.cb_menu9); this.panel9.Location = new System.Drawing.Point(15, 459); this.panel9.Name = "panel9"; - this.panel9.Size = new System.Drawing.Size(928, 52); + this.panel9.Size = new System.Drawing.Size(765, 52); this.panel9.TabIndex = 4; // - // cb_conv9 - // - this.cb_conv9.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_conv9.Enabled = false; - this.cb_conv9.FormattingEnabled = true; - this.cb_conv9.Location = new System.Drawing.Point(771, 26); - this.cb_conv9.Name = "cb_conv9"; - this.cb_conv9.Size = new System.Drawing.Size(121, 20); - this.cb_conv9.TabIndex = 3; - // - // cb_work9 - // - this.cb_work9.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_work9.Enabled = false; - this.cb_work9.FormattingEnabled = true; - this.cb_work9.Location = new System.Drawing.Point(644, 26); - this.cb_work9.Name = "cb_work9"; - this.cb_work9.Size = new System.Drawing.Size(121, 20); - this.cb_work9.TabIndex = 3; - // - // cb_marc9 - // - this.cb_marc9.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_marc9.Enabled = false; - this.cb_marc9.FormattingEnabled = true; - this.cb_marc9.Location = new System.Drawing.Point(517, 26); - this.cb_marc9.Name = "cb_marc9"; - this.cb_marc9.Size = new System.Drawing.Size(121, 20); - this.cb_marc9.TabIndex = 3; - // - // cb_pay9 - // - this.cb_pay9.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_pay9.Enabled = false; - this.cb_pay9.FormattingEnabled = true; - this.cb_pay9.Location = new System.Drawing.Point(390, 26); - this.cb_pay9.Name = "cb_pay9"; - this.cb_pay9.Size = new System.Drawing.Size(121, 20); - this.cb_pay9.TabIndex = 3; - // - // cb_div9 - // - this.cb_div9.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_div9.Enabled = false; - this.cb_div9.FormattingEnabled = true; - this.cb_div9.Location = new System.Drawing.Point(263, 26); - this.cb_div9.Name = "cb_div9"; - this.cb_div9.Size = new System.Drawing.Size(121, 20); - this.cb_div9.TabIndex = 3; - // - // cb_home9 - // - this.cb_home9.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_home9.Enabled = false; - this.cb_home9.FormattingEnabled = true; - this.cb_home9.Location = new System.Drawing.Point(136, 26); - this.cb_home9.Name = "cb_home9"; - this.cb_home9.Size = new System.Drawing.Size(121, 20); - this.cb_home9.TabIndex = 3; - // - // rb_conv9 - // - this.rb_conv9.AutoSize = true; - this.rb_conv9.Location = new System.Drawing.Point(808, 5); - this.rb_conv9.Name = "rb_conv9"; - this.rb_conv9.Size = new System.Drawing.Size(47, 16); - this.rb_conv9.TabIndex = 2; - this.rb_conv9.TabStop = true; - this.rb_conv9.Text = "편의"; - this.rb_conv9.UseVisualStyleBackColor = true; - this.rb_conv9.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_work9 - // - this.rb_work9.AutoSize = true; - this.rb_work9.Location = new System.Drawing.Point(681, 5); - this.rb_work9.Name = "rb_work9"; - this.rb_work9.Size = new System.Drawing.Size(47, 16); - this.rb_work9.TabIndex = 2; - this.rb_work9.TabStop = true; - this.rb_work9.Text = "일지"; - this.rb_work9.UseVisualStyleBackColor = true; - this.rb_work9.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_marc9 - // - this.rb_marc9.AutoSize = true; - this.rb_marc9.Location = new System.Drawing.Point(554, 5); - this.rb_marc9.Name = "rb_marc9"; - this.rb_marc9.Size = new System.Drawing.Size(47, 16); - this.rb_marc9.TabIndex = 2; - this.rb_marc9.TabStop = true; - this.rb_marc9.Text = "마크"; - this.rb_marc9.UseVisualStyleBackColor = true; - this.rb_marc9.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_pay9 - // - this.rb_pay9.AutoSize = true; - this.rb_pay9.Location = new System.Drawing.Point(427, 5); - this.rb_pay9.Name = "rb_pay9"; - this.rb_pay9.Size = new System.Drawing.Size(47, 16); - this.rb_pay9.TabIndex = 2; - this.rb_pay9.TabStop = true; - this.rb_pay9.Text = "회계"; - this.rb_pay9.UseVisualStyleBackColor = true; - this.rb_pay9.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_div9 - // - this.rb_div9.AutoSize = true; - this.rb_div9.Location = new System.Drawing.Point(300, 5); - this.rb_div9.Name = "rb_div9"; - this.rb_div9.Size = new System.Drawing.Size(47, 16); - this.rb_div9.TabIndex = 2; - this.rb_div9.TabStop = true; - this.rb_div9.Text = "납품"; - this.rb_div9.UseVisualStyleBackColor = true; - this.rb_div9.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_home9 - // - this.rb_home9.AutoSize = true; - this.rb_home9.Location = new System.Drawing.Point(179, 5); - this.rb_home9.Name = "rb_home9"; - this.rb_home9.Size = new System.Drawing.Size(35, 16); - this.rb_home9.TabIndex = 2; - this.rb_home9.TabStop = true; - this.rb_home9.Text = "홈"; - this.rb_home9.UseVisualStyleBackColor = true; - this.rb_home9.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // // label9 // this.label9.AutoSize = true; @@ -1682,156 +338,14 @@ // this.panel10.BackColor = System.Drawing.Color.WhiteSmoke; this.panel10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel10.Controls.Add(this.cb_conv10); - this.panel10.Controls.Add(this.cb_work10); - this.panel10.Controls.Add(this.cb_marc10); - this.panel10.Controls.Add(this.cb_pay10); - this.panel10.Controls.Add(this.cb_div10); - this.panel10.Controls.Add(this.cb_home10); - this.panel10.Controls.Add(this.rb_conv10); - this.panel10.Controls.Add(this.rb_work10); - this.panel10.Controls.Add(this.rb_marc10); - this.panel10.Controls.Add(this.rb_pay10); - this.panel10.Controls.Add(this.rb_div10); - this.panel10.Controls.Add(this.rb_home10); + this.panel10.Controls.Add(this.cb_setShort10); this.panel10.Controls.Add(this.label10); + this.panel10.Controls.Add(this.cb_menu10); this.panel10.Location = new System.Drawing.Point(15, 510); this.panel10.Name = "panel10"; - this.panel10.Size = new System.Drawing.Size(928, 52); + this.panel10.Size = new System.Drawing.Size(765, 52); this.panel10.TabIndex = 4; // - // cb_conv10 - // - this.cb_conv10.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_conv10.Enabled = false; - this.cb_conv10.FormattingEnabled = true; - this.cb_conv10.Location = new System.Drawing.Point(771, 26); - this.cb_conv10.Name = "cb_conv10"; - this.cb_conv10.Size = new System.Drawing.Size(121, 20); - this.cb_conv10.TabIndex = 3; - // - // cb_work10 - // - this.cb_work10.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_work10.Enabled = false; - this.cb_work10.FormattingEnabled = true; - this.cb_work10.Location = new System.Drawing.Point(644, 26); - this.cb_work10.Name = "cb_work10"; - this.cb_work10.Size = new System.Drawing.Size(121, 20); - this.cb_work10.TabIndex = 3; - // - // cb_marc10 - // - this.cb_marc10.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_marc10.Enabled = false; - this.cb_marc10.FormattingEnabled = true; - this.cb_marc10.Location = new System.Drawing.Point(517, 26); - this.cb_marc10.Name = "cb_marc10"; - this.cb_marc10.Size = new System.Drawing.Size(121, 20); - this.cb_marc10.TabIndex = 3; - // - // cb_pay10 - // - this.cb_pay10.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_pay10.Enabled = false; - this.cb_pay10.FormattingEnabled = true; - this.cb_pay10.Location = new System.Drawing.Point(390, 26); - this.cb_pay10.Name = "cb_pay10"; - this.cb_pay10.Size = new System.Drawing.Size(121, 20); - this.cb_pay10.TabIndex = 3; - // - // cb_div10 - // - this.cb_div10.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_div10.Enabled = false; - this.cb_div10.FormattingEnabled = true; - this.cb_div10.Location = new System.Drawing.Point(263, 26); - this.cb_div10.Name = "cb_div10"; - this.cb_div10.Size = new System.Drawing.Size(121, 20); - this.cb_div10.TabIndex = 3; - // - // cb_home10 - // - this.cb_home10.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_home10.Enabled = false; - this.cb_home10.FormattingEnabled = true; - this.cb_home10.Location = new System.Drawing.Point(136, 26); - this.cb_home10.Name = "cb_home10"; - this.cb_home10.Size = new System.Drawing.Size(121, 20); - this.cb_home10.TabIndex = 3; - // - // rb_conv10 - // - this.rb_conv10.AutoSize = true; - this.rb_conv10.Location = new System.Drawing.Point(808, 5); - this.rb_conv10.Name = "rb_conv10"; - this.rb_conv10.Size = new System.Drawing.Size(47, 16); - this.rb_conv10.TabIndex = 2; - this.rb_conv10.TabStop = true; - this.rb_conv10.Text = "편의"; - this.rb_conv10.UseVisualStyleBackColor = true; - this.rb_conv10.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_work10 - // - this.rb_work10.AutoSize = true; - this.rb_work10.Location = new System.Drawing.Point(681, 5); - this.rb_work10.Name = "rb_work10"; - this.rb_work10.Size = new System.Drawing.Size(47, 16); - this.rb_work10.TabIndex = 2; - this.rb_work10.TabStop = true; - this.rb_work10.Text = "일지"; - this.rb_work10.UseVisualStyleBackColor = true; - this.rb_work10.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_marc10 - // - this.rb_marc10.AutoSize = true; - this.rb_marc10.Location = new System.Drawing.Point(554, 5); - this.rb_marc10.Name = "rb_marc10"; - this.rb_marc10.Size = new System.Drawing.Size(47, 16); - this.rb_marc10.TabIndex = 2; - this.rb_marc10.TabStop = true; - this.rb_marc10.Text = "마크"; - this.rb_marc10.UseVisualStyleBackColor = true; - this.rb_marc10.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_pay10 - // - this.rb_pay10.AutoSize = true; - this.rb_pay10.Location = new System.Drawing.Point(427, 5); - this.rb_pay10.Name = "rb_pay10"; - this.rb_pay10.Size = new System.Drawing.Size(47, 16); - this.rb_pay10.TabIndex = 2; - this.rb_pay10.TabStop = true; - this.rb_pay10.Text = "회계"; - this.rb_pay10.UseVisualStyleBackColor = true; - this.rb_pay10.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_div10 - // - this.rb_div10.AutoSize = true; - this.rb_div10.Location = new System.Drawing.Point(300, 5); - this.rb_div10.Name = "rb_div10"; - this.rb_div10.Size = new System.Drawing.Size(47, 16); - this.rb_div10.TabIndex = 2; - this.rb_div10.TabStop = true; - this.rb_div10.Text = "납품"; - this.rb_div10.UseVisualStyleBackColor = true; - this.rb_div10.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // - // rb_home10 - // - this.rb_home10.AutoSize = true; - this.rb_home10.Location = new System.Drawing.Point(179, 5); - this.rb_home10.Name = "rb_home10"; - this.rb_home10.Size = new System.Drawing.Size(35, 16); - this.rb_home10.TabIndex = 2; - this.rb_home10.TabStop = true; - this.rb_home10.Text = "홈"; - this.rb_home10.UseVisualStyleBackColor = true; - this.rb_home10.CheckedChanged += new System.EventHandler(this.rb_home1_CheckedChanged); - // // label10 // this.label10.AutoSize = true; @@ -1842,13 +356,323 @@ this.label10.TabIndex = 0; this.label10.Text = "퀵 메뉴 10"; // + // cb_menu2 + // + this.cb_menu2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_menu2.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_menu2.FormattingEnabled = true; + this.cb_menu2.ItemHeight = 15; + this.cb_menu2.Location = new System.Drawing.Point(136, 11); + this.cb_menu2.Name = "cb_menu2"; + this.cb_menu2.Size = new System.Drawing.Size(121, 23); + this.cb_menu2.TabIndex = 3; + this.cb_menu2.SelectedIndexChanged += new System.EventHandler(this.cb_menus_SelectedIndexChanged); + // + // cb_setShort2 + // + this.cb_setShort2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_setShort2.Enabled = false; + this.cb_setShort2.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_setShort2.FormattingEnabled = true; + this.cb_setShort2.ItemHeight = 15; + this.cb_setShort2.Location = new System.Drawing.Point(263, 11); + this.cb_setShort2.Name = "cb_setShort2"; + this.cb_setShort2.Size = new System.Drawing.Size(483, 23); + this.cb_setShort2.TabIndex = 3; + // + // cb_menu3 + // + this.cb_menu3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_menu3.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_menu3.FormattingEnabled = true; + this.cb_menu3.ItemHeight = 15; + this.cb_menu3.Location = new System.Drawing.Point(136, 11); + this.cb_menu3.Name = "cb_menu3"; + this.cb_menu3.Size = new System.Drawing.Size(121, 23); + this.cb_menu3.TabIndex = 3; + this.cb_menu3.SelectedIndexChanged += new System.EventHandler(this.cb_menus_SelectedIndexChanged); + // + // cb_setShort3 + // + this.cb_setShort3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_setShort3.Enabled = false; + this.cb_setShort3.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_setShort3.FormattingEnabled = true; + this.cb_setShort3.ItemHeight = 15; + this.cb_setShort3.Location = new System.Drawing.Point(263, 11); + this.cb_setShort3.Name = "cb_setShort3"; + this.cb_setShort3.Size = new System.Drawing.Size(483, 23); + this.cb_setShort3.TabIndex = 3; + // + // cb_menu4 + // + this.cb_menu4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_menu4.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_menu4.FormattingEnabled = true; + this.cb_menu4.ItemHeight = 15; + this.cb_menu4.Location = new System.Drawing.Point(136, 11); + this.cb_menu4.Name = "cb_menu4"; + this.cb_menu4.Size = new System.Drawing.Size(121, 23); + this.cb_menu4.TabIndex = 3; + this.cb_menu4.SelectedIndexChanged += new System.EventHandler(this.cb_menus_SelectedIndexChanged); + // + // cb_setShort4 + // + this.cb_setShort4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_setShort4.Enabled = false; + this.cb_setShort4.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_setShort4.FormattingEnabled = true; + this.cb_setShort4.ItemHeight = 15; + this.cb_setShort4.Location = new System.Drawing.Point(263, 11); + this.cb_setShort4.Name = "cb_setShort4"; + this.cb_setShort4.Size = new System.Drawing.Size(483, 23); + this.cb_setShort4.TabIndex = 3; + // + // cb_menu5 + // + this.cb_menu5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_menu5.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_menu5.FormattingEnabled = true; + this.cb_menu5.ItemHeight = 15; + this.cb_menu5.Location = new System.Drawing.Point(136, 11); + this.cb_menu5.Name = "cb_menu5"; + this.cb_menu5.Size = new System.Drawing.Size(121, 23); + this.cb_menu5.TabIndex = 3; + this.cb_menu5.SelectedIndexChanged += new System.EventHandler(this.cb_menus_SelectedIndexChanged); + // + // cb_setShort5 + // + this.cb_setShort5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_setShort5.Enabled = false; + this.cb_setShort5.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_setShort5.FormattingEnabled = true; + this.cb_setShort5.ItemHeight = 15; + this.cb_setShort5.Location = new System.Drawing.Point(263, 11); + this.cb_setShort5.Name = "cb_setShort5"; + this.cb_setShort5.Size = new System.Drawing.Size(483, 23); + this.cb_setShort5.TabIndex = 3; + // + // cb_menu6 + // + this.cb_menu6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_menu6.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_menu6.FormattingEnabled = true; + this.cb_menu6.ItemHeight = 15; + this.cb_menu6.Location = new System.Drawing.Point(136, 11); + this.cb_menu6.Name = "cb_menu6"; + this.cb_menu6.Size = new System.Drawing.Size(121, 23); + this.cb_menu6.TabIndex = 3; + this.cb_menu6.SelectedIndexChanged += new System.EventHandler(this.cb_menus_SelectedIndexChanged); + // + // cb_setShort6 + // + this.cb_setShort6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_setShort6.Enabled = false; + this.cb_setShort6.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_setShort6.FormattingEnabled = true; + this.cb_setShort6.ItemHeight = 15; + this.cb_setShort6.Location = new System.Drawing.Point(263, 11); + this.cb_setShort6.Name = "cb_setShort6"; + this.cb_setShort6.Size = new System.Drawing.Size(483, 23); + this.cb_setShort6.TabIndex = 3; + // + // cb_menu7 + // + this.cb_menu7.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_menu7.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_menu7.FormattingEnabled = true; + this.cb_menu7.ItemHeight = 15; + this.cb_menu7.Location = new System.Drawing.Point(136, 11); + this.cb_menu7.Name = "cb_menu7"; + this.cb_menu7.Size = new System.Drawing.Size(121, 23); + this.cb_menu7.TabIndex = 3; + this.cb_menu7.SelectedIndexChanged += new System.EventHandler(this.cb_menus_SelectedIndexChanged); + // + // cb_setShort7 + // + this.cb_setShort7.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_setShort7.Enabled = false; + this.cb_setShort7.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_setShort7.FormattingEnabled = true; + this.cb_setShort7.ItemHeight = 15; + this.cb_setShort7.Location = new System.Drawing.Point(263, 11); + this.cb_setShort7.Name = "cb_setShort7"; + this.cb_setShort7.Size = new System.Drawing.Size(483, 23); + this.cb_setShort7.TabIndex = 3; + // + // cb_menu8 + // + this.cb_menu8.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_menu8.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_menu8.FormattingEnabled = true; + this.cb_menu8.ItemHeight = 15; + this.cb_menu8.Location = new System.Drawing.Point(136, 11); + this.cb_menu8.Name = "cb_menu8"; + this.cb_menu8.Size = new System.Drawing.Size(121, 23); + this.cb_menu8.TabIndex = 3; + this.cb_menu8.SelectedIndexChanged += new System.EventHandler(this.cb_menus_SelectedIndexChanged); + // + // cb_setShort8 + // + this.cb_setShort8.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_setShort8.Enabled = false; + this.cb_setShort8.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_setShort8.FormattingEnabled = true; + this.cb_setShort8.ItemHeight = 15; + this.cb_setShort8.Location = new System.Drawing.Point(263, 11); + this.cb_setShort8.Name = "cb_setShort8"; + this.cb_setShort8.Size = new System.Drawing.Size(483, 23); + this.cb_setShort8.TabIndex = 3; + // + // cb_menu9 + // + this.cb_menu9.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_menu9.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_menu9.FormattingEnabled = true; + this.cb_menu9.ItemHeight = 15; + this.cb_menu9.Location = new System.Drawing.Point(136, 11); + this.cb_menu9.Name = "cb_menu9"; + this.cb_menu9.Size = new System.Drawing.Size(121, 23); + this.cb_menu9.TabIndex = 3; + this.cb_menu9.SelectedIndexChanged += new System.EventHandler(this.cb_menus_SelectedIndexChanged); + // + // cb_setShort9 + // + this.cb_setShort9.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_setShort9.Enabled = false; + this.cb_setShort9.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_setShort9.FormattingEnabled = true; + this.cb_setShort9.ItemHeight = 15; + this.cb_setShort9.Location = new System.Drawing.Point(263, 11); + this.cb_setShort9.Name = "cb_setShort9"; + this.cb_setShort9.Size = new System.Drawing.Size(483, 23); + this.cb_setShort9.TabIndex = 3; + // + // cb_menu10 + // + this.cb_menu10.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_menu10.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_menu10.FormattingEnabled = true; + this.cb_menu10.ItemHeight = 15; + this.cb_menu10.Location = new System.Drawing.Point(136, 11); + this.cb_menu10.Name = "cb_menu10"; + this.cb_menu10.Size = new System.Drawing.Size(121, 23); + this.cb_menu10.TabIndex = 3; + this.cb_menu10.SelectedIndexChanged += new System.EventHandler(this.cb_menus_SelectedIndexChanged); + // + // cb_setShort10 + // + this.cb_setShort10.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_setShort10.Enabled = false; + this.cb_setShort10.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_setShort10.FormattingEnabled = true; + this.cb_setShort10.ItemHeight = 15; + this.cb_setShort10.Location = new System.Drawing.Point(263, 11); + this.cb_setShort10.Name = "cb_setShort10"; + this.cb_setShort10.Size = new System.Drawing.Size(483, 23); + this.cb_setShort10.TabIndex = 3; + // + // panel11 + // + this.panel11.BackColor = System.Drawing.SystemColors.InactiveCaption; + this.panel11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel11.Controls.Add(this.cb_setShort11); + this.panel11.Controls.Add(this.label11); + this.panel11.Controls.Add(this.cb_menu11); + this.panel11.Location = new System.Drawing.Point(15, 561); + this.panel11.Name = "panel11"; + this.panel11.Size = new System.Drawing.Size(765, 52); + this.panel11.TabIndex = 4; + // + // cb_setShort11 + // + this.cb_setShort11.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_setShort11.Enabled = false; + this.cb_setShort11.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_setShort11.FormattingEnabled = true; + this.cb_setShort11.ItemHeight = 15; + this.cb_setShort11.Location = new System.Drawing.Point(263, 11); + this.cb_setShort11.Name = "cb_setShort11"; + this.cb_setShort11.Size = new System.Drawing.Size(483, 23); + this.cb_setShort11.TabIndex = 3; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label11.Location = new System.Drawing.Point(23, 15); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(85, 15); + this.label11.TabIndex = 0; + this.label11.Text = "퀵 메뉴 11"; + // + // cb_menu11 + // + this.cb_menu11.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_menu11.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_menu11.FormattingEnabled = true; + this.cb_menu11.ItemHeight = 15; + this.cb_menu11.Location = new System.Drawing.Point(136, 11); + this.cb_menu11.Name = "cb_menu11"; + this.cb_menu11.Size = new System.Drawing.Size(121, 23); + this.cb_menu11.TabIndex = 3; + this.cb_menu11.SelectedIndexChanged += new System.EventHandler(this.cb_menus_SelectedIndexChanged); + // + // panel12 + // + this.panel12.BackColor = System.Drawing.Color.WhiteSmoke; + this.panel12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel12.Controls.Add(this.cb_setShort12); + this.panel12.Controls.Add(this.label12); + this.panel12.Controls.Add(this.cb_menu12); + this.panel12.Location = new System.Drawing.Point(15, 612); + this.panel12.Name = "panel12"; + this.panel12.Size = new System.Drawing.Size(765, 52); + this.panel12.TabIndex = 4; + // + // cb_setShort12 + // + this.cb_setShort12.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_setShort12.Enabled = false; + this.cb_setShort12.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_setShort12.FormattingEnabled = true; + this.cb_setShort12.ItemHeight = 15; + this.cb_setShort12.Location = new System.Drawing.Point(263, 11); + this.cb_setShort12.Name = "cb_setShort12"; + this.cb_setShort12.Size = new System.Drawing.Size(483, 23); + this.cb_setShort12.TabIndex = 3; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label12.Location = new System.Drawing.Point(23, 15); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(85, 15); + this.label12.TabIndex = 0; + this.label12.Text = "퀵 메뉴 12"; + // + // cb_menu12 + // + this.cb_menu12.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_menu12.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.cb_menu12.FormattingEnabled = true; + this.cb_menu12.ItemHeight = 15; + this.cb_menu12.Location = new System.Drawing.Point(136, 11); + this.cb_menu12.Name = "cb_menu12"; + this.cb_menu12.Size = new System.Drawing.Size(121, 23); + this.cb_menu12.TabIndex = 3; + this.cb_menu12.SelectedIndexChanged += new System.EventHandler(this.cb_menus_SelectedIndexChanged); + // // Quick_menu // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(959, 577); + this.ClientSize = new System.Drawing.Size(796, 680); + this.Controls.Add(this.panel12); this.Controls.Add(this.panel10); this.Controls.Add(this.panel5); + this.Controls.Add(this.panel11); this.Controls.Add(this.panel9); this.Controls.Add(this.panel4); this.Controls.Add(this.panel8); @@ -1882,6 +706,10 @@ this.panel9.PerformLayout(); this.panel10.ResumeLayout(false); this.panel10.PerformLayout(); + this.panel11.ResumeLayout(false); + this.panel11.PerformLayout(); + this.panel12.ResumeLayout(false); + this.panel12.PerformLayout(); this.ResumeLayout(false); } @@ -1891,144 +719,52 @@ private System.Windows.Forms.Label label1; private System.Windows.Forms.Button btn_save; private System.Windows.Forms.Button btn_close; - private System.Windows.Forms.RadioButton rb_home1; - private System.Windows.Forms.RadioButton rb_div1; - private System.Windows.Forms.RadioButton rb_pay1; - private System.Windows.Forms.RadioButton rb_marc1; - private System.Windows.Forms.RadioButton rb_work1; - private System.Windows.Forms.RadioButton rb_conv1; - private System.Windows.Forms.ComboBox cb_home1; - private System.Windows.Forms.ComboBox cb_div1; - private System.Windows.Forms.ComboBox cb_pay1; - private System.Windows.Forms.ComboBox cb_marc1; - private System.Windows.Forms.ComboBox cb_work1; - private System.Windows.Forms.ComboBox cb_conv1; + private System.Windows.Forms.ComboBox cb_menu1; + private System.Windows.Forms.ComboBox cb_setShort1; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Panel panel2; - private System.Windows.Forms.ComboBox cb_conv2; - private System.Windows.Forms.ComboBox cb_work2; - private System.Windows.Forms.ComboBox cb_marc2; - private System.Windows.Forms.ComboBox cb_pay2; - private System.Windows.Forms.ComboBox cb_div2; - private System.Windows.Forms.ComboBox cb_home2; - private System.Windows.Forms.RadioButton rb_conv2; - private System.Windows.Forms.RadioButton rb_work2; - private System.Windows.Forms.RadioButton rb_marc2; - private System.Windows.Forms.RadioButton rb_pay2; - private System.Windows.Forms.RadioButton rb_div2; - private System.Windows.Forms.RadioButton rb_home2; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label3; - private System.Windows.Forms.RadioButton rb_home3; - private System.Windows.Forms.RadioButton rb_div3; - private System.Windows.Forms.RadioButton rb_pay3; - private System.Windows.Forms.RadioButton rb_marc3; - private System.Windows.Forms.RadioButton rb_work3; - private System.Windows.Forms.RadioButton rb_conv3; - private System.Windows.Forms.ComboBox cb_home3; - private System.Windows.Forms.ComboBox cb_div3; - private System.Windows.Forms.ComboBox cb_pay3; - private System.Windows.Forms.ComboBox cb_marc3; - private System.Windows.Forms.ComboBox cb_work3; - private System.Windows.Forms.ComboBox cb_conv3; private System.Windows.Forms.Panel panel3; private System.Windows.Forms.Panel panel4; - private System.Windows.Forms.ComboBox cb_conv4; - private System.Windows.Forms.ComboBox cb_work4; - private System.Windows.Forms.ComboBox cb_marc4; - private System.Windows.Forms.ComboBox cb_pay4; - private System.Windows.Forms.ComboBox cb_div4; - private System.Windows.Forms.ComboBox cb_home4; - private System.Windows.Forms.RadioButton rb_conv4; - private System.Windows.Forms.RadioButton rb_work4; - private System.Windows.Forms.RadioButton rb_marc4; - private System.Windows.Forms.RadioButton rb_pay4; - private System.Windows.Forms.RadioButton rb_div4; - private System.Windows.Forms.RadioButton rb_home4; private System.Windows.Forms.Label label4; private System.Windows.Forms.Panel panel5; - private System.Windows.Forms.ComboBox cb_conv5; - private System.Windows.Forms.ComboBox cb_work5; - private System.Windows.Forms.ComboBox cb_marc5; - private System.Windows.Forms.ComboBox cb_pay5; - private System.Windows.Forms.ComboBox cb_div5; - private System.Windows.Forms.ComboBox cb_home5; - private System.Windows.Forms.RadioButton rb_conv5; - private System.Windows.Forms.RadioButton rb_work5; - private System.Windows.Forms.RadioButton rb_marc5; - private System.Windows.Forms.RadioButton rb_pay5; - private System.Windows.Forms.RadioButton rb_div5; - private System.Windows.Forms.RadioButton rb_home5; private System.Windows.Forms.Label label5; private System.Windows.Forms.Panel panel6; - private System.Windows.Forms.ComboBox cb_conv6; - private System.Windows.Forms.ComboBox cb_work6; - private System.Windows.Forms.ComboBox cb_marc6; - private System.Windows.Forms.ComboBox cb_pay6; - private System.Windows.Forms.ComboBox cb_div6; - private System.Windows.Forms.ComboBox cb_home6; - private System.Windows.Forms.RadioButton rb_conv6; - private System.Windows.Forms.RadioButton rb_work6; - private System.Windows.Forms.RadioButton rb_marc6; - private System.Windows.Forms.RadioButton rb_pay6; - private System.Windows.Forms.RadioButton rb_div6; - private System.Windows.Forms.RadioButton rb_home6; private System.Windows.Forms.Label label6; private System.Windows.Forms.Panel panel7; - private System.Windows.Forms.ComboBox cb_conv7; - private System.Windows.Forms.ComboBox cb_work7; - private System.Windows.Forms.ComboBox cb_marc7; - private System.Windows.Forms.ComboBox cb_pay7; - private System.Windows.Forms.ComboBox cb_div7; - private System.Windows.Forms.ComboBox cb_home7; - private System.Windows.Forms.RadioButton rb_conv7; - private System.Windows.Forms.RadioButton rb_work7; - private System.Windows.Forms.RadioButton rb_marc7; - private System.Windows.Forms.RadioButton rb_pay7; - private System.Windows.Forms.RadioButton rb_div7; - private System.Windows.Forms.RadioButton rb_home7; private System.Windows.Forms.Label label7; private System.Windows.Forms.Panel panel8; - private System.Windows.Forms.ComboBox cb_conv8; - private System.Windows.Forms.ComboBox cb_work8; - private System.Windows.Forms.ComboBox cb_marc8; - private System.Windows.Forms.ComboBox cb_pay8; - private System.Windows.Forms.ComboBox cb_div8; - private System.Windows.Forms.ComboBox cb_home8; - private System.Windows.Forms.RadioButton rb_conv8; - private System.Windows.Forms.RadioButton rb_work8; - private System.Windows.Forms.RadioButton rb_marc8; - private System.Windows.Forms.RadioButton rb_pay8; - private System.Windows.Forms.RadioButton rb_div8; - private System.Windows.Forms.RadioButton rb_home8; private System.Windows.Forms.Label label8; private System.Windows.Forms.Panel panel9; - private System.Windows.Forms.ComboBox cb_conv9; - private System.Windows.Forms.ComboBox cb_work9; - private System.Windows.Forms.ComboBox cb_marc9; - private System.Windows.Forms.ComboBox cb_pay9; - private System.Windows.Forms.ComboBox cb_div9; - private System.Windows.Forms.ComboBox cb_home9; - private System.Windows.Forms.RadioButton rb_conv9; - private System.Windows.Forms.RadioButton rb_work9; - private System.Windows.Forms.RadioButton rb_marc9; - private System.Windows.Forms.RadioButton rb_pay9; - private System.Windows.Forms.RadioButton rb_div9; - private System.Windows.Forms.RadioButton rb_home9; private System.Windows.Forms.Label label9; private System.Windows.Forms.Panel panel10; - private System.Windows.Forms.ComboBox cb_conv10; - private System.Windows.Forms.ComboBox cb_work10; - private System.Windows.Forms.ComboBox cb_marc10; - private System.Windows.Forms.ComboBox cb_pay10; - private System.Windows.Forms.ComboBox cb_div10; - private System.Windows.Forms.ComboBox cb_home10; - private System.Windows.Forms.RadioButton rb_conv10; - private System.Windows.Forms.RadioButton rb_work10; - private System.Windows.Forms.RadioButton rb_marc10; - private System.Windows.Forms.RadioButton rb_pay10; - private System.Windows.Forms.RadioButton rb_div10; - private System.Windows.Forms.RadioButton rb_home10; private System.Windows.Forms.Label label10; + private System.Windows.Forms.ComboBox cb_setShort2; + private System.Windows.Forms.ComboBox cb_menu2; + private System.Windows.Forms.ComboBox cb_setShort3; + private System.Windows.Forms.ComboBox cb_menu3; + private System.Windows.Forms.ComboBox cb_setShort4; + private System.Windows.Forms.ComboBox cb_menu4; + private System.Windows.Forms.ComboBox cb_setShort5; + private System.Windows.Forms.ComboBox cb_menu5; + private System.Windows.Forms.ComboBox cb_setShort6; + private System.Windows.Forms.ComboBox cb_menu6; + private System.Windows.Forms.ComboBox cb_setShort7; + private System.Windows.Forms.ComboBox cb_menu7; + private System.Windows.Forms.ComboBox cb_setShort8; + private System.Windows.Forms.ComboBox cb_menu8; + private System.Windows.Forms.ComboBox cb_setShort9; + private System.Windows.Forms.ComboBox cb_menu9; + private System.Windows.Forms.ComboBox cb_setShort10; + private System.Windows.Forms.ComboBox cb_menu10; + private System.Windows.Forms.Panel panel11; + private System.Windows.Forms.ComboBox cb_setShort11; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.ComboBox cb_menu11; + private System.Windows.Forms.Panel panel12; + private System.Windows.Forms.ComboBox cb_setShort12; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.ComboBox cb_menu12; } } \ No newline at end of file diff --git a/unimarc/unimarc/편의기능/Quick_menu.cs b/unimarc/unimarc/편의기능/Quick_menu.cs index d46263d..2c78cea 100644 --- a/unimarc/unimarc/편의기능/Quick_menu.cs +++ b/unimarc/unimarc/편의기능/Quick_menu.cs @@ -25,604 +25,154 @@ namespace WindowsFormsApp1.Convenience private void Quick_menu_Load(object sender, EventArgs e) { db.DBcon(); - base_setting(); + Init(); } - private void base_setting() + + private void Init() { - rb_home1.Checked = true; - rb_home2.Checked = true; - rb_home3.Checked = true; - rb_home4.Checked = true; - rb_home5.Checked = true; - rb_home6.Checked = true; - rb_home7.Checked = true; - rb_home8.Checked = true; - rb_home9.Checked = true; - rb_home10.Checked = true; + #region 메뉴 콤보박스 밑작업 + string[] MenuList = { + "적용안함", "홈", "납품관리", "회계", "마크" + }; - string[] list_home = { "사용자 관리", "납품/거래처 관리", "주문처 관리", "도서정보 관리", "사용대장" }; - string[] list_div = { "물품등록", "목록조회", "목록집계", "주문입력", "예가조회", - "견적서", "입고작업", "매입/반품입력", "재고입력/조회" }; - string[] list_pay = { "송금내역조회", "매입집계", "매입장부", "매입미결제", "매출입력", - "매출입금", "매출장부", "매출미수금", "계산서관리" }; + ComboBox[] Menu = { + cb_menu1, cb_menu2, cb_menu3, cb_menu4, cb_menu5, + cb_menu6, cb_menu7, cb_menu8, cb_menu9, cb_menu10, + cb_menu11, cb_menu12 + }; - - cb_home1.Items.AddRange(list_home); - cb_home2.Items.AddRange(list_home); - cb_home3.Items.AddRange(list_home); - cb_home4.Items.AddRange(list_home); - cb_home5.Items.AddRange(list_home); - cb_home6.Items.AddRange(list_home); - cb_home7.Items.AddRange(list_home); - cb_home8.Items.AddRange(list_home); - cb_home9.Items.AddRange(list_home); - cb_home10.Items.AddRange(list_home); - - cb_div1.Items.AddRange(list_div); - cb_div2.Items.AddRange(list_div); - cb_div3.Items.AddRange(list_div); - cb_div4.Items.AddRange(list_div); - cb_div5.Items.AddRange(list_div); - cb_div6.Items.AddRange(list_div); - cb_div7.Items.AddRange(list_div); - cb_div8.Items.AddRange(list_div); - cb_div9.Items.AddRange(list_div); - cb_div10.Items.AddRange(list_div); - - cb_pay1.Items.AddRange(list_pay); - cb_pay2.Items.AddRange(list_pay); - cb_pay3.Items.AddRange(list_pay); - cb_pay4.Items.AddRange(list_pay); - cb_pay5.Items.AddRange(list_pay); - cb_pay6.Items.AddRange(list_pay); - cb_pay7.Items.AddRange(list_pay); - cb_pay8.Items.AddRange(list_pay); - cb_pay9.Items.AddRange(list_pay); - cb_pay10.Items.AddRange(list_pay); - } - private void radio_Checked(object sender) - { - string tmp_name = Regex.Replace(((RadioButton)sender).Name, @"\D", ""); - int num = 0; - num = Convert.ToInt32(tmp_name); - combo_Enabled(((RadioButton)sender).Name, num); - } - private void combo_Enabled(string name, int num) - { - if (name.Contains("rb_home") == true) { - switch (num) { - case 1: - cb_home1.Enabled = true; - cb_div1.Enabled = false; - cb_pay1.Enabled = false; - cb_marc1.Enabled = false; - cb_work1.Enabled = false; - cb_conv1.Enabled = false; - break; - case 2: - cb_home2.Enabled = true; - cb_div2.Enabled = false; - cb_pay2.Enabled = false; - cb_marc2.Enabled = false; - cb_work2.Enabled = false; - cb_conv2.Enabled = false; - break; - case 3: - cb_home3.Enabled = true; - cb_div3.Enabled = false; - cb_pay3.Enabled = false; - cb_marc3.Enabled = false; - cb_work3.Enabled = false; - cb_conv3.Enabled = false; - break; - case 4: - cb_home4.Enabled = true; - cb_div4.Enabled = false; - cb_pay4.Enabled = false; - cb_marc4.Enabled = false; - cb_work4.Enabled = false; - cb_conv4.Enabled = false; - break; - case 5: - cb_home5.Enabled = true; - cb_div5.Enabled = false; - cb_pay5.Enabled = false; - cb_marc5.Enabled = false; - cb_work5.Enabled = false; - cb_conv5.Enabled = false; - break; - case 6: - cb_home6.Enabled = true; - cb_div6.Enabled = false; - cb_pay6.Enabled = false; - cb_marc6.Enabled = false; - cb_work6.Enabled = false; - cb_conv6.Enabled = false; - break; - case 7: - cb_home7.Enabled = true; - cb_div7.Enabled = false; - cb_pay7.Enabled = false; - cb_marc7.Enabled = false; - cb_work7.Enabled = false; - cb_conv7.Enabled = false; - break; - case 8: - cb_home8.Enabled = true; - cb_div8.Enabled = false; - cb_pay8.Enabled = false; - cb_marc8.Enabled = false; - cb_work8.Enabled = false; - cb_conv8.Enabled = false; - break; - case 9: - cb_home9.Enabled = true; - cb_div9.Enabled = false; - cb_pay9.Enabled = false; - cb_marc9.Enabled = false; - cb_work9.Enabled = false; - cb_conv9.Enabled = false; - break; - case 10: - cb_home10.Enabled = true; - cb_div10.Enabled = false; - cb_pay10.Enabled = false; - cb_marc10.Enabled = false; - cb_work10.Enabled = false; - cb_conv10.Enabled = false; - break; - default: - break; - } - } - else if (name.Contains("rb_div") == true) { - switch (num) { - case 1: - cb_home1.Enabled = false; - cb_div1.Enabled = true; - cb_pay1.Enabled = false; - cb_marc1.Enabled = false; - cb_work1.Enabled = false; - cb_conv1.Enabled = false; - break; - case 2: - cb_home2.Enabled = false; - cb_div2.Enabled = true; - cb_pay2.Enabled = false; - cb_marc2.Enabled = false; - cb_work2.Enabled = false; - cb_conv2.Enabled = false; - break; - case 3: - cb_home3.Enabled = false; - cb_div3.Enabled = true; - cb_pay3.Enabled = false; - cb_marc3.Enabled = false; - cb_work3.Enabled = false; - cb_conv3.Enabled = false; - break; - case 4: - cb_home4.Enabled = false; - cb_div4.Enabled = true; - cb_pay4.Enabled = false; - cb_marc4.Enabled = false; - cb_work4.Enabled = false; - cb_conv4.Enabled = false; - break; - case 5: - cb_home5.Enabled = false; - cb_div5.Enabled = true; - cb_pay5.Enabled = false; - cb_marc5.Enabled = false; - cb_work5.Enabled = false; - cb_conv5.Enabled = false; - break; - case 6: - cb_home6.Enabled = false; - cb_div6.Enabled = true; - cb_pay6.Enabled = false; - cb_marc6.Enabled = false; - cb_work6.Enabled = false; - cb_conv6.Enabled = false; - break; - case 7: - cb_home7.Enabled = false; - cb_div7.Enabled = true; - cb_pay7.Enabled = false; - cb_marc7.Enabled = false; - cb_work7.Enabled = false; - cb_conv7.Enabled = false; - break; - case 8: - cb_home8.Enabled = false; - cb_div8.Enabled = true; - cb_pay8.Enabled = false; - cb_marc8.Enabled = false; - cb_work8.Enabled = false; - cb_conv8.Enabled = false; - break; - case 9: - cb_home9.Enabled = false; - cb_div9.Enabled = true; - cb_pay9.Enabled = false; - cb_marc9.Enabled = false; - cb_work9.Enabled = false; - cb_conv9.Enabled = false; - break; - case 10: - cb_home10.Enabled = false; - cb_div10.Enabled = true; - cb_pay10.Enabled = false; - cb_marc10.Enabled = false; - cb_work10.Enabled = false; - cb_conv10.Enabled = false; - break; - default: - break; - } - } - else if (name.Contains("rb_pay") == true) { - switch (num) { - case 1: - cb_home1.Enabled = false; - cb_div1.Enabled = false; - cb_pay1.Enabled = true; - cb_marc1.Enabled = false; - cb_work1.Enabled = false; - cb_conv1.Enabled = false; - break; - case 2: - cb_home2.Enabled = false; - cb_div2.Enabled = false; - cb_pay2.Enabled = true; - cb_marc2.Enabled = false; - cb_work2.Enabled = false; - cb_conv2.Enabled = false; - break; - case 3: - cb_home3.Enabled = false; - cb_div3.Enabled = false; - cb_pay3.Enabled = true; - cb_marc3.Enabled = false; - cb_work3.Enabled = false; - cb_conv3.Enabled = false; - break; - case 4: - cb_home4.Enabled = false; - cb_div4.Enabled = false; - cb_pay4.Enabled = true; - cb_marc4.Enabled = false; - cb_work4.Enabled = false; - cb_conv4.Enabled = false; - break; - case 5: - cb_home5.Enabled = false; - cb_div5.Enabled = false; - cb_pay5.Enabled = true; - cb_marc5.Enabled = false; - cb_work5.Enabled = false; - cb_conv5.Enabled = false; - break; - case 6: - cb_home6.Enabled = false; - cb_div6.Enabled = false; - cb_pay6.Enabled = true; - cb_marc6.Enabled = false; - cb_work6.Enabled = false; - cb_conv6.Enabled = false; - break; - case 7: - cb_home7.Enabled = false; - cb_div7.Enabled = false; - cb_pay7.Enabled = true; - cb_marc7.Enabled = false; - cb_work7.Enabled = false; - cb_conv7.Enabled = false; - break; - case 8: - cb_home8.Enabled = false; - cb_div8.Enabled = false; - cb_pay8.Enabled = true; - cb_marc8.Enabled = false; - cb_work8.Enabled = false; - cb_conv8.Enabled = false; - break; - case 9: - cb_home9.Enabled = false; - cb_div9.Enabled = false; - cb_pay9.Enabled = true; - cb_marc9.Enabled = false; - cb_work9.Enabled = false; - cb_conv9.Enabled = false; - break; - case 10: - cb_home10.Enabled = false; - cb_div10.Enabled = false; - cb_pay10.Enabled = true; - cb_marc10.Enabled = false; - cb_work10.Enabled = false; - cb_conv10.Enabled = false; - break; - default: - break; - } - } - else if (name.Contains("rb_marc") == true) { - switch (num) { - case 1: - cb_home1.Enabled = false; - cb_div1.Enabled = false; - cb_pay1.Enabled = false; - cb_marc1.Enabled = true; - cb_work1.Enabled = false; - cb_conv1.Enabled = false; - break; - case 2: - cb_home2.Enabled = false; - cb_div2.Enabled = false; - cb_pay2.Enabled = false; - cb_marc2.Enabled = true; - cb_work2.Enabled = false; - cb_conv2.Enabled = false; - break; - case 3: - cb_home3.Enabled = false; - cb_div3.Enabled = false; - cb_pay3.Enabled = false; - cb_marc3.Enabled = true; - cb_work3.Enabled = false; - cb_conv3.Enabled = false; - break; - case 4: - cb_home4.Enabled = false; - cb_div4.Enabled = false; - cb_pay4.Enabled = false; - cb_marc4.Enabled = true; - cb_work4.Enabled = false; - cb_conv4.Enabled = false; - break; - case 5: - cb_home5.Enabled = false; - cb_div5.Enabled = false; - cb_pay5.Enabled = false; - cb_marc5.Enabled = true; - cb_work5.Enabled = false; - cb_conv5.Enabled = false; - break; - case 6: - cb_home6.Enabled = false; - cb_div6.Enabled = false; - cb_pay6.Enabled = false; - cb_marc6.Enabled = true; - cb_work6.Enabled = false; - cb_conv6.Enabled = false; - break; - case 7: - cb_home7.Enabled = false; - cb_div7.Enabled = false; - cb_pay7.Enabled = false; - cb_marc7.Enabled = true; - cb_work7.Enabled = false; - cb_conv7.Enabled = false; - break; - case 8: - cb_home8.Enabled = false; - cb_div8.Enabled = false; - cb_pay8.Enabled = false; - cb_marc8.Enabled = true; - cb_work8.Enabled = false; - cb_conv8.Enabled = false; - break; - case 9: - cb_home9.Enabled = false; - cb_div9.Enabled = false; - cb_pay9.Enabled = false; - cb_marc9.Enabled = true; - cb_work9.Enabled = false; - cb_conv9.Enabled = false; - break; - case 10: - cb_home10.Enabled = false; - cb_div10.Enabled = false; - cb_pay10.Enabled = false; - cb_marc10.Enabled = true; - cb_work10.Enabled = false; - cb_conv10.Enabled = false; - break; - default: - break; - } - } - else if (name.Contains("rb_work") == true) { - switch (num) - { - case 1: - cb_home1.Enabled = false; - cb_div1.Enabled = false; - cb_pay1.Enabled = false; - cb_marc1.Enabled = false; - cb_work1.Enabled = true; - cb_conv1.Enabled = false; - break; - case 2: - cb_home2.Enabled = false; - cb_div2.Enabled = false; - cb_pay2.Enabled = false; - cb_marc2.Enabled = false; - cb_work2.Enabled = true; - cb_conv2.Enabled = false; - break; - case 3: - cb_home3.Enabled = false; - cb_div3.Enabled = false; - cb_pay3.Enabled = false; - cb_marc3.Enabled = false; - cb_work3.Enabled = true; - cb_conv3.Enabled = false; - break; - case 4: - cb_home4.Enabled = false; - cb_div4.Enabled = false; - cb_pay4.Enabled = false; - cb_marc4.Enabled = false; - cb_work4.Enabled = true; - cb_conv4.Enabled = false; - break; - case 5: - cb_home5.Enabled = false; - cb_div5.Enabled = false; - cb_pay5.Enabled = false; - cb_marc5.Enabled = false; - cb_work5.Enabled = true; - cb_conv5.Enabled = false; - break; - case 6: - cb_home6.Enabled = false; - cb_div6.Enabled = false; - cb_pay6.Enabled = false; - cb_marc6.Enabled = false; - cb_work6.Enabled = true; - cb_conv6.Enabled = false; - break; - case 7: - cb_home7.Enabled = false; - cb_div7.Enabled = false; - cb_pay7.Enabled = false; - cb_marc7.Enabled = false; - cb_work7.Enabled = true; - cb_conv7.Enabled = false; - break; - case 8: - cb_home8.Enabled = false; - cb_div8.Enabled = false; - cb_pay8.Enabled = false; - cb_marc8.Enabled = false; - cb_work8.Enabled = true; - cb_conv8.Enabled = false; - break; - case 9: - cb_home9.Enabled = false; - cb_div9.Enabled = false; - cb_pay9.Enabled = false; - cb_marc9.Enabled = false; - cb_work9.Enabled = true; - cb_conv9.Enabled = false; - break; - case 10: - cb_home10.Enabled = false; - cb_div10.Enabled = false; - cb_pay10.Enabled = false; - cb_marc10.Enabled = false; - cb_work10.Enabled = true; - cb_conv10.Enabled = false; - break; - default: - break; - } - } - else if (name.Contains("rb_conv") == true) { - switch (num) - { - case 1: - cb_home1.Enabled = false; - cb_div1.Enabled = false; - cb_pay1.Enabled = false; - cb_marc1.Enabled = false; - cb_work1.Enabled = false; - cb_conv1.Enabled = true; - break; - case 2: - cb_home2.Enabled = false; - cb_div2.Enabled = false; - cb_pay2.Enabled = false; - cb_marc2.Enabled = false; - cb_work2.Enabled = false; - cb_conv2.Enabled = true; - break; - case 3: - cb_home3.Enabled = false; - cb_div3.Enabled = false; - cb_pay3.Enabled = false; - cb_marc3.Enabled = false; - cb_work3.Enabled = false; - cb_conv3.Enabled = true; - break; - case 4: - cb_home4.Enabled = false; - cb_div4.Enabled = false; - cb_pay4.Enabled = false; - cb_marc4.Enabled = false; - cb_work4.Enabled = false; - cb_conv4.Enabled = true; - break; - case 5: - cb_home5.Enabled = false; - cb_div5.Enabled = false; - cb_pay5.Enabled = false; - cb_marc5.Enabled = false; - cb_work5.Enabled = false; - cb_conv5.Enabled = true; - break; - case 6: - cb_home6.Enabled = false; - cb_div6.Enabled = false; - cb_pay6.Enabled = false; - cb_marc6.Enabled = false; - cb_work6.Enabled = false; - cb_conv6.Enabled = true; - break; - case 7: - cb_home7.Enabled = false; - cb_div7.Enabled = false; - cb_pay7.Enabled = false; - cb_marc7.Enabled = false; - cb_work7.Enabled = false; - cb_conv7.Enabled = true; - break; - case 8: - cb_home8.Enabled = false; - cb_div8.Enabled = false; - cb_pay8.Enabled = false; - cb_marc8.Enabled = false; - cb_work8.Enabled = false; - cb_conv8.Enabled = true; - break; - case 9: - cb_home9.Enabled = false; - cb_div9.Enabled = false; - cb_pay9.Enabled = false; - cb_marc9.Enabled = false; - cb_work9.Enabled = false; - cb_conv9.Enabled = true; - break; - case 10: - cb_home10.Enabled = false; - cb_div10.Enabled = false; - cb_pay10.Enabled = false; - cb_marc10.Enabled = false; - cb_work10.Enabled = false; - cb_conv10.Enabled = true; - break; - default: - break; - } + for (int a = 0; a < Menu.Length; a++) + { + Menu[a].Items.AddRange(MenuList); } + #endregion } private void btn_save_Click(object sender, EventArgs e) { - /* TODO: - * 1. DB에 자료 저장할 리스트 구상할 것. - * 2. main폼과 연동하여 버튼이벤트를 활성화시킬 것. - * 3. 저장하는 즉시 퀵메뉴가 적용이 되어야함. (아니면 재접속하는 방법) - */ + string Table = "User_ShortCut"; + + string User = main.User_Name; + + ComboBox[] DetailMenu = { + cb_setShort1, cb_setShort2, cb_setShort3, cb_setShort4, cb_setShort5, + cb_setShort6, cb_setShort7, cb_setShort8, cb_setShort9, cb_setShort10, + cb_setShort11, cb_setShort12 + }; + + List Column_L = new List { + "`id`" + }; + List Values_L = new List{ + "\"" + User + "\"" + }; + + for (int a = 0; a < DetailMenu.Length; a++) + { + if (DetailMenu[a].Text != "") { + Column_L.Add(string.Format("`ShortCut{0}`", a + 1)); + Values_L.Add(string.Format("\"{0}\"", DetailMenu[a].Text)); + } + } + + string Column = string.Join(", ", Column_L); + string Values = string.Join(", ", Values_L); + + string InCmd = string.Format("INSERT INTO `{0}` ({1}) VALUES ({2}) ", Table, Column, Values); + + string UpCmd = "ON DUPLICATE KEY UPDATE "; + for (int a = 0; a < Column_L.Count; a++) + { + UpCmd += string.Format("{0} = {1}", Column_L[a], Values_L[a]); + if (a % Column_L.Count == Column_L.Count - 1) + UpCmd += ";"; + else + UpCmd += ", "; + } + + string cmd = InCmd + UpCmd; + db.DB_Send_CMD_reVoid(cmd); + + MessageBox.Show("저장완료!"); + + main.SetBtnName(); } + private void btn_close_Click(object sender, EventArgs e) { this.Close(); } - private void rb_home1_CheckedChanged(object sender, EventArgs e) + + private void cb_menus_SelectedIndexChanged(object sender, EventArgs e) { - radio_Checked(sender); + ComboBox combo = sender as ComboBox; + + string[] comboName = { + "cb_menu1", "cb_menu2", "cb_menu3", "cb_menu4", "cb_menu5", + "cb_menu6", "cb_menu7", "cb_menu8", "cb_menu9", "cb_menu10", + "cb_menu11", "cb_menu12" + }; + + ComboBox[] DetailMenu = { + cb_setShort1, cb_setShort2, cb_setShort3, cb_setShort4, cb_setShort5, + cb_setShort6, cb_setShort7, cb_setShort8, cb_setShort9, cb_setShort10, + cb_setShort11, cb_setShort12 + }; + + string[] Home = { + "사용자 관리", "납품 / 거래처 관리", "주문처 관리", "도서정보 관리" + }; + + string[] Div = { + "물품등록", "목록조회", "목록집계", "주문입력", "입고작업", + "재고입력 및 조회", "반품처리" + }; + + string[] Acc = { + "송금내역조회", "송금등록", "매입 집계", "매입 장부", "매출 입력", "매출 입금", + "매출 조회", "매출 집계", "파트타임 관리" + }; + + string[] Marc = { + "마크 목록", "소장자료검색", "마크 정리", "ISBN 조회", "반입", + "반출", "복본 조사", "DLS 복본 조사", "마크 수집", "전집관리", + "검수", "저자기호", "DLS 조회", "DLS 입력", "서류작성", + "마크통계", "장비관리" + }; + + int count = 0; + foreach (string name in comboName) + { + if (name == combo.Name) + break; + + count++; + } + + if (DetailMenu[count].Items.Count > 0) + DetailMenu[count].Items.Clear(); + + DetailMenu[count].Enabled = true; + + switch (combo.SelectedIndex) + { + case 0: // 적용안함 + DetailMenu[count].Enabled = false; + break; + case 1: // 홈 + DetailMenu[count].Items.AddRange(Home); + break; + case 2: // 납품관리 + DetailMenu[count].Items.AddRange(Div); + break; + case 3: // 회계 + DetailMenu[count].Items.AddRange(Acc); + break; + case 4: // 마크 + DetailMenu[count].Items.AddRange(Marc); + break; + default: + break; + } } } } diff --git a/unimarc/unimarc/편의기능/Talk.Designer.cs b/unimarc/unimarc/편의기능/Talk.Designer.cs index f674af6..afded38 100644 --- a/unimarc/unimarc/편의기능/Talk.Designer.cs +++ b/unimarc/unimarc/편의기능/Talk.Designer.cs @@ -28,33 +28,19 @@ /// private void InitializeComponent() { - this.label1 = new System.Windows.Forms.Label(); this.SuspendLayout(); // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(360, 219); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(83, 12); - this.label1.TabIndex = 7; - this.label1.Text = "편의기능_채팅"; - // // Talk // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); - this.Controls.Add(this.label1); this.Name = "Talk"; this.Text = "Talk"; this.ResumeLayout(false); - this.PerformLayout(); } #endregion - - private System.Windows.Forms.Label label1; } } \ No newline at end of file diff --git a/unimarc/unimarc/홈/Home_User_manage.cs b/unimarc/unimarc/홈/Home_User_manage.cs index 843b117..2f71838 100644 --- a/unimarc/unimarc/홈/Home_User_manage.cs +++ b/unimarc/unimarc/홈/Home_User_manage.cs @@ -179,6 +179,11 @@ namespace WindowsFormsApp1.Home MessageBox.Show("성명 / 아이디 / 비밀번호 를 채워주세요."); return; } + if (!overlap) { + MessageBox.Show("아이디 중복확인을 해주세요."); + return; + } + bool IsUpdate = true; string cmd = _DB.DB_Search(Table_User, "id", tb_ID.Text); diff --git a/unimarc/unimarc/홈/Order_manage.Designer.cs b/unimarc/unimarc/홈/Order_manage.Designer.cs index 93aab30..7b8545f 100644 --- a/unimarc/unimarc/홈/Order_manage.Designer.cs +++ b/unimarc/unimarc/홈/Order_manage.Designer.cs @@ -28,18 +28,18 @@ /// private void InitializeComponent() { - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + 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.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); this.label12 = new System.Windows.Forms.Label(); this.cb_search_filter = new System.Windows.Forms.ComboBox(); this.chk_stopUse = new System.Windows.Forms.CheckBox(); @@ -49,6 +49,29 @@ this.tb_bank_no = new System.Windows.Forms.TextBox(); this.label10 = new System.Windows.Forms.Label(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); + this.idx = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.send_chk = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.sangho = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.boss = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.bubin = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.uptae = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.jongmok = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.zip = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.addr = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.tel = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.fax = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.bank_no = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.bank_comp = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.bank_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.gu = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.barea = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.etc_1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.etc_2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.email = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.id = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.pw = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.site = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.emchk = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.btn_Delete = new System.Windows.Forms.Button(); this.btn_Lookup = new System.Windows.Forms.Button(); this.btn_Save = new System.Windows.Forms.Button(); @@ -85,63 +108,47 @@ this.textBox18 = new System.Windows.Forms.TextBox(); this.label18 = new System.Windows.Forms.Label(); this.checkBox4 = new System.Windows.Forms.CheckBox(); - this.button1 = new System.Windows.Forms.Button(); this.btn_close = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); - this.button4 = new System.Windows.Forms.Button(); this.label19 = new System.Windows.Forms.Label(); - this.textBox19 = new System.Windows.Forms.TextBox(); - this.textBox20 = new System.Windows.Forms.TextBox(); - this.dataGridView2 = new System.Windows.Forms.DataGridView(); - this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.button5 = new System.Windows.Forms.Button(); - this.button6 = new System.Windows.Forms.Button(); - this.button7 = new System.Windows.Forms.Button(); - this.button8 = new System.Windows.Forms.Button(); - this.dataGridView3 = new System.Windows.Forms.DataGridView(); - this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.tb_IndexWord = new System.Windows.Forms.TextBox(); + this.btn_DeleteIW = new System.Windows.Forms.Button(); + this.btn_AddIW = new System.Windows.Forms.Button(); + this.btn_ExcelIW = new System.Windows.Forms.Button(); + this.btn_SaveIW = new System.Windows.Forms.Button(); + this.dgv_IndexWord = new System.Windows.Forms.DataGridView(); + this.IndexWord = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.IndexPersent = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panel1 = new System.Windows.Forms.Panel(); this.tb_memo = new System.Windows.Forms.Button(); this.panel2 = new System.Windows.Forms.Panel(); this.rtb_etc = new System.Windows.Forms.RichTextBox(); this.tb_site = new System.Windows.Forms.TextBox(); this.tb_zip = new System.Windows.Forms.TextBox(); + this.lbl_idx = new System.Windows.Forms.Label(); this.btn_SitePage = new System.Windows.Forms.Button(); this.tb_pw = new System.Windows.Forms.TextBox(); this.label21 = new System.Windows.Forms.Label(); this.tb_id = new System.Windows.Forms.TextBox(); this.label20 = new System.Windows.Forms.Label(); this.label22 = new System.Windows.Forms.Label(); - this.idx = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.send_chk = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.sangho = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.boss = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.bubin = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.uptae = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.jongmok = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.zip = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.addr = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.tel = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.fax = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.bank_no = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.bank_comp = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.bank_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.gu = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.barea = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.etc_1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.etc_2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.email = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.id = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.pw = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.site = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.emchk = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.tb_persent = new System.Windows.Forms.NumericUpDown(); + this.btn_batchProcess = new System.Windows.Forms.Button(); + this.panel3 = new System.Windows.Forms.Panel(); + this.panel_batchProcess = new System.Windows.Forms.Panel(); + this.btn_ProcessExit = new System.Windows.Forms.Button(); + this.btn_batchProcessing = new System.Windows.Forms.Button(); + this.dgv_WordSUB = new System.Windows.Forms.DataGridView(); + this.IndexWordSub = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.IndexPersentSub = new System.Windows.Forms.DataGridViewTextBoxColumn(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dataGridView3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgv_IndexWord)).BeginInit(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.tb_persent)).BeginInit(); + this.panel3.SuspendLayout(); + this.panel_batchProcess.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dgv_WordSUB)).BeginInit(); this.SuspendLayout(); // // label12 @@ -187,7 +194,7 @@ this.tb_bank_comp.Location = new System.Drawing.Point(332, 60); this.tb_bank_comp.Name = "tb_bank_comp"; this.tb_bank_comp.Size = new System.Drawing.Size(100, 21); - this.tb_bank_comp.TabIndex = 67; + this.tb_bank_comp.TabIndex = 10; // // label9 // @@ -203,7 +210,7 @@ this.tb_bank_no.Location = new System.Drawing.Point(81, 60); this.tb_bank_no.Name = "tb_bank_no"; this.tb_bank_no.Size = new System.Drawing.Size(203, 21); - this.tb_bank_no.TabIndex = 65; + this.tb_bank_no.TabIndex = 9; // // label10 // @@ -219,14 +226,14 @@ this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.AllowUserToDeleteRows = false; this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle13.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle13; + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.idx, @@ -252,738 +259,37 @@ this.pw, this.site, this.emchk}); - dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle14.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle14.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle14; + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle2; this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; this.dataGridView1.Location = new System.Drawing.Point(13, 325); this.dataGridView1.MultiSelect = false; this.dataGridView1.Name = "dataGridView1"; - dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle15.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle15; + 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.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; this.dataGridView1.RowHeadersWidth = 21; - dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle16; + dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle4; this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView1.Size = new System.Drawing.Size(899, 376); this.dataGridView1.TabIndex = 63; this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick); + this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgv_IndexWord_RowPostPaint); this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown); // - // btn_Delete - // - this.btn_Delete.DialogResult = System.Windows.Forms.DialogResult.Abort; - this.btn_Delete.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btn_Delete.Location = new System.Drawing.Point(623, 8); - this.btn_Delete.Name = "btn_Delete"; - this.btn_Delete.Size = new System.Drawing.Size(75, 23); - this.btn_Delete.TabIndex = 62; - this.btn_Delete.Text = "삭 제"; - this.btn_Delete.UseVisualStyleBackColor = true; - this.btn_Delete.Click += new System.EventHandler(this.btn_Delete_Click); - // - // btn_Lookup - // - this.btn_Lookup.DialogResult = System.Windows.Forms.DialogResult.Abort; - this.btn_Lookup.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btn_Lookup.Location = new System.Drawing.Point(377, 8); - this.btn_Lookup.Name = "btn_Lookup"; - this.btn_Lookup.Size = new System.Drawing.Size(75, 23); - this.btn_Lookup.TabIndex = 61; - this.btn_Lookup.Text = "조 회"; - this.btn_Lookup.UseVisualStyleBackColor = true; - this.btn_Lookup.Click += new System.EventHandler(this.btn_Lookup_Click); - // - // btn_Save - // - this.btn_Save.DialogResult = System.Windows.Forms.DialogResult.Abort; - this.btn_Save.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btn_Save.Location = new System.Drawing.Point(541, 8); - this.btn_Save.Name = "btn_Save"; - this.btn_Save.Size = new System.Drawing.Size(75, 23); - this.btn_Save.TabIndex = 60; - this.btn_Save.Text = "저 장"; - this.btn_Save.UseVisualStyleBackColor = true; - this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click); - // - // btn_Add - // - this.btn_Add.DialogResult = System.Windows.Forms.DialogResult.Abort; - this.btn_Add.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btn_Add.Location = new System.Drawing.Point(459, 8); - this.btn_Add.Name = "btn_Add"; - this.btn_Add.Size = new System.Drawing.Size(75, 23); - this.btn_Add.TabIndex = 59; - this.btn_Add.Text = "추 가"; - this.btn_Add.UseVisualStyleBackColor = true; - this.btn_Add.Click += new System.EventHandler(this.btn_Add_Click); - // - // tb_jongmok - // - this.tb_jongmok.Location = new System.Drawing.Point(783, 9); - this.tb_jongmok.Name = "tb_jongmok"; - this.tb_jongmok.Size = new System.Drawing.Size(100, 21); - this.tb_jongmok.TabIndex = 55; - // - // label6 - // - this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(751, 13); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(29, 12); - this.label6.TabIndex = 54; - this.label6.Text = "종목"; - // - // tb_uptae - // - this.tb_uptae.Location = new System.Drawing.Point(635, 9); - this.tb_uptae.Name = "tb_uptae"; - this.tb_uptae.Size = new System.Drawing.Size(100, 21); - this.tb_uptae.TabIndex = 53; - // - // label5 - // - this.label5.AutoSize = true; - this.label5.Location = new System.Drawing.Point(604, 13); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(29, 12); - this.label5.TabIndex = 52; - this.label5.Text = "업태"; - // - // tb_bubin - // - this.tb_bubin.Location = new System.Drawing.Point(489, 9); - this.tb_bubin.Name = "tb_bubin"; - this.tb_bubin.Size = new System.Drawing.Size(100, 21); - this.tb_bubin.TabIndex = 51; - // - // label4 - // - this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(435, 13); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(53, 12); - this.label4.TabIndex = 50; - this.label4.Text = "등록번호"; - // - // tb_addr - // - this.tb_addr.Location = new System.Drawing.Point(149, 35); - this.tb_addr.Name = "tb_addr"; - this.tb_addr.Size = new System.Drawing.Size(338, 21); - this.tb_addr.TabIndex = 49; - // - // label3 - // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(15, 39); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(49, 12); - this.label3.TabIndex = 48; - this.label3.Text = "주 소"; - // - // tb_search - // - this.tb_search.Location = new System.Drawing.Point(185, 9); - this.tb_search.Name = "tb_search"; - this.tb_search.Size = new System.Drawing.Size(177, 21); - this.tb_search.TabIndex = 47; - this.tb_search.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_search_KeyDown); - // - // tb_boss - // - this.tb_boss.Location = new System.Drawing.Point(353, 9); - this.tb_boss.Name = "tb_boss"; - this.tb_boss.Size = new System.Drawing.Size(71, 21); - this.tb_boss.TabIndex = 45; - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(306, 13); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(41, 12); - this.label1.TabIndex = 44; - this.label1.Text = "대표자"; - // - // tb_sangho - // - this.tb_sangho.Location = new System.Drawing.Point(81, 9); - this.tb_sangho.Name = "tb_sangho"; - this.tb_sangho.Size = new System.Drawing.Size(165, 21); - this.tb_sangho.TabIndex = 43; - // - // NameLabel - // - this.NameLabel.AutoSize = true; - this.NameLabel.Location = new System.Drawing.Point(15, 13); - this.NameLabel.Name = "NameLabel"; - this.NameLabel.Size = new System.Drawing.Size(49, 12); - this.NameLabel.TabIndex = 42; - this.NameLabel.Text = "상 호"; - // - // tb_tel - // - this.tb_tel.Location = new System.Drawing.Point(558, 34); - this.tb_tel.Name = "tb_tel"; - this.tb_tel.Size = new System.Drawing.Size(117, 21); - this.tb_tel.TabIndex = 82; - // - // tb_fax - // - this.tb_fax.Location = new System.Drawing.Point(756, 34); - this.tb_fax.Name = "tb_fax"; - this.tb_fax.Size = new System.Drawing.Size(127, 21); - this.tb_fax.TabIndex = 84; - // - // label16 - // - this.label16.AutoSize = true; - this.label16.Location = new System.Drawing.Point(695, 38); - this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(53, 12); - this.label16.TabIndex = 83; - this.label16.Text = "팩스번호"; - // - // tb_bank_name - // - this.tb_bank_name.Location = new System.Drawing.Point(484, 60); - this.tb_bank_name.Name = "tb_bank_name"; - this.tb_bank_name.Size = new System.Drawing.Size(94, 21); - this.tb_bank_name.TabIndex = 86; - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(442, 64); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(41, 12); - this.label2.TabIndex = 85; - this.label2.Text = "예금주"; - // - // chk_send - // - this.chk_send.AutoSize = true; - this.chk_send.Location = new System.Drawing.Point(585, 62); - this.chk_send.Name = "chk_send"; - this.chk_send.Size = new System.Drawing.Size(72, 16); - this.chk_send.TabIndex = 87; - this.chk_send.Text = "송금유무"; - this.chk_send.UseVisualStyleBackColor = true; - // - // label7 - // - this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(659, 64); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(29, 12); - this.label7.TabIndex = 89; - this.label7.Text = "유형"; - // - // cb_gubun - // - this.cb_gubun.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cb_gubun.FormattingEnabled = true; - this.cb_gubun.Location = new System.Drawing.Point(692, 60); - this.cb_gubun.Name = "cb_gubun"; - this.cb_gubun.Size = new System.Drawing.Size(66, 20); - this.cb_gubun.TabIndex = 88; - // - // tb_barea - // - this.tb_barea.Location = new System.Drawing.Point(806, 60); - this.tb_barea.Name = "tb_barea"; - this.tb_barea.Size = new System.Drawing.Size(77, 21); - this.tb_barea.TabIndex = 91; - // - // label11 - // - this.label11.AutoSize = true; - this.label11.Location = new System.Drawing.Point(764, 64); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(41, 12); - this.label11.TabIndex = 90; - this.label11.Text = "배송처"; - // - // label13 - // - this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(15, 137); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(41, 12); - this.label13.TabIndex = 92; - this.label13.Text = "비 고"; - // - // tb_email - // - this.tb_email.Location = new System.Drawing.Point(81, 85); - this.tb_email.Name = "tb_email"; - this.tb_email.Size = new System.Drawing.Size(281, 21); - this.tb_email.TabIndex = 97; - // - // label15 - // - this.label15.AutoSize = true; - this.label15.Location = new System.Drawing.Point(15, 89); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(49, 12); - this.label15.TabIndex = 96; - this.label15.Text = "이 메 일"; - // - // chk_email - // - this.chk_email.AutoSize = true; - this.chk_email.Location = new System.Drawing.Point(372, 81); - this.chk_email.Name = "chk_email"; - this.chk_email.Size = new System.Drawing.Size(72, 28); - this.chk_email.TabIndex = 98; - this.chk_email.Text = "주문서로\n메일발송"; - this.chk_email.UseVisualStyleBackColor = true; - // - // textBox17 - // - this.textBox17.Enabled = false; - this.textBox17.Location = new System.Drawing.Point(512, 85); - this.textBox17.Name = "textBox17"; - this.textBox17.Size = new System.Drawing.Size(107, 21); - this.textBox17.TabIndex = 100; - // - // label17 - // - this.label17.AutoSize = true; - this.label17.Enabled = false; - this.label17.Location = new System.Drawing.Point(454, 89); - this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(53, 12); - this.label17.TabIndex = 99; - this.label17.Text = "비고금액"; - // - // textBox18 - // - this.textBox18.Enabled = false; - this.textBox18.Location = new System.Drawing.Point(692, 85); - this.textBox18.Name = "textBox18"; - this.textBox18.Size = new System.Drawing.Size(107, 21); - this.textBox18.TabIndex = 102; - // - // label18 - // - this.label18.AutoSize = true; - this.label18.Enabled = false; - this.label18.Location = new System.Drawing.Point(634, 89); - this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(53, 12); - this.label18.TabIndex = 101; - this.label18.Text = "북센코드"; - // - // checkBox4 - // - this.checkBox4.AutoSize = true; - this.checkBox4.Enabled = false; - this.checkBox4.Location = new System.Drawing.Point(811, 82); - this.checkBox4.Name = "checkBox4"; - this.checkBox4.Size = new System.Drawing.Size(84, 28); - this.checkBox4.TabIndex = 103; - this.checkBox4.Text = "입고작업시\n장부미생성"; - this.checkBox4.UseVisualStyleBackColor = true; - // - // button1 - // - this.button1.DialogResult = System.Windows.Forms.DialogResult.Abort; - this.button1.Enabled = false; - this.button1.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.button1.Location = new System.Drawing.Point(919, 62); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(98, 23); - this.button1.TabIndex = 104; - this.button1.Text = "중복색인어"; - this.button1.UseVisualStyleBackColor = true; - // - // btn_close - // - this.btn_close.DialogResult = System.Windows.Forms.DialogResult.Abort; - this.btn_close.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btn_close.Location = new System.Drawing.Point(1038, 62); - this.btn_close.Name = "btn_close"; - this.btn_close.Size = new System.Drawing.Size(94, 23); - this.btn_close.TabIndex = 105; - this.btn_close.Text = "닫 기"; - this.btn_close.UseVisualStyleBackColor = true; - this.btn_close.Click += new System.EventHandler(this.btn_close_Click); - // - // button3 - // - this.button3.DialogResult = System.Windows.Forms.DialogResult.Abort; - this.button3.Enabled = false; - this.button3.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.button3.Location = new System.Drawing.Point(919, 94); - this.button3.Name = "button3"; - this.button3.Size = new System.Drawing.Size(98, 23); - this.button3.TabIndex = 106; - this.button3.Text = "색인어전체삭제"; - this.button3.UseVisualStyleBackColor = true; - // - // button4 - // - this.button4.DialogResult = System.Windows.Forms.DialogResult.Abort; - this.button4.Enabled = false; - this.button4.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.button4.Location = new System.Drawing.Point(1038, 94); - this.button4.Name = "button4"; - this.button4.Size = new System.Drawing.Size(94, 23); - this.button4.TabIndex = 107; - this.button4.Text = "일괄입력"; - this.button4.UseVisualStyleBackColor = true; - // - // label19 - // - this.label19.AutoSize = true; - this.label19.Font = new System.Drawing.Font("굴림", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.label19.Location = new System.Drawing.Point(943, 124); - this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(165, 19); - this.label19.TabIndex = 108; - this.label19.Text = "색 인 어 등 록"; - // - // textBox19 - // - this.textBox19.Location = new System.Drawing.Point(919, 146); - this.textBox19.Name = "textBox19"; - this.textBox19.Size = new System.Drawing.Size(140, 21); - this.textBox19.TabIndex = 109; - // - // textBox20 - // - this.textBox20.Location = new System.Drawing.Point(1062, 146); - this.textBox20.Name = "textBox20"; - this.textBox20.Size = new System.Drawing.Size(70, 21); - this.textBox20.TabIndex = 110; - // - // dataGridView2 - // - this.dataGridView2.AllowUserToAddRows = false; - this.dataGridView2.AllowUserToDeleteRows = false; - this.dataGridView2.BackgroundColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle17.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle17.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle17.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle17.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle17.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle17; - this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.dataGridViewTextBoxColumn1, - this.dataGridViewTextBoxColumn2}); - dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle18.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle18.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle18.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle18.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle18.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridView2.DefaultCellStyle = dataGridViewCellStyle18; - this.dataGridView2.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; - this.dataGridView2.Location = new System.Drawing.Point(919, 189); - this.dataGridView2.MultiSelect = false; - this.dataGridView2.Name = "dataGridView2"; - dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle19.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle19.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle19.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle19.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle19.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView2.RowHeadersDefaultCellStyle = dataGridViewCellStyle19; - this.dataGridView2.RowHeadersWidth = 21; - dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridView2.RowsDefaultCellStyle = dataGridViewCellStyle20; - this.dataGridView2.RowTemplate.Height = 23; - this.dataGridView2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dataGridView2.Size = new System.Drawing.Size(213, 128); - this.dataGridView2.TabIndex = 111; - // - // dataGridViewTextBoxColumn1 - // - this.dataGridViewTextBoxColumn1.HeaderText = "주 문 처"; - this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; - this.dataGridViewTextBoxColumn1.Width = 120; - // - // dataGridViewTextBoxColumn2 - // - this.dataGridViewTextBoxColumn2.HeaderText = "%"; - this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; - this.dataGridViewTextBoxColumn2.Width = 50; - // - // button5 - // - this.button5.DialogResult = System.Windows.Forms.DialogResult.Abort; - this.button5.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.button5.Location = new System.Drawing.Point(1087, 325); - this.button5.Name = "button5"; - this.button5.Size = new System.Drawing.Size(45, 23); - this.button5.TabIndex = 115; - this.button5.Text = "삭 제"; - this.button5.UseVisualStyleBackColor = true; - // - // button6 - // - this.button6.DialogResult = System.Windows.Forms.DialogResult.Abort; - this.button6.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.button6.Location = new System.Drawing.Point(919, 325); - this.button6.Name = "button6"; - this.button6.Size = new System.Drawing.Size(45, 23); - this.button6.TabIndex = 114; - this.button6.Text = "추 가"; - this.button6.UseVisualStyleBackColor = true; - // - // button7 - // - this.button7.DialogResult = System.Windows.Forms.DialogResult.Abort; - this.button7.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.button7.Location = new System.Drawing.Point(1031, 325); - this.button7.Name = "button7"; - this.button7.Size = new System.Drawing.Size(45, 23); - this.button7.TabIndex = 113; - this.button7.Text = "엑 셀"; - this.button7.UseVisualStyleBackColor = true; - // - // button8 - // - this.button8.DialogResult = System.Windows.Forms.DialogResult.Abort; - this.button8.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.button8.Location = new System.Drawing.Point(975, 325); - this.button8.Name = "button8"; - this.button8.Size = new System.Drawing.Size(45, 23); - this.button8.TabIndex = 112; - this.button8.Text = "저 장"; - this.button8.UseVisualStyleBackColor = true; - // - // dataGridView3 - // - this.dataGridView3.AllowUserToAddRows = false; - this.dataGridView3.AllowUserToDeleteRows = false; - this.dataGridView3.BackgroundColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle21.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle21.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle21.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle21.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle21.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle21.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle21; - this.dataGridView3.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dataGridView3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.dataGridViewTextBoxColumn3, - this.dataGridViewTextBoxColumn4}); - dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle22.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle22.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle22.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle22.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle22.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridView3.DefaultCellStyle = dataGridViewCellStyle22; - this.dataGridView3.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; - this.dataGridView3.Location = new System.Drawing.Point(919, 356); - this.dataGridView3.MultiSelect = false; - this.dataGridView3.Name = "dataGridView3"; - dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle23.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle23.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle23.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle23.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle23.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView3.RowHeadersDefaultCellStyle = dataGridViewCellStyle23; - this.dataGridView3.RowHeadersWidth = 21; - dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridView3.RowsDefaultCellStyle = dataGridViewCellStyle24; - this.dataGridView3.RowTemplate.Height = 23; - this.dataGridView3.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dataGridView3.Size = new System.Drawing.Size(213, 345); - this.dataGridView3.TabIndex = 116; - // - // dataGridViewTextBoxColumn3 - // - this.dataGridViewTextBoxColumn3.HeaderText = "색 인 어"; - this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; - this.dataGridViewTextBoxColumn3.Width = 120; - // - // dataGridViewTextBoxColumn4 - // - this.dataGridViewTextBoxColumn4.HeaderText = "%"; - this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; - this.dataGridViewTextBoxColumn4.Width = 50; - // - // panel1 - // - this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel1.Controls.Add(this.tb_memo); - this.panel1.Controls.Add(this.label12); - this.panel1.Controls.Add(this.tb_search); - this.panel1.Controls.Add(this.btn_Add); - this.panel1.Controls.Add(this.btn_Save); - this.panel1.Controls.Add(this.btn_Lookup); - this.panel1.Controls.Add(this.btn_Delete); - this.panel1.Controls.Add(this.cb_search_filter); - this.panel1.Location = new System.Drawing.Point(13, 12); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(822, 41); - this.panel1.TabIndex = 117; - // - // tb_memo - // - this.tb_memo.Location = new System.Drawing.Point(704, 8); - this.tb_memo.Name = "tb_memo"; - this.tb_memo.Size = new System.Drawing.Size(75, 23); - this.tb_memo.TabIndex = 74; - this.tb_memo.Text = "메모장"; - this.tb_memo.UseVisualStyleBackColor = true; - this.tb_memo.Click += new System.EventHandler(this.tb_memo_Click); - // - // panel2 - // - this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel2.Controls.Add(this.rtb_etc); - this.panel2.Controls.Add(this.tb_site); - this.panel2.Controls.Add(this.NameLabel); - this.panel2.Controls.Add(this.tb_sangho); - this.panel2.Controls.Add(this.label1); - this.panel2.Controls.Add(this.tb_zip); - this.panel2.Controls.Add(this.tb_boss); - this.panel2.Controls.Add(this.label3); - this.panel2.Controls.Add(this.tb_addr); - this.panel2.Controls.Add(this.label4); - this.panel2.Controls.Add(this.tb_bubin); - this.panel2.Controls.Add(this.label5); - this.panel2.Controls.Add(this.tb_uptae); - this.panel2.Controls.Add(this.label6); - this.panel2.Controls.Add(this.tb_jongmok); - this.panel2.Controls.Add(this.btn_SitePage); - this.panel2.Controls.Add(this.label10); - this.panel2.Controls.Add(this.tb_bank_no); - this.panel2.Controls.Add(this.checkBox4); - this.panel2.Controls.Add(this.label9); - this.panel2.Controls.Add(this.tb_pw); - this.panel2.Controls.Add(this.textBox18); - this.panel2.Controls.Add(this.tb_bank_comp); - this.panel2.Controls.Add(this.label21); - this.panel2.Controls.Add(this.label18); - this.panel2.Controls.Add(this.label8); - this.panel2.Controls.Add(this.tb_id); - this.panel2.Controls.Add(this.textBox17); - this.panel2.Controls.Add(this.chk_stopUse); - this.panel2.Controls.Add(this.label20); - this.panel2.Controls.Add(this.label22); - this.panel2.Controls.Add(this.label17); - this.panel2.Controls.Add(this.tb_tel); - this.panel2.Controls.Add(this.chk_email); - this.panel2.Controls.Add(this.label16); - this.panel2.Controls.Add(this.tb_email); - this.panel2.Controls.Add(this.tb_fax); - this.panel2.Controls.Add(this.label15); - this.panel2.Controls.Add(this.label2); - this.panel2.Controls.Add(this.tb_bank_name); - this.panel2.Controls.Add(this.chk_send); - this.panel2.Controls.Add(this.cb_gubun); - this.panel2.Controls.Add(this.label13); - this.panel2.Controls.Add(this.label7); - this.panel2.Controls.Add(this.tb_barea); - this.panel2.Controls.Add(this.label11); - this.panel2.Location = new System.Drawing.Point(13, 60); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(899, 257); - this.panel2.TabIndex = 118; - // - // rtb_etc - // - this.rtb_etc.Location = new System.Drawing.Point(81, 134); - this.rtb_etc.Name = "rtb_etc"; - this.rtb_etc.Size = new System.Drawing.Size(802, 118); - this.rtb_etc.TabIndex = 107; - this.rtb_etc.Text = ""; - // - // tb_site - // - this.tb_site.Location = new System.Drawing.Point(493, 110); - this.tb_site.Name = "tb_site"; - this.tb_site.Size = new System.Drawing.Size(162, 21); - this.tb_site.TabIndex = 106; - // - // tb_zip - // - this.tb_zip.Location = new System.Drawing.Point(81, 35); - this.tb_zip.Name = "tb_zip"; - this.tb_zip.Size = new System.Drawing.Size(63, 21); - this.tb_zip.TabIndex = 45; - // - // btn_SitePage - // - this.btn_SitePage.DialogResult = System.Windows.Forms.DialogResult.Abort; - this.btn_SitePage.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btn_SitePage.Location = new System.Drawing.Point(661, 109); - this.btn_SitePage.Name = "btn_SitePage"; - this.btn_SitePage.Size = new System.Drawing.Size(110, 23); - this.btn_SitePage.TabIndex = 105; - this.btn_SitePage.Text = "사이트 바로가기"; - this.btn_SitePage.UseVisualStyleBackColor = true; - this.btn_SitePage.Click += new System.EventHandler(this.btn_SitePage_Click); - // - // tb_pw - // - this.tb_pw.Location = new System.Drawing.Point(273, 110); - this.tb_pw.Name = "tb_pw"; - this.tb_pw.Size = new System.Drawing.Size(126, 21); - this.tb_pw.TabIndex = 102; - // - // label21 - // - this.label21.AutoSize = true; - this.label21.Location = new System.Drawing.Point(215, 114); - this.label21.Name = "label21"; - this.label21.Size = new System.Drawing.Size(53, 12); - this.label21.TabIndex = 101; - this.label21.Text = "비밀번호"; - // - // tb_id - // - this.tb_id.Location = new System.Drawing.Point(81, 110); - this.tb_id.Name = "tb_id"; - this.tb_id.Size = new System.Drawing.Size(121, 21); - this.tb_id.TabIndex = 100; - // - // label20 - // - this.label20.AutoSize = true; - this.label20.Location = new System.Drawing.Point(15, 114); - this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(41, 12); - this.label20.TabIndex = 99; - this.label20.Text = "아이디"; - // - // label22 - // - this.label22.AutoSize = true; - this.label22.Location = new System.Drawing.Point(419, 114); - this.label22.Name = "label22"; - this.label22.Size = new System.Drawing.Size(69, 12); - this.label22.TabIndex = 99; - this.label22.Text = "도메인 주소"; - // // idx // this.idx.HeaderText = "idx"; @@ -1122,39 +428,794 @@ this.emchk.Name = "emchk"; this.emchk.Visible = false; // + // btn_Delete + // + this.btn_Delete.DialogResult = System.Windows.Forms.DialogResult.Abort; + this.btn_Delete.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btn_Delete.Location = new System.Drawing.Point(623, 8); + this.btn_Delete.Name = "btn_Delete"; + this.btn_Delete.Size = new System.Drawing.Size(75, 23); + this.btn_Delete.TabIndex = 62; + this.btn_Delete.Text = "삭 제"; + this.btn_Delete.UseVisualStyleBackColor = true; + this.btn_Delete.Click += new System.EventHandler(this.btn_Delete_Click); + // + // btn_Lookup + // + this.btn_Lookup.DialogResult = System.Windows.Forms.DialogResult.Abort; + this.btn_Lookup.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btn_Lookup.Location = new System.Drawing.Point(377, 8); + this.btn_Lookup.Name = "btn_Lookup"; + this.btn_Lookup.Size = new System.Drawing.Size(75, 23); + this.btn_Lookup.TabIndex = 61; + this.btn_Lookup.Text = "조 회"; + this.btn_Lookup.UseVisualStyleBackColor = true; + this.btn_Lookup.Click += new System.EventHandler(this.btn_Lookup_Click); + // + // btn_Save + // + this.btn_Save.DialogResult = System.Windows.Forms.DialogResult.Abort; + this.btn_Save.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btn_Save.Location = new System.Drawing.Point(541, 8); + this.btn_Save.Name = "btn_Save"; + this.btn_Save.Size = new System.Drawing.Size(75, 23); + this.btn_Save.TabIndex = 60; + this.btn_Save.Text = "저 장"; + this.btn_Save.UseVisualStyleBackColor = true; + this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click); + // + // btn_Add + // + this.btn_Add.DialogResult = System.Windows.Forms.DialogResult.Abort; + this.btn_Add.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btn_Add.Location = new System.Drawing.Point(459, 8); + this.btn_Add.Name = "btn_Add"; + this.btn_Add.Size = new System.Drawing.Size(75, 23); + this.btn_Add.TabIndex = 59; + this.btn_Add.Text = "추 가"; + this.btn_Add.UseVisualStyleBackColor = true; + this.btn_Add.Click += new System.EventHandler(this.btn_Add_Click); + // + // tb_jongmok + // + this.tb_jongmok.Location = new System.Drawing.Point(783, 9); + this.tb_jongmok.Name = "tb_jongmok"; + this.tb_jongmok.Size = new System.Drawing.Size(100, 21); + this.tb_jongmok.TabIndex = 4; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(751, 13); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(29, 12); + this.label6.TabIndex = 54; + this.label6.Text = "종목"; + // + // tb_uptae + // + this.tb_uptae.Location = new System.Drawing.Point(635, 9); + this.tb_uptae.Name = "tb_uptae"; + this.tb_uptae.Size = new System.Drawing.Size(100, 21); + this.tb_uptae.TabIndex = 3; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(604, 13); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(29, 12); + this.label5.TabIndex = 52; + this.label5.Text = "업태"; + // + // tb_bubin + // + this.tb_bubin.Location = new System.Drawing.Point(489, 9); + this.tb_bubin.Name = "tb_bubin"; + this.tb_bubin.Size = new System.Drawing.Size(100, 21); + this.tb_bubin.TabIndex = 2; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(435, 13); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(53, 12); + this.label4.TabIndex = 50; + this.label4.Text = "등록번호"; + // + // tb_addr + // + this.tb_addr.Location = new System.Drawing.Point(149, 35); + this.tb_addr.Name = "tb_addr"; + this.tb_addr.Size = new System.Drawing.Size(338, 21); + this.tb_addr.TabIndex = 6; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(15, 39); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(49, 12); + this.label3.TabIndex = 48; + this.label3.Text = "주 소"; + // + // tb_search + // + this.tb_search.Location = new System.Drawing.Point(185, 9); + this.tb_search.Name = "tb_search"; + this.tb_search.Size = new System.Drawing.Size(177, 21); + this.tb_search.TabIndex = 47; + this.tb_search.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_search_KeyDown); + // + // tb_boss + // + this.tb_boss.Location = new System.Drawing.Point(353, 9); + this.tb_boss.Name = "tb_boss"; + this.tb_boss.Size = new System.Drawing.Size(71, 21); + this.tb_boss.TabIndex = 1; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(306, 13); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(41, 12); + this.label1.TabIndex = 44; + this.label1.Text = "대표자"; + // + // tb_sangho + // + this.tb_sangho.Location = new System.Drawing.Point(81, 9); + this.tb_sangho.Name = "tb_sangho"; + this.tb_sangho.Size = new System.Drawing.Size(165, 21); + this.tb_sangho.TabIndex = 0; + // + // NameLabel + // + this.NameLabel.AutoSize = true; + this.NameLabel.Location = new System.Drawing.Point(15, 13); + this.NameLabel.Name = "NameLabel"; + this.NameLabel.Size = new System.Drawing.Size(49, 12); + this.NameLabel.TabIndex = 42; + this.NameLabel.Text = "상 호"; + // + // tb_tel + // + this.tb_tel.Location = new System.Drawing.Point(558, 34); + this.tb_tel.Name = "tb_tel"; + this.tb_tel.Size = new System.Drawing.Size(117, 21); + this.tb_tel.TabIndex = 7; + // + // tb_fax + // + this.tb_fax.Location = new System.Drawing.Point(756, 34); + this.tb_fax.Name = "tb_fax"; + this.tb_fax.Size = new System.Drawing.Size(127, 21); + this.tb_fax.TabIndex = 8; + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Location = new System.Drawing.Point(695, 38); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(53, 12); + this.label16.TabIndex = 83; + this.label16.Text = "팩스번호"; + // + // tb_bank_name + // + this.tb_bank_name.Location = new System.Drawing.Point(484, 60); + this.tb_bank_name.Name = "tb_bank_name"; + this.tb_bank_name.Size = new System.Drawing.Size(94, 21); + this.tb_bank_name.TabIndex = 11; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(442, 64); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(41, 12); + this.label2.TabIndex = 85; + this.label2.Text = "예금주"; + // + // chk_send + // + this.chk_send.AutoSize = true; + this.chk_send.Location = new System.Drawing.Point(585, 62); + this.chk_send.Name = "chk_send"; + this.chk_send.Size = new System.Drawing.Size(72, 16); + this.chk_send.TabIndex = 87; + this.chk_send.Text = "송금유무"; + this.chk_send.UseVisualStyleBackColor = true; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(659, 64); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(29, 12); + this.label7.TabIndex = 89; + this.label7.Text = "유형"; + // + // cb_gubun + // + this.cb_gubun.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_gubun.FormattingEnabled = true; + this.cb_gubun.Location = new System.Drawing.Point(692, 60); + this.cb_gubun.Name = "cb_gubun"; + this.cb_gubun.Size = new System.Drawing.Size(66, 20); + this.cb_gubun.TabIndex = 12; + // + // tb_barea + // + this.tb_barea.Location = new System.Drawing.Point(806, 60); + this.tb_barea.Name = "tb_barea"; + this.tb_barea.Size = new System.Drawing.Size(77, 21); + this.tb_barea.TabIndex = 13; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Location = new System.Drawing.Point(764, 64); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(41, 12); + this.label11.TabIndex = 90; + this.label11.Text = "배송처"; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Location = new System.Drawing.Point(15, 137); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(41, 12); + this.label13.TabIndex = 92; + this.label13.Text = "비 고"; + // + // tb_email + // + this.tb_email.Location = new System.Drawing.Point(81, 85); + this.tb_email.Name = "tb_email"; + this.tb_email.Size = new System.Drawing.Size(281, 21); + this.tb_email.TabIndex = 14; + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Location = new System.Drawing.Point(15, 89); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(49, 12); + this.label15.TabIndex = 96; + this.label15.Text = "이 메 일"; + // + // chk_email + // + this.chk_email.AutoSize = true; + this.chk_email.Location = new System.Drawing.Point(372, 81); + this.chk_email.Name = "chk_email"; + this.chk_email.Size = new System.Drawing.Size(72, 28); + this.chk_email.TabIndex = 98; + this.chk_email.Text = "주문서로\n메일발송"; + this.chk_email.UseVisualStyleBackColor = true; + // + // textBox17 + // + this.textBox17.Enabled = false; + this.textBox17.Location = new System.Drawing.Point(512, 85); + this.textBox17.Name = "textBox17"; + this.textBox17.Size = new System.Drawing.Size(107, 21); + this.textBox17.TabIndex = 15; + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Enabled = false; + this.label17.Location = new System.Drawing.Point(454, 89); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(53, 12); + this.label17.TabIndex = 99; + this.label17.Text = "비고금액"; + // + // textBox18 + // + this.textBox18.Enabled = false; + this.textBox18.Location = new System.Drawing.Point(692, 85); + this.textBox18.Name = "textBox18"; + this.textBox18.Size = new System.Drawing.Size(107, 21); + this.textBox18.TabIndex = 16; + // + // label18 + // + this.label18.AutoSize = true; + this.label18.Enabled = false; + this.label18.Location = new System.Drawing.Point(634, 89); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(53, 12); + this.label18.TabIndex = 101; + this.label18.Text = "북센코드"; + // + // checkBox4 + // + this.checkBox4.AutoSize = true; + this.checkBox4.Enabled = false; + this.checkBox4.Location = new System.Drawing.Point(811, 82); + this.checkBox4.Name = "checkBox4"; + this.checkBox4.Size = new System.Drawing.Size(84, 28); + this.checkBox4.TabIndex = 103; + this.checkBox4.Text = "입고작업시\n장부미생성"; + this.checkBox4.UseVisualStyleBackColor = true; + // + // btn_close + // + this.btn_close.DialogResult = System.Windows.Forms.DialogResult.Abort; + this.btn_close.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btn_close.Location = new System.Drawing.Point(785, 8); + this.btn_close.Name = "btn_close"; + this.btn_close.Size = new System.Drawing.Size(75, 23); + this.btn_close.TabIndex = 105; + this.btn_close.Text = "닫 기"; + this.btn_close.UseVisualStyleBackColor = true; + this.btn_close.Click += new System.EventHandler(this.btn_close_Click); + // + // button3 + // + this.button3.DialogResult = System.Windows.Forms.DialogResult.Abort; + this.button3.Enabled = false; + this.button3.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.button3.Location = new System.Drawing.Point(-1, 52); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(101, 23); + this.button3.TabIndex = 106; + this.button3.Text = "색인어전체삭제"; + this.button3.UseVisualStyleBackColor = true; + // + // label19 + // + this.label19.AutoSize = true; + this.label19.Font = new System.Drawing.Font("굴림", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label19.Location = new System.Drawing.Point(23, 2); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(165, 19); + this.label19.TabIndex = 108; + this.label19.Text = "색 인 어 등 록"; + // + // tb_IndexWord + // + this.tb_IndexWord.Location = new System.Drawing.Point(0, 24); + this.tb_IndexWord.Name = "tb_IndexWord"; + this.tb_IndexWord.Size = new System.Drawing.Size(140, 21); + this.tb_IndexWord.TabIndex = 0; + this.tb_IndexWord.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_IndexWord_KeyDown); + // + // btn_DeleteIW + // + this.btn_DeleteIW.DialogResult = System.Windows.Forms.DialogResult.Abort; + this.btn_DeleteIW.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btn_DeleteIW.Location = new System.Drawing.Point(167, 81); + this.btn_DeleteIW.Name = "btn_DeleteIW"; + this.btn_DeleteIW.Size = new System.Drawing.Size(45, 23); + this.btn_DeleteIW.TabIndex = 115; + this.btn_DeleteIW.Text = "삭 제"; + this.btn_DeleteIW.UseVisualStyleBackColor = true; + this.btn_DeleteIW.Click += new System.EventHandler(this.btn_DeleteIW_Click); + // + // btn_AddIW + // + this.btn_AddIW.DialogResult = System.Windows.Forms.DialogResult.Abort; + this.btn_AddIW.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btn_AddIW.Location = new System.Drawing.Point(-1, 81); + this.btn_AddIW.Name = "btn_AddIW"; + this.btn_AddIW.Size = new System.Drawing.Size(45, 23); + this.btn_AddIW.TabIndex = 114; + this.btn_AddIW.Text = "추 가"; + this.btn_AddIW.UseVisualStyleBackColor = true; + this.btn_AddIW.Click += new System.EventHandler(this.btn_AddIW_Click); + // + // btn_ExcelIW + // + this.btn_ExcelIW.DialogResult = System.Windows.Forms.DialogResult.Abort; + this.btn_ExcelIW.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btn_ExcelIW.Location = new System.Drawing.Point(111, 81); + this.btn_ExcelIW.Name = "btn_ExcelIW"; + this.btn_ExcelIW.Size = new System.Drawing.Size(45, 23); + this.btn_ExcelIW.TabIndex = 113; + this.btn_ExcelIW.Text = "엑 셀"; + this.btn_ExcelIW.UseVisualStyleBackColor = true; + this.btn_ExcelIW.Click += new System.EventHandler(this.btn_ExcelIW_Click); + // + // btn_SaveIW + // + this.btn_SaveIW.DialogResult = System.Windows.Forms.DialogResult.Abort; + this.btn_SaveIW.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btn_SaveIW.Location = new System.Drawing.Point(55, 81); + this.btn_SaveIW.Name = "btn_SaveIW"; + this.btn_SaveIW.Size = new System.Drawing.Size(45, 23); + this.btn_SaveIW.TabIndex = 2; + this.btn_SaveIW.Text = "저 장"; + this.btn_SaveIW.UseVisualStyleBackColor = true; + this.btn_SaveIW.Click += new System.EventHandler(this.btn_SaveIW_Click); + // + // dgv_IndexWord + // + this.dgv_IndexWord.AllowUserToAddRows = false; + this.dgv_IndexWord.AllowUserToDeleteRows = false; + this.dgv_IndexWord.BackgroundColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle5.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgv_IndexWord.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5; + this.dgv_IndexWord.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgv_IndexWord.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.IndexWord, + this.IndexPersent}); + dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle6.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgv_IndexWord.DefaultCellStyle = dataGridViewCellStyle6; + this.dgv_IndexWord.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; + this.dgv_IndexWord.Location = new System.Drawing.Point(919, 123); + this.dgv_IndexWord.MultiSelect = false; + this.dgv_IndexWord.Name = "dgv_IndexWord"; + dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle7.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgv_IndexWord.RowHeadersDefaultCellStyle = dataGridViewCellStyle7; + this.dgv_IndexWord.RowHeadersWidth = 21; + dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dgv_IndexWord.RowsDefaultCellStyle = dataGridViewCellStyle8; + this.dgv_IndexWord.RowTemplate.Height = 23; + this.dgv_IndexWord.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.dgv_IndexWord.Size = new System.Drawing.Size(213, 578); + this.dgv_IndexWord.TabIndex = 116; + this.dgv_IndexWord.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_IndexWord_CellClick); + this.dgv_IndexWord.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgv_IndexWord_RowPostPaint); + // + // IndexWord + // + this.IndexWord.HeaderText = "색 인 어"; + this.IndexWord.Name = "IndexWord"; + this.IndexWord.Width = 120; + // + // IndexPersent + // + this.IndexPersent.HeaderText = "%"; + this.IndexPersent.Name = "IndexPersent"; + this.IndexPersent.Width = 50; + // + // panel1 + // + this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel1.Controls.Add(this.tb_memo); + this.panel1.Controls.Add(this.label12); + this.panel1.Controls.Add(this.tb_search); + this.panel1.Controls.Add(this.btn_Add); + this.panel1.Controls.Add(this.btn_Save); + this.panel1.Controls.Add(this.btn_Lookup); + this.panel1.Controls.Add(this.btn_Delete); + this.panel1.Controls.Add(this.cb_search_filter); + this.panel1.Controls.Add(this.btn_close); + this.panel1.Location = new System.Drawing.Point(13, 12); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(899, 41); + this.panel1.TabIndex = 117; + // + // tb_memo + // + this.tb_memo.Location = new System.Drawing.Point(704, 8); + this.tb_memo.Name = "tb_memo"; + this.tb_memo.Size = new System.Drawing.Size(75, 23); + this.tb_memo.TabIndex = 74; + this.tb_memo.Text = "메모장"; + this.tb_memo.UseVisualStyleBackColor = true; + this.tb_memo.Click += new System.EventHandler(this.tb_memo_Click); + // + // panel2 + // + this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel2.Controls.Add(this.rtb_etc); + this.panel2.Controls.Add(this.tb_site); + this.panel2.Controls.Add(this.NameLabel); + this.panel2.Controls.Add(this.tb_sangho); + this.panel2.Controls.Add(this.label1); + this.panel2.Controls.Add(this.tb_zip); + this.panel2.Controls.Add(this.tb_boss); + this.panel2.Controls.Add(this.label3); + this.panel2.Controls.Add(this.tb_addr); + this.panel2.Controls.Add(this.label4); + this.panel2.Controls.Add(this.tb_bubin); + this.panel2.Controls.Add(this.label5); + this.panel2.Controls.Add(this.tb_uptae); + this.panel2.Controls.Add(this.lbl_idx); + this.panel2.Controls.Add(this.label6); + this.panel2.Controls.Add(this.tb_jongmok); + this.panel2.Controls.Add(this.btn_SitePage); + this.panel2.Controls.Add(this.label10); + this.panel2.Controls.Add(this.tb_bank_no); + this.panel2.Controls.Add(this.checkBox4); + this.panel2.Controls.Add(this.label9); + this.panel2.Controls.Add(this.tb_pw); + this.panel2.Controls.Add(this.textBox18); + this.panel2.Controls.Add(this.tb_bank_comp); + this.panel2.Controls.Add(this.label21); + this.panel2.Controls.Add(this.label18); + this.panel2.Controls.Add(this.label8); + this.panel2.Controls.Add(this.tb_id); + this.panel2.Controls.Add(this.textBox17); + this.panel2.Controls.Add(this.chk_stopUse); + this.panel2.Controls.Add(this.label20); + this.panel2.Controls.Add(this.label22); + this.panel2.Controls.Add(this.label17); + this.panel2.Controls.Add(this.tb_tel); + this.panel2.Controls.Add(this.chk_email); + this.panel2.Controls.Add(this.label16); + this.panel2.Controls.Add(this.tb_email); + this.panel2.Controls.Add(this.tb_fax); + this.panel2.Controls.Add(this.label15); + this.panel2.Controls.Add(this.label2); + this.panel2.Controls.Add(this.tb_bank_name); + this.panel2.Controls.Add(this.chk_send); + this.panel2.Controls.Add(this.cb_gubun); + this.panel2.Controls.Add(this.label13); + this.panel2.Controls.Add(this.label7); + this.panel2.Controls.Add(this.tb_barea); + this.panel2.Controls.Add(this.label11); + this.panel2.Location = new System.Drawing.Point(13, 60); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(899, 257); + this.panel2.TabIndex = 0; + // + // rtb_etc + // + this.rtb_etc.Location = new System.Drawing.Point(81, 134); + this.rtb_etc.Name = "rtb_etc"; + this.rtb_etc.Size = new System.Drawing.Size(802, 118); + this.rtb_etc.TabIndex = 20; + this.rtb_etc.Text = ""; + // + // tb_site + // + this.tb_site.Location = new System.Drawing.Point(493, 110); + this.tb_site.Name = "tb_site"; + this.tb_site.Size = new System.Drawing.Size(162, 21); + this.tb_site.TabIndex = 19; + // + // tb_zip + // + this.tb_zip.Location = new System.Drawing.Point(81, 35); + this.tb_zip.Name = "tb_zip"; + this.tb_zip.Size = new System.Drawing.Size(63, 21); + this.tb_zip.TabIndex = 5; + // + // lbl_idx + // + this.lbl_idx.AutoSize = true; + this.lbl_idx.Location = new System.Drawing.Point(783, 114); + this.lbl_idx.Name = "lbl_idx"; + this.lbl_idx.Size = new System.Drawing.Size(22, 12); + this.lbl_idx.TabIndex = 54; + this.lbl_idx.Text = "idx"; + // + // btn_SitePage + // + this.btn_SitePage.DialogResult = System.Windows.Forms.DialogResult.Abort; + this.btn_SitePage.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btn_SitePage.Location = new System.Drawing.Point(661, 109); + this.btn_SitePage.Name = "btn_SitePage"; + this.btn_SitePage.Size = new System.Drawing.Size(110, 23); + this.btn_SitePage.TabIndex = 105; + this.btn_SitePage.Text = "사이트 바로가기"; + this.btn_SitePage.UseVisualStyleBackColor = true; + this.btn_SitePage.Click += new System.EventHandler(this.btn_SitePage_Click); + // + // tb_pw + // + this.tb_pw.Location = new System.Drawing.Point(273, 110); + this.tb_pw.Name = "tb_pw"; + this.tb_pw.Size = new System.Drawing.Size(126, 21); + this.tb_pw.TabIndex = 18; + // + // label21 + // + this.label21.AutoSize = true; + this.label21.Location = new System.Drawing.Point(215, 114); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(53, 12); + this.label21.TabIndex = 101; + this.label21.Text = "비밀번호"; + // + // tb_id + // + this.tb_id.Location = new System.Drawing.Point(81, 110); + this.tb_id.Name = "tb_id"; + this.tb_id.Size = new System.Drawing.Size(121, 21); + this.tb_id.TabIndex = 17; + // + // label20 + // + this.label20.AutoSize = true; + this.label20.Location = new System.Drawing.Point(15, 114); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(41, 12); + this.label20.TabIndex = 99; + this.label20.Text = "아이디"; + // + // label22 + // + this.label22.AutoSize = true; + this.label22.Location = new System.Drawing.Point(419, 114); + this.label22.Name = "label22"; + this.label22.Size = new System.Drawing.Size(69, 12); + this.label22.TabIndex = 99; + this.label22.Text = "도메인 주소"; + // + // tb_persent + // + this.tb_persent.Location = new System.Drawing.Point(145, 24); + this.tb_persent.Name = "tb_persent"; + this.tb_persent.Size = new System.Drawing.Size(66, 21); + this.tb_persent.TabIndex = 1; + this.tb_persent.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.tb_persent.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_persent_KeyDown); + // + // btn_batchProcess + // + this.btn_batchProcess.DialogResult = System.Windows.Forms.DialogResult.Abort; + this.btn_batchProcess.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btn_batchProcess.Location = new System.Drawing.Point(111, 52); + this.btn_batchProcess.Name = "btn_batchProcess"; + this.btn_batchProcess.Size = new System.Drawing.Size(101, 23); + this.btn_batchProcess.TabIndex = 106; + this.btn_batchProcess.Text = "색인어일괄입력"; + this.btn_batchProcess.UseVisualStyleBackColor = true; + this.btn_batchProcess.Click += new System.EventHandler(this.btn_batchProcess_Click); + // + // panel3 + // + this.panel3.BackColor = System.Drawing.SystemColors.InactiveCaption; + this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel3.Controls.Add(this.label19); + this.panel3.Controls.Add(this.tb_persent); + this.panel3.Controls.Add(this.button3); + this.panel3.Controls.Add(this.btn_batchProcess); + this.panel3.Controls.Add(this.tb_IndexWord); + this.panel3.Controls.Add(this.btn_SaveIW); + this.panel3.Controls.Add(this.btn_DeleteIW); + this.panel3.Controls.Add(this.btn_ExcelIW); + this.panel3.Controls.Add(this.btn_AddIW); + this.panel3.Location = new System.Drawing.Point(919, 12); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(213, 105); + this.panel3.TabIndex = 118; + // + // panel_batchProcess + // + this.panel_batchProcess.BackColor = System.Drawing.SystemColors.GradientInactiveCaption; + this.panel_batchProcess.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel_batchProcess.Controls.Add(this.btn_ProcessExit); + this.panel_batchProcess.Controls.Add(this.btn_batchProcessing); + this.panel_batchProcess.Controls.Add(this.dgv_WordSUB); + this.panel_batchProcess.Location = new System.Drawing.Point(1138, 12); + this.panel_batchProcess.Name = "panel_batchProcess"; + this.panel_batchProcess.Size = new System.Drawing.Size(221, 429); + this.panel_batchProcess.TabIndex = 119; + this.panel_batchProcess.Visible = false; + // + // btn_ProcessExit + // + this.btn_ProcessExit.Location = new System.Drawing.Point(141, 3); + this.btn_ProcessExit.Name = "btn_ProcessExit"; + this.btn_ProcessExit.Size = new System.Drawing.Size(75, 23); + this.btn_ProcessExit.TabIndex = 117; + this.btn_ProcessExit.Text = "나 가 기"; + this.btn_ProcessExit.UseVisualStyleBackColor = true; + this.btn_ProcessExit.Click += new System.EventHandler(this.btn_ProcessExit_Click); + // + // btn_batchProcessing + // + this.btn_batchProcessing.Location = new System.Drawing.Point(3, 3); + this.btn_batchProcessing.Name = "btn_batchProcessing"; + this.btn_batchProcessing.Size = new System.Drawing.Size(75, 23); + this.btn_batchProcessing.TabIndex = 117; + this.btn_batchProcessing.Text = "일괄입력"; + this.btn_batchProcessing.UseVisualStyleBackColor = true; + this.btn_batchProcessing.Click += new System.EventHandler(this.btn_batchProcessing_Click); + // + // dgv_WordSUB + // + this.dgv_WordSUB.AllowUserToDeleteRows = false; + this.dgv_WordSUB.BackgroundColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle9.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgv_WordSUB.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9; + this.dgv_WordSUB.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgv_WordSUB.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.IndexWordSub, + this.IndexPersentSub}); + dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle10.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgv_WordSUB.DefaultCellStyle = dataGridViewCellStyle10; + this.dgv_WordSUB.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; + this.dgv_WordSUB.Location = new System.Drawing.Point(3, 32); + this.dgv_WordSUB.MultiSelect = false; + this.dgv_WordSUB.Name = "dgv_WordSUB"; + dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle11.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgv_WordSUB.RowHeadersDefaultCellStyle = dataGridViewCellStyle11; + this.dgv_WordSUB.RowHeadersWidth = 21; + dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dgv_WordSUB.RowsDefaultCellStyle = dataGridViewCellStyle12; + this.dgv_WordSUB.RowTemplate.Height = 23; + this.dgv_WordSUB.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.dgv_WordSUB.Size = new System.Drawing.Size(213, 392); + this.dgv_WordSUB.TabIndex = 116; + this.dgv_WordSUB.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgv_IndexWord_RowPostPaint); + this.dgv_WordSUB.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dgv_IndexWord_KeyDown); + // + // IndexWordSub + // + this.IndexWordSub.HeaderText = "색 인 어"; + this.IndexWordSub.Name = "IndexWordSub"; + this.IndexWordSub.Width = 120; + // + // IndexPersentSub + // + this.IndexPersentSub.HeaderText = "%"; + this.IndexPersentSub.Name = "IndexPersentSub"; + this.IndexPersentSub.Width = 50; + // // Order_manage // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1150, 717); + this.ClientSize = new System.Drawing.Size(1370, 718); + this.Controls.Add(this.panel_batchProcess); + this.Controls.Add(this.panel3); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); - this.Controls.Add(this.dataGridView3); - this.Controls.Add(this.button5); - this.Controls.Add(this.button6); - this.Controls.Add(this.button7); - this.Controls.Add(this.button8); - this.Controls.Add(this.dataGridView2); - this.Controls.Add(this.textBox20); - this.Controls.Add(this.textBox19); - this.Controls.Add(this.label19); - this.Controls.Add(this.button4); - this.Controls.Add(this.button3); - this.Controls.Add(this.btn_close); - this.Controls.Add(this.button1); + this.Controls.Add(this.dgv_IndexWord); this.Controls.Add(this.dataGridView1); this.Name = "Order_manage"; this.Text = "주문처 관리"; this.Load += new System.EventHandler(this.Order_manage_Load); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dataGridView3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgv_IndexWord)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.tb_persent)).EndInit(); + this.panel3.ResumeLayout(false); + this.panel3.PerformLayout(); + this.panel_batchProcess.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.dgv_WordSUB)).EndInit(); this.ResumeLayout(false); - this.PerformLayout(); } @@ -1204,23 +1265,15 @@ private System.Windows.Forms.TextBox textBox18; private System.Windows.Forms.Label label18; private System.Windows.Forms.CheckBox checkBox4; - private System.Windows.Forms.Button button1; private System.Windows.Forms.Button btn_close; private System.Windows.Forms.Button button3; - private System.Windows.Forms.Button button4; private System.Windows.Forms.Label label19; - private System.Windows.Forms.TextBox textBox19; - private System.Windows.Forms.TextBox textBox20; - private System.Windows.Forms.DataGridView dataGridView2; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; - private System.Windows.Forms.Button button5; - private System.Windows.Forms.Button button6; - private System.Windows.Forms.Button button7; - private System.Windows.Forms.Button button8; - private System.Windows.Forms.DataGridView dataGridView3; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4; + private System.Windows.Forms.TextBox tb_IndexWord; + private System.Windows.Forms.Button btn_DeleteIW; + private System.Windows.Forms.Button btn_AddIW; + private System.Windows.Forms.Button btn_ExcelIW; + private System.Windows.Forms.Button btn_SaveIW; + private System.Windows.Forms.DataGridView dgv_IndexWord; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Panel panel2; private System.Windows.Forms.Button btn_SitePage; @@ -1257,5 +1310,17 @@ private System.Windows.Forms.DataGridViewTextBoxColumn pw; private System.Windows.Forms.DataGridViewTextBoxColumn site; private System.Windows.Forms.DataGridViewTextBoxColumn emchk; + private System.Windows.Forms.NumericUpDown tb_persent; + private System.Windows.Forms.DataGridViewTextBoxColumn IndexWord; + private System.Windows.Forms.DataGridViewTextBoxColumn IndexPersent; + private System.Windows.Forms.Label lbl_idx; + private System.Windows.Forms.Button btn_batchProcess; + private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.Panel panel_batchProcess; + private System.Windows.Forms.DataGridView dgv_WordSUB; + private System.Windows.Forms.Button btn_ProcessExit; + private System.Windows.Forms.Button btn_batchProcessing; + private System.Windows.Forms.DataGridViewTextBoxColumn IndexWordSub; + private System.Windows.Forms.DataGridViewTextBoxColumn IndexPersentSub; } } \ No newline at end of file diff --git a/unimarc/unimarc/홈/Order_manage.cs b/unimarc/unimarc/홈/Order_manage.cs index 229c0e4..83fd94e 100644 --- a/unimarc/unimarc/홈/Order_manage.cs +++ b/unimarc/unimarc/홈/Order_manage.cs @@ -14,7 +14,6 @@ namespace WindowsFormsApp1.Home { Helper_DB db = new Helper_DB(); Main main; - int grididx = -3333; public Order_manage(Main _main) { InitializeComponent(); @@ -57,17 +56,17 @@ namespace WindowsFormsApp1.Home string db_res = db.DB_Send_CMD_Search(cmd); Made_Grid(db_res); } - grididx = 0; - Fill_textBox(); + + Fill_textBox(0); } private void Made_Grid(string strValue) { dataGridView1.Rows.Clear(); string[] dbdata = strValue.Split('|'); - string[] grid = { "", "", "", "", "", - "", "", "", "", "", - "", "", "", "", "", - "", "", "", "", "", + string[] grid = { "", "", "", "", "", + "", "", "", "", "", + "", "", "", "", "", + "", "", "", "", "", "", "", "" }; int count = dbdata.Length; int ea = 0; @@ -100,97 +99,125 @@ namespace WindowsFormsApp1.Home } private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e) { - grididx = e.RowIndex; - Fill_textBox(); + int row = e.RowIndex; + Fill_textBox(row); } - void Fill_textBox() + void Fill_textBox(int row) { if (dataGridView1.RowCount <= 0) { return; } + if (row < 0) { return; } btn_Add_Click(null, null); - tb_sangho.Text = dataGridView1.Rows[grididx].Cells["sangho"].Value.ToString(); - tb_boss.Text = dataGridView1.Rows[grididx].Cells["boss"].Value.ToString(); - tb_bubin.Text = dataGridView1.Rows[grididx].Cells["bubin"].Value.ToString(); - tb_uptae.Text = dataGridView1.Rows[grididx].Cells["uptae"].Value.ToString(); - tb_jongmok.Text = dataGridView1.Rows[grididx].Cells["jongmok"].Value.ToString(); - tb_zip.Text = dataGridView1.Rows[grididx].Cells["zip"].Value.ToString(); - tb_addr.Text = dataGridView1.Rows[grididx].Cells["addr"].Value.ToString(); - tb_tel.Text = dataGridView1.Rows[grididx].Cells["tel"].Value.ToString(); - tb_fax.Text = dataGridView1.Rows[grididx].Cells["fax"].Value.ToString(); - tb_bank_no.Text = dataGridView1.Rows[grididx].Cells["bank_no"].Value.ToString(); - tb_bank_comp.Text = dataGridView1.Rows[grididx].Cells["bank_comp"].Value.ToString(); - tb_bank_name.Text = dataGridView1.Rows[grididx].Cells["bank_name"].Value.ToString(); - tb_barea.Text = dataGridView1.Rows[grididx].Cells["barea"].Value.ToString(); + lbl_idx.Text = dataGridView1.Rows[row].Cells["idx"].Value.ToString(); + tb_sangho.Text = dataGridView1.Rows[row].Cells["sangho"].Value.ToString(); + tb_boss.Text = dataGridView1.Rows[row].Cells["boss"].Value.ToString(); + tb_bubin.Text = dataGridView1.Rows[row].Cells["bubin"].Value.ToString(); + tb_uptae.Text = dataGridView1.Rows[row].Cells["uptae"].Value.ToString(); + tb_jongmok.Text = dataGridView1.Rows[row].Cells["jongmok"].Value.ToString(); + tb_zip.Text = dataGridView1.Rows[row].Cells["zip"].Value.ToString(); + tb_addr.Text = dataGridView1.Rows[row].Cells["addr"].Value.ToString(); + tb_tel.Text = dataGridView1.Rows[row].Cells["tel"].Value.ToString(); + tb_fax.Text = dataGridView1.Rows[row].Cells["fax"].Value.ToString(); + tb_bank_no.Text = dataGridView1.Rows[row].Cells["bank_no"].Value.ToString(); + tb_bank_comp.Text = dataGridView1.Rows[row].Cells["bank_comp"].Value.ToString(); + tb_bank_name.Text = dataGridView1.Rows[row].Cells["bank_name"].Value.ToString(); + tb_barea.Text = dataGridView1.Rows[row].Cells["barea"].Value.ToString(); string[] Search_data = { tb_sangho.Text, tb_boss.Text, tb_bubin.Text, tb_jongmok.Text, tb_zip.Text }; string[] Where_col = { "sangho", "boss", "bubin", "jongmok", "zip" }; string cmd = db.More_DB_Search("Purchase", Where_col, Search_data, "emchk"); string db_res = db.DB_Send_CMD_Search(cmd); db_res = db_res.Replace("|", ""); - if (db_res == "0") - { - rtb_etc.Text = dataGridView1.Rows[grididx].Cells["etc_1"].Value.ToString(); - rtb_etc.Text += "\n" + dataGridView1.Rows[grididx].Cells["etc_2"].Value.ToString(); + if (db_res == "0") { + rtb_etc.Text = dataGridView1.Rows[row].Cells["etc_1"].Value.ToString(); + rtb_etc.Text += "\n" + dataGridView1.Rows[row].Cells["etc_2"].Value.ToString(); } else + rtb_etc.Text = dataGridView1.Rows[row].Cells["etc_1"].Value.ToString(); + + tb_email.Text = dataGridView1.Rows[row].Cells["email"].Value.ToString(); + tb_id.Text = dataGridView1.Rows[row].Cells["id"].Value.ToString(); + tb_pw.Text = dataGridView1.Rows[row].Cells["pw"].Value.ToString(); + tb_site.Text = dataGridView1.Rows[row].Cells["site"].Value.ToString(); + + if (dataGridView1.Rows[row].Cells["send_chk"].Value.ToString() == "") chk_send.Checked = false; + if (dataGridView1.Rows[row].Cells["send_chk"].Value.ToString() == "V") chk_send.Checked = true; + + if (dataGridView1.Rows[row].Cells["emchk"].Value.ToString() == "0") chk_email.Checked = false; + if (dataGridView1.Rows[row].Cells["emchk"].Value.ToString() == "1") chk_email.Checked = true; + + if (dataGridView1.Rows[row].Cells["gu"].Value.ToString() == "출판") cb_gubun.SelectedIndex = 0; + if (dataGridView1.Rows[row].Cells["gu"].Value.ToString() == "도매") cb_gubun.SelectedIndex = 1; + if (dataGridView1.Rows[row].Cells["gu"].Value.ToString() == "기타") cb_gubun.SelectedIndex = 2; + if (dataGridView1.Rows[row].Cells["gu"].Value.ToString() == "경비") cb_gubun.SelectedIndex = 3; + + InputIndexWord(); + } + /// + /// 색인어 그리드 채우기 + /// + private void InputIndexWord() + { + dgv_IndexWord.Rows.Clear(); + + string Area = "`word`, `persent`"; + string[] Search_Col = { + "compidx", "puridx" + }; + string[] Search_Data = { + main.com_idx, + lbl_idx.Text + }; + + string cmd = db.More_DB_Search("IndexWord", Search_Col, Search_Data, Area); + string res = db.DB_Send_CMD_Search(cmd); + + string[] ary = res.Split('|'); + string[] grid = { "", "" }; + for (int a = 0; a < ary.Length; a++) { - rtb_etc.Text = dataGridView1.Rows[grididx].Cells["etc_1"].Value.ToString(); + if (a % 2 == 0) { grid[0] = ary[a]; } + if (a % 2 == 1) { grid[1] = ary[a]; + dgv_IndexWord.Rows.Add(grid); + } } - tb_email.Text = dataGridView1.Rows[grididx].Cells["email"].Value.ToString(); - tb_id.Text = dataGridView1.Rows[grididx].Cells["id"].Value.ToString(); - tb_pw.Text = dataGridView1.Rows[grididx].Cells["pw"].Value.ToString(); - tb_site.Text = dataGridView1.Rows[grididx].Cells["site"].Value.ToString(); - - if (dataGridView1.Rows[grididx].Cells["send_chk"].Value.ToString() == "") { chk_send.Checked = false; } - if (dataGridView1.Rows[grididx].Cells["send_chk"].Value.ToString() == "V") { chk_send.Checked = true; } - - if (dataGridView1.Rows[grididx].Cells["emchk"].Value.ToString() == "0") { chk_email.Checked = false; } - if (dataGridView1.Rows[grididx].Cells["emchk"].Value.ToString() == "1") { chk_email.Checked = true; } - - if(dataGridView1.Rows[grididx].Cells["gu"].Value.ToString() == "출판") { cb_gubun.SelectedIndex = 0; } - if(dataGridView1.Rows[grididx].Cells["gu"].Value.ToString() == "도매") { cb_gubun.SelectedIndex = 1; } - if(dataGridView1.Rows[grididx].Cells["gu"].Value.ToString() == "기타") { cb_gubun.SelectedIndex = 2; } - if(dataGridView1.Rows[grididx].Cells["gu"].Value.ToString() == "경비") { cb_gubun.SelectedIndex = 3; } } private void btn_Add_Click(object sender, EventArgs e) // 추가 { - tb_sangho.Text = ""; - tb_boss.Text = ""; - tb_bubin.Text = ""; - tb_uptae.Text = ""; - tb_jongmok.Text = ""; - tb_zip.Text = ""; - tb_addr.Text = ""; - tb_tel.Text = ""; - tb_fax.Text = ""; - tb_bank_no.Text = ""; - tb_bank_comp.Text = ""; - tb_bank_name.Text = ""; - tb_barea.Text = ""; + TextBox[] textBox = { + tb_sangho, tb_boss, tb_bubin, tb_uptae, tb_jongmok, + tb_zip, tb_addr, tb_tel, tb_fax, tb_bank_no, tb_bank_comp, + tb_bank_name, tb_barea, tb_email, tb_id, tb_pw, + tb_site + }; + + for (int a = 0; a < textBox.Length; a++) + textBox[a].Text = ""; + rtb_etc.Text = ""; - tb_email.Text = ""; - tb_id.Text = ""; - tb_pw.Text = ""; - tb_site.Text = ""; cb_gubun.SelectedIndex = 0; } private void dataGridView1_KeyDown(object sender, KeyEventArgs e) { - if (e.KeyCode == Keys.Up) + + if (e.KeyCode == Keys.Up || e.KeyCode == Keys.Down) { - grididx--; - Fill_textBox(); - } - if (e.KeyCode == Keys.Down) - { - grididx++; - Fill_textBox(); + int row = dataGridView1.CurrentCell.RowIndex; + if (e.KeyCode == Keys.Up && row > 0) + { + row--; + } + if (e.KeyCode == Keys.Down && row < dataGridView1.RowCount - 1) + { + row++; + } + Fill_textBox(row); } } private void btn_Save_Click(object sender, EventArgs e) // 저장 { string Table = "Purchase"; - string[] Search_Table = { "comparyidx", "bubin" }; - string[] Search_Data = { main.com_idx, tb_bubin.Text }; + string[] Search_Table = { "comparyidx", "idx" }; + string[] Search_Data = { main.com_idx, lbl_idx.Text }; bool Isinsert = false; string cmd = db.More_DB_Search(Table, Search_Table, Search_Data); @@ -228,8 +255,10 @@ namespace WindowsFormsApp1.Home } private void btn_Delete_Click(object sender, EventArgs e) // 삭제 { - string idx = dataGridView1.Rows[grididx].Cells["idx"].Value.ToString(); - string sangho = dataGridView1.Rows[grididx].Cells["sangho"].Value.ToString(); + int row = dataGridView1.CurrentCell.RowIndex; + + string idx = dataGridView1.Rows[row].Cells["idx"].Value.ToString(); + string sangho = dataGridView1.Rows[row].Cells["sangho"].Value.ToString(); string D_cmd = db.DB_Delete("Purchase", "idx", idx, "sangho", sangho); db.DB_Send_CMD_reVoid(D_cmd); MessageBox.Show(sangho + " 삭제 완료"); @@ -241,7 +270,22 @@ namespace WindowsFormsApp1.Home } private void btn_SitePage_Click(object sender, EventArgs e) { - System.Diagnostics.Process.Start(tb_site.Text); + string text = tb_site.Text; + string[] before = { "네이버", "다음", "네이트" }; + string[] after = { "www.naver.com", "www.daum.net", "www.nate.com" }; + for(int a= 0; a < before.Length; a++) + { + if (text == before[a]) + text = after[a]; + } + try + { + System.Diagnostics.Process.Start(text); + } + catch (Exception ex) + { + MessageBox.Show(ex.Message); + } } private void btn_close_Click(object sender, EventArgs e) { @@ -265,5 +309,156 @@ namespace WindowsFormsApp1.Home tb_sangho.Text = tb_sangho.Text.Replace("-사용중지", ""); } } + + #region 색인어 관련 + + private void btn_AddIW_Click(object sender, EventArgs e) + { + tb_IndexWord.Text = ""; + tb_persent.Value = 0; + } + + private void btn_SaveIW_Click(object sender, EventArgs e) + { + // 사전준비 + string compidx = main.com_idx; + string puridx = lbl_idx.Text; + string word = tb_IndexWord.Text; + string persent = tb_persent.Value.ToString(); + + IndexWordSavetoDB(compidx, puridx, word, persent); + + InputIndexWord(); + } + + private void IndexWordSavetoDB(string compidx, string puridx, string word, string persent) + { + // DB중복체크 + string Table = "IndexWord"; + string[] Search_Table = { "compidx", "puridx", "word" }; + string[] Search_Data = { compidx, puridx, word }; + + bool IsInsert = false; + string cmd = db.More_DB_Search(Table, Search_Table, Search_Data); + if (db.DB_Send_CMD_Search(cmd).Length < 5) IsInsert = true; + + string[] Insert_Col = { "compidx", "puridx", "word", "persent" }; + string[] Insert_Data = { compidx, puridx, word, persent }; + + string InCmd = ""; + if (IsInsert) + InCmd = db.DB_INSERT("IndexWord", Insert_Col, Insert_Data); + else + InCmd = db.More_Update(Table, Insert_Col, Insert_Data, Search_Table, Search_Data); + + db.DB_Send_CMD_reVoid(InCmd); + } + + private void btn_ExcelIW_Click(object sender, EventArgs e) + { + // ???? + } + + private void btn_DeleteIW_Click(object sender, EventArgs e) + { + int row = dgv_IndexWord.CurrentRow.Index; + + string puridx = lbl_idx.Text; + string word = dgv_IndexWord.Rows[row].Cells["IndexWord"].Value.ToString(); + string persent = dgv_IndexWord.Rows[row].Cells["IndexPersent"].Value.ToString(); + + string cmd = string.Format( + "DELETE FROM `{0}` " + + "WHERE `{1}` = \"{2}\" " + + "AND `{3}` = \"{4}\" " + + "AND `{5}` = \"{6}\" " + + "AND `{7}` = \"{8}\" " + + "LIMIT 1;", + "IndexWord", + "compidx", main.com_idx, + "puridx", puridx, + "word", word, + "persent", persent); + + MessageBox.Show(cmd); + + db.DB_Send_CMD_reVoid(cmd); + dgv_IndexWord.Rows.RemoveAt(row); + } + + #endregion + + private void tb_IndexWord_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) + { + tb_persent.Focus(); + } + } + + private void tb_persent_KeyDown(object sender, KeyEventArgs e) + { + + if (e.KeyCode == Keys.Enter) + { + btn_SaveIW.Focus(); + } + } + + private void dgv_IndexWord_CellClick(object sender, DataGridViewCellEventArgs e) + { + int row = e.RowIndex; + if (row < 0) return; + + tb_IndexWord.Text = dgv_IndexWord.Rows[row].Cells["IndexWord"].Value.ToString(); + tb_persent.Value = Convert.ToInt32(dgv_IndexWord.Rows[row].Cells["IndexPersent"].Value.ToString()); + } + + private void dgv_IndexWord_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) + { + Skill_Grid sg = new Skill_Grid(); + sg.Print_Grid_Num(sender, e); + } + + private void dgv_IndexWord_KeyDown(object sender, KeyEventArgs e) + { + Skill_Grid sg = new Skill_Grid(); + sg.Excel_to_DataGridView(sender, e); + } + + #region 색인어 일괄입력 + + private void btn_batchProcess_Click(object sender, EventArgs e) + { + if (panel_batchProcess.Visible) + panel_batchProcess.Visible = false; + else + panel_batchProcess.Visible = true; + } + + private void btn_batchProcessing_Click(object sender, EventArgs e) + { + int count = dgv_WordSUB.RowCount; + + string compidx = main.com_idx; + string puridx = lbl_idx.Text; + for (int a = 0; a < count; a++) + { + if (dgv_WordSUB.Rows[a].Cells["IndexWordSub"].Value.ToString() == "" || + dgv_WordSUB.Rows[a].Cells["IndexWordSub"].Value == null) break; + + string word = dgv_WordSUB.Rows[a].Cells["IndexWordSub"].Value.ToString(); + string persent = dgv_WordSUB.Rows[a].Cells["IndexPersentSub"].Value.ToString(); + + IndexWordSavetoDB(compidx, puridx, word, persent); + } + InputIndexWord(); + } + + private void btn_ProcessExit_Click(object sender, EventArgs e) + { + panel_batchProcess.Visible = false; + } + #endregion } } diff --git a/unimarc/unimarc/홈/Order_manage.resx b/unimarc/unimarc/홈/Order_manage.resx index e766da8..c1c30a5 100644 --- a/unimarc/unimarc/홈/Order_manage.resx +++ b/unimarc/unimarc/홈/Order_manage.resx @@ -186,16 +186,16 @@ True - + True - + True - + True - + True \ No newline at end of file diff --git a/unimarc/unimarc/홈/Transaction_manage.Designer.cs b/unimarc/unimarc/홈/Transaction_manage.Designer.cs index 74d03af..74e3fd0 100644 --- a/unimarc/unimarc/홈/Transaction_manage.Designer.cs +++ b/unimarc/unimarc/홈/Transaction_manage.Designer.cs @@ -28,14 +28,14 @@ /// private void InitializeComponent() { - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); this.NameLabel = new System.Windows.Forms.Label(); this.tb_sangho = new System.Windows.Forms.TextBox(); this.tb_addr = new System.Windows.Forms.TextBox(); @@ -55,26 +55,6 @@ this.cb_gubun2 = new System.Windows.Forms.ComboBox(); this.rtb_etc = new System.Windows.Forms.RichTextBox(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); - this.idx = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.sangho = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.gubun = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.boss = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.bubin = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.uptae = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.jongmok = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.tel = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.fax = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.mail = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.man = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.assumer = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.post_num = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.addr = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.DLSid = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.DLSpw = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.division = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.label = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.program = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.bigo = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.tb_man1 = new System.Windows.Forms.TextBox(); this.btn_search = new System.Windows.Forms.Button(); this.tb_id = new System.Windows.Forms.TextBox(); @@ -105,18 +85,42 @@ this.btn_marc_expand = new System.Windows.Forms.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.marcGrid = new System.Windows.Forms.DataGridView(); - this.marcLabel = new System.Windows.Forms.Label(); - this.gearLabel = new System.Windows.Forms.Label(); - this.gearGrid = new System.Windows.Forms.DataGridView(); - this.tb_marcEmpty = new System.Windows.Forms.Button(); - this.tb_gearEmpty = new System.Windows.Forms.Button(); - this.tb_marcSave = new System.Windows.Forms.Button(); this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.marcLabel = new System.Windows.Forms.Label(); + this.gearLabel = new System.Windows.Forms.Label(); + this.gearGrid = new System.Windows.Forms.DataGridView(); this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.tb_marcEmpty = new System.Windows.Forms.Button(); + this.tb_gearEmpty = new System.Windows.Forms.Button(); + this.tb_marcSave = new System.Windows.Forms.Button(); + this.cb_dlsArea = new System.Windows.Forms.ComboBox(); + this.label18 = new System.Windows.Forms.Label(); + this.idx = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.sangho = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.gubun = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.boss = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.bubin = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.uptae = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.jongmok = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.tel = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.fax = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.mail = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.man = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.mantel = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.assumer = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.post_num = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.addr = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dlsArea = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.DLSid = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.DLSpw = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.division = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.label = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.program = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.bigo = new System.Windows.Forms.DataGridViewTextBoxColumn(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.marcGrid)).BeginInit(); @@ -299,14 +303,14 @@ // this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.AllowUserToDeleteRows = false; - dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; + dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle9.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9; this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.idx, @@ -320,9 +324,11 @@ this.fax, this.mail, this.man, + this.mantel, this.assumer, this.post_num, this.addr, + this.dlsArea, this.DLSid, this.DLSpw, this.division, @@ -334,14 +340,14 @@ this.dataGridView1.MultiSelect = false; this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.ReadOnly = true; - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.ControlDark; - dataGridViewCellStyle2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle2; + dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.ControlDark; + dataGridViewCellStyle10.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle10; this.dataGridView1.RowHeadersWidth = 21; this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; @@ -350,132 +356,6 @@ this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick); this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown); // - // idx - // - this.idx.HeaderText = "idx"; - this.idx.Name = "idx"; - this.idx.ReadOnly = true; - this.idx.Visible = false; - // - // sangho - // - this.sangho.HeaderText = "업체명"; - this.sangho.Name = "sangho"; - this.sangho.ReadOnly = true; - this.sangho.Width = 150; - // - // gubun - // - this.gubun.HeaderText = "구분"; - this.gubun.Name = "gubun"; - this.gubun.ReadOnly = true; - this.gubun.Width = 80; - // - // boss - // - this.boss.HeaderText = "대표자명"; - this.boss.Name = "boss"; - this.boss.ReadOnly = true; - // - // bubin - // - this.bubin.HeaderText = "등록번호"; - this.bubin.Name = "bubin"; - this.bubin.ReadOnly = true; - // - // uptae - // - this.uptae.HeaderText = "업태"; - this.uptae.Name = "uptae"; - this.uptae.ReadOnly = true; - // - // jongmok - // - this.jongmok.HeaderText = "종목"; - this.jongmok.Name = "jongmok"; - this.jongmok.ReadOnly = true; - // - // tel - // - this.tel.HeaderText = "전화번호"; - this.tel.Name = "tel"; - this.tel.ReadOnly = true; - // - // fax - // - this.fax.HeaderText = "팩스"; - this.fax.Name = "fax"; - this.fax.ReadOnly = true; - // - // mail - // - this.mail.HeaderText = "메일"; - this.mail.Name = "mail"; - this.mail.ReadOnly = true; - // - // man - // - this.man.HeaderText = "담당자 정보"; - this.man.Name = "man"; - this.man.ReadOnly = true; - this.man.Width = 220; - // - // assumer - // - this.assumer.HeaderText = "담당직원"; - this.assumer.Name = "assumer"; - this.assumer.ReadOnly = true; - // - // post_num - // - this.post_num.HeaderText = "우편번호"; - this.post_num.Name = "post_num"; - this.post_num.ReadOnly = true; - // - // addr - // - this.addr.HeaderText = "주소"; - this.addr.Name = "addr"; - this.addr.ReadOnly = true; - this.addr.Width = 200; - // - // DLSid - // - this.DLSid.HeaderText = "아이디"; - this.DLSid.Name = "DLSid"; - this.DLSid.ReadOnly = true; - // - // DLSpw - // - this.DLSpw.HeaderText = "비밀번호"; - this.DLSpw.Name = "DLSpw"; - this.DLSpw.ReadOnly = true; - // - // division - // - this.division.HeaderText = "용지칸수"; - this.division.Name = "division"; - this.division.ReadOnly = true; - // - // label - // - this.label.HeaderText = "띠라벨"; - this.label.Name = "label"; - this.label.ReadOnly = true; - // - // program - // - this.program.HeaderText = "사용프로그램"; - this.program.Name = "program"; - this.program.ReadOnly = true; - // - // bigo - // - this.bigo.HeaderText = "비고"; - this.bigo.Name = "bigo"; - this.bigo.ReadOnly = true; - this.bigo.Visible = false; - // // tb_man1 // this.tb_man1.Location = new System.Drawing.Point(271, 84); @@ -712,6 +592,7 @@ // panel1 // this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel1.Controls.Add(this.cb_dlsArea); this.panel1.Controls.Add(this.NameLabel); this.panel1.Controls.Add(this.tb_sangho); this.panel1.Controls.Add(this.btn_marc_expand); @@ -721,6 +602,7 @@ this.panel1.Controls.Add(this.btn_close); this.panel1.Controls.Add(this.tb_tel); this.panel1.Controls.Add(this.tb_bubin); + this.panel1.Controls.Add(this.label18); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.tb_jongmok); this.panel1.Controls.Add(this.tb_addr); @@ -767,14 +649,14 @@ // this.marcGrid.AllowUserToAddRows = false; this.marcGrid.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.marcGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3; + dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle11.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.marcGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11; this.marcGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.marcGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Column1, @@ -790,6 +672,26 @@ this.marcGrid.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.marcGrid_RowPostPaint); this.marcGrid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Grid_KeyDown); // + // Column1 + // + dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.Column1.DefaultCellStyle = dataGridViewCellStyle12; + this.Column1.HeaderText = "날짜"; + this.Column1.Name = "Column1"; + // + // Column2 + // + this.Column2.HeaderText = "내용"; + this.Column2.Name = "Column2"; + this.Column2.Width = 350; + // + // Column3 + // + dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.Column3.DefaultCellStyle = dataGridViewCellStyle13; + this.Column3.HeaderText = "작성자"; + this.Column3.Name = "Column3"; + // // marcLabel // this.marcLabel.AutoSize = true; @@ -816,14 +718,14 @@ // this.gearGrid.AllowUserToAddRows = false; this.gearGrid.AllowUserToDeleteRows = false; - dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle6.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.gearGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6; + dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle14.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle14.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.gearGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle14; this.gearGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.gearGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewTextBoxColumn1, @@ -839,6 +741,26 @@ this.gearGrid.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.marcGrid_RowPostPaint); this.gearGrid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Grid_KeyDown); // + // dataGridViewTextBoxColumn1 + // + dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle15; + this.dataGridViewTextBoxColumn1.HeaderText = "날짜"; + this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; + // + // dataGridViewTextBoxColumn2 + // + this.dataGridViewTextBoxColumn2.HeaderText = "내용"; + this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; + this.dataGridViewTextBoxColumn2.Width = 350; + // + // dataGridViewTextBoxColumn3 + // + dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle16; + this.dataGridViewTextBoxColumn3.HeaderText = "작성자"; + this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; + // // tb_marcEmpty // this.tb_marcEmpty.Location = new System.Drawing.Point(1487, 11); @@ -869,45 +791,163 @@ this.tb_marcSave.UseVisualStyleBackColor = true; this.tb_marcSave.Click += new System.EventHandler(this.tb_marcSave_Click); // - // Column1 + // cb_dlsArea // - dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.Column1.DefaultCellStyle = dataGridViewCellStyle4; - this.Column1.HeaderText = "날짜"; - this.Column1.Name = "Column1"; + this.cb_dlsArea.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cb_dlsArea.FormattingEnabled = true; + this.cb_dlsArea.Location = new System.Drawing.Point(639, 132); + this.cb_dlsArea.Name = "cb_dlsArea"; + this.cb_dlsArea.Size = new System.Drawing.Size(194, 20); + this.cb_dlsArea.TabIndex = 47; // - // Column2 + // label18 // - this.Column2.HeaderText = "내용"; - this.Column2.Name = "Column2"; - this.Column2.Width = 350; + this.label18.AutoSize = true; + this.label18.ForeColor = System.Drawing.SystemColors.ControlText; + this.label18.Location = new System.Drawing.Point(584, 136); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(52, 12); + this.label18.TabIndex = 24; + this.label18.Text = "DLS지역"; // - // Column3 + // idx // - dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.Column3.DefaultCellStyle = dataGridViewCellStyle5; - this.Column3.HeaderText = "작성자"; - this.Column3.Name = "Column3"; + this.idx.HeaderText = "idx"; + this.idx.Name = "idx"; + this.idx.ReadOnly = true; + this.idx.Visible = false; // - // dataGridViewTextBoxColumn1 + // sangho // - dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle7; - this.dataGridViewTextBoxColumn1.HeaderText = "날짜"; - this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; + this.sangho.HeaderText = "업체명"; + this.sangho.Name = "sangho"; + this.sangho.ReadOnly = true; + this.sangho.Width = 150; // - // dataGridViewTextBoxColumn2 + // gubun // - this.dataGridViewTextBoxColumn2.HeaderText = "내용"; - this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; - this.dataGridViewTextBoxColumn2.Width = 350; + this.gubun.HeaderText = "구분"; + this.gubun.Name = "gubun"; + this.gubun.ReadOnly = true; + this.gubun.Width = 80; // - // dataGridViewTextBoxColumn3 + // boss // - dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle8; - this.dataGridViewTextBoxColumn3.HeaderText = "작성자"; - this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; + this.boss.HeaderText = "대표자명"; + this.boss.Name = "boss"; + this.boss.ReadOnly = true; + // + // bubin + // + this.bubin.HeaderText = "등록번호"; + this.bubin.Name = "bubin"; + this.bubin.ReadOnly = true; + // + // uptae + // + this.uptae.HeaderText = "업태"; + this.uptae.Name = "uptae"; + this.uptae.ReadOnly = true; + // + // jongmok + // + this.jongmok.HeaderText = "종목"; + this.jongmok.Name = "jongmok"; + this.jongmok.ReadOnly = true; + // + // tel + // + this.tel.HeaderText = "전화번호"; + this.tel.Name = "tel"; + this.tel.ReadOnly = true; + // + // fax + // + this.fax.HeaderText = "팩스"; + this.fax.Name = "fax"; + this.fax.ReadOnly = true; + // + // mail + // + this.mail.HeaderText = "메일"; + this.mail.Name = "mail"; + this.mail.ReadOnly = true; + // + // man + // + this.man.HeaderText = "담당자"; + this.man.Name = "man"; + this.man.ReadOnly = true; + this.man.Width = 80; + // + // mantel + // + this.mantel.HeaderText = "담당자 정보"; + this.mantel.Name = "mantel"; + this.mantel.ReadOnly = true; + this.mantel.Width = 160; + // + // assumer + // + this.assumer.HeaderText = "담당직원"; + this.assumer.Name = "assumer"; + this.assumer.ReadOnly = true; + // + // post_num + // + this.post_num.HeaderText = "우편번호"; + this.post_num.Name = "post_num"; + this.post_num.ReadOnly = true; + // + // addr + // + this.addr.HeaderText = "주소"; + this.addr.Name = "addr"; + this.addr.ReadOnly = true; + this.addr.Width = 200; + // + // dlsArea + // + this.dlsArea.HeaderText = "DLS지역"; + this.dlsArea.Name = "dlsArea"; + this.dlsArea.ReadOnly = true; + // + // DLSid + // + this.DLSid.HeaderText = "아이디"; + this.DLSid.Name = "DLSid"; + this.DLSid.ReadOnly = true; + // + // DLSpw + // + this.DLSpw.HeaderText = "비밀번호"; + this.DLSpw.Name = "DLSpw"; + this.DLSpw.ReadOnly = true; + // + // division + // + this.division.HeaderText = "용지칸수"; + this.division.Name = "division"; + this.division.ReadOnly = true; + // + // label + // + this.label.HeaderText = "띠라벨"; + this.label.Name = "label"; + this.label.ReadOnly = true; + // + // program + // + this.program.HeaderText = "사용프로그램"; + this.program.Name = "program"; + this.program.ReadOnly = true; + // + // bigo + // + this.bigo.HeaderText = "비고"; + this.bigo.Name = "bigo"; + this.bigo.ReadOnly = true; + this.bigo.Visible = false; // // Transaction_manage // @@ -984,26 +1024,6 @@ public System.Windows.Forms.TextBox tb_program; private System.Windows.Forms.Button btn_close; public System.Windows.Forms.ComboBox cb_gubun1; - private System.Windows.Forms.DataGridViewTextBoxColumn idx; - private System.Windows.Forms.DataGridViewTextBoxColumn sangho; - private System.Windows.Forms.DataGridViewTextBoxColumn gubun; - private System.Windows.Forms.DataGridViewTextBoxColumn boss; - private System.Windows.Forms.DataGridViewTextBoxColumn bubin; - private System.Windows.Forms.DataGridViewTextBoxColumn uptae; - private System.Windows.Forms.DataGridViewTextBoxColumn jongmok; - private System.Windows.Forms.DataGridViewTextBoxColumn tel; - private System.Windows.Forms.DataGridViewTextBoxColumn fax; - private System.Windows.Forms.DataGridViewTextBoxColumn mail; - private System.Windows.Forms.DataGridViewTextBoxColumn man; - private System.Windows.Forms.DataGridViewTextBoxColumn assumer; - private System.Windows.Forms.DataGridViewTextBoxColumn post_num; - private System.Windows.Forms.DataGridViewTextBoxColumn addr; - private System.Windows.Forms.DataGridViewTextBoxColumn DLSid; - private System.Windows.Forms.DataGridViewTextBoxColumn DLSpw; - private System.Windows.Forms.DataGridViewTextBoxColumn division; - private System.Windows.Forms.DataGridViewTextBoxColumn label; - private System.Windows.Forms.DataGridViewTextBoxColumn program; - private System.Windows.Forms.DataGridViewTextBoxColumn bigo; private System.Windows.Forms.Button btn_marc_expand; private System.Windows.Forms.Panel panel1; private System.Windows.Forms.DataGridView marcGrid; @@ -1019,5 +1039,29 @@ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; + private System.Windows.Forms.ComboBox cb_dlsArea; + private System.Windows.Forms.Label label18; + private System.Windows.Forms.DataGridViewTextBoxColumn idx; + private System.Windows.Forms.DataGridViewTextBoxColumn sangho; + private System.Windows.Forms.DataGridViewTextBoxColumn gubun; + private System.Windows.Forms.DataGridViewTextBoxColumn boss; + private System.Windows.Forms.DataGridViewTextBoxColumn bubin; + private System.Windows.Forms.DataGridViewTextBoxColumn uptae; + private System.Windows.Forms.DataGridViewTextBoxColumn jongmok; + private System.Windows.Forms.DataGridViewTextBoxColumn tel; + private System.Windows.Forms.DataGridViewTextBoxColumn fax; + private System.Windows.Forms.DataGridViewTextBoxColumn mail; + private System.Windows.Forms.DataGridViewTextBoxColumn man; + private System.Windows.Forms.DataGridViewTextBoxColumn mantel; + private System.Windows.Forms.DataGridViewTextBoxColumn assumer; + private System.Windows.Forms.DataGridViewTextBoxColumn post_num; + private System.Windows.Forms.DataGridViewTextBoxColumn addr; + private System.Windows.Forms.DataGridViewTextBoxColumn dlsArea; + private System.Windows.Forms.DataGridViewTextBoxColumn DLSid; + private System.Windows.Forms.DataGridViewTextBoxColumn DLSpw; + private System.Windows.Forms.DataGridViewTextBoxColumn division; + private System.Windows.Forms.DataGridViewTextBoxColumn label; + private System.Windows.Forms.DataGridViewTextBoxColumn program; + private System.Windows.Forms.DataGridViewTextBoxColumn bigo; } } \ No newline at end of file diff --git a/unimarc/unimarc/홈/Transaction_manage.cs b/unimarc/unimarc/홈/Transaction_manage.cs index e779901..c066ff1 100644 --- a/unimarc/unimarc/홈/Transaction_manage.cs +++ b/unimarc/unimarc/홈/Transaction_manage.cs @@ -27,6 +27,15 @@ namespace WindowsFormsApp1.Home string[] gubun1 = { "전체", "납품처", "거래처" }; cb_gubun1.Items.AddRange(gubun1); cb_gubun1.SelectedIndex = 0; + + string[] dlsArea = { + "서울", "부산", "대구", "인천", "광주", + "대전", "울산", "세종", "경기", "강원", + "충북", "충남", "전북", "전남", "경북", + "경남", "제주" + }; + cb_dlsArea.Items.AddRange(dlsArea); + compidx = main.com_idx; marcLabel.Visible = false; gearLabel.Visible = false; @@ -42,8 +51,8 @@ namespace WindowsFormsApp1.Home string seartempdb = "`idx`, `c_sangho`, `c_gu`, `c_boss`, `c_bubin`, " + "`c_uptae`, `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_dlsID`, `c_dlsPW`, `c_division`, `c_label`," + + " `c_program`, `c_etc`"; string cmd = db.DB_Select_Search(seartempdb, "Client", "campanyidx", compidx); string db_res = db.DB_Send_CMD_Search(cmd); dataGridView1.Rows.Clear(); @@ -52,7 +61,7 @@ namespace WindowsFormsApp1.Home "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", - "" }; + "", "" }; int ea = 0; for(int a = 0; a < data.Length; a++) { @@ -119,16 +128,22 @@ namespace WindowsFormsApp1.Home MessageBox.Show("구분을 선택해주세요."); return; } + if (cb_gubun2.SelectedItem.ToString() == "학교" && cb_dlsArea.SelectedIndex < 0) + { + MessageBox.Show("DLS 지역을 선택해주세요."); + return; + } + string[] tmpdb = { "c_sangho`, `c_gu`, `c_boss`, `c_bubin`, `c_uptae`, " + "`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" }; + "`campanyidx", "c_dlsArea" }; 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 }; + compidx, cb_dlsArea.Text }; string Incmd = db.DB_INSERT("Client", tmpdb, tmpdb1); db.DB_Send_CMD_reVoid(Incmd); MessageBox.Show(tb_sangho.Text + "가 성공적으로 저장되었습니다."); @@ -136,18 +151,23 @@ namespace WindowsFormsApp1.Home } private void btn_edit_Click(object sender, EventArgs e) { - string[] editcol = { "c_sangho`, `c_gu`, `c_boss`, `c_bubin`, `c_uptae`, " + - "`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" }; + string[] editcol = { "c_sangho", "c_gu", "c_boss", "c_bubin", "c_uptae", + "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" + }; 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 }; + tb_pw.Text, tb_division.Text, tb_label.Text, tb_program.Text, rtb_etc.Text, + cb_dlsArea.Text + }; string[] searchcol = { "idx", "campanyidx" }; string[] searchname = { dataGridView1.Rows[grididx].Cells["idx"].Value.ToString(), compidx }; string U_cmd = db.More_Update("Client", editcol, editname, searchcol, searchname); db.DB_Send_CMD_reVoid(U_cmd); + MessageBox.Show(tb_sangho.Text + "가 성공적으로 저장되었습니다."); Made_Grid(); } private void btn_delete_Click(object sender, EventArgs e) @@ -172,19 +192,21 @@ namespace WindowsFormsApp1.Home } private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e) { - if(e == null) { - if(updown == "UP") + if (e.RowIndex < 0) return; + + if (e == null) { + if (updown == "UP") { if (grididx < 1) return; grididx--; } - else if(updown == "DOWN") + else if (updown == "DOWN") { if (grididx > dataGridView1.Rows.Count) return; grididx++; } } - else if(e != null) { grididx = e.RowIndex; } + else if (e != null) { grididx = e.RowIndex; } if (e.RowIndex < 0) { return; } @@ -205,6 +227,8 @@ namespace WindowsFormsApp1.Home tb_tel.Text = dataGridView1.Rows[grididx].Cells["tel"].Value.ToString(); tb_fax.Text = dataGridView1.Rows[grididx].Cells["fax"].Value.ToString(); + cb_dlsArea.Text = dataGridView1.Rows[grididx].Cells["dlsArea"].Value.ToString(); + if (tmp_man.Length > 1) { if (tmp_man[0] != "") { tb_man.Text = tmp_man[0]; } @@ -265,8 +289,8 @@ namespace WindowsFormsApp1.Home string search = "`idx`, `c_sangho`, `c_gu`, `c_boss`, `c_bubin`, " + "`c_uptae`, `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_dlsID`, `c_dlsPW`, `c_division`, `c_label`," + + " `c_program`, `c_etc`"; string cmd = db.DB_Contains("Client", compidx, "c_sangho", tb_sangho.Text, search); string db_res = db.DB_Send_CMD_Search(cmd); string[] dbtext1 = db_res.Split('|'); @@ -277,27 +301,28 @@ namespace WindowsFormsApp1.Home "", "" }; for (int a = 0; a < dbtext1.Length; a++) { - if (a % 21 == 00) { result[00] = dbtext1[a]; } // idx - if (a % 21 == 01) { result[01] = dbtext1[a]; } // 거래처명 - if (a % 21 == 02) { result[02] = dbtext1[a]; } // 구분 - if (a % 21 == 03) { result[03] = dbtext1[a]; } // 대표자명 - if (a % 21 == 04) { result[04] = dbtext1[a]; } // 등록번호 - if (a % 21 == 05) { result[05] = dbtext1[a]; } // 업태 - if (a % 21 == 06) { result[06] = dbtext1[a]; } // 종목 - if (a % 21 == 07) { result[07] = dbtext1[a]; } // 전화번호 - if (a % 21 == 08) { result[08] = dbtext1[a]; } // 팩스 - if (a % 21 == 09) { result[09] = dbtext1[a]; } // 메일 - if (a % 21 == 10) { result[10] = dbtext1[a]; } // 담당자정보1 - if (a % 21 == 11) { result[11] = dbtext1[a]; } // 담당자정보2 - if (a % 21 == 12) { result[12] = dbtext1[a]; } // 담당직원 - if (a % 21 == 13) { result[13] = dbtext1[a]; } // 우편번호 - if (a % 21 == 14) { result[14] = dbtext1[a]; } // 주소 - if (a % 21 == 15) { result[15] = dbtext1[a]; } // 아이디 - if (a % 21 == 16) { result[16] = dbtext1[a]; } // 비밀번호 - if (a % 21 == 17) { result[17] = dbtext1[a]; } // 용지칸수 - if (a % 21 == 18) { result[18] = dbtext1[a]; } // 띠라벨 - if (a % 21 == 19) { result[19] = dbtext1[a]; } // 사용프로그램 - if (a % 21 == 20) { result[20] = dbtext1[a]; dataGridView1.Rows.Add(result); } // 비고 + if (a % 22 == 00) { result[00] = dbtext1[a]; } // idx + if (a % 22 == 01) { result[01] = dbtext1[a]; } // 거래처명 + if (a % 22 == 02) { result[02] = dbtext1[a]; } // 구분 + if (a % 22 == 03) { result[03] = dbtext1[a]; } // 대표자명 + if (a % 22 == 04) { result[04] = dbtext1[a]; } // 등록번호 + if (a % 22 == 05) { result[05] = dbtext1[a]; } // 업태 + if (a % 22 == 06) { result[06] = dbtext1[a]; } // 종목 + if (a % 22 == 07) { result[07] = dbtext1[a]; } // 전화번호 + if (a % 22 == 08) { result[08] = dbtext1[a]; } // 팩스 + if (a % 22 == 09) { result[09] = dbtext1[a]; } // 메일 + if (a % 22 == 10) { result[10] = dbtext1[a]; } // 담당자정보1 + if (a % 22 == 11) { result[11] = dbtext1[a]; } // 담당자정보2 + if (a % 22 == 12) { result[12] = dbtext1[a]; } // 담당직원 + if (a % 22 == 13) { result[13] = dbtext1[a]; } // 우편번호 + if (a % 22 == 14) { result[14] = dbtext1[a]; } // 주소 + if (a % 22 == 15) { result[15] = dbtext1[a]; } // DLS지역 + if (a % 22 == 16) { result[16] = dbtext1[a]; } // 아이디 + if (a % 22 == 17) { result[17] = dbtext1[a]; } // 비밀번호 + if (a % 22 == 18) { result[18] = dbtext1[a]; } // 용지칸수 + if (a % 22 == 19) { result[19] = dbtext1[a]; } // 띠라벨 + if (a % 22 == 20) { result[20] = dbtext1[a]; } // 사용프로그램 + if (a % 22 == 21) { result[21] = dbtext1[a]; dataGridView1.Rows.Add(result); } // 비고 } dataGridView1.Focus(); } @@ -325,9 +350,9 @@ namespace WindowsFormsApp1.Home string seartempdb = "`idx`, `c_sangho`, `c_gu`, `c_boss`, `c_bubin`, " + "`c_uptae`, `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_dlsID`, `c_dlsPW`, `c_division`, `c_label`," + + " `c_program`, `c_etc`"; + string cmd = "SELECT " + seartempdb + " FROM Client " + "WHERE `c_gu` = '" + strValue1 + "' OR `c_gu` = '" + strValue2 + "';"; string tmpdb = db.self_Made_Cmd(cmd); @@ -337,30 +362,31 @@ namespace WindowsFormsApp1.Home "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", - "" }; + "", "" }; for (int a = 0; a < data.Length; a++) { - if (a % 21 == 0) { result[0] = data[a]; } // idx - if (a % 21 == 1) { result[1] = data[a]; } // 거래처명 - if (a % 21 == 2) { result[2] = data[a]; } // 구분 - if (a % 21 == 3) { result[3] = data[a]; } // 대표자명 - if (a % 21 == 4) { result[4] = data[a]; } // 등록번호 - if (a % 21 == 5) { result[5] = data[a]; } // 업태 - if (a % 21 == 6) { result[6] = data[a]; } // 종목 - if (a % 21 == 7) { result[7] = data[a]; } // 전화번호 - if (a % 21 == 8) { result[8] = data[a]; } // 팩스 - if (a % 21 == 9) { result[9] = data[a]; } // 메일 - if (a % 21 == 10) { result[10] = data[a]; } // 담당자정보1 - if (a % 21 == 11) { result[10] += " | " + data[a]; } // 담당자정보2 - if (a % 21 == 12) { result[11] = data[a]; } // 담당직원 - if (a % 21 == 13) { result[12] = data[a]; } // 우편번호 - if (a % 21 == 14) { result[13] = data[a]; } // 주소 - if (a % 21 == 15) { result[14] = data[a]; } // 아이디 - if (a % 21 == 16) { result[15] = data[a]; } // 비밀번호 - if (a % 21 == 17) { result[16] = data[a]; } // 용지칸수 - if (a % 21 == 18) { result[17] = data[a]; } // 띠라벨 - if (a % 21 == 19) { result[18] = data[a]; } // 사용프로그램 - if (a % 21 == 20) { result[19] = data[a]; dataGridView1.Rows.Add(result); } // 비고 + if (a % 22 == 00) { result[00] = data[a]; } // idx + if (a % 22 == 01) { result[01] = data[a]; } // 거래처명 + if (a % 22 == 02) { result[02] = data[a]; } // 구분 + if (a % 22 == 03) { result[03] = data[a]; } // 대표자명 + if (a % 22 == 04) { result[04] = data[a]; } // 등록번호 + if (a % 22 == 05) { result[05] = data[a]; } // 업태 + if (a % 22 == 06) { result[06] = data[a]; } // 종목 + if (a % 22 == 07) { result[07] = data[a]; } // 전화번호 + if (a % 22 == 08) { result[08] = data[a]; } // 팩스 + if (a % 22 == 09) { result[09] = data[a]; } // 메일 + if (a % 22 == 10) { result[10] = data[a]; } // 담당자정보1 + if (a % 22 == 11) { result[11] = data[a]; } // 담당자정보2 + if (a % 22 == 12) { result[12] = data[a]; } // 담당직원 + if (a % 22 == 13) { result[13] = data[a]; } // 우편번호 + if (a % 22 == 14) { result[14] = data[a]; } // 주소 + if (a % 22 == 15) { result[15] = data[a]; } // DLS지역 + if (a % 22 == 16) { result[16] = data[a]; } // 아이디 + if (a % 22 == 17) { result[17] = data[a]; } // 비밀번호 + if (a % 22 == 18) { result[18] = data[a]; } // 용지칸수 + if (a % 22 == 19) { result[19] = data[a]; } // 띠라벨 + if (a % 22 == 20) { result[20] = data[a]; } // 사용프로그램 + if (a % 22 == 21) { result[21] = data[a]; dataGridView1.Rows.Add(result); } // 비고 } } bool marc_lookup = false; @@ -499,7 +525,7 @@ namespace WindowsFormsApp1.Home if (e.ColumnIndex == 1) { string date = DateTime.Now.ToString("yyyy-MM-dd"); - string charge = main.toolStripLabel1.Text; + string charge = main.botUserLabel.Text; gridView.Rows[e.RowIndex].Cells[0].Value = date; gridView.Rows[e.RowIndex].Cells[2].Value = charge; diff --git a/unimarc/unimarc/홈/Transaction_manage.resx b/unimarc/unimarc/홈/Transaction_manage.resx index 235b103..0355e6c 100644 --- a/unimarc/unimarc/홈/Transaction_manage.resx +++ b/unimarc/unimarc/홈/Transaction_manage.resx @@ -150,6 +150,9 @@ True + + True + True @@ -159,6 +162,9 @@ True + + True + True