DLS 검색 개선 및 복본조사 서브 셀렉터 기능 추가

- DLS 검색기에 고창군립도서관, 대불대학도서관 추가
- Check_Copy_Sub_Selector 폼 추가 (도서관별 상세 선택 기능)
- 복본조사 화면 UI 개선 (체크박스 간격 조정)
- 버전 정보 업데이트 (1.4.1.7 → 1.4.1.8)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-24 23:53:03 +09:00
parent 1ae2b93490
commit 12f190a0b8
15 changed files with 1059 additions and 439 deletions

View File

@@ -65,32 +65,32 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="BouncyCastle.Crypto, Version=1.8.5.0, Culture=neutral, PublicKeyToken=0e99375e54769942">
<HintPath>packages\BouncyCastle.1.8.5\lib\BouncyCastle.Crypto.dll</HintPath>
<HintPath>..\packages\BouncyCastle.1.8.5\lib\BouncyCastle.Crypto.dll</HintPath>
</Reference>
<Reference Include="Google.Protobuf, Version=3.14.0.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
<HintPath>packages\Google.Protobuf.3.14.0\lib\net45\Google.Protobuf.dll</HintPath>
<HintPath>..\packages\Google.Protobuf.3.14.0\lib\net45\Google.Protobuf.dll</HintPath>
</Reference>
<Reference Include="K4os.Compression.LZ4, Version=1.1.11.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
<HintPath>packages\K4os.Compression.LZ4.1.1.11\lib\net46\K4os.Compression.LZ4.dll</HintPath>
<HintPath>..\packages\K4os.Compression.LZ4.1.1.11\lib\net46\K4os.Compression.LZ4.dll</HintPath>
</Reference>
<Reference Include="K4os.Compression.LZ4.Streams, Version=1.1.11.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
<HintPath>packages\K4os.Compression.LZ4.Streams.1.1.11\lib\net46\K4os.Compression.LZ4.Streams.dll</HintPath>
<HintPath>..\packages\K4os.Compression.LZ4.Streams.1.1.11\lib\net46\K4os.Compression.LZ4.Streams.dll</HintPath>
</Reference>
<Reference Include="K4os.Hash.xxHash, Version=1.0.6.0, Culture=neutral, PublicKeyToken=32cd54395057cec3, processorArchitecture=MSIL">
<HintPath>packages\K4os.Hash.xxHash.1.0.6\lib\net46\K4os.Hash.xxHash.dll</HintPath>
<HintPath>..\packages\K4os.Hash.xxHash.1.0.6\lib\net46\K4os.Hash.xxHash.dll</HintPath>
</Reference>
<Reference Include="MySql.Data, Version=8.0.25.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<HintPath>packages\MySql.Data.8.0.25\lib\net452\MySql.Data.dll</HintPath>
<HintPath>..\packages\MySql.Data.8.0.25\lib\net452\MySql.Data.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Renci.SshNet, Version=2020.0.1.0, Culture=neutral, PublicKeyToken=1cee9f8bde3db106, processorArchitecture=MSIL">
<HintPath>packages\SSH.NET.2020.0.1\lib\net40\Renci.SshNet.dll</HintPath>
<HintPath>..\packages\SSH.NET.2020.0.1\lib\net40\Renci.SshNet.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel" />
<Reference Include="System.ComponentModel.DataAnnotations" />
@@ -99,14 +99,14 @@
<Reference Include="System.Core" />
<Reference Include="System.Management" />
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>packages\System.Memory.4.5.3\lib\netstandard2.0\System.Memory.dll</HintPath>
<HintPath>..\packages\System.Memory.4.5.3\lib\netstandard2.0\System.Memory.dll</HintPath>
</Reference>
<Reference Include="System.Numerics" />
<Reference Include="System.Numerics.Vectors, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>packages\System.Numerics.Vectors.4.4.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
<HintPath>..\packages\System.Numerics.Vectors.4.4.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>packages\System.Runtime.CompilerServices.Unsafe.4.5.2\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.2\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference>
<Reference Include="System.Transactions" />
<Reference Include="System.Web.Extensions" />
@@ -120,10 +120,10 @@
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="Ubiety.Dns.Core, Version=2.2.1.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<HintPath>packages\MySql.Data.8.0.25\lib\net452\Ubiety.Dns.Core.dll</HintPath>
<HintPath>..\packages\MySql.Data.8.0.25\lib\net452\Ubiety.Dns.Core.dll</HintPath>
</Reference>
<Reference Include="Zstandard.Net, Version=1.1.7.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<HintPath>packages\MySql.Data.8.0.25\lib\net452\Zstandard.Net.dll</HintPath>
<HintPath>..\packages\MySql.Data.8.0.25\lib\net452\Zstandard.Net.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>

View File

@@ -31,6 +31,6 @@ using System.Runtime.InteropServices;
//
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
// 기본값으로 할 수 있습니다.
[assembly: AssemblyVersion("1.0.0.2")]
[assembly: AssemblyVersion("25.09.24.2340")]
// [assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.2")]
[assembly: AssemblyFileVersion("25.09.24.2340")]

View File

@@ -12,6 +12,7 @@ using WindowsFormsApp1;
using System.Reflection;
using System.Text.RegularExpressions;
namespace ISBN_Check_test
{
public partial class Yes24 : Form
@@ -55,16 +56,17 @@ namespace ISBN_Check_test
int count = f1.dataGridView1.Rows.Count - 1;
string price = "";
for (int a = 0; a < count; a++)
foreach(DataGridViewRow drowview in f1.dataGridView1.Rows)
{
if (f1.dataGridView1.Rows[a].Cells["price"].Value != null)
if (drowview.Cells["price"].Value != null)
{
price = f1.dataGridView1.Rows[a].Cells["price"].Value.ToString();
price = drowview.Cells["price"].Value.ToString();
}
var bookName = f1.dataGridView1.Rows[a].Cells["book_name"].Value?.ToString() ?? string.Empty;
var author = f1.dataGridView1.Rows[a].Cells["author"].Value?.ToString() ?? string.Empty;
var bookComp = f1.dataGridView1.Rows[a].Cells["book_comp"].Value?.ToString() ?? string.Empty;
var bookName = drowview.Cells["book_name"].Value?.ToString() ?? string.Empty;
var author = drowview.Cells["author"].Value?.ToString() ?? string.Empty;
var bookComp = drowview.Cells["book_comp"].Value?.ToString() ?? string.Empty;
if (string.IsNullOrEmpty(bookName) && string.IsNullOrEmpty(author) && string.IsNullOrEmpty(bookComp)) continue;
List<string> grid = new List<string>();
grid.Add(bookName);
@@ -73,7 +75,7 @@ namespace ISBN_Check_test
grid.Add(Replace_target(author, "author"));
grid.Add(bookComp);
grid.Add(Replace_target(bookComp, "book_comp"));
grid.Add(price);
dataGridView1.Rows.Add(grid.ToArray());
}
@@ -124,15 +126,17 @@ namespace ISBN_Check_test
private void btn_change_Click(object sender, EventArgs e)
{
string[,] grid = new string[dataGridView1.Rows.Count, 6];
for (int a = 0; a < dataGridView1.Rows.Count; a++)
var idx = 0;
foreach (DataGridViewRow drv in dataGridView1.Rows)// int a = 0; a < dataGridView1.Rows.Count; a++)
{
string price = dataGridView1.Rows[a].Cells["price"].Value?.ToString() ?? string.Empty;
int count = a + 1;
grid[a, 0] = count.ToString();
grid[a, 1] = dataGridView1.Rows[a].Cells["after_book_name"].Value.ToString();
grid[a, 3] = dataGridView1.Rows[a].Cells["after_book_comp"].Value.ToString();
grid[a, 4] = Regex.Replace(price, @"[^0-9]", "");
grid[a, 5] = "1";
string price = drv.Cells["price"].Value?.ToString() ?? string.Empty;
int count = idx + 1;
grid[idx, 0] = count.ToString();
grid[idx, 1] = drv.Cells["after_book_name"].Value.ToString();
grid[idx, 3] = drv.Cells["after_book_comp"].Value.ToString();
grid[idx, 4] = Regex.Replace(price, @"[^0-9]", "");
grid[idx, 5] = "1";
idx += 1;
}
Excel_change(grid);
}

View File

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
// 기본값으로 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2025.09.17.2300")]
[assembly: AssemblyFileVersion("2025.09.17.2300")]
[assembly: AssemblyVersion("2025.09.24.2340")]
[assembly: AssemblyFileVersion("2025.09.24.2340")]

View File

@@ -13,6 +13,7 @@ using UniMarc.마크;
using OpenQA.Selenium.Chromium;
using UniMarc.SearchModel;
using System.Runtime.CompilerServices;
using AR;
namespace BokBonCheck
{
@@ -169,6 +170,11 @@ namespace BokBonCheck
if (_driver.Url.EndsWith("/bookMain") == false)
{
retrycnt += 1;
if (retrycnt > 3)
{
UTIL.MsgE("3회 연속 로그인 시도로 인해 자동 로그인을 중단합니다\n사용자가 직접 로그인을 하세요");
break;
}
Console.WriteLine($"도서검색화면으로 이동({retrycnt})");
_driver.Navigate().GoToUrl(this.SiteUrl);
wait = new WebDriverWait(_driver, TimeSpan.FromSeconds(15));
@@ -190,6 +196,8 @@ namespace BokBonCheck
this.SCHOOL = schoolname;
this.STYPE = searchtype;
}
string BookMainURL = string.Empty;
public async Task<BookSearchResult> SearchAsync(string searchTerm)
{
var result = new BookSearchResult
@@ -247,6 +255,19 @@ namespace BokBonCheck
}
}
if (string.IsNullOrEmpty(BookMainURL))
{
BookMainURL = _driver.Url;
}
else
{
//확실하게 하기위해 메인페이지로 다시 이동한다.
_driver.Navigate().GoToUrl(this.SiteUrl);
new WebDriverWait(_driver, TimeSpan.FromSeconds(15));
await Task.Delay(500);
}
// 페이지 로딩 대기
var wait = new WebDriverWait(_driver, TimeSpan.FromSeconds(15));
@@ -378,12 +399,13 @@ namespace BokBonCheck
{
SafeClick(buttomelm);
var wait = new WebDriverWait(_driver, TimeSpan.FromSeconds(15));
Thread.Sleep(200);
Thread.Sleep(500);
}
}
catch
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
@@ -394,7 +416,7 @@ namespace BokBonCheck
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
try
{
@@ -422,7 +444,7 @@ namespace BokBonCheck
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}

View File

@@ -327,6 +327,12 @@
<Compile Include="마크\Check_Copy_Login.Designer.cs">
<DependentUpon>Check_Copy_Login.cs</DependentUpon>
</Compile>
<Compile Include="마크\Check_Copy_Sub_Selector.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="마크\Check_Copy_Sub_Selector.Designer.cs">
<DependentUpon>Check_Copy_Sub_Selector.cs</DependentUpon>
</Compile>
<Compile Include="마크\Help_007.cs">
<SubType>Form</SubType>
</Compile>
@@ -1024,6 +1030,9 @@
<EmbeddedResource Include="마크\Check_Copy_Login.resx">
<DependentUpon>Check_Copy_Login.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\Check_Copy_Sub_Selector.resx">
<DependentUpon>Check_Copy_Sub_Selector.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\Help_007.resx">
<DependentUpon>Help_007.cs</DependentUpon>
</EmbeddedResource>

View File

@@ -0,0 +1,149 @@

namespace UniMarc.
{
partial class Check_Copy_Sub_Selector
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
this.dv1 = new System.Windows.Forms.DataGridView();
this.lib_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panel1 = new System.Windows.Forms.Panel();
this.tbSearch = new System.Windows.Forms.TextBox();
this.btFind = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// dv1
//
this.dv1.AllowUserToAddRows = false;
this.dv1.AllowUserToDeleteRows = false;
this.dv1.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
this.dv1.BackgroundColor = System.Drawing.SystemColors.Control;
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.dv1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.dv1.ColumnHeadersHeight = 35;
this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.lib_name});
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
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.Padding = new System.Windows.Forms.Padding(0, 2, 0, 2);
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dv1.DefaultCellStyle = dataGridViewCellStyle2;
this.dv1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dv1.Location = new System.Drawing.Point(0, 0);
this.dv1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.dv1.Name = "dv1";
this.dv1.ReadOnly = true;
this.dv1.RowHeadersWidth = 51;
this.dv1.RowTemplate.Height = 23;
this.dv1.Size = new System.Drawing.Size(631, 823);
this.dv1.TabIndex = 0;
this.dv1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
this.dv1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
this.dv1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
//
// lib_name
//
this.lib_name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.lib_name.HeaderText = "도서관명";
this.lib_name.MinimumWidth = 6;
this.lib_name.Name = "lib_name";
this.lib_name.ReadOnly = true;
//
// panel1
//
this.panel1.Controls.Add(this.tbSearch);
this.panel1.Controls.Add(this.btFind);
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel1.Location = new System.Drawing.Point(0, 823);
this.panel1.Name = "panel1";
this.panel1.Padding = new System.Windows.Forms.Padding(3);
this.panel1.Size = new System.Drawing.Size(631, 45);
this.panel1.TabIndex = 1;
//
// tbSearch
//
this.tbSearch.Dock = System.Windows.Forms.DockStyle.Fill;
this.tbSearch.Font = new System.Drawing.Font("굴림", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tbSearch.Location = new System.Drawing.Point(3, 3);
this.tbSearch.Name = "tbSearch";
this.tbSearch.Size = new System.Drawing.Size(498, 38);
this.tbSearch.TabIndex = 0;
this.tbSearch.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// btFind
//
this.btFind.Dock = System.Windows.Forms.DockStyle.Right;
this.btFind.Location = new System.Drawing.Point(501, 3);
this.btFind.Name = "btFind";
this.btFind.Size = new System.Drawing.Size(127, 39);
this.btFind.TabIndex = 1;
this.btFind.Text = "검색";
this.btFind.UseVisualStyleBackColor = true;
this.btFind.Click += new System.EventHandler(this.btFind_Click);
//
// Check_Copy_Sub_Selector
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(631, 868);
this.Controls.Add(this.dv1);
this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.Name = "Check_Copy_Sub_Selector";
this.Text = "도서관 검색";
this.Load += new System.EventHandler(this.Check_Copy_Sub_Selector_Load);
((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.DataGridView dv1;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Button btFind;
private System.Windows.Forms.TextBox tbSearch;
private System.Windows.Forms.DataGridViewTextBoxColumn lib_name;
}
}

View File

@@ -0,0 +1,109 @@
using AR;
using Org.BouncyCastle.Utilities;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Windows.Forms.VisualStyles;
using WindowsFormsApp1;
using WindowsFormsApp1.Mac;
namespace UniMarc.
{
public partial class Check_Copy_Sub_Selector : Form
{
string[] Items;
public string SelectedValue = string.Empty;
public Check_Copy_Sub_Selector(string[] arrays, string search)
{
InitializeComponent();
this.KeyPreview = true;
tbSearch.Text = search;
this.Items = arrays;
this.KeyDown += (s1, e1) => {
if (e1.KeyCode == Keys.Escape) this.Close();
};
this.tbSearch.ImeMode = ImeMode.Hangul;
this.tbSearch.KeyDown += (s1, e1) => {
if (e1.KeyCode == Keys.Enter) btFind.PerformClick();
};
}
private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
{
Skill_Grid sg = new Skill_Grid();
sg.Print_Grid_Num(sender, e);
}
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
{
if (e.RowIndex < 0) return;
int row = e.RowIndex;
SetCode(e.RowIndex);
this.Close();
}
void SetCode(int rowindex)
{
var drow = dv1.Rows[rowindex];
var title = drow.Cells[0].Value?.ToString() ?? string.Empty;
this.SelectedValue = title;
}
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
if (dv1.Rows.Count <= 0) return;
SetCode(dv1.CurrentRow.Index);
this.Close();
}
if (e.KeyCode == Keys.Escape)
{
SelectedValue = string.Empty;
this.Close();
}
}
private void btFind_Click(object sender, EventArgs e)
{
var search = tbSearch.Text.Trim();
this.dv1.Rows.Clear();
foreach (var item in this.Items)
{
if (search.isEmpty() || item.ToLower().Contains(search.ToLower()))
this.dv1.Rows.Add(item);
}
if (search.isEmpty() == true)
{
tbSearch.Focus();
tbSearch.SelectAll();
}
else if (dv1.Rows.Count > 0)
{
dv1.Focus();
}
else
{
tbSearch.Focus();
tbSearch.SelectAll();
}
}
private void Check_Copy_Sub_Selector_Load(object sender, EventArgs e)
{
this.Show();
Application.DoEvents();
this.btFind.PerformClick();
}
}
}

View File

@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="lib_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

View File

@@ -29,8 +29,10 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
this.panel1 = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.nudAddDelay = new System.Windows.Forms.NumericUpDown();
this.chkShowBrowser = new System.Windows.Forms.CheckBox();
this.chkRetryErrData = new System.Windows.Forms.CheckBox();
this.groupBox1 = new System.Windows.Forms.GroupBox();
@@ -45,12 +47,17 @@
this.btn_Stop = new System.Windows.Forms.Button();
this.btn_Close = new System.Windows.Forms.Button();
this.tb_SearchTarget = new System.Windows.Forms.ComboBox();
this.btSearchLibrary = new System.Windows.Forms.Label();
this.btSearchLibrary = new System.Windows.Forms.Button();
this.panel2 = new System.Windows.Forms.Panel();
this.btn_SiteDenote = new System.Windows.Forms.Button();
this.lbl_PW = new System.Windows.Forms.Label();
this.lbl_ID = new System.Windows.Forms.Label();
this.dv1 = new System.Windows.Forms.DataGridView();
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Count = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_resulthtml = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -66,14 +73,8 @@
this.btn_GridReset = new System.Windows.Forms.Button();
this.btn_OpenMemo = new System.Windows.Forms.Button();
this.chk_spChar = new System.Windows.Forms.CheckBox();
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Count = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_resulthtml = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.nudAddDelay = new System.Windows.Forms.NumericUpDown();
this.label1 = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudAddDelay)).BeginInit();
this.groupBox1.SuspendLayout();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
@@ -82,7 +83,6 @@
this.panel6.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.panel4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudAddDelay)).BeginInit();
this.SuspendLayout();
//
// panel1
@@ -99,19 +99,39 @@
this.panel1.Controls.Add(this.btn_Start);
this.panel1.Controls.Add(this.btn_Stop);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 34);
this.panel1.Location = new System.Drawing.Point(0, 42);
this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(719, 106);
this.panel1.Size = new System.Drawing.Size(822, 132);
this.panel1.TabIndex = 0;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(639, 104);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(67, 15);
this.label1.TabIndex = 10;
this.label1.Text = "추가지연";
//
// nudAddDelay
//
this.nudAddDelay.Location = new System.Drawing.Point(706, 99);
this.nudAddDelay.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.nudAddDelay.Name = "nudAddDelay";
this.nudAddDelay.Size = new System.Drawing.Size(64, 25);
this.nudAddDelay.TabIndex = 9;
this.nudAddDelay.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// chkShowBrowser
//
this.chkShowBrowser.AutoSize = true;
this.chkShowBrowser.Checked = true;
this.chkShowBrowser.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkShowBrowser.Location = new System.Drawing.Point(618, 50);
this.chkShowBrowser.Location = new System.Drawing.Point(706, 62);
this.chkShowBrowser.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.chkShowBrowser.Name = "chkShowBrowser";
this.chkShowBrowser.Size = new System.Drawing.Size(96, 16);
this.chkShowBrowser.Size = new System.Drawing.Size(119, 19);
this.chkShowBrowser.TabIndex = 8;
this.chkShowBrowser.Text = "브라우저표시";
this.chkShowBrowser.UseVisualStyleBackColor = true;
@@ -121,9 +141,10 @@
this.chkRetryErrData.AutoSize = true;
this.chkRetryErrData.Checked = true;
this.chkRetryErrData.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkRetryErrData.Location = new System.Drawing.Point(319, 81);
this.chkRetryErrData.Location = new System.Drawing.Point(365, 101);
this.chkRetryErrData.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.chkRetryErrData.Name = "chkRetryErrData";
this.chkRetryErrData.Size = new System.Drawing.Size(188, 16);
this.chkRetryErrData.Size = new System.Drawing.Size(234, 19);
this.chkRetryErrData.TabIndex = 7;
this.chkRetryErrData.Text = "검색 후 오류 데이터 추가 검색";
this.chkRetryErrData.UseVisualStyleBackColor = true;
@@ -134,9 +155,11 @@
this.groupBox1.Controls.Add(this.radTargetEmpty);
this.groupBox1.Controls.Add(this.radTargetErrEmpty);
this.groupBox1.Controls.Add(this.radTargetAll);
this.groupBox1.Location = new System.Drawing.Point(318, 34);
this.groupBox1.Location = new System.Drawing.Point(363, 42);
this.groupBox1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(294, 39);
this.groupBox1.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.groupBox1.Size = new System.Drawing.Size(336, 49);
this.groupBox1.TabIndex = 6;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "검색대상";
@@ -144,9 +167,10 @@
// radTargetErr
//
this.radTargetErr.AutoSize = true;
this.radTargetErr.Location = new System.Drawing.Point(239, 16);
this.radTargetErr.Location = new System.Drawing.Point(273, 20);
this.radTargetErr.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.radTargetErr.Name = "radTargetErr";
this.radTargetErr.Size = new System.Drawing.Size(47, 16);
this.radTargetErr.Size = new System.Drawing.Size(58, 19);
this.radTargetErr.TabIndex = 9;
this.radTargetErr.Text = "오류";
this.radTargetErr.UseVisualStyleBackColor = true;
@@ -154,9 +178,10 @@
// radTargetEmpty
//
this.radTargetEmpty.AutoSize = true;
this.radTargetEmpty.Location = new System.Drawing.Point(172, 16);
this.radTargetEmpty.Location = new System.Drawing.Point(197, 20);
this.radTargetEmpty.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.radTargetEmpty.Name = "radTargetEmpty";
this.radTargetEmpty.Size = new System.Drawing.Size(47, 16);
this.radTargetEmpty.Size = new System.Drawing.Size(58, 19);
this.radTargetEmpty.TabIndex = 8;
this.radTargetEmpty.Text = "없음";
this.radTargetEmpty.UseVisualStyleBackColor = true;
@@ -164,9 +189,10 @@
// radTargetErrEmpty
//
this.radTargetErrEmpty.AutoSize = true;
this.radTargetErrEmpty.Location = new System.Drawing.Point(75, 16);
this.radTargetErrEmpty.Location = new System.Drawing.Point(86, 20);
this.radTargetErrEmpty.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.radTargetErrEmpty.Name = "radTargetErrEmpty";
this.radTargetErrEmpty.Size = new System.Drawing.Size(77, 16);
this.radTargetErrEmpty.Size = new System.Drawing.Size(96, 19);
this.radTargetErrEmpty.TabIndex = 7;
this.radTargetErrEmpty.Text = "오류+없음";
this.radTargetErrEmpty.UseVisualStyleBackColor = true;
@@ -175,9 +201,10 @@
//
this.radTargetAll.AutoSize = true;
this.radTargetAll.Checked = true;
this.radTargetAll.Location = new System.Drawing.Point(8, 16);
this.radTargetAll.Location = new System.Drawing.Point(9, 20);
this.radTargetAll.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.radTargetAll.Name = "radTargetAll";
this.radTargetAll.Size = new System.Drawing.Size(47, 16);
this.radTargetAll.Size = new System.Drawing.Size(58, 19);
this.radTargetAll.TabIndex = 6;
this.radTargetAll.TabStop = true;
this.radTargetAll.Text = "전체";
@@ -186,9 +213,10 @@
// rb_isNumber
//
this.rb_isNumber.AutoSize = true;
this.rb_isNumber.Location = new System.Drawing.Point(394, 8);
this.rb_isNumber.Location = new System.Drawing.Point(450, 10);
this.rb_isNumber.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.rb_isNumber.Name = "rb_isNumber";
this.rb_isNumber.Size = new System.Drawing.Size(71, 16);
this.rb_isNumber.Size = new System.Drawing.Size(88, 19);
this.rb_isNumber.TabIndex = 5;
this.rb_isNumber.TabStop = true;
this.rb_isNumber.Text = "숫자표출";
@@ -198,9 +226,10 @@
//
this.rb_isHave.AutoSize = true;
this.rb_isHave.Checked = true;
this.rb_isHave.Location = new System.Drawing.Point(318, 8);
this.rb_isHave.Location = new System.Drawing.Point(363, 10);
this.rb_isHave.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.rb_isHave.Name = "rb_isHave";
this.rb_isHave.Size = new System.Drawing.Size(71, 16);
this.rb_isHave.Size = new System.Drawing.Size(88, 19);
this.rb_isHave.TabIndex = 5;
this.rb_isHave.TabStop = true;
this.rb_isHave.Text = "소장표출";
@@ -208,9 +237,10 @@
//
// btn_SearchList
//
this.btn_SearchList.Location = new System.Drawing.Point(4, 4);
this.btn_SearchList.Location = new System.Drawing.Point(5, 5);
this.btn_SearchList.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_SearchList.Name = "btn_SearchList";
this.btn_SearchList.Size = new System.Drawing.Size(305, 93);
this.btn_SearchList.Size = new System.Drawing.Size(349, 116);
this.btn_SearchList.TabIndex = 3;
this.btn_SearchList.Text = "목록 검색";
this.btn_SearchList.UseVisualStyleBackColor = true;
@@ -218,9 +248,10 @@
//
// btn_Start
//
this.btn_Start.Location = new System.Drawing.Point(470, 4);
this.btn_Start.Location = new System.Drawing.Point(537, 5);
this.btn_Start.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_Start.Name = "btn_Start";
this.btn_Start.Size = new System.Drawing.Size(153, 24);
this.btn_Start.Size = new System.Drawing.Size(175, 30);
this.btn_Start.TabIndex = 2;
this.btn_Start.Text = "검색시작";
this.btn_Start.UseVisualStyleBackColor = true;
@@ -228,9 +259,10 @@
//
// btn_Stop
//
this.btn_Stop.Location = new System.Drawing.Point(631, 4);
this.btn_Stop.Location = new System.Drawing.Point(721, 5);
this.btn_Stop.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_Stop.Name = "btn_Stop";
this.btn_Stop.Size = new System.Drawing.Size(75, 24);
this.btn_Stop.Size = new System.Drawing.Size(86, 30);
this.btn_Stop.TabIndex = 2;
this.btn_Stop.Text = "검색중지";
this.btn_Stop.UseVisualStyleBackColor = true;
@@ -238,9 +270,10 @@
//
// btn_Close
//
this.btn_Close.Location = new System.Drawing.Point(631, 4);
this.btn_Close.Location = new System.Drawing.Point(721, 5);
this.btn_Close.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_Close.Name = "btn_Close";
this.btn_Close.Size = new System.Drawing.Size(75, 24);
this.btn_Close.Size = new System.Drawing.Size(86, 30);
this.btn_Close.TabIndex = 2;
this.btn_Close.Text = "닫 기";
this.btn_Close.UseVisualStyleBackColor = true;
@@ -248,13 +281,14 @@
//
// tb_SearchTarget
//
this.tb_SearchTarget.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this.tb_SearchTarget.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
this.tb_SearchTarget.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
this.tb_SearchTarget.Enabled = false;
this.tb_SearchTarget.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tb_SearchTarget.Location = new System.Drawing.Point(66, 6);
this.tb_SearchTarget.Location = new System.Drawing.Point(91, 8);
this.tb_SearchTarget.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tb_SearchTarget.Name = "tb_SearchTarget";
this.tb_SearchTarget.Size = new System.Drawing.Size(390, 20);
this.tb_SearchTarget.Size = new System.Drawing.Size(429, 23);
this.tb_SearchTarget.TabIndex = 1;
this.tb_SearchTarget.SelectedIndexChanged += new System.EventHandler(this.tb_SearchTarget_SelectedIndexChanged);
this.tb_SearchTarget.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_SearchTarget_KeyDown);
@@ -262,9 +296,9 @@
// btSearchLibrary
//
this.btSearchLibrary.AutoSize = true;
this.btSearchLibrary.Location = new System.Drawing.Point(7, 10);
this.btSearchLibrary.Location = new System.Drawing.Point(8, 7);
this.btSearchLibrary.Name = "btSearchLibrary";
this.btSearchLibrary.Size = new System.Drawing.Size(53, 12);
this.btSearchLibrary.Size = new System.Drawing.Size(77, 25);
this.btSearchLibrary.TabIndex = 0;
this.btSearchLibrary.Text = "검색대상";
this.btSearchLibrary.Click += new System.EventHandler(this.btSearchLibrary_Click);
@@ -280,15 +314,17 @@
this.panel2.Controls.Add(this.btn_Close);
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(0, 0);
this.panel2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(719, 34);
this.panel2.Size = new System.Drawing.Size(822, 42);
this.panel2.TabIndex = 0;
//
// btn_SiteDenote
//
this.btn_SiteDenote.Location = new System.Drawing.Point(470, 5);
this.btn_SiteDenote.Location = new System.Drawing.Point(537, 6);
this.btn_SiteDenote.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_SiteDenote.Name = "btn_SiteDenote";
this.btn_SiteDenote.Size = new System.Drawing.Size(155, 23);
this.btn_SiteDenote.Size = new System.Drawing.Size(177, 29);
this.btn_SiteDenote.TabIndex = 4;
this.btn_SiteDenote.Text = "사이트 표출";
this.btn_SiteDenote.UseVisualStyleBackColor = true;
@@ -297,18 +333,18 @@
// lbl_PW
//
this.lbl_PW.AutoSize = true;
this.lbl_PW.Location = new System.Drawing.Point(379, 10);
this.lbl_PW.Location = new System.Drawing.Point(433, 12);
this.lbl_PW.Name = "lbl_PW";
this.lbl_PW.Size = new System.Drawing.Size(9, 12);
this.lbl_PW.Size = new System.Drawing.Size(12, 15);
this.lbl_PW.TabIndex = 3;
this.lbl_PW.Text = " ";
//
// lbl_ID
//
this.lbl_ID.AutoSize = true;
this.lbl_ID.Location = new System.Drawing.Point(316, 10);
this.lbl_ID.Location = new System.Drawing.Point(361, 12);
this.lbl_ID.Name = "lbl_ID";
this.lbl_ID.Size = new System.Drawing.Size(9, 12);
this.lbl_ID.Size = new System.Drawing.Size(12, 15);
this.lbl_ID.TabIndex = 3;
this.lbl_ID.Text = " ";
//
@@ -318,14 +354,14 @@
this.dv1.BackgroundColor = System.Drawing.SystemColors.Control;
this.dv1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.dv1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
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.dv1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
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.dv1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.book_name,
@@ -336,40 +372,82 @@
this.dv1.ContextMenuStrip = this.contextMenuStrip1;
this.dv1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dv1.Location = new System.Drawing.Point(0, 0);
this.dv1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.dv1.Name = "dv1";
this.dv1.RowHeadersWidth = 51;
this.dv1.RowTemplate.Height = 23;
this.dv1.Size = new System.Drawing.Size(719, 542);
this.dv1.Size = new System.Drawing.Size(822, 680);
this.dv1.TabIndex = 1;
this.dv1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
this.dv1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
//
// book_name
//
this.book_name.HeaderText = "도서명(총서명)";
this.book_name.MinimumWidth = 6;
this.book_name.Name = "book_name";
this.book_name.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.book_name.Width = 300;
//
// book_comp
//
this.book_comp.HeaderText = "출판사";
this.book_comp.MinimumWidth = 6;
this.book_comp.Name = "book_comp";
this.book_comp.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.book_comp.Width = 120;
//
// Count
//
this.Count.HeaderText = "검색 수";
this.Count.MinimumWidth = 6;
this.Count.Name = "Count";
this.Count.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.Count.Width = 50;
//
// dvc_remark
//
this.dvc_remark.HeaderText = "비고";
this.dvc_remark.MinimumWidth = 6;
this.dvc_remark.Name = "dvc_remark";
this.dvc_remark.Width = 110;
//
// dvc_resulthtml
//
this.dvc_resulthtml.HeaderText = "결과";
this.dvc_resulthtml.MinimumWidth = 6;
this.dvc_resulthtml.Name = "dvc_resulthtml";
this.dvc_resulthtml.Width = 125;
//
// contextMenuStrip1
//
this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem,
this.ToolStripMenuItem});
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(215, 48);
this.contextMenuStrip1.Size = new System.Drawing.Size(254, 52);
//
// 유니코드문자로붙여넝ㅎ기ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "유니코드문자로붙여넝ㅎ기ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(214, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(253, 24);
this.ToolStripMenuItem.Text = "유니코드 문자로 붙여넣기";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 일반문자로붙여넣기ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "일반문자로붙여넣기ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(214, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(253, 24);
this.ToolStripMenuItem.Text = "일반 문자로 붙여넣기";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// btn_ApplyFilter
//
this.btn_ApplyFilter.Location = new System.Drawing.Point(317, 4);
this.btn_ApplyFilter.Location = new System.Drawing.Point(362, 5);
this.btn_ApplyFilter.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_ApplyFilter.Name = "btn_ApplyFilter";
this.btn_ApplyFilter.Size = new System.Drawing.Size(75, 24);
this.btn_ApplyFilter.Size = new System.Drawing.Size(86, 30);
this.btn_ApplyFilter.TabIndex = 2;
this.btn_ApplyFilter.Text = "필터적용";
this.btn_ApplyFilter.UseVisualStyleBackColor = true;
@@ -383,8 +461,9 @@
this.panel3.Controls.Add(this.panel2);
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Location = new System.Drawing.Point(0, 0);
this.panel3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(719, 738);
this.panel3.Size = new System.Drawing.Size(822, 922);
this.panel3.TabIndex = 3;
//
// panel6
@@ -392,32 +471,35 @@
this.panel6.Controls.Add(this.dv1);
this.panel6.Controls.Add(this.statusStrip1);
this.panel6.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel6.Location = new System.Drawing.Point(0, 174);
this.panel6.Location = new System.Drawing.Point(0, 216);
this.panel6.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(719, 564);
this.panel6.Size = new System.Drawing.Size(822, 706);
this.panel6.TabIndex = 3;
//
// statusStrip1
//
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.lblStatus,
this.lbSite});
this.statusStrip1.Location = new System.Drawing.Point(0, 542);
this.statusStrip1.Location = new System.Drawing.Point(0, 680);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(719, 22);
this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 16, 0);
this.statusStrip1.Size = new System.Drawing.Size(822, 26);
this.statusStrip1.TabIndex = 2;
this.statusStrip1.Text = "statusStrip1";
//
// lblStatus
//
this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(27, 20);
this.lblStatus.Size = new System.Drawing.Size(34, 24);
this.lblStatus.Text = "WD";
//
// lbSite
//
this.lbSite.Name = "lbSite";
this.lbSite.Size = new System.Drawing.Size(55, 17);
this.lbSite.Size = new System.Drawing.Size(68, 20);
this.lbSite.Text = "-- Site --";
//
// panel4
@@ -430,26 +512,29 @@
this.panel4.Controls.Add(this.btn_ApplyFilter);
this.panel4.Controls.Add(this.chk_spChar);
this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
this.panel4.Location = new System.Drawing.Point(0, 140);
this.panel4.Location = new System.Drawing.Point(0, 174);
this.panel4.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(719, 34);
this.panel4.Size = new System.Drawing.Size(822, 42);
this.panel4.TabIndex = 2;
//
// chk_RemoveBrit
//
this.chk_RemoveBrit.AutoSize = true;
this.chk_RemoveBrit.Location = new System.Drawing.Point(113, 8);
this.chk_RemoveBrit.Location = new System.Drawing.Point(129, 10);
this.chk_RemoveBrit.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.chk_RemoveBrit.Name = "chk_RemoveBrit";
this.chk_RemoveBrit.Size = new System.Drawing.Size(128, 16);
this.chk_RemoveBrit.Size = new System.Drawing.Size(159, 19);
this.chk_RemoveBrit.TabIndex = 0;
this.chk_RemoveBrit.Text = "괄호안의 문자 제거";
this.chk_RemoveBrit.UseVisualStyleBackColor = true;
//
// btn_ResultEmpty
//
this.btn_ResultEmpty.Location = new System.Drawing.Point(471, 4);
this.btn_ResultEmpty.Location = new System.Drawing.Point(538, 5);
this.btn_ResultEmpty.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_ResultEmpty.Name = "btn_ResultEmpty";
this.btn_ResultEmpty.Size = new System.Drawing.Size(75, 24);
this.btn_ResultEmpty.Size = new System.Drawing.Size(86, 30);
this.btn_ResultEmpty.TabIndex = 2;
this.btn_ResultEmpty.Text = "결과 비움";
this.btn_ResultEmpty.UseVisualStyleBackColor = true;
@@ -457,9 +542,10 @@
//
// btn_GridReset
//
this.btn_GridReset.Location = new System.Drawing.Point(548, 4);
this.btn_GridReset.Location = new System.Drawing.Point(626, 5);
this.btn_GridReset.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_GridReset.Name = "btn_GridReset";
this.btn_GridReset.Size = new System.Drawing.Size(75, 24);
this.btn_GridReset.Size = new System.Drawing.Size(86, 30);
this.btn_GridReset.TabIndex = 2;
this.btn_GridReset.Text = "표 비우기";
this.btn_GridReset.UseVisualStyleBackColor = true;
@@ -467,9 +553,10 @@
//
// btn_OpenMemo
//
this.btn_OpenMemo.Location = new System.Drawing.Point(394, 4);
this.btn_OpenMemo.Location = new System.Drawing.Point(450, 5);
this.btn_OpenMemo.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_OpenMemo.Name = "btn_OpenMemo";
this.btn_OpenMemo.Size = new System.Drawing.Size(75, 24);
this.btn_OpenMemo.Size = new System.Drawing.Size(86, 30);
this.btn_OpenMemo.TabIndex = 2;
this.btn_OpenMemo.Text = ".txt 열기";
this.btn_OpenMemo.UseVisualStyleBackColor = true;
@@ -478,74 +565,28 @@
// chk_spChar
//
this.chk_spChar.AutoSize = true;
this.chk_spChar.Location = new System.Drawing.Point(7, 8);
this.chk_spChar.Location = new System.Drawing.Point(8, 10);
this.chk_spChar.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.chk_spChar.Name = "chk_spChar";
this.chk_spChar.Size = new System.Drawing.Size(100, 16);
this.chk_spChar.Size = new System.Drawing.Size(124, 19);
this.chk_spChar.TabIndex = 0;
this.chk_spChar.Text = "특수문자 제거";
this.chk_spChar.UseVisualStyleBackColor = true;
//
// book_name
//
this.book_name.HeaderText = "도서명(총서명)";
this.book_name.Name = "book_name";
this.book_name.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.book_name.Width = 300;
//
// book_comp
//
this.book_comp.HeaderText = "출판사";
this.book_comp.Name = "book_comp";
this.book_comp.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.book_comp.Width = 120;
//
// Count
//
this.Count.HeaderText = "검색 수";
this.Count.Name = "Count";
this.Count.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.Count.Width = 50;
//
// dvc_remark
//
this.dvc_remark.HeaderText = "비고";
this.dvc_remark.Name = "dvc_remark";
this.dvc_remark.Width = 110;
//
// dvc_resulthtml
//
this.dvc_resulthtml.HeaderText = "결과";
this.dvc_resulthtml.Name = "dvc_resulthtml";
//
// nudAddDelay
//
this.nudAddDelay.Location = new System.Drawing.Point(618, 79);
this.nudAddDelay.Name = "nudAddDelay";
this.nudAddDelay.Size = new System.Drawing.Size(56, 21);
this.nudAddDelay.TabIndex = 9;
this.nudAddDelay.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(559, 83);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(53, 12);
this.label1.TabIndex = 10;
this.label1.Text = "추가지연";
//
// Check_copyWD
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(719, 738);
this.ClientSize = new System.Drawing.Size(822, 922);
this.Controls.Add(this.panel3);
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.Name = "Check_copyWD";
this.Text = "복본조사(New)";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Check_copy_FormClosing);
this.Load += new System.EventHandler(this.Check_copy_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.nudAddDelay)).EndInit();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.panel2.ResumeLayout(false);
@@ -559,7 +600,6 @@
this.statusStrip1.PerformLayout();
this.panel4.ResumeLayout(false);
this.panel4.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.nudAddDelay)).EndInit();
this.ResumeLayout(false);
}
@@ -567,7 +607,7 @@
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label btSearchLibrary;
private System.Windows.Forms.Button btSearchLibrary;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Button btn_Close;
private System.Windows.Forms.Button btn_Stop;

View File

@@ -13,6 +13,7 @@ using System.Linq;
using UniMarc;
using System.Globalization;
using System.Threading.Tasks;
using System.Collections.Generic;
namespace WindowsFormsApp1.Mac
{
@@ -554,13 +555,23 @@ namespace WindowsFormsApp1.Mac
string Target = tb_SearchTarget.Text;
// if (Target == "") { MessageBox.Show("도서관명이 비어있습니다."); return; }
string area = "`Province`, `Area`, `LibName`, `Code`, `URL`, `SearcherNo`";
string cmd = string.Format("SELECT {0} FROM `lib_CopyCheck` WHERE CONCAT( province , '_' , AREA , '_' , libname) LIKE '%{1}%' and ifnull(searcherno,0) > 0 ;", area, Target);
string data = db.self_Made_Cmd(cmd);
string[] ary = data.Split('|');
Check_Copy_Sub_Search ccs = new Check_Copy_Sub_Search(this);
ccs.Init(ary, Target);
ccs.Show();
List<string> items = new List<string>();
foreach (string item in tb_SearchTarget.Items)
{
if (items.Contains(item) == false) items.Add(item);
}
//string area = "`Province`, `Area`, `LibName`, `Code`, `URL`, `SearcherNo`";
//string cmd = string.Format("SELECT {0} FROM `lib_CopyCheck` WHERE CONCAT( province , '_' , AREA , '_' , libname) LIKE '%{1}%' and ifnull(searcherno,0) > 0 ;", area, Target);
//string data = db.self_Made_Cmd(cmd);
string[] ary = items.ToArray();// data.Split('|');
using (var ccs = new Check_Copy_Sub_Selector(items.ToArray(), Target))
{
ccs.ShowDialog();
if (ccs.SelectedValue.isEmpty() == false)
tb_SearchTarget.Text = ccs.SelectedValue;
}
}
private void btn_SearchList_Click(object sender, EventArgs e)
@@ -712,7 +723,7 @@ namespace WindowsFormsApp1.Mac
drow.DefaultCellStyle.BackColor = Color.HotPink;
drow.DefaultCellStyle.ForeColor = Color.Blue;
}
if(addDelay > 0)
if (addDelay > 0)
await Task.Delay(addDelay);
}
@@ -1004,7 +1015,7 @@ namespace WindowsFormsApp1.Mac
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
Skill_Grid sg = new Skill_Grid();
var newkey = new KeyEventArgs(Keys.Control | Keys.V | Keys.Alt );
var newkey = new KeyEventArgs(Keys.Control | Keys.V | Keys.Alt);
sg.Excel_to_DataGridView(this.dv1, newkey);
}

View File

@@ -138,4 +138,7 @@
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -32,12 +32,18 @@
this.panel1 = new System.Windows.Forms.Panel();
this.panel8 = new System.Windows.Forms.Panel();
this.dv1 = new System.Windows.Forms.DataGridView();
this.Book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ISBN = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_count = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_Remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panel5 = new System.Windows.Forms.Panel();
this.chkShowBrowser = new System.Windows.Forms.CheckBox();
this.btn_ResultEmpty = new System.Windows.Forms.Button();
this.btn_GridReset = new System.Windows.Forms.Button();
this.chk_RemoveBrit = new System.Windows.Forms.CheckBox();
this.chk_spChar = new System.Windows.Forms.CheckBox();
this.btn_ApplyFilter = new System.Windows.Forms.Button();
this.panel3 = new System.Windows.Forms.Panel();
this.chkShowBrowser = new System.Windows.Forms.CheckBox();
this.label2 = new System.Windows.Forms.Label();
this.rBtn_ISBN = new System.Windows.Forms.RadioButton();
this.btnStop = new System.Windows.Forms.Button();
@@ -53,12 +59,8 @@
this.tb_SearchClient = new System.Windows.Forms.TextBox();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.lblStatus = new System.Windows.Forms.ToolStripLabel();
this.btn_ResultEmpty = new System.Windows.Forms.Button();
this.btn_GridReset = new System.Windows.Forms.Button();
this.Book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ISBN = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_count = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dvc_Remark = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.label3 = new System.Windows.Forms.Label();
this.nudAddDelay = new System.Windows.Forms.NumericUpDown();
this.panel1.SuspendLayout();
this.panel8.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
@@ -66,14 +68,16 @@
this.panel3.SuspendLayout();
this.panel2.SuspendLayout();
this.statusStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.nudAddDelay)).BeginInit();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(7, 5);
this.label1.Location = new System.Drawing.Point(8, 6);
this.label1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(63, 22);
this.label1.Size = new System.Drawing.Size(88, 31);
this.label1.TabIndex = 0;
this.label1.Text = "납품처명";
this.label1.Click += new System.EventHandler(this.label1_Click);
@@ -87,17 +91,19 @@
this.panel1.Controls.Add(this.panel2);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(640, 699);
this.panel1.Size = new System.Drawing.Size(731, 879);
this.panel1.TabIndex = 1;
//
// panel8
//
this.panel8.Controls.Add(this.dv1);
this.panel8.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel8.Location = new System.Drawing.Point(0, 103);
this.panel8.Location = new System.Drawing.Point(0, 127);
this.panel8.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel8.Name = "panel8";
this.panel8.Size = new System.Drawing.Size(638, 594);
this.panel8.Size = new System.Drawing.Size(729, 750);
this.panel8.TabIndex = 5;
//
// dv1
@@ -112,14 +118,44 @@
this.dvc_Remark});
this.dv1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dv1.Location = new System.Drawing.Point(0, 0);
this.dv1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.dv1.Name = "dv1";
this.dv1.RowHeadersWidth = 31;
this.dv1.RowTemplate.Height = 23;
this.dv1.Size = new System.Drawing.Size(638, 594);
this.dv1.Size = new System.Drawing.Size(729, 750);
this.dv1.TabIndex = 0;
this.dv1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
this.dv1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
//
// Book_name
//
this.Book_name.HeaderText = "도서명";
this.Book_name.MinimumWidth = 6;
this.Book_name.Name = "Book_name";
this.Book_name.Width = 140;
//
// ISBN
//
this.ISBN.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.ISBN.HeaderText = "ISBN";
this.ISBN.MinimumWidth = 6;
this.ISBN.Name = "ISBN";
this.ISBN.Width = 140;
//
// dvc_count
//
this.dvc_count.HeaderText = "검색";
this.dvc_count.MinimumWidth = 6;
this.dvc_count.Name = "dvc_count";
this.dvc_count.Width = 125;
//
// dvc_Remark
//
this.dvc_Remark.HeaderText = "비고";
this.dvc_Remark.MinimumWidth = 6;
this.dvc_Remark.Name = "dvc_Remark";
this.dvc_Remark.Width = 200;
//
// panel5
//
this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
@@ -129,30 +165,41 @@
this.panel5.Controls.Add(this.chk_spChar);
this.panel5.Controls.Add(this.btn_ApplyFilter);
this.panel5.Dock = System.Windows.Forms.DockStyle.Top;
this.panel5.Location = new System.Drawing.Point(0, 68);
this.panel5.Location = new System.Drawing.Point(0, 84);
this.panel5.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(638, 35);
this.panel5.Size = new System.Drawing.Size(729, 43);
this.panel5.TabIndex = 4;
//
// chkShowBrowser
// btn_ResultEmpty
//
this.chkShowBrowser.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.chkShowBrowser.AutoSize = true;
this.chkShowBrowser.Checked = true;
this.chkShowBrowser.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkShowBrowser.Location = new System.Drawing.Point(354, 9);
this.chkShowBrowser.Name = "chkShowBrowser";
this.chkShowBrowser.Size = new System.Drawing.Size(96, 16);
this.chkShowBrowser.TabIndex = 209;
this.chkShowBrowser.Text = "브라우저표시";
this.chkShowBrowser.UseVisualStyleBackColor = true;
this.btn_ResultEmpty.Location = new System.Drawing.Point(546, 5);
this.btn_ResultEmpty.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_ResultEmpty.Name = "btn_ResultEmpty";
this.btn_ResultEmpty.Size = new System.Drawing.Size(86, 30);
this.btn_ResultEmpty.TabIndex = 6;
this.btn_ResultEmpty.Text = "결과 비움";
this.btn_ResultEmpty.UseVisualStyleBackColor = true;
this.btn_ResultEmpty.Click += new System.EventHandler(this.btn_ResultEmpty_Click);
//
// btn_GridReset
//
this.btn_GridReset.Location = new System.Drawing.Point(634, 5);
this.btn_GridReset.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_GridReset.Name = "btn_GridReset";
this.btn_GridReset.Size = new System.Drawing.Size(86, 30);
this.btn_GridReset.TabIndex = 7;
this.btn_GridReset.Text = "표 비우기";
this.btn_GridReset.UseVisualStyleBackColor = true;
this.btn_GridReset.Click += new System.EventHandler(this.btn_GridReset_Click);
//
// chk_RemoveBrit
//
this.chk_RemoveBrit.AutoSize = true;
this.chk_RemoveBrit.Location = new System.Drawing.Point(116, 8);
this.chk_RemoveBrit.Location = new System.Drawing.Point(133, 10);
this.chk_RemoveBrit.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.chk_RemoveBrit.Name = "chk_RemoveBrit";
this.chk_RemoveBrit.Size = new System.Drawing.Size(128, 16);
this.chk_RemoveBrit.Size = new System.Drawing.Size(159, 19);
this.chk_RemoveBrit.TabIndex = 3;
this.chk_RemoveBrit.Text = "괄호안의 문자 제거";
this.chk_RemoveBrit.UseVisualStyleBackColor = true;
@@ -160,9 +207,10 @@
// chk_spChar
//
this.chk_spChar.AutoSize = true;
this.chk_spChar.Location = new System.Drawing.Point(10, 8);
this.chk_spChar.Location = new System.Drawing.Point(11, 10);
this.chk_spChar.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.chk_spChar.Name = "chk_spChar";
this.chk_spChar.Size = new System.Drawing.Size(100, 16);
this.chk_spChar.Size = new System.Drawing.Size(124, 19);
this.chk_spChar.TabIndex = 4;
this.chk_spChar.Text = "특수문자 제거";
this.chk_spChar.UseVisualStyleBackColor = true;
@@ -170,9 +218,10 @@
// btn_ApplyFilter
//
this.btn_ApplyFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_ApplyFilter.Location = new System.Drawing.Point(258, 4);
this.btn_ApplyFilter.Location = new System.Drawing.Point(295, 5);
this.btn_ApplyFilter.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_ApplyFilter.Name = "btn_ApplyFilter";
this.btn_ApplyFilter.Size = new System.Drawing.Size(75, 24);
this.btn_ApplyFilter.Size = new System.Drawing.Size(86, 30);
this.btn_ApplyFilter.TabIndex = 5;
this.btn_ApplyFilter.Text = "필터적용";
this.btn_ApplyFilter.UseVisualStyleBackColor = true;
@@ -181,6 +230,8 @@
// panel3
//
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel3.Controls.Add(this.label3);
this.panel3.Controls.Add(this.nudAddDelay);
this.panel3.Controls.Add(this.chkShowBrowser);
this.panel3.Controls.Add(this.label2);
this.panel3.Controls.Add(this.rBtn_ISBN);
@@ -188,17 +239,32 @@
this.panel3.Controls.Add(this.btn_Search);
this.panel3.Controls.Add(this.rBtn_BookName);
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
this.panel3.Location = new System.Drawing.Point(0, 33);
this.panel3.Location = new System.Drawing.Point(0, 41);
this.panel3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(638, 35);
this.panel3.Size = new System.Drawing.Size(729, 43);
this.panel3.TabIndex = 4;
//
// chkShowBrowser
//
this.chkShowBrowser.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.chkShowBrowser.AutoSize = true;
this.chkShowBrowser.Checked = true;
this.chkShowBrowser.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkShowBrowser.Location = new System.Drawing.Point(395, 11);
this.chkShowBrowser.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.chkShowBrowser.Name = "chkShowBrowser";
this.chkShowBrowser.Size = new System.Drawing.Size(119, 19);
this.chkShowBrowser.TabIndex = 209;
this.chkShowBrowser.Text = "브라우저표시";
this.chkShowBrowser.UseVisualStyleBackColor = true;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(7, 11);
this.label2.Location = new System.Drawing.Point(8, 14);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(53, 12);
this.label2.Size = new System.Drawing.Size(67, 15);
this.label2.TabIndex = 3;
this.label2.Text = "검색조건";
//
@@ -206,9 +272,10 @@
//
this.rBtn_ISBN.AutoSize = true;
this.rBtn_ISBN.Checked = true;
this.rBtn_ISBN.Location = new System.Drawing.Point(153, 9);
this.rBtn_ISBN.Location = new System.Drawing.Point(175, 11);
this.rBtn_ISBN.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.rBtn_ISBN.Name = "rBtn_ISBN";
this.rBtn_ISBN.Size = new System.Drawing.Size(51, 16);
this.rBtn_ISBN.Size = new System.Drawing.Size(60, 19);
this.rBtn_ISBN.TabIndex = 4;
this.rBtn_ISBN.TabStop = true;
this.rBtn_ISBN.Text = "ISBN";
@@ -216,9 +283,10 @@
//
// btnStop
//
this.btnStop.Location = new System.Drawing.Point(283, 5);
this.btnStop.Location = new System.Drawing.Point(323, 6);
this.btnStop.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btnStop.Name = "btnStop";
this.btnStop.Size = new System.Drawing.Size(65, 23);
this.btnStop.Size = new System.Drawing.Size(74, 29);
this.btnStop.TabIndex = 2;
this.btnStop.Text = "중 지";
this.btnStop.UseVisualStyleBackColor = true;
@@ -226,9 +294,10 @@
//
// btn_Search
//
this.btn_Search.Location = new System.Drawing.Point(217, 5);
this.btn_Search.Location = new System.Drawing.Point(248, 6);
this.btn_Search.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_Search.Name = "btn_Search";
this.btn_Search.Size = new System.Drawing.Size(65, 23);
this.btn_Search.Size = new System.Drawing.Size(74, 29);
this.btn_Search.TabIndex = 2;
this.btn_Search.Text = "검 색";
this.btn_Search.UseVisualStyleBackColor = true;
@@ -237,9 +306,10 @@
// rBtn_BookName
//
this.rBtn_BookName.AutoSize = true;
this.rBtn_BookName.Location = new System.Drawing.Point(68, 9);
this.rBtn_BookName.Location = new System.Drawing.Point(78, 11);
this.rBtn_BookName.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.rBtn_BookName.Name = "rBtn_BookName";
this.rBtn_BookName.Size = new System.Drawing.Size(59, 16);
this.rBtn_BookName.Size = new System.Drawing.Size(73, 19);
this.rBtn_BookName.TabIndex = 4;
this.rBtn_BookName.Text = "도서명";
this.rBtn_BookName.UseVisualStyleBackColor = true;
@@ -257,16 +327,18 @@
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.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(638, 33);
this.panel2.Size = new System.Drawing.Size(729, 41);
this.panel2.TabIndex = 3;
//
// btn_SiteDenote
//
this.btn_SiteDenote.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_SiteDenote.Location = new System.Drawing.Point(555, 5);
this.btn_SiteDenote.Location = new System.Drawing.Point(634, 6);
this.btn_SiteDenote.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_SiteDenote.Name = "btn_SiteDenote";
this.btn_SiteDenote.Size = new System.Drawing.Size(77, 23);
this.btn_SiteDenote.Size = new System.Drawing.Size(88, 29);
this.btn_SiteDenote.TabIndex = 6;
this.btn_SiteDenote.Text = "사이트 표출";
this.btn_SiteDenote.UseVisualStyleBackColor = true;
@@ -275,9 +347,10 @@
// btn_Connect
//
this.btn_Connect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_Connect.Location = new System.Drawing.Point(479, 5);
this.btn_Connect.Location = new System.Drawing.Point(547, 6);
this.btn_Connect.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.btn_Connect.Name = "btn_Connect";
this.btn_Connect.Size = new System.Drawing.Size(70, 23);
this.btn_Connect.Size = new System.Drawing.Size(80, 29);
this.btn_Connect.TabIndex = 5;
this.btn_Connect.Text = "접속";
this.btn_Connect.UseVisualStyleBackColor = true;
@@ -286,36 +359,36 @@
// lbl_PW
//
this.lbl_PW.AutoSize = true;
this.lbl_PW.Location = new System.Drawing.Point(297, 37);
this.lbl_PW.Location = new System.Drawing.Point(339, 46);
this.lbl_PW.Name = "lbl_PW";
this.lbl_PW.Size = new System.Drawing.Size(23, 12);
this.lbl_PW.Size = new System.Drawing.Size(31, 15);
this.lbl_PW.TabIndex = 3;
this.lbl_PW.Text = "PW";
//
// lbl_Area
//
this.lbl_Area.AutoSize = true;
this.lbl_Area.Location = new System.Drawing.Point(97, 37);
this.lbl_Area.Location = new System.Drawing.Point(111, 46);
this.lbl_Area.Name = "lbl_Area";
this.lbl_Area.Size = new System.Drawing.Size(31, 12);
this.lbl_Area.Size = new System.Drawing.Size(36, 15);
this.lbl_Area.TabIndex = 3;
this.lbl_Area.Text = "Area";
//
// lbl_ID
//
this.lbl_ID.AutoSize = true;
this.lbl_ID.Location = new System.Drawing.Point(185, 37);
this.lbl_ID.Location = new System.Drawing.Point(211, 46);
this.lbl_ID.Name = "lbl_ID";
this.lbl_ID.Size = new System.Drawing.Size(16, 12);
this.lbl_ID.Size = new System.Drawing.Size(20, 15);
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.Location = new System.Drawing.Point(8, 46);
this.lbl_Client.Name = "lbl_Client";
this.lbl_Client.Size = new System.Drawing.Size(37, 12);
this.lbl_Client.Size = new System.Drawing.Size(43, 15);
this.lbl_Client.TabIndex = 3;
this.lbl_Client.Text = "Client";
//
@@ -324,80 +397,58 @@
this.tb_SearchClient.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.tb_SearchClient.ImeMode = System.Windows.Forms.ImeMode.Hangul;
this.tb_SearchClient.Location = new System.Drawing.Point(76, 6);
this.tb_SearchClient.Location = new System.Drawing.Point(87, 8);
this.tb_SearchClient.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tb_SearchClient.Name = "tb_SearchClient";
this.tb_SearchClient.Size = new System.Drawing.Size(397, 21);
this.tb_SearchClient.Size = new System.Drawing.Size(453, 25);
this.tb_SearchClient.TabIndex = 1;
this.tb_SearchClient.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_SearchClient_KeyDown);
//
// statusStrip1
//
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.lblStatus});
this.statusStrip1.Location = new System.Drawing.Point(0, 699);
this.statusStrip1.Location = new System.Drawing.Point(0, 879);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(640, 22);
this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 16, 0);
this.statusStrip1.Size = new System.Drawing.Size(731, 22);
this.statusStrip1.TabIndex = 3;
this.statusStrip1.Text = "statusStrip1";
//
// lblStatus
//
this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(27, 20);
this.lblStatus.Size = new System.Drawing.Size(34, 20);
this.lblStatus.Text = "WD";
this.lblStatus.Click += new System.EventHandler(this.lblStatus_Click);
//
// btn_ResultEmpty
// label3
//
this.btn_ResultEmpty.Location = new System.Drawing.Point(478, 4);
this.btn_ResultEmpty.Name = "btn_ResultEmpty";
this.btn_ResultEmpty.Size = new System.Drawing.Size(75, 24);
this.btn_ResultEmpty.TabIndex = 6;
this.btn_ResultEmpty.Text = "결과 비움";
this.btn_ResultEmpty.UseVisualStyleBackColor = true;
this.btn_ResultEmpty.Click += new System.EventHandler(this.btn_ResultEmpty_Click);
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(591, 13);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(67, 15);
this.label3.TabIndex = 211;
this.label3.Text = "추가지연";
//
// btn_GridReset
// nudAddDelay
//
this.btn_GridReset.Location = new System.Drawing.Point(555, 4);
this.btn_GridReset.Name = "btn_GridReset";
this.btn_GridReset.Size = new System.Drawing.Size(75, 24);
this.btn_GridReset.TabIndex = 7;
this.btn_GridReset.Text = "표 비우기";
this.btn_GridReset.UseVisualStyleBackColor = true;
this.btn_GridReset.Click += new System.EventHandler(this.btn_GridReset_Click);
//
// Book_name
//
this.Book_name.HeaderText = "도서명";
this.Book_name.Name = "Book_name";
this.Book_name.Width = 140;
//
// ISBN
//
this.ISBN.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.ISBN.HeaderText = "ISBN";
this.ISBN.Name = "ISBN";
this.ISBN.Width = 140;
//
// dvc_count
//
this.dvc_count.HeaderText = "검색";
this.dvc_count.Name = "dvc_count";
//
// dvc_Remark
//
this.dvc_Remark.HeaderText = "비고";
this.dvc_Remark.Name = "dvc_Remark";
this.dvc_Remark.Width = 200;
this.nudAddDelay.Location = new System.Drawing.Point(658, 8);
this.nudAddDelay.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.nudAddDelay.Name = "nudAddDelay";
this.nudAddDelay.Size = new System.Drawing.Size(64, 25);
this.nudAddDelay.TabIndex = 210;
this.nudAddDelay.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// DLS_Copy
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(640, 721);
this.ClientSize = new System.Drawing.Size(731, 901);
this.Controls.Add(this.panel1);
this.Controls.Add(this.statusStrip1);
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.Name = "DLS_Copy";
this.Text = "DLS 복본조사";
this.Load += new System.EventHandler(this.DLS_Copy_Load);
@@ -412,6 +463,7 @@
this.panel2.PerformLayout();
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.nudAddDelay)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -450,5 +502,7 @@
private System.Windows.Forms.DataGridViewTextBoxColumn ISBN;
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_count;
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_Remark;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.NumericUpDown nudAddDelay;
}
}

View File

@@ -212,6 +212,8 @@ namespace WindowsFormsApp1.Mac
var sType = rBtn_ISBN.Checked ? "ea_isbn" : "title";
_searcher.SetParameter(this.lbl_ID.Text, lbl_PW.Text, "유덕초등학교", sType);
int addDelay = (int)nudAddDelay.Value * 1000; //추가 지연시간 : 1개의 레코드 처리 후 추가 지연한다.
foreach (DataGridViewRow dr in this.dv1.Rows)
{
var title = dr.Cells[0].Value?.ToString() ?? string.Empty;
@@ -232,6 +234,9 @@ namespace WindowsFormsApp1.Mac
else
dr.DefaultCellStyle.BackColor = Color.LightSkyBlue;
}
if (addDelay > 0)
await Task.Delay(addDelay);
}

File diff suppressed because it is too large Load Diff