=====* UniMarc [0.0150] 버전 업데이트 내용 *=====
** ERP 작업 전면 중단 (마크우선) ** 1. 마크 추가 ㄴ> 마크 검색 시 내부DB보다 외부DB를 먼저 가져오는 경우가 있음. => 정렬로 해결. ㄴ> 검색 후 내부DB마크 선택하고 저장할 경우, UPDATE가 아닌 INSERT로 들어가는 버그 해결 ㄴ> "코리스 검색" -> "미소장마크 코리스 일괄 검색기능" 으로 변경. => 미소장마크 일괄 검색하여 목록으로 가져옴. (저장은 하지않음) 2. 자잘한 버그 수정
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -26,3 +26,4 @@ Output_Excel/
|
||||
Test_DLS/
|
||||
MarcCroling/
|
||||
OutPutMarc/
|
||||
GolfTicketing/
|
||||
Binary file not shown.
Binary file not shown.
34
unimarc/unimarc/Main.Designer.cs
generated
34
unimarc/unimarc/Main.Designer.cs
generated
@@ -491,14 +491,14 @@
|
||||
// 마크반입
|
||||
//
|
||||
this.마크반입.Name = "마크반입";
|
||||
this.마크반입.Size = new System.Drawing.Size(180, 22);
|
||||
this.마크반입.Size = new System.Drawing.Size(98, 22);
|
||||
this.마크반입.Text = "반입";
|
||||
this.마크반입.Click += new System.EventHandler(this.반입ToolStripMenuItem_Click);
|
||||
//
|
||||
// 마크반출
|
||||
//
|
||||
this.마크반출.Name = "마크반출";
|
||||
this.마크반출.Size = new System.Drawing.Size(180, 22);
|
||||
this.마크반출.Size = new System.Drawing.Size(98, 22);
|
||||
this.마크반출.Text = "반출";
|
||||
this.마크반출.Click += new System.EventHandler(this.반출ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -517,7 +517,7 @@
|
||||
//
|
||||
this.마크수집.Enabled = false;
|
||||
this.마크수집.Name = "마크수집";
|
||||
this.마크수집.Size = new System.Drawing.Size(180, 22);
|
||||
this.마크수집.Size = new System.Drawing.Size(122, 22);
|
||||
this.마크수집.Text = "마크수집";
|
||||
this.마크수집.Visible = false;
|
||||
this.마크수집.Click += new System.EventHandler(this.마크수집ToolStripMenuItem_Click);
|
||||
@@ -525,7 +525,7 @@
|
||||
// 전집관리
|
||||
//
|
||||
this.전집관리.Name = "전집관리";
|
||||
this.전집관리.Size = new System.Drawing.Size(180, 22);
|
||||
this.전집관리.Size = new System.Drawing.Size(122, 22);
|
||||
this.전집관리.Text = "전집관리";
|
||||
this.전집관리.Click += new System.EventHandler(this.전집관리ToolStripMenuItem1_Click);
|
||||
//
|
||||
@@ -533,7 +533,7 @@
|
||||
//
|
||||
this.검수.Enabled = false;
|
||||
this.검수.Name = "검수";
|
||||
this.검수.Size = new System.Drawing.Size(180, 22);
|
||||
this.검수.Size = new System.Drawing.Size(122, 22);
|
||||
this.검수.Text = "검수";
|
||||
this.검수.Visible = false;
|
||||
this.검수.Click += new System.EventHandler(this.검수ToolStripMenuItem_Click);
|
||||
@@ -541,7 +541,7 @@
|
||||
// 저자기호
|
||||
//
|
||||
this.저자기호.Name = "저자기호";
|
||||
this.저자기호.Size = new System.Drawing.Size(180, 22);
|
||||
this.저자기호.Size = new System.Drawing.Size(122, 22);
|
||||
this.저자기호.Text = "저자기호";
|
||||
this.저자기호.Click += new System.EventHandler(this.저자기호ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -557,14 +557,14 @@
|
||||
// DLS조회
|
||||
//
|
||||
this.DLS조회.Name = "DLS조회";
|
||||
this.DLS조회.Size = new System.Drawing.Size(180, 22);
|
||||
this.DLS조회.Size = new System.Drawing.Size(154, 22);
|
||||
this.DLS조회.Text = "DLS_조회/입력";
|
||||
this.DLS조회.Click += new System.EventHandler(this.dLS조회ToolStripMenuItem_Click);
|
||||
//
|
||||
// dLS복본조사
|
||||
//
|
||||
this.dLS복본조사.Name = "dLS복본조사";
|
||||
this.dLS복본조사.Size = new System.Drawing.Size(180, 22);
|
||||
this.dLS복본조사.Size = new System.Drawing.Size(154, 22);
|
||||
this.dLS복본조사.Text = "DLS 복본조사";
|
||||
this.dLS복본조사.Click += new System.EventHandler(this.dLS복본조사ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -582,7 +582,7 @@
|
||||
//
|
||||
this.서류작성.Enabled = false;
|
||||
this.서류작성.Name = "서류작성";
|
||||
this.서류작성.Size = new System.Drawing.Size(180, 22);
|
||||
this.서류작성.Size = new System.Drawing.Size(122, 22);
|
||||
this.서류작성.Text = "서류작성";
|
||||
this.서류작성.Visible = false;
|
||||
this.서류작성.Click += new System.EventHandler(this.서류작성ToolStripMenuItem_Click);
|
||||
@@ -590,7 +590,7 @@
|
||||
// 마크통계
|
||||
//
|
||||
this.마크통계.Name = "마크통계";
|
||||
this.마크통계.Size = new System.Drawing.Size(180, 22);
|
||||
this.마크통계.Size = new System.Drawing.Size(122, 22);
|
||||
this.마크통계.Text = "마크통계";
|
||||
this.마크통계.Click += new System.EventHandler(this.마크통계ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -598,7 +598,7 @@
|
||||
//
|
||||
this.장비관리.Enabled = false;
|
||||
this.장비관리.Name = "장비관리";
|
||||
this.장비관리.Size = new System.Drawing.Size(180, 22);
|
||||
this.장비관리.Size = new System.Drawing.Size(122, 22);
|
||||
this.장비관리.Text = "장비관리";
|
||||
this.장비관리.Visible = false;
|
||||
this.장비관리.Click += new System.EventHandler(this.장비관리ToolStripMenuItem1_Click);
|
||||
@@ -800,6 +800,7 @@
|
||||
this.ShortCut12.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.ShortCut12.Enabled = false;
|
||||
this.ShortCut12.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut12.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut12.Location = new System.Drawing.Point(859, 1);
|
||||
this.ShortCut12.Name = "ShortCut12";
|
||||
this.ShortCut12.Size = new System.Drawing.Size(60, 60);
|
||||
@@ -813,6 +814,7 @@
|
||||
//
|
||||
this.ShortCut11.Enabled = false;
|
||||
this.ShortCut11.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut11.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut11.Location = new System.Drawing.Point(782, 1);
|
||||
this.ShortCut11.Name = "ShortCut11";
|
||||
this.ShortCut11.Size = new System.Drawing.Size(60, 60);
|
||||
@@ -826,6 +828,7 @@
|
||||
//
|
||||
this.ShortCut10.Enabled = false;
|
||||
this.ShortCut10.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut10.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut10.Location = new System.Drawing.Point(705, 1);
|
||||
this.ShortCut10.Name = "ShortCut10";
|
||||
this.ShortCut10.Size = new System.Drawing.Size(60, 60);
|
||||
@@ -839,6 +842,7 @@
|
||||
//
|
||||
this.ShortCut9.Enabled = false;
|
||||
this.ShortCut9.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut9.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut9.Location = new System.Drawing.Point(628, 1);
|
||||
this.ShortCut9.Name = "ShortCut9";
|
||||
this.ShortCut9.Size = new System.Drawing.Size(60, 60);
|
||||
@@ -852,6 +856,7 @@
|
||||
//
|
||||
this.ShortCut8.Enabled = false;
|
||||
this.ShortCut8.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut8.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut8.Location = new System.Drawing.Point(551, 1);
|
||||
this.ShortCut8.Name = "ShortCut8";
|
||||
this.ShortCut8.Size = new System.Drawing.Size(60, 60);
|
||||
@@ -865,6 +870,7 @@
|
||||
//
|
||||
this.ShortCut6.Enabled = false;
|
||||
this.ShortCut6.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut6.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut6.Location = new System.Drawing.Point(397, 1);
|
||||
this.ShortCut6.Name = "ShortCut6";
|
||||
this.ShortCut6.Size = new System.Drawing.Size(60, 60);
|
||||
@@ -878,6 +884,7 @@
|
||||
//
|
||||
this.ShortCut5.Enabled = false;
|
||||
this.ShortCut5.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut5.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut5.Location = new System.Drawing.Point(320, 1);
|
||||
this.ShortCut5.Name = "ShortCut5";
|
||||
this.ShortCut5.Size = new System.Drawing.Size(60, 60);
|
||||
@@ -891,6 +898,7 @@
|
||||
//
|
||||
this.ShortCut7.Enabled = false;
|
||||
this.ShortCut7.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut7.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut7.Location = new System.Drawing.Point(474, 1);
|
||||
this.ShortCut7.Name = "ShortCut7";
|
||||
this.ShortCut7.Size = new System.Drawing.Size(60, 60);
|
||||
@@ -904,6 +912,7 @@
|
||||
//
|
||||
this.ShortCut3.Enabled = false;
|
||||
this.ShortCut3.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut3.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut3.Location = new System.Drawing.Point(166, 1);
|
||||
this.ShortCut3.Name = "ShortCut3";
|
||||
this.ShortCut3.Size = new System.Drawing.Size(60, 60);
|
||||
@@ -917,6 +926,7 @@
|
||||
//
|
||||
this.ShortCut4.Enabled = false;
|
||||
this.ShortCut4.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut4.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut4.Location = new System.Drawing.Point(243, 1);
|
||||
this.ShortCut4.Name = "ShortCut4";
|
||||
this.ShortCut4.Size = new System.Drawing.Size(60, 60);
|
||||
@@ -930,6 +940,7 @@
|
||||
//
|
||||
this.ShortCut2.Enabled = false;
|
||||
this.ShortCut2.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut2.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut2.Location = new System.Drawing.Point(89, 1);
|
||||
this.ShortCut2.Name = "ShortCut2";
|
||||
this.ShortCut2.Size = new System.Drawing.Size(60, 60);
|
||||
@@ -943,6 +954,7 @@
|
||||
//
|
||||
this.ShortCut1.Enabled = false;
|
||||
this.ShortCut1.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut1.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut1.Location = new System.Drawing.Point(12, 1);
|
||||
this.ShortCut1.Name = "ShortCut1";
|
||||
this.ShortCut1.Size = new System.Drawing.Size(60, 60);
|
||||
|
||||
@@ -1777,7 +1777,6 @@ namespace WindowsFormsApp1
|
||||
string[] res_dir(string dir)
|
||||
{
|
||||
List<string> tmp = new List<string>();
|
||||
|
||||
for (int a = 0; a < dir.Length; a++)
|
||||
{
|
||||
if (a % 12 == 0)
|
||||
@@ -2923,7 +2922,7 @@ namespace WindowsFormsApp1
|
||||
{
|
||||
tmp_data.Add(docs[a][Param[b]]);
|
||||
}
|
||||
result += tmp_data[b] + "|";
|
||||
result += tmp_data[b].Replace("|", "") + "|";
|
||||
}
|
||||
result += "\n";
|
||||
}
|
||||
|
||||
@@ -96,6 +96,12 @@
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="마크\Check_Copy_Login.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="마크\Check_Copy_Login.Designer.cs">
|
||||
<DependentUpon>Check_Copy_Login.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="마크\Mac_List_Add.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -735,6 +741,9 @@
|
||||
<Compile Include="작업일지\Work_Log.Designer.cs">
|
||||
<DependentUpon>Work_Log.cs</DependentUpon>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="마크\Check_Copy_Login.resx">
|
||||
<DependentUpon>Check_Copy_Login.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="마크\Mac_List_Add.resx">
|
||||
<DependentUpon>Mac_List_Add.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
1ecfc96fa7aa0f793ee63064b7359ce4e043fc6d
|
||||
ae849b4d4d77c5d74963f76c6a300d60041bd741
|
||||
|
||||
@@ -135,3 +135,4 @@ C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.
|
||||
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Mac_List_Add.resources
|
||||
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Marc_Plan_PrintLabel.resources
|
||||
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.ShowDeleteMarc.resources
|
||||
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Check_Copy_Login.resources
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
unimarc/unimarc/obj/Debug/UniMarc.마크.Check_Copy_Login.resources
Normal file
BIN
unimarc/unimarc/obj/Debug/UniMarc.마크.Check_Copy_Login.resources
Normal file
Binary file not shown.
Binary file not shown.
107
unimarc/unimarc/마크/Check_Copy_Login.Designer.cs
generated
Normal file
107
unimarc/unimarc/마크/Check_Copy_Login.Designer.cs
generated
Normal file
@@ -0,0 +1,107 @@
|
||||
|
||||
namespace UniMarc.마크
|
||||
{
|
||||
partial class Check_Copy_Login
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.tb_ID = new System.Windows.Forms.TextBox();
|
||||
this.tb_PW = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.btn_Apply = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tb_ID
|
||||
//
|
||||
this.tb_ID.Location = new System.Drawing.Point(34, 12);
|
||||
this.tb_ID.Name = "tb_ID";
|
||||
this.tb_ID.Size = new System.Drawing.Size(137, 21);
|
||||
this.tb_ID.TabIndex = 0;
|
||||
//
|
||||
// tb_PW
|
||||
//
|
||||
this.tb_PW.Location = new System.Drawing.Point(34, 40);
|
||||
this.tb_PW.Name = "tb_PW";
|
||||
this.tb_PW.Size = new System.Drawing.Size(137, 21);
|
||||
this.tb_PW.TabIndex = 0;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(12, 16);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(16, 12);
|
||||
this.label1.TabIndex = 1;
|
||||
this.label1.Text = "ID";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(9, 44);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(23, 12);
|
||||
this.label2.TabIndex = 1;
|
||||
this.label2.Text = "PW";
|
||||
//
|
||||
// btn_Apply
|
||||
//
|
||||
this.btn_Apply.Location = new System.Drawing.Point(180, 25);
|
||||
this.btn_Apply.Name = "btn_Apply";
|
||||
this.btn_Apply.Size = new System.Drawing.Size(75, 23);
|
||||
this.btn_Apply.TabIndex = 2;
|
||||
this.btn_Apply.Text = "적 용";
|
||||
this.btn_Apply.UseVisualStyleBackColor = true;
|
||||
this.btn_Apply.Click += new System.EventHandler(this.btn_Apply_Click);
|
||||
//
|
||||
// Check_Copy_Login
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(265, 77);
|
||||
this.Controls.Add(this.btn_Apply);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.tb_PW);
|
||||
this.Controls.Add(this.tb_ID);
|
||||
this.Name = "Check_Copy_Login";
|
||||
this.Text = "작은 도서관 로그인";
|
||||
this.Load += new System.EventHandler(this.Check_Copy_Login_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.TextBox tb_ID;
|
||||
private System.Windows.Forms.TextBox tb_PW;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Button btn_Apply;
|
||||
}
|
||||
}
|
||||
43
unimarc/unimarc/마크/Check_Copy_Login.cs
Normal file
43
unimarc/unimarc/마크/Check_Copy_Login.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
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 Check_Copy_Login : Form
|
||||
{
|
||||
Check_Copy_Sub_Search ccss;
|
||||
public Check_Copy_Login(Check_Copy_Sub_Search _ccss)
|
||||
{
|
||||
InitializeComponent();
|
||||
ccss = _ccss;
|
||||
}
|
||||
|
||||
private void Check_Copy_Login_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void btn_Apply_Click(object sender, EventArgs e)
|
||||
{
|
||||
string id = tb_ID.Text;
|
||||
string pw = tb_PW.Text;
|
||||
|
||||
if (id == "" || pw == "")
|
||||
{
|
||||
MessageBox.Show("입력된 값이 없습니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
ccss.SetLogin(id, pw);
|
||||
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
120
unimarc/unimarc/마크/Check_Copy_Login.resx
Normal file
120
unimarc/unimarc/마크/Check_Copy_Login.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?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>
|
||||
</root>
|
||||
@@ -72,13 +72,26 @@ namespace UniMarc.마크
|
||||
string Area = dataGridView1.Rows[row].Cells["Area"].Value.ToString();
|
||||
string Code = dataGridView1.Rows[row].Cells["Code"].Value.ToString();
|
||||
string URL = dataGridView1.Rows[row].Cells["URL"].Value.ToString();
|
||||
string lib_name = dataGridView1.Rows[row].Cells["lib_name"].Value.ToString();
|
||||
|
||||
string lib_Category = string.Format("{0}_{1}", Province, Area);
|
||||
|
||||
cc.lib_Category = lib_Category;
|
||||
cc.Code = Code;
|
||||
cc.URL = URL;
|
||||
cc.tb_SearchTarget.Text = dataGridView1.Rows[row].Cells["lib_name"].Value.ToString();
|
||||
cc.tb_SearchTarget.Text = lib_name;
|
||||
|
||||
if (lib_name.Contains("Kolasys.net"))
|
||||
{
|
||||
Check_Copy_Login ccl = new Check_Copy_Login(this);
|
||||
ccl.Show();
|
||||
}
|
||||
}
|
||||
|
||||
public void SetLogin(string id, string pw)
|
||||
{
|
||||
cc.lbl_ID.Text = id;
|
||||
cc.lbl_PW.Text = pw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
62
unimarc/unimarc/마크/Check_ISBN.Designer.cs
generated
62
unimarc/unimarc/마크/Check_ISBN.Designer.cs
generated
@@ -28,9 +28,9 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
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 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();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.num = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -67,9 +67,9 @@
|
||||
this.btn_yes24 = new System.Windows.Forms.Button();
|
||||
this.Check_Marc = new System.Windows.Forms.CheckBox();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.btn_ComparePrice = new System.Windows.Forms.Button();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.btn_ComparePrice = new System.Windows.Forms.Button();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
@@ -82,13 +82,13 @@
|
||||
this.dataGridView1.AllowUserToDeleteRows = false;
|
||||
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control;
|
||||
this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
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;
|
||||
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;
|
||||
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.idx,
|
||||
@@ -116,17 +116,17 @@
|
||||
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnF2;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
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.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle11;
|
||||
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.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dataGridView1.RowHeadersWidth = 20;
|
||||
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle12;
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1632, 594);
|
||||
this.dataGridView1.TabIndex = 0;
|
||||
@@ -398,6 +398,16 @@
|
||||
this.panel1.Size = new System.Drawing.Size(1632, 30);
|
||||
this.panel1.TabIndex = 10;
|
||||
//
|
||||
// btn_ComparePrice
|
||||
//
|
||||
this.btn_ComparePrice.Location = new System.Drawing.Point(899, 4);
|
||||
this.btn_ComparePrice.Name = "btn_ComparePrice";
|
||||
this.btn_ComparePrice.Size = new System.Drawing.Size(99, 23);
|
||||
this.btn_ComparePrice.TabIndex = 10;
|
||||
this.btn_ComparePrice.Text = "정 가 대 조";
|
||||
this.btn_ComparePrice.UseVisualStyleBackColor = true;
|
||||
this.btn_ComparePrice.Click += new System.EventHandler(this.btn_ComparePrice_Click);
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.richTextBox1);
|
||||
@@ -416,16 +426,6 @@
|
||||
this.panel3.Size = new System.Drawing.Size(1632, 594);
|
||||
this.panel3.TabIndex = 12;
|
||||
//
|
||||
// btn_ComparePrice
|
||||
//
|
||||
this.btn_ComparePrice.Location = new System.Drawing.Point(899, 4);
|
||||
this.btn_ComparePrice.Name = "btn_ComparePrice";
|
||||
this.btn_ComparePrice.Size = new System.Drawing.Size(99, 23);
|
||||
this.btn_ComparePrice.TabIndex = 10;
|
||||
this.btn_ComparePrice.Text = "정 가 대 조";
|
||||
this.btn_ComparePrice.UseVisualStyleBackColor = true;
|
||||
this.btn_ComparePrice.Click += new System.EventHandler(this.btn_ComparePrice_Click);
|
||||
//
|
||||
// Check_ISBN
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
|
||||
@@ -150,7 +150,8 @@ namespace WindowsFormsApp1.Mac
|
||||
if (dataGridView1.Columns[a].HeaderText == "ISBN13" ||
|
||||
dataGridView1.Columns[a].Name == "book_name" ||
|
||||
dataGridView1.Columns[a].Name == "author" ||
|
||||
dataGridView1.Columns[a].Name == "book_comp")
|
||||
dataGridView1.Columns[a].Name == "book_comp" ||
|
||||
dataGridView1.Columns[a].Name == "etc")
|
||||
{
|
||||
dataGridView1.Columns[a].ReadOnly = false;
|
||||
}
|
||||
@@ -446,12 +447,7 @@ namespace WindowsFormsApp1.Mac
|
||||
newstring = insert[5];
|
||||
}
|
||||
|
||||
// 도서 분류 필요한 데이터로 재정리
|
||||
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); }
|
||||
insert[6] = Aladin_CategorySort(insert[6]);
|
||||
|
||||
if (insert.Length > 10) {
|
||||
return;
|
||||
@@ -489,7 +485,7 @@ namespace WindowsFormsApp1.Mac
|
||||
input_api(insert, row, newstring);
|
||||
*/
|
||||
}
|
||||
string Aladin_CategorySort(string insert)
|
||||
public string Aladin_CategorySort(string insert)
|
||||
{
|
||||
// 도서 분류 필요한 데이터로 재정리
|
||||
int top = insert.IndexOf('>');
|
||||
@@ -667,7 +663,7 @@ namespace WindowsFormsApp1.Mac
|
||||
|
||||
private void btn_Save_Click(object sender, EventArgs e)
|
||||
{
|
||||
string[] Edit_tbl = { "isbn", "price", "pubDate", "category", "image_url" };
|
||||
string[] Edit_tbl = { "isbn", "price", "pubDate", "category", "image_url", "etc" };
|
||||
|
||||
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
@@ -685,7 +681,8 @@ namespace WindowsFormsApp1.Mac
|
||||
dataGridView1.Rows[a].Cells["price"].Value.ToString(),
|
||||
dataGridView1.Rows[a].Cells["pubDate"].Value.ToString(),
|
||||
dataGridView1.Rows[a].Cells["category"].Value.ToString(),
|
||||
dataGridView1.Rows[a].Cells["image"].Value.ToString()
|
||||
dataGridView1.Rows[a].Cells["image"].Value.ToString(),
|
||||
dataGridView1.Rows[a].Cells["etc"].Value.ToString()
|
||||
};
|
||||
|
||||
string[] Search_tbl = { "idx", "list_name", "compidx" };
|
||||
@@ -827,6 +824,9 @@ namespace WindowsFormsApp1.Mac
|
||||
|
||||
for (int a = 0; a < GridCount; a++)
|
||||
{
|
||||
string isbn = dataGridView1.Rows[a].Cells["isbn"].Value.ToString();
|
||||
if (isbn == null || isbn == "") continue;
|
||||
|
||||
string unit = dataGridView1.Rows[a].Cells["unit"].Value.ToString();
|
||||
string price = dataGridView1.Rows[a].Cells["price"].Value.ToString();
|
||||
|
||||
|
||||
66
unimarc/unimarc/마크/Check_ISBN_Sub.Designer.cs
generated
66
unimarc/unimarc/마크/Check_ISBN_Sub.Designer.cs
generated
@@ -29,8 +29,8 @@ namespace WindowsFormsApp1.마크
|
||||
/// </summary>
|
||||
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();
|
||||
this.btn_Close = new System.Windows.Forms.Button();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
@@ -57,7 +57,7 @@ namespace WindowsFormsApp1.마크
|
||||
//
|
||||
// btn_Close
|
||||
//
|
||||
this.btn_Close.Location = new System.Drawing.Point(735, 14);
|
||||
this.btn_Close.Location = new System.Drawing.Point(727, 21);
|
||||
this.btn_Close.Name = "btn_Close";
|
||||
this.btn_Close.Size = new System.Drawing.Size(75, 23);
|
||||
this.btn_Close.TabIndex = 18;
|
||||
@@ -68,7 +68,7 @@ namespace WindowsFormsApp1.마크
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(676, 9);
|
||||
this.label5.Location = new System.Drawing.Point(648, 9);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(29, 12);
|
||||
this.label5.TabIndex = 13;
|
||||
@@ -77,7 +77,7 @@ namespace WindowsFormsApp1.마크
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(586, 9);
|
||||
this.label4.Location = new System.Drawing.Point(566, 9);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(33, 12);
|
||||
this.label4.TabIndex = 14;
|
||||
@@ -86,7 +86,7 @@ namespace WindowsFormsApp1.마크
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(455, 9);
|
||||
this.label3.Location = new System.Drawing.Point(462, 9);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(41, 12);
|
||||
this.label3.TabIndex = 15;
|
||||
@@ -95,7 +95,7 @@ namespace WindowsFormsApp1.마크
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(337, 9);
|
||||
this.label2.Location = new System.Drawing.Point(368, 9);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(29, 12);
|
||||
this.label2.TabIndex = 16;
|
||||
@@ -104,7 +104,7 @@ namespace WindowsFormsApp1.마크
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(148, 9);
|
||||
this.label1.Location = new System.Drawing.Point(162, 9);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(41, 12);
|
||||
this.label1.TabIndex = 17;
|
||||
@@ -112,37 +112,37 @@ namespace WindowsFormsApp1.마크
|
||||
//
|
||||
// tb_price
|
||||
//
|
||||
this.tb_price.Location = new System.Drawing.Point(663, 24);
|
||||
this.tb_price.Location = new System.Drawing.Point(640, 22);
|
||||
this.tb_price.Name = "tb_price";
|
||||
this.tb_price.Size = new System.Drawing.Size(55, 21);
|
||||
this.tb_price.Size = new System.Drawing.Size(61, 21);
|
||||
this.tb_price.TabIndex = 8;
|
||||
//
|
||||
// tb_isbn
|
||||
//
|
||||
this.tb_isbn.Location = new System.Drawing.Point(548, 24);
|
||||
this.tb_isbn.Location = new System.Drawing.Point(540, 22);
|
||||
this.tb_isbn.Name = "tb_isbn";
|
||||
this.tb_isbn.Size = new System.Drawing.Size(109, 21);
|
||||
this.tb_isbn.Size = new System.Drawing.Size(101, 21);
|
||||
this.tb_isbn.TabIndex = 9;
|
||||
//
|
||||
// tb_book_comp
|
||||
//
|
||||
this.tb_book_comp.Location = new System.Drawing.Point(408, 24);
|
||||
this.tb_book_comp.Location = new System.Drawing.Point(440, 22);
|
||||
this.tb_book_comp.Name = "tb_book_comp";
|
||||
this.tb_book_comp.Size = new System.Drawing.Size(134, 21);
|
||||
this.tb_book_comp.Size = new System.Drawing.Size(101, 21);
|
||||
this.tb_book_comp.TabIndex = 10;
|
||||
//
|
||||
// tb_author
|
||||
//
|
||||
this.tb_author.Location = new System.Drawing.Point(301, 24);
|
||||
this.tb_author.Location = new System.Drawing.Point(340, 22);
|
||||
this.tb_author.Name = "tb_author";
|
||||
this.tb_author.Size = new System.Drawing.Size(101, 21);
|
||||
this.tb_author.TabIndex = 11;
|
||||
//
|
||||
// tb_book_name
|
||||
//
|
||||
this.tb_book_name.Location = new System.Drawing.Point(41, 24);
|
||||
this.tb_book_name.Location = new System.Drawing.Point(41, 22);
|
||||
this.tb_book_name.Name = "tb_book_name";
|
||||
this.tb_book_name.Size = new System.Drawing.Size(254, 21);
|
||||
this.tb_book_name.Size = new System.Drawing.Size(300, 21);
|
||||
this.tb_book_name.TabIndex = 12;
|
||||
//
|
||||
// dataGridView1
|
||||
@@ -152,14 +152,14 @@ namespace WindowsFormsApp1.마크
|
||||
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control;
|
||||
this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.dataGridView1.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.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.book_name,
|
||||
this.author,
|
||||
@@ -174,14 +174,14 @@ namespace WindowsFormsApp1.마크
|
||||
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(0, 51);
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
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.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(964, 361);
|
||||
|
||||
@@ -121,9 +121,12 @@ namespace WindowsFormsApp1.마크
|
||||
if (ori_data[4] != "")
|
||||
price = Convert.ToInt32(ori_data[4]);
|
||||
|
||||
if (price - 500 <= pay && pay <= price + 500)
|
||||
if (price == pay)
|
||||
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Yellow;
|
||||
|
||||
else if (price - 500 < pay && pay < price + 500)
|
||||
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Orange;
|
||||
|
||||
else
|
||||
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.LightGray;
|
||||
}
|
||||
@@ -155,7 +158,7 @@ namespace WindowsFormsApp1.마크
|
||||
ci.dataGridView1.Rows[row].Cells["isbn"].Value = isbn;
|
||||
ci.dataGridView1.Rows[row].Cells["price"].Value = price;
|
||||
ci.dataGridView1.Rows[row].Cells["pubDate"].Value = Date;
|
||||
ci.dataGridView1.Rows[row].Cells["category"].Value = category;
|
||||
ci.dataGridView1.Rows[row].Cells["category"].Value = ci.Aladin_CategorySort(category);
|
||||
ci.dataGridView1.Rows[row].Cells["sold_out"].Value = sold;
|
||||
ci.dataGridView1.Rows[row].Cells["image"].Value = image;
|
||||
|
||||
|
||||
225
unimarc/unimarc/마크/Check_ISBN_Yes24.Designer.cs
generated
225
unimarc/unimarc/마크/Check_ISBN_Yes24.Designer.cs
generated
@@ -29,15 +29,11 @@ namespace UniMarc.마크
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = 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();
|
||||
this.btn_change = new System.Windows.Forms.Button();
|
||||
this.btn_Close = new System.Windows.Forms.Button();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.before_book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.after_book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.before_author = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -45,17 +41,21 @@ namespace UniMarc.마크
|
||||
this.before_book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.after_book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.price = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.webBrowser1 = new System.Windows.Forms.WebBrowser();
|
||||
this.btn_Yes24Connect = new System.Windows.Forms.Button();
|
||||
this.tb_ID = new System.Windows.Forms.TextBox();
|
||||
this.tb_PW = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.tb_PW = new System.Windows.Forms.TextBox();
|
||||
this.tb_ID = new System.Windows.Forms.TextBox();
|
||||
this.btn_Yes24Connect = new System.Windows.Forms.Button();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.webBrowser1 = new System.Windows.Forms.WebBrowser();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// btn_change
|
||||
@@ -63,7 +63,7 @@ namespace UniMarc.마크
|
||||
this.btn_change.Location = new System.Drawing.Point(423, 11);
|
||||
this.btn_change.Name = "btn_change";
|
||||
this.btn_change.Size = new System.Drawing.Size(75, 23);
|
||||
this.btn_change.TabIndex = 4;
|
||||
this.btn_change.TabIndex = 3;
|
||||
this.btn_change.Text = "엑셀 변환";
|
||||
this.btn_change.UseVisualStyleBackColor = true;
|
||||
this.btn_change.Click += new System.EventHandler(this.btn_change_Click);
|
||||
@@ -73,7 +73,7 @@ namespace UniMarc.마크
|
||||
this.btn_Close.Location = new System.Drawing.Point(504, 11);
|
||||
this.btn_Close.Name = "btn_Close";
|
||||
this.btn_Close.Size = new System.Drawing.Size(75, 23);
|
||||
this.btn_Close.TabIndex = 3;
|
||||
this.btn_Close.TabIndex = 4;
|
||||
this.btn_Close.Text = "닫 기";
|
||||
this.btn_Close.UseVisualStyleBackColor = true;
|
||||
this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click);
|
||||
@@ -85,14 +85,14 @@ namespace UniMarc.마크
|
||||
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control;
|
||||
this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
||||
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.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.before_book_name,
|
||||
@@ -106,63 +106,20 @@ namespace UniMarc.마크
|
||||
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.ReadOnly = true;
|
||||
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.True;
|
||||
this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle8;
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dataGridView1.RowHeadersWidth = 30;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(579, 666);
|
||||
this.dataGridView1.TabIndex = 2;
|
||||
this.dataGridView1.TabIndex = 0;
|
||||
this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Controls.Add(this.tb_PW);
|
||||
this.panel1.Controls.Add(this.tb_ID);
|
||||
this.panel1.Controls.Add(this.btn_Yes24Connect);
|
||||
this.panel1.Controls.Add(this.btn_Close);
|
||||
this.panel1.Controls.Add(this.btn_change);
|
||||
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(1316, 46);
|
||||
this.panel1.TabIndex = 5;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.panel4);
|
||||
this.panel2.Controls.Add(this.panel3);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 46);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(1316, 666);
|
||||
this.panel2.TabIndex = 5;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.Controls.Add(this.dataGridView1);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(579, 666);
|
||||
this.panel3.TabIndex = 3;
|
||||
//
|
||||
// panel4
|
||||
//
|
||||
this.panel4.Controls.Add(this.webBrowser1);
|
||||
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel4.Location = new System.Drawing.Point(579, 0);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(737, 666);
|
||||
this.panel4.TabIndex = 3;
|
||||
//
|
||||
// before_book_name
|
||||
//
|
||||
this.before_book_name.HeaderText = "도서명 [전]";
|
||||
@@ -213,39 +170,29 @@ namespace UniMarc.마크
|
||||
this.price.ReadOnly = true;
|
||||
this.price.Width = 80;
|
||||
//
|
||||
// webBrowser1
|
||||
// panel1
|
||||
//
|
||||
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.Size = new System.Drawing.Size(737, 666);
|
||||
this.webBrowser1.TabIndex = 0;
|
||||
this.webBrowser1.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.webBrowser1_DocumentCompleted);
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Controls.Add(this.tb_PW);
|
||||
this.panel1.Controls.Add(this.tb_ID);
|
||||
this.panel1.Controls.Add(this.btn_Yes24Connect);
|
||||
this.panel1.Controls.Add(this.btn_Close);
|
||||
this.panel1.Controls.Add(this.btn_change);
|
||||
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(1316, 46);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// btn_Yes24Connect
|
||||
// label2
|
||||
//
|
||||
this.btn_Yes24Connect.Location = new System.Drawing.Point(867, 5);
|
||||
this.btn_Yes24Connect.Name = "btn_Yes24Connect";
|
||||
this.btn_Yes24Connect.Size = new System.Drawing.Size(99, 35);
|
||||
this.btn_Yes24Connect.TabIndex = 5;
|
||||
this.btn_Yes24Connect.Text = "Yes24 다중검색\r\n접속";
|
||||
this.btn_Yes24Connect.UseVisualStyleBackColor = true;
|
||||
this.btn_Yes24Connect.Click += new System.EventHandler(this.btn_Yes24Connect_Click);
|
||||
//
|
||||
// tb_ID
|
||||
//
|
||||
this.tb_ID.Location = new System.Drawing.Point(613, 12);
|
||||
this.tb_ID.Name = "tb_ID";
|
||||
this.tb_ID.Size = new System.Drawing.Size(100, 21);
|
||||
this.tb_ID.TabIndex = 6;
|
||||
//
|
||||
// tb_PW
|
||||
//
|
||||
this.tb_PW.Location = new System.Drawing.Point(754, 12);
|
||||
this.tb_PW.Name = "tb_PW";
|
||||
this.tb_PW.Size = new System.Drawing.Size(100, 21);
|
||||
this.tb_PW.TabIndex = 6;
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(729, 16);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(23, 12);
|
||||
this.label2.TabIndex = 7;
|
||||
this.label2.Text = "PW";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
@@ -256,14 +203,68 @@ namespace UniMarc.마크
|
||||
this.label1.TabIndex = 7;
|
||||
this.label1.Text = "ID";
|
||||
//
|
||||
// label2
|
||||
// tb_PW
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(729, 16);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(23, 12);
|
||||
this.label2.TabIndex = 7;
|
||||
this.label2.Text = "PW";
|
||||
this.tb_PW.Location = new System.Drawing.Point(754, 12);
|
||||
this.tb_PW.Name = "tb_PW";
|
||||
this.tb_PW.Size = new System.Drawing.Size(100, 21);
|
||||
this.tb_PW.TabIndex = 1;
|
||||
//
|
||||
// tb_ID
|
||||
//
|
||||
this.tb_ID.Location = new System.Drawing.Point(613, 12);
|
||||
this.tb_ID.Name = "tb_ID";
|
||||
this.tb_ID.Size = new System.Drawing.Size(100, 21);
|
||||
this.tb_ID.TabIndex = 0;
|
||||
//
|
||||
// btn_Yes24Connect
|
||||
//
|
||||
this.btn_Yes24Connect.Location = new System.Drawing.Point(867, 5);
|
||||
this.btn_Yes24Connect.Name = "btn_Yes24Connect";
|
||||
this.btn_Yes24Connect.Size = new System.Drawing.Size(99, 35);
|
||||
this.btn_Yes24Connect.TabIndex = 2;
|
||||
this.btn_Yes24Connect.Text = "Yes24 다중검색\r\n접속";
|
||||
this.btn_Yes24Connect.UseVisualStyleBackColor = true;
|
||||
this.btn_Yes24Connect.Click += new System.EventHandler(this.btn_Yes24Connect_Click);
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.panel4);
|
||||
this.panel2.Controls.Add(this.panel3);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 46);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(1316, 666);
|
||||
this.panel2.TabIndex = 5;
|
||||
//
|
||||
// panel4
|
||||
//
|
||||
this.panel4.Controls.Add(this.webBrowser1);
|
||||
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel4.Location = new System.Drawing.Point(579, 0);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(737, 666);
|
||||
this.panel4.TabIndex = 3;
|
||||
//
|
||||
// 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(737, 666);
|
||||
this.webBrowser1.TabIndex = 0;
|
||||
this.webBrowser1.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.webBrowser1_DocumentCompleted);
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.Controls.Add(this.dataGridView1);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(579, 666);
|
||||
this.panel3.TabIndex = 3;
|
||||
//
|
||||
// Check_ISBN_Yes24
|
||||
//
|
||||
@@ -279,8 +280,8 @@ namespace UniMarc.마크
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel4.ResumeLayout(false);
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
@@ -204,6 +204,7 @@ namespace UniMarc.마크
|
||||
if (url.IndexOf("FTLogin") > -1)
|
||||
Login();
|
||||
}
|
||||
|
||||
#region DocumentCompleted Sub
|
||||
|
||||
bool isLogin()
|
||||
@@ -260,5 +261,10 @@ namespace UniMarc.마크
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
private void webBrowser1_FileDownload(object sender, EventArgs e)
|
||||
{
|
||||
MessageBox.Show("You are in the WebBrowser. FileDownload event.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
28
unimarc/unimarc/마크/Check_copy.Designer.cs
generated
28
unimarc/unimarc/마크/Check_copy.Designer.cs
generated
@@ -56,6 +56,8 @@
|
||||
this.btn_OpenMemo = new System.Windows.Forms.Button();
|
||||
this.chk_spChar = new System.Windows.Forms.CheckBox();
|
||||
this.panel5 = new System.Windows.Forms.Panel();
|
||||
this.lbl_ID = new System.Windows.Forms.Label();
|
||||
this.lbl_PW = new System.Windows.Forms.Label();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.SearchCount)).BeginInit();
|
||||
this.panel2.SuspendLayout();
|
||||
@@ -135,7 +137,7 @@
|
||||
//
|
||||
// SearchCount
|
||||
//
|
||||
this.SearchCount.Location = new System.Drawing.Point(429, 6);
|
||||
this.SearchCount.Location = new System.Drawing.Point(494, 6);
|
||||
this.SearchCount.Maximum = new decimal(new int[] {
|
||||
10000,
|
||||
0,
|
||||
@@ -159,7 +161,7 @@
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(382, 10);
|
||||
this.label2.Location = new System.Drawing.Point(447, 10);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(45, 12);
|
||||
this.label2.TabIndex = 0;
|
||||
@@ -185,6 +187,8 @@
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel2.Controls.Add(this.lbl_PW);
|
||||
this.panel2.Controls.Add(this.lbl_ID);
|
||||
this.panel2.Controls.Add(this.SearchCount);
|
||||
this.panel2.Controls.Add(this.tb_SearchTarget);
|
||||
this.panel2.Controls.Add(this.label1);
|
||||
@@ -364,6 +368,24 @@
|
||||
this.panel5.Size = new System.Drawing.Size(673, 738);
|
||||
this.panel5.TabIndex = 4;
|
||||
//
|
||||
// lbl_ID
|
||||
//
|
||||
this.lbl_ID.AutoSize = true;
|
||||
this.lbl_ID.Location = new System.Drawing.Point(316, 10);
|
||||
this.lbl_ID.Name = "lbl_ID";
|
||||
this.lbl_ID.Size = new System.Drawing.Size(9, 12);
|
||||
this.lbl_ID.TabIndex = 3;
|
||||
this.lbl_ID.Text = " ";
|
||||
//
|
||||
// lbl_PW
|
||||
//
|
||||
this.lbl_PW.AutoSize = true;
|
||||
this.lbl_PW.Location = new System.Drawing.Point(379, 10);
|
||||
this.lbl_PW.Name = "lbl_PW";
|
||||
this.lbl_PW.Size = new System.Drawing.Size(9, 12);
|
||||
this.lbl_PW.TabIndex = 3;
|
||||
this.lbl_PW.Text = " ";
|
||||
//
|
||||
// Check_copy
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
@@ -417,5 +439,7 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn book_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn book_comp;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Count;
|
||||
public System.Windows.Forms.Label lbl_PW;
|
||||
public System.Windows.Forms.Label lbl_ID;
|
||||
}
|
||||
}
|
||||
@@ -64,8 +64,16 @@ namespace WindowsFormsApp1.Mac
|
||||
|
||||
private void btn_Start_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult MsgResult = MessageBox.Show("선택된 필터를 적용하시겠습니까?", "필터 적용", MessageBoxButtons.YesNoCancel);
|
||||
if (tb_SearchTarget.Text.Contains("Kolasys.net"))
|
||||
{
|
||||
if (lbl_ID.Text == " " || lbl_PW.Text == " ")
|
||||
{
|
||||
MessageBox.Show("해당 도서관은 로그인정보가 필요합니다.\n복본조사 창을 껏다켜주세요.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
DialogResult MsgResult = MessageBox.Show("선택된 필터를 적용하시겠습니까?", "필터 적용", MessageBoxButtons.YesNoCancel);
|
||||
if (MsgResult == DialogResult.Yes)
|
||||
{
|
||||
int count = dataGridView1.Rows.Count;
|
||||
|
||||
87
unimarc/unimarc/마크/Mac_List.Designer.cs
generated
87
unimarc/unimarc/마크/Mac_List.Designer.cs
generated
@@ -57,13 +57,17 @@
|
||||
this.btn_Completion = new System.Windows.Forms.Button();
|
||||
this.btn_Delete = new System.Windows.Forms.Button();
|
||||
this.btn_AddList = new System.Windows.Forms.Button();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(21, 14);
|
||||
this.label1.Location = new System.Drawing.Point(14, 13);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(57, 12);
|
||||
this.label1.TabIndex = 5;
|
||||
@@ -71,7 +75,7 @@
|
||||
//
|
||||
// tb_Search
|
||||
//
|
||||
this.tb_Search.Location = new System.Drawing.Point(80, 10);
|
||||
this.tb_Search.Location = new System.Drawing.Point(73, 9);
|
||||
this.tb_Search.Name = "tb_Search";
|
||||
this.tb_Search.Size = new System.Drawing.Size(241, 21);
|
||||
this.tb_Search.TabIndex = 6;
|
||||
@@ -114,11 +118,12 @@
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(12, 40);
|
||||
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.RowHeadersWidth = 40;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1100, 610);
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1124, 623);
|
||||
this.dataGridView1.TabIndex = 48;
|
||||
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
|
||||
this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
|
||||
@@ -199,7 +204,7 @@
|
||||
//
|
||||
this.cb_state.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_state.FormattingEnabled = true;
|
||||
this.cb_state.Location = new System.Drawing.Point(372, 10);
|
||||
this.cb_state.Location = new System.Drawing.Point(365, 9);
|
||||
this.cb_state.Name = "cb_state";
|
||||
this.cb_state.Size = new System.Drawing.Size(74, 20);
|
||||
this.cb_state.TabIndex = 49;
|
||||
@@ -207,7 +212,7 @@
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(341, 14);
|
||||
this.label2.Location = new System.Drawing.Point(334, 13);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(29, 12);
|
||||
this.label2.TabIndex = 5;
|
||||
@@ -215,7 +220,7 @@
|
||||
//
|
||||
// btn_Lookup
|
||||
//
|
||||
this.btn_Lookup.Location = new System.Drawing.Point(516, 4);
|
||||
this.btn_Lookup.Location = new System.Drawing.Point(489, 3);
|
||||
this.btn_Lookup.Name = "btn_Lookup";
|
||||
this.btn_Lookup.Size = new System.Drawing.Size(61, 32);
|
||||
this.btn_Lookup.TabIndex = 50;
|
||||
@@ -225,7 +230,7 @@
|
||||
//
|
||||
// btn_Excel
|
||||
//
|
||||
this.btn_Excel.Location = new System.Drawing.Point(985, 4);
|
||||
this.btn_Excel.Location = new System.Drawing.Point(958, 3);
|
||||
this.btn_Excel.Name = "btn_Excel";
|
||||
this.btn_Excel.Size = new System.Drawing.Size(61, 32);
|
||||
this.btn_Excel.TabIndex = 50;
|
||||
@@ -235,7 +240,7 @@
|
||||
//
|
||||
// btn_Close
|
||||
//
|
||||
this.btn_Close.Location = new System.Drawing.Point(1052, 4);
|
||||
this.btn_Close.Location = new System.Drawing.Point(1025, 3);
|
||||
this.btn_Close.Name = "btn_Close";
|
||||
this.btn_Close.Size = new System.Drawing.Size(61, 32);
|
||||
this.btn_Close.TabIndex = 50;
|
||||
@@ -245,7 +250,7 @@
|
||||
//
|
||||
// btn_Save
|
||||
//
|
||||
this.btn_Save.Location = new System.Drawing.Point(918, 4);
|
||||
this.btn_Save.Location = new System.Drawing.Point(891, 3);
|
||||
this.btn_Save.Name = "btn_Save";
|
||||
this.btn_Save.Size = new System.Drawing.Size(61, 32);
|
||||
this.btn_Save.TabIndex = 50;
|
||||
@@ -255,7 +260,7 @@
|
||||
//
|
||||
// btn_Merge
|
||||
//
|
||||
this.btn_Merge.Location = new System.Drawing.Point(650, 4);
|
||||
this.btn_Merge.Location = new System.Drawing.Point(623, 3);
|
||||
this.btn_Merge.Name = "btn_Merge";
|
||||
this.btn_Merge.Size = new System.Drawing.Size(61, 32);
|
||||
this.btn_Merge.TabIndex = 51;
|
||||
@@ -265,7 +270,7 @@
|
||||
//
|
||||
// btn_Progress
|
||||
//
|
||||
this.btn_Progress.Location = new System.Drawing.Point(717, 4);
|
||||
this.btn_Progress.Location = new System.Drawing.Point(690, 3);
|
||||
this.btn_Progress.Name = "btn_Progress";
|
||||
this.btn_Progress.Size = new System.Drawing.Size(61, 32);
|
||||
this.btn_Progress.TabIndex = 51;
|
||||
@@ -275,7 +280,7 @@
|
||||
//
|
||||
// btn_Completion
|
||||
//
|
||||
this.btn_Completion.Location = new System.Drawing.Point(784, 4);
|
||||
this.btn_Completion.Location = new System.Drawing.Point(757, 3);
|
||||
this.btn_Completion.Name = "btn_Completion";
|
||||
this.btn_Completion.Size = new System.Drawing.Size(61, 32);
|
||||
this.btn_Completion.TabIndex = 51;
|
||||
@@ -285,7 +290,7 @@
|
||||
//
|
||||
// btn_Delete
|
||||
//
|
||||
this.btn_Delete.Location = new System.Drawing.Point(851, 4);
|
||||
this.btn_Delete.Location = new System.Drawing.Point(824, 3);
|
||||
this.btn_Delete.Name = "btn_Delete";
|
||||
this.btn_Delete.Size = new System.Drawing.Size(61, 32);
|
||||
this.btn_Delete.TabIndex = 51;
|
||||
@@ -295,7 +300,7 @@
|
||||
//
|
||||
// btn_AddList
|
||||
//
|
||||
this.btn_AddList.Location = new System.Drawing.Point(583, 4);
|
||||
this.btn_AddList.Location = new System.Drawing.Point(556, 3);
|
||||
this.btn_AddList.Name = "btn_AddList";
|
||||
this.btn_AddList.Size = new System.Drawing.Size(61, 32);
|
||||
this.btn_AddList.TabIndex = 50;
|
||||
@@ -303,32 +308,52 @@
|
||||
this.btn_AddList.UseVisualStyleBackColor = true;
|
||||
this.btn_AddList.Click += new System.EventHandler(this.btn_AddList_Click);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Controls.Add(this.btn_Delete);
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Controls.Add(this.btn_Completion);
|
||||
this.panel1.Controls.Add(this.tb_Search);
|
||||
this.panel1.Controls.Add(this.btn_Progress);
|
||||
this.panel1.Controls.Add(this.cb_state);
|
||||
this.panel1.Controls.Add(this.btn_Merge);
|
||||
this.panel1.Controls.Add(this.btn_Lookup);
|
||||
this.panel1.Controls.Add(this.btn_Close);
|
||||
this.panel1.Controls.Add(this.btn_AddList);
|
||||
this.panel1.Controls.Add(this.btn_Excel);
|
||||
this.panel1.Controls.Add(this.btn_Save);
|
||||
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(1124, 38);
|
||||
this.panel1.TabIndex = 52;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.dataGridView1);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 38);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(1124, 623);
|
||||
this.panel2.TabIndex = 53;
|
||||
//
|
||||
// Mac_List
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1124, 661);
|
||||
this.Controls.Add(this.btn_Delete);
|
||||
this.Controls.Add(this.btn_Completion);
|
||||
this.Controls.Add(this.btn_Progress);
|
||||
this.Controls.Add(this.btn_Merge);
|
||||
this.Controls.Add(this.btn_Close);
|
||||
this.Controls.Add(this.btn_Excel);
|
||||
this.Controls.Add(this.btn_Save);
|
||||
this.Controls.Add(this.btn_AddList);
|
||||
this.Controls.Add(this.btn_Lookup);
|
||||
this.Controls.Add(this.cb_state);
|
||||
this.Controls.Add(this.dataGridView1);
|
||||
this.Controls.Add(this.tb_Search);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "Mac_List";
|
||||
this.ShowIcon = false;
|
||||
this.Text = "마크목록";
|
||||
this.Load += new System.EventHandler(this.Mac_List_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
@@ -361,5 +386,7 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn charge;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn check;
|
||||
public System.Windows.Forms.Button btn_Lookup;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
}
|
||||
}
|
||||
@@ -185,7 +185,12 @@ namespace UniMarc.마크
|
||||
FilePath = openFileDialog1.FileName;
|
||||
|
||||
string[] textValue = File.ReadAllLines(FilePath);
|
||||
|
||||
char Gubun = cb_Gubun.Text[0];
|
||||
if (cb_Gubun.SelectedIndex == 0)
|
||||
{
|
||||
Gubun = '\t';
|
||||
}
|
||||
|
||||
if (textValue.Length < 0)
|
||||
return;
|
||||
|
||||
@@ -119,7 +119,6 @@ namespace ExcelTest
|
||||
"ORDER BY `idx` ASC;", Area, "Obj_List_Book", sear_tbl[0], sear_tbl[1], sear_tbl[2], sear_col[0], sear_col[1], sear_col[2]);
|
||||
string db_res = db.DB_Send_CMD_Search(cmd);
|
||||
string[] db_data = db_res.Split('|');
|
||||
|
||||
string[] grid = {
|
||||
"", "", "", "", "",
|
||||
"", "", "", "", "",
|
||||
@@ -169,7 +168,10 @@ namespace ExcelTest
|
||||
sear_col[0] = List_Book.Rows[a].Cells["marc_idx"].Value.ToString();
|
||||
}
|
||||
|
||||
string Chk_Cmd = db.More_DB_Search(Table, sear_tbl, sear_col, Area);
|
||||
string Chk_Cmd = string.Format("SELECT {0} FROM {1} WHERE `{2}` = \"{3}\" ORDER BY FIELD(`compidx`, {4}) DESC;",
|
||||
Area, Table, sear_tbl[0], sear_col[0], compidx);
|
||||
//db.More_DB_Search(Table, sear_tbl, sear_col, Area);
|
||||
|
||||
string Chk_Res = db.DB_Send_CMD_Search(Chk_Cmd);
|
||||
string[] Chk_Arr = Chk_Res.Split('|');
|
||||
|
||||
@@ -590,7 +592,11 @@ namespace ExcelTest
|
||||
return;
|
||||
}
|
||||
string table_name = "Marc";
|
||||
string BaseText = richTextBox1.Text + "\n";
|
||||
string BaseText = richTextBox1.Text;
|
||||
|
||||
if (!BaseText.EndsWith("\n"))
|
||||
BaseText += "\n";
|
||||
|
||||
if (!isPass(BaseText)) {
|
||||
MessageBox.Show("입력된 마크의 상태를 확인해주세요.");
|
||||
return;
|
||||
@@ -606,19 +612,40 @@ namespace ExcelTest
|
||||
string date = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
string orimarc = st.made_Ori_marc(richTextBox1).Replace(@"\", "₩");
|
||||
string Midx = List_Book.Rows[SaveRowIdx].Cells["marc_idx"].Value.ToString();
|
||||
// 필수태그 확인
|
||||
if (!isMustTag(orimarc))
|
||||
{
|
||||
richTextBox1.Text = BaseText;
|
||||
return;
|
||||
}
|
||||
|
||||
string SaveDate = List_Book.Rows[SaveRowIdx].Cells["SaveDate"].Value.ToString();
|
||||
string SaveUser = List_Book.Rows[SaveRowIdx].Cells["user"].Value.ToString();
|
||||
bool IsCoverDate = false;
|
||||
|
||||
if (SaveDate != "")
|
||||
{
|
||||
// 마지막 수정일로부터 2일이 지났는지, 마지막 저장자가 사용자인지 확인
|
||||
TimeSpan sp = spspsp(SaveDate, date);
|
||||
IsCoverDate = IsCoverData(sp.Days, SaveUser);
|
||||
|
||||
if (IsCoverDate) {
|
||||
etc2.Text = etc2.Text.Replace(SaveDate, date);
|
||||
}
|
||||
else {
|
||||
etc2.Text += string.Format("{0}\t{1}\n", date, user_name);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
etc2.Text += string.Format("{0}\t{1}\n", date, user_name);
|
||||
}
|
||||
|
||||
// true일 경우 INSERT, false일 경우 UPDATE
|
||||
bool isNewData = true;
|
||||
|
||||
if (Midx != "") {
|
||||
if (Midx != "")
|
||||
isNewData = false;
|
||||
}
|
||||
|
||||
// 필수태그 확인
|
||||
if (!isMustTag(orimarc)) {
|
||||
richTextBox1.Text = BaseText;
|
||||
return;
|
||||
}
|
||||
|
||||
if (List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor == Color.Orange ||
|
||||
List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor == Color.Red)
|
||||
@@ -650,25 +677,31 @@ namespace ExcelTest
|
||||
string[] Sear_tbl = { "idx" };
|
||||
string[] Sear_col = { Midx };
|
||||
|
||||
string res = Sub_marc_chk(grid_data[0]);
|
||||
switch (res)
|
||||
int marcChk = Sub_marc_chk(grid_data[0]);
|
||||
if (IsCoverDate)
|
||||
marcChk--;
|
||||
|
||||
switch (marcChk)
|
||||
{
|
||||
case "0":
|
||||
case 0:
|
||||
Edit_tbl[1] = "marc1";
|
||||
Edit_tbl[2] = "marc_chk1";
|
||||
Edit_tbl[3] = "marc_chk";
|
||||
break;
|
||||
case "1":
|
||||
case 1:
|
||||
Edit_tbl[1] = "marc2";
|
||||
Edit_tbl[2] = "marc_chk2";
|
||||
Edit_tbl[3] = "marc_chk1";
|
||||
break;
|
||||
case "2":
|
||||
case 2:
|
||||
Edit_tbl[1] = "marc";
|
||||
Edit_tbl[2] = "marc_chk";
|
||||
Edit_tbl[3] = "marc_chk2";
|
||||
break;
|
||||
default:
|
||||
Edit_tbl[1] = "marc";
|
||||
Edit_tbl[2] = "marc_chk";
|
||||
Edit_tbl[3] = "marc_chk2";
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -683,20 +716,44 @@ namespace ExcelTest
|
||||
|
||||
List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor = SetGradeColor(grade.ToString());
|
||||
|
||||
|
||||
if (isNewData) {
|
||||
string MidxQuery = string.Format("SELECT `idx` FROM Marc WHERE isbn = {0};", grid_data[0]);
|
||||
string MidxQuery = string.Format("SELECT `idx` FROM Marc WHERE isbn = {0} AND `compidx` = {1};", grid_data[0], compidx);
|
||||
Midx = db.DB_Send_CMD_Search(MidxQuery).Replace("|", "");
|
||||
}
|
||||
|
||||
string UpdateListIndex = string.Format("UPDATE `Obj_List_Book` SET `m_idx` = {0} WHERE `idx` = {1};",
|
||||
Midx, List_Book.Rows[SaveRowIdx].Cells["list_idx"].Value.ToString());
|
||||
db.DB_Send_CMD_reVoid(UpdateListIndex);
|
||||
|
||||
MessageBox.Show("저장되었습니다!");
|
||||
}
|
||||
|
||||
#region Save_Click_Sub
|
||||
|
||||
/// <summary>
|
||||
/// 마크 저장시 사용하며, 마지막 수정일과 수정자를 가져와 덮어씌울지 백업데이터를 만들지 구분
|
||||
/// </summary>
|
||||
/// <param name="TimeSpanDaysValue">저장할 마크의 마지막 수정일</param>
|
||||
/// <param name="user">저장할 마크의 마지막 수정자</param>
|
||||
/// <returns>마지막 수정일로부터 2일이 지나지않고, 마지막 수정자와 해당 유저가 동일 할 경우 true 반환</returns>
|
||||
private bool IsCoverData(int TimeSpanDaysValue, string user)
|
||||
{
|
||||
if (TimeSpanDaysValue < -1)
|
||||
return false;
|
||||
if (user != user_name)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private TimeSpan spspsp(string LastDate, string SaveDate)
|
||||
{
|
||||
DateTime date1 = Convert.ToDateTime(LastDate);
|
||||
DateTime date2 = Convert.ToDateTime(SaveDate);
|
||||
|
||||
TimeSpan result = date1 - date2;
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 마크 오류체크 (형식체크)
|
||||
/// </summary>
|
||||
@@ -839,7 +896,7 @@ namespace ExcelTest
|
||||
return tag056;
|
||||
}
|
||||
|
||||
private string Sub_marc_chk(string isbn)
|
||||
private int Sub_marc_chk(string isbn)
|
||||
{
|
||||
string Area = "`marc_chk`, `marc_chk1`, `marc_chk2`";
|
||||
string cmd = db.DB_Select_Search(Area, "Marc", "ISBN", isbn);
|
||||
@@ -849,10 +906,10 @@ namespace ExcelTest
|
||||
for (int a = 0; a < chk_ary.Length; a++)
|
||||
{
|
||||
if (chk_ary[a] == "1") {
|
||||
return a.ToString();
|
||||
return a;
|
||||
}
|
||||
}
|
||||
return "0";
|
||||
return 0;
|
||||
}
|
||||
#endregion
|
||||
|
||||
@@ -1076,7 +1133,7 @@ namespace ExcelTest
|
||||
"300\t \t▼a▼c▲\n" +
|
||||
"653\t \t▼a▲\n" +
|
||||
"700\t \t▼a▲\n" +
|
||||
"950\t \t▼b₩{5}▲\n",
|
||||
"950\t \t▼b\\{5}▲\n",
|
||||
Empty_008, data_book[0], data_book[1], data_book[2], data_book[3], data_book[4]);
|
||||
etc1.Text = "";
|
||||
etc2.Text = "";
|
||||
@@ -1430,7 +1487,8 @@ namespace ExcelTest
|
||||
private void Search_ReSet()
|
||||
{
|
||||
DataGridViewBand reSet;
|
||||
for (int a = 0; a < List_Book.RowCount; a++) {
|
||||
for (int a = 0; a < List_Book.RowCount; a++)
|
||||
{
|
||||
reSet = List_Book.Rows[a];
|
||||
reSet.Visible = true;
|
||||
}
|
||||
@@ -1485,6 +1543,9 @@ namespace ExcelTest
|
||||
text008.Text = GridData[5];
|
||||
List_Book.Rows[row].Cells["db_marc"].Value = GridData[6];
|
||||
|
||||
List_Book.Rows[row].DefaultCellStyle.ForeColor= SetGradeColor(GridData[4]);
|
||||
List_Book.Rows[row].DefaultCellStyle.BackColor = Color.Yellow;
|
||||
|
||||
bool checkMarc = click_Marc(row);
|
||||
if (checkMarc)
|
||||
{
|
||||
@@ -1617,7 +1678,6 @@ namespace ExcelTest
|
||||
private void btn_FillBlank_Click(object sender, EventArgs e)
|
||||
{
|
||||
// tabControl1.SelectedIndex = 1;
|
||||
|
||||
int row = List_Book.CurrentRow.Index;
|
||||
string ISBN = List_Book.Rows[row].Cells["ISBN13"].Value.ToString();
|
||||
|
||||
@@ -1628,6 +1688,23 @@ namespace ExcelTest
|
||||
}
|
||||
|
||||
UniMarc.Marc_FillBlank fb = new UniMarc.Marc_FillBlank(this);
|
||||
for (int a = 0; a < List_Book.Rows.Count; a++)
|
||||
{
|
||||
if (List_Book.Rows[a].DefaultCellStyle.ForeColor == Color.Red)
|
||||
{
|
||||
string[] GridData =
|
||||
{
|
||||
a.ToString(),
|
||||
List_Book.Rows[a].Cells["ISBN13"].Value.ToString(),
|
||||
List_Book.Rows[a].Cells["book_name"].Value.ToString(),
|
||||
List_Book.Rows[a].Cells["author"].Value.ToString(),
|
||||
List_Book.Rows[a].Cells["book_comp"].Value.ToString(),
|
||||
List_Book.Rows[a].Cells["pay"].Value.ToString(),
|
||||
""
|
||||
};
|
||||
fb.InitFillBlank(GridData);
|
||||
}
|
||||
}
|
||||
fb.ISBN = ISBN;
|
||||
fb.Show();
|
||||
}
|
||||
@@ -1747,6 +1824,7 @@ namespace ExcelTest
|
||||
}
|
||||
|
||||
#region Grid_Input
|
||||
|
||||
/// <summary>
|
||||
/// 020Grid에 적용하는 함수
|
||||
/// </summary>
|
||||
@@ -2360,7 +2438,7 @@ namespace ExcelTest
|
||||
RemainTag = RemainTag.Distinct().ToList();
|
||||
|
||||
|
||||
richTextBox1.Text = string.Join("\n", RemainTag);
|
||||
richTextBox1.Text = string.Join("\n", RemainTag) + "\n";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -2649,7 +2727,6 @@ namespace ExcelTest
|
||||
else
|
||||
v490 = dgv.Rows[a].Cells["text490v"].Value.ToString();
|
||||
|
||||
|
||||
result += string.Format("490\t \t▼a{0}", a490);
|
||||
|
||||
if (v490 != "") result += "▼v" + v490;
|
||||
@@ -2663,7 +2740,7 @@ namespace ExcelTest
|
||||
private string Grid505Insert(DataGridView dgv)
|
||||
{
|
||||
int count = dgv.Rows.Count - 1;
|
||||
string result = string.Format("505\t 0\t");
|
||||
string result = "";
|
||||
|
||||
for (int a = 0; a < count; a++)
|
||||
{
|
||||
@@ -2703,6 +2780,9 @@ namespace ExcelTest
|
||||
result += "▲\n";
|
||||
}
|
||||
|
||||
if (result != "")
|
||||
result = string.Format("505\t 0\t") + result;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
107
unimarc/unimarc/마크/Marc.designer.cs
generated
107
unimarc/unimarc/마크/Marc.designer.cs
generated
@@ -99,10 +99,9 @@
|
||||
this.comboBox8 = new System.Windows.Forms.ComboBox();
|
||||
this.comboBox9 = new System.Windows.Forms.ComboBox();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.btn_mk_marcList = new System.Windows.Forms.Button();
|
||||
this.btn_CopySelect = new System.Windows.Forms.Button();
|
||||
this.btn_FilterReturn = new System.Windows.Forms.Button();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
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();
|
||||
@@ -120,6 +119,10 @@
|
||||
this.groupBox10 = new System.Windows.Forms.GroupBox();
|
||||
this.text505a = new System.Windows.Forms.TextBox();
|
||||
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.label42 = new System.Windows.Forms.Label();
|
||||
this.label45 = new System.Windows.Forms.Label();
|
||||
this.label41 = new System.Windows.Forms.Label();
|
||||
@@ -246,15 +249,10 @@
|
||||
this.lbl_SaveData = new System.Windows.Forms.Label();
|
||||
this.lbl_ISBN = new System.Windows.Forms.Label();
|
||||
this.lbl_BookList = new System.Windows.Forms.Label();
|
||||
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();
|
||||
((System.ComponentModel.ISupportInitialize)(this.List_Book)).BeginInit();
|
||||
this.panel3.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.tabControl1.SuspendLayout();
|
||||
this.tabPage1.SuspendLayout();
|
||||
this.tabPage2.SuspendLayout();
|
||||
@@ -536,7 +534,7 @@
|
||||
//
|
||||
// Btn_Memo
|
||||
//
|
||||
this.Btn_Memo.Location = new System.Drawing.Point(1512, 158);
|
||||
this.Btn_Memo.Location = new System.Drawing.Point(1512, 169);
|
||||
this.Btn_Memo.Name = "Btn_Memo";
|
||||
this.Btn_Memo.Size = new System.Drawing.Size(77, 23);
|
||||
this.Btn_Memo.TabIndex = 215;
|
||||
@@ -722,7 +720,7 @@
|
||||
//
|
||||
// btn_Save
|
||||
//
|
||||
this.btn_Save.Location = new System.Drawing.Point(1512, 186);
|
||||
this.btn_Save.Location = new System.Drawing.Point(1512, 197);
|
||||
this.btn_Save.Name = "btn_Save";
|
||||
this.btn_Save.Size = new System.Drawing.Size(77, 23);
|
||||
this.btn_Save.TabIndex = 215;
|
||||
@@ -776,7 +774,7 @@
|
||||
//
|
||||
// btn_close
|
||||
//
|
||||
this.btn_close.Location = new System.Drawing.Point(1512, 244);
|
||||
this.btn_close.Location = new System.Drawing.Point(1512, 255);
|
||||
this.btn_close.Name = "btn_close";
|
||||
this.btn_close.Size = new System.Drawing.Size(77, 23);
|
||||
this.btn_close.TabIndex = 215;
|
||||
@@ -812,7 +810,7 @@
|
||||
//
|
||||
// btn_preview
|
||||
//
|
||||
this.btn_preview.Location = new System.Drawing.Point(1512, 215);
|
||||
this.btn_preview.Location = new System.Drawing.Point(1512, 226);
|
||||
this.btn_preview.Name = "btn_preview";
|
||||
this.btn_preview.Size = new System.Drawing.Size(77, 23);
|
||||
this.btn_preview.TabIndex = 215;
|
||||
@@ -891,9 +889,9 @@
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.Silver;
|
||||
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel1.Controls.Add(this.btn_mk_marcList);
|
||||
this.panel1.Controls.Add(this.btn_CopySelect);
|
||||
this.panel1.Controls.Add(this.btn_FilterReturn);
|
||||
this.panel1.Controls.Add(this.panel2);
|
||||
this.panel1.Controls.Add(this.btn_Search);
|
||||
this.panel1.Controls.Add(this.rb_Sort);
|
||||
this.panel1.Controls.Add(this.comboBox9);
|
||||
@@ -901,14 +899,24 @@
|
||||
this.panel1.Controls.Add(this.comboBox8);
|
||||
this.panel1.Location = new System.Drawing.Point(12, 36);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(508, 35);
|
||||
this.panel1.Size = new System.Drawing.Size(525, 35);
|
||||
this.panel1.TabIndex = 226;
|
||||
//
|
||||
// btn_mk_marcList
|
||||
//
|
||||
this.btn_mk_marcList.Location = new System.Drawing.Point(434, 5);
|
||||
this.btn_mk_marcList.Name = "btn_mk_marcList";
|
||||
this.btn_mk_marcList.Size = new System.Drawing.Size(85, 23);
|
||||
this.btn_mk_marcList.TabIndex = 227;
|
||||
this.btn_mk_marcList.Text = "마크목록생성";
|
||||
this.btn_mk_marcList.UseVisualStyleBackColor = true;
|
||||
this.btn_mk_marcList.Click += new System.EventHandler(this.btn_mk_marcList_Click);
|
||||
//
|
||||
// btn_CopySelect
|
||||
//
|
||||
this.btn_CopySelect.BackColor = System.Drawing.Color.Khaki;
|
||||
this.btn_CopySelect.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btn_CopySelect.Location = new System.Drawing.Point(373, 5);
|
||||
this.btn_CopySelect.Location = new System.Drawing.Point(388, 5);
|
||||
this.btn_CopySelect.Name = "btn_CopySelect";
|
||||
this.btn_CopySelect.Size = new System.Drawing.Size(30, 23);
|
||||
this.btn_CopySelect.TabIndex = 319;
|
||||
@@ -926,25 +934,6 @@
|
||||
this.btn_FilterReturn.UseVisualStyleBackColor = true;
|
||||
this.btn_FilterReturn.Click += new System.EventHandler(this.btn_FilterReturn_Click);
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel2.Controls.Add(this.btn_mk_marcList);
|
||||
this.panel2.Location = new System.Drawing.Point(409, -1);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(98, 35);
|
||||
this.panel2.TabIndex = 228;
|
||||
//
|
||||
// btn_mk_marcList
|
||||
//
|
||||
this.btn_mk_marcList.Location = new System.Drawing.Point(6, 5);
|
||||
this.btn_mk_marcList.Name = "btn_mk_marcList";
|
||||
this.btn_mk_marcList.Size = new System.Drawing.Size(85, 23);
|
||||
this.btn_mk_marcList.TabIndex = 227;
|
||||
this.btn_mk_marcList.Text = "마크목록생성";
|
||||
this.btn_mk_marcList.UseVisualStyleBackColor = true;
|
||||
this.btn_mk_marcList.Click += new System.EventHandler(this.btn_mk_marcList_Click);
|
||||
//
|
||||
// btn_Search
|
||||
//
|
||||
this.btn_Search.Location = new System.Drawing.Point(315, 5);
|
||||
@@ -961,7 +950,7 @@
|
||||
this.checkBox3.BackColor = System.Drawing.Color.White;
|
||||
this.checkBox3.Checked = true;
|
||||
this.checkBox3.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.checkBox3.Location = new System.Drawing.Point(515, 79);
|
||||
this.checkBox3.Location = new System.Drawing.Point(514, 79);
|
||||
this.checkBox3.Name = "checkBox3";
|
||||
this.checkBox3.Size = new System.Drawing.Size(15, 14);
|
||||
this.checkBox3.TabIndex = 227;
|
||||
@@ -972,9 +961,9 @@
|
||||
//
|
||||
this.btn_FillBlank.Location = new System.Drawing.Point(1512, 119);
|
||||
this.btn_FillBlank.Name = "btn_FillBlank";
|
||||
this.btn_FillBlank.Size = new System.Drawing.Size(77, 33);
|
||||
this.btn_FillBlank.Size = new System.Drawing.Size(77, 44);
|
||||
this.btn_FillBlank.TabIndex = 228;
|
||||
this.btn_FillBlank.Text = "코리스\r\n칸채우기";
|
||||
this.btn_FillBlank.Text = "미소장 마크 코리스\r\n칸채우기";
|
||||
this.btn_FillBlank.UseVisualStyleBackColor = true;
|
||||
this.btn_FillBlank.Click += new System.EventHandler(this.btn_FillBlank_Click);
|
||||
//
|
||||
@@ -1177,6 +1166,28 @@
|
||||
this.GridView505.TabIndex = 246;
|
||||
this.GridView505.KeyDown += new System.Windows.Forms.KeyEventHandler(this.GridView_KeyDown);
|
||||
//
|
||||
// text505n
|
||||
//
|
||||
this.text505n.HeaderText = "505n";
|
||||
this.text505n.Name = "text505n";
|
||||
this.text505n.Width = 50;
|
||||
//
|
||||
// text505t
|
||||
//
|
||||
this.text505t.HeaderText = "505t";
|
||||
this.text505t.Name = "text505t";
|
||||
this.text505t.Width = 130;
|
||||
//
|
||||
// text505d
|
||||
//
|
||||
this.text505d.HeaderText = "505d";
|
||||
this.text505d.Name = "text505d";
|
||||
//
|
||||
// text505e
|
||||
//
|
||||
this.text505e.HeaderText = "505e";
|
||||
this.text505e.Name = "text505e";
|
||||
//
|
||||
// label42
|
||||
//
|
||||
this.label42.AutoSize = true;
|
||||
@@ -2486,28 +2497,6 @@
|
||||
this.lbl_BookList.TabIndex = 33;
|
||||
this.lbl_BookList.Text = " ";
|
||||
//
|
||||
// text505n
|
||||
//
|
||||
this.text505n.HeaderText = "505n";
|
||||
this.text505n.Name = "text505n";
|
||||
this.text505n.Width = 50;
|
||||
//
|
||||
// text505t
|
||||
//
|
||||
this.text505t.HeaderText = "505t";
|
||||
this.text505t.Name = "text505t";
|
||||
this.text505t.Width = 130;
|
||||
//
|
||||
// text505d
|
||||
//
|
||||
this.text505d.HeaderText = "505d";
|
||||
this.text505d.Name = "text505d";
|
||||
//
|
||||
// text505e
|
||||
//
|
||||
this.text505e.HeaderText = "505e";
|
||||
this.text505e.Name = "text505e";
|
||||
//
|
||||
// Marc
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
@@ -2564,7 +2553,6 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.tabControl1.ResumeLayout(false);
|
||||
this.tabPage1.ResumeLayout(false);
|
||||
this.tabPage2.ResumeLayout(false);
|
||||
@@ -2648,7 +2636,6 @@
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Button btn_Search;
|
||||
private System.Windows.Forms.Button btn_mk_marcList;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
public System.Windows.Forms.DataGridView List_Book;
|
||||
private System.Windows.Forms.CheckBox checkBox3;
|
||||
private System.Windows.Forms.Button btn_Reflesh008;
|
||||
|
||||
2028
unimarc/unimarc/마크/Marc_FillBlank.Designer.cs
generated
2028
unimarc/unimarc/마크/Marc_FillBlank.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -7,12 +7,15 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using WindowsFormsApp1;
|
||||
|
||||
namespace UniMarc
|
||||
{
|
||||
public partial class Marc_FillBlank : Form
|
||||
{
|
||||
public string ISBN;
|
||||
bool isAll;
|
||||
bool isBreak;
|
||||
ExcelTest.Marc marc;
|
||||
|
||||
public Marc_FillBlank(ExcelTest.Marc _marc)
|
||||
@@ -23,7 +26,17 @@ namespace UniMarc
|
||||
|
||||
private void Marc_FillBlank_Load(object sender, EventArgs e)
|
||||
{
|
||||
string url = string.Format(
|
||||
webBrowser1.Navigate(MakeURL(ISBN));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 입력된 ISBN으로 코리스URL을 생성함.
|
||||
/// </summary>
|
||||
/// <param name="ISBN"></param>
|
||||
/// <returns></returns>
|
||||
string MakeURL(string ISBN)
|
||||
{
|
||||
return string.Format(
|
||||
"https://nl.go.kr/kolisnet/search/searchResultAllList.do?" +
|
||||
"tab=ALL&" +
|
||||
"historyYn=Y&" +
|
||||
@@ -35,16 +48,23 @@ namespace UniMarc
|
||||
"bookFilter=NK&" +
|
||||
"bookFilter=NP&" +
|
||||
"bookFilter=OT", ISBN);
|
||||
}
|
||||
|
||||
webBrowser1.Navigate(url);
|
||||
/// <summary>
|
||||
/// 옆 그리드에 채울 정보를 입력
|
||||
/// </summary>
|
||||
/// <param name="GridData">[0]idx [1]ISBN [2]도서명 [3]저자 [4]출판사 [5]가격</param>
|
||||
public void InitFillBlank(string[] GridData)
|
||||
{
|
||||
dataGridView1.Rows.Add(GridData);
|
||||
}
|
||||
|
||||
private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
|
||||
{
|
||||
tb_URL.Text = webBrowser1.Url.AbsoluteUri;
|
||||
if (this.webBrowser1.ReadyState == WebBrowserReadyState.Complete)
|
||||
//if (this.webBrowser1.ReadyState == WebBrowserReadyState.Complete)
|
||||
{
|
||||
if (tb_URL.Text.Contains(ISBN))
|
||||
if (tb_URL.Text.Contains("searchResultAllList"))
|
||||
InitCrowling();
|
||||
|
||||
if (tb_URL.Text.Contains("searchResultEditonList"))
|
||||
@@ -78,8 +98,7 @@ namespace UniMarc
|
||||
|
||||
if (resultCount.Contains("0"))
|
||||
{
|
||||
MessageBox.Show("검색결과가 없습니다.");
|
||||
this.Close();
|
||||
isBreak = true;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -108,7 +127,6 @@ namespace UniMarc
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -154,7 +172,23 @@ namespace UniMarc
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(!isAll)
|
||||
richTextBox1.Text = SplitText(Text);
|
||||
else
|
||||
{
|
||||
String_Text st = new String_Text();
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
string isbn = dataGridView1.Rows[a].Cells["ISBN13"].Value.ToString();
|
||||
|
||||
if (tb_URL.Text.Contains(isbn))
|
||||
{
|
||||
dataGridView1.Rows[a].Cells["BookMarc"].Value = SplitText(Text);
|
||||
isBreak = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private string SplitText(string Text)
|
||||
@@ -200,22 +234,110 @@ namespace UniMarc
|
||||
|
||||
private void btn_Move_Click(object sender, EventArgs e)
|
||||
{
|
||||
isAll = false;
|
||||
marc.richTextBox1.Text = "";
|
||||
|
||||
string Text = richTextBox1.Text;
|
||||
marc.richTextBox1.Text = MakeMarc(Text);
|
||||
// string[] SplitLine = Text.Split('\n');
|
||||
//
|
||||
// foreach (string Line in SplitLine)
|
||||
// {
|
||||
// if (Line == "") break;
|
||||
//
|
||||
// // [0]:태그번호, [1]:지시기호, [2]:마크내용
|
||||
// string[] SplitTag = Line.Split('\t');
|
||||
// SplitTag[3] = SplitTag[3].Replace("↔", "");
|
||||
// SplitTag[1] = SplitTag[1].PadRight(2, ' ');
|
||||
// //marc.richTextBox1.Text += string.Format("{0}\t{1}\t{2}\n", SplitTag[0], SplitTag[1], SplitTag[2]);
|
||||
//
|
||||
// // marc.InputTotal(SplitTag);
|
||||
// }
|
||||
}
|
||||
|
||||
string[] SplitLine = Text.Split('\n');
|
||||
foreach (string Line in SplitLine)
|
||||
private void btn_AllMove_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (Line == "") break;
|
||||
String_Text st = new String_Text();
|
||||
|
||||
// [0]:태그번호, [1]:지시기호, [2]:마크내용
|
||||
string[] SplitTag = Line.Split('\t');
|
||||
progressBar1.Maximum = dataGridView1.Rows.Count;
|
||||
isAll = true;
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
for (int b = 0; b < dataGridView1.RowCount; b++)
|
||||
{
|
||||
dataGridView1.Rows[b].DefaultCellStyle.BackColor = Color.White;
|
||||
}
|
||||
isBreak = false;
|
||||
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Yellow;
|
||||
int idx = Convert.ToInt32(dataGridView1.Rows[a].Cells["List_idx"].Value.ToString());
|
||||
string isbn = dataGridView1.Rows[a].Cells["ISBN13"].Value.ToString();
|
||||
|
||||
string URL = MakeURL(isbn);
|
||||
webBrowser1.Navigate(URL);
|
||||
|
||||
// 검색이 다 될때까지 기다림
|
||||
while (!isBreak)
|
||||
{
|
||||
Delay(300);
|
||||
}
|
||||
|
||||
string marc = dataGridView1.Rows[a].Cells["BookMarc"].Value.ToString();
|
||||
if (marc == "")
|
||||
dataGridView1.Rows[a].DefaultCellStyle.ForeColor = Color.Red;
|
||||
else
|
||||
{
|
||||
dataGridView1.Rows[a].DefaultCellStyle.ForeColor = Color.Blue;
|
||||
this.marc.List_Book.Rows[idx].Cells["db_marc"].Value = st.made_Ori_marc(MakeMarc(marc));
|
||||
}
|
||||
|
||||
progressBar1.Value += 1;
|
||||
}
|
||||
|
||||
MessageBox.Show("완료되었습니다!");
|
||||
}
|
||||
|
||||
string MakeMarc(string text)
|
||||
{
|
||||
string[] SplitLine = text.Split('\n');
|
||||
|
||||
string result = "";
|
||||
foreach (string line in SplitLine)
|
||||
{
|
||||
if (line == "") continue;
|
||||
|
||||
string[] SplitTag = line.Split('\t');
|
||||
SplitTag[2] = SplitTag[2].Replace("↔", "");
|
||||
SplitTag[1] = SplitTag[1].PadRight(2, ' ');
|
||||
marc.richTextBox1.Text += string.Format("{0}\t{1}\t{2}\n", SplitTag[0], SplitTag[1], SplitTag[2]);
|
||||
// marc.InputTotal(SplitTag);
|
||||
}
|
||||
result += string.Format("{0}\t{1}\t{2}\n", SplitTag[0], SplitTag[1], SplitTag[2]);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 지연시키는 함수
|
||||
/// </summary>
|
||||
/// <param name="ms">1000 = 1초</param>
|
||||
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 dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
int row = dataGridView1.CurrentCell.RowIndex;
|
||||
|
||||
richTextBox1.Text = dataGridView1.Rows[row].Cells["BookMarc"].Value.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,70 +117,25 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="text490a.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="List_idx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text490v.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="ISBN13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text505n.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="BookName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text505t.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="Author.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text505d.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="BookComp.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text505e.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="Price.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text440a.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text440n.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text440p.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text440v.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text440x.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="BookMarc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
Reference in New Issue
Block a user