=====* unimarc [0.0104] 버전관리 시작 *=====
1. 인쇄 오류 수정 2. DLS복본조사 추가
This commit is contained in:
Binary file not shown.
297
ISBN_Check_test/Form1.Designer.cs
generated
297
ISBN_Check_test/Form1.Designer.cs
generated
@@ -29,21 +29,12 @@ namespace ISBN_Check_test
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.cb_filter = new System.Windows.Forms.ComboBox();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||
this.start_idx = new System.Windows.Forms.TextBox();
|
||||
this.end_idx = new System.Windows.Forms.TextBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.cb_api = new System.Windows.Forms.ComboBox();
|
||||
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
||||
this.btn_Yes24 = new System.Windows.Forms.Button();
|
||||
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.author = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -55,21 +46,37 @@ namespace ISBN_Check_test
|
||||
this.sold_out = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||
this.start_idx = new System.Windows.Forms.TextBox();
|
||||
this.end_idx = new System.Windows.Forms.TextBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.cb_api = new System.Windows.Forms.ComboBox();
|
||||
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
||||
this.btn_Yes24 = new System.Windows.Forms.Button();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// cb_filter
|
||||
//
|
||||
this.cb_filter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_filter.FormattingEnabled = true;
|
||||
this.cb_filter.Location = new System.Drawing.Point(154, 10);
|
||||
this.cb_filter.Location = new System.Drawing.Point(139, 11);
|
||||
this.cb_filter.Name = "cb_filter";
|
||||
this.cb_filter.Size = new System.Drawing.Size(121, 20);
|
||||
this.cb_filter.TabIndex = 0;
|
||||
this.cb_filter.SelectedIndexChanged += new System.EventHandler(this.cb_filter_SelectedIndexChanged);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(431, 9);
|
||||
this.button1.Location = new System.Drawing.Point(416, 10);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||
this.button1.TabIndex = 2;
|
||||
@@ -79,14 +86,14 @@ namespace ISBN_Check_test
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle10.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.book_name,
|
||||
this.author,
|
||||
@@ -99,106 +106,27 @@ namespace ISBN_Check_test
|
||||
this.sold_out,
|
||||
this.Column1,
|
||||
this.count});
|
||||
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnF2;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(12, 38);
|
||||
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle12.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle12;
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(973, 466);
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1001, 471);
|
||||
this.dataGridView1.TabIndex = 3;
|
||||
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
|
||||
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
|
||||
this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
|
||||
this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(734, 15);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(65, 12);
|
||||
this.label1.TabIndex = 4;
|
||||
this.label1.Text = "00:00:00.00";
|
||||
//
|
||||
// richTextBox1
|
||||
//
|
||||
this.richTextBox1.Location = new System.Drawing.Point(12, 510);
|
||||
this.richTextBox1.Name = "richTextBox1";
|
||||
this.richTextBox1.Size = new System.Drawing.Size(973, 96);
|
||||
this.richTextBox1.TabIndex = 5;
|
||||
this.richTextBox1.Text = "";
|
||||
//
|
||||
// start_idx
|
||||
//
|
||||
this.start_idx.Location = new System.Drawing.Point(287, 10);
|
||||
this.start_idx.Name = "start_idx";
|
||||
this.start_idx.Size = new System.Drawing.Size(42, 21);
|
||||
this.start_idx.TabIndex = 6;
|
||||
this.start_idx.Text = "1";
|
||||
this.start_idx.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);
|
||||
//
|
||||
// end_idx
|
||||
//
|
||||
this.end_idx.Location = new System.Drawing.Point(355, 10);
|
||||
this.end_idx.Name = "end_idx";
|
||||
this.end_idx.Size = new System.Drawing.Size(42, 21);
|
||||
this.end_idx.TabIndex = 6;
|
||||
this.end_idx.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(335, 14);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(14, 12);
|
||||
this.label2.TabIndex = 4;
|
||||
this.label2.Text = "~";
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(518, 9);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(75, 23);
|
||||
this.button2.TabIndex = 2;
|
||||
this.button2.Text = "리 셋";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
// cb_api
|
||||
//
|
||||
this.cb_api.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_api.FormattingEnabled = true;
|
||||
this.cb_api.Location = new System.Drawing.Point(27, 9);
|
||||
this.cb_api.Name = "cb_api";
|
||||
this.cb_api.Size = new System.Drawing.Size(121, 20);
|
||||
this.cb_api.TabIndex = 0;
|
||||
this.cb_api.SelectedIndexChanged += new System.EventHandler(this.cb_api_SelectedIndexChanged);
|
||||
//
|
||||
// progressBar1
|
||||
//
|
||||
this.progressBar1.Location = new System.Drawing.Point(801, 9);
|
||||
this.progressBar1.Name = "progressBar1";
|
||||
this.progressBar1.Size = new System.Drawing.Size(184, 23);
|
||||
this.progressBar1.TabIndex = 7;
|
||||
//
|
||||
// btn_Yes24
|
||||
//
|
||||
this.btn_Yes24.Location = new System.Drawing.Point(605, 9);
|
||||
this.btn_Yes24.Name = "btn_Yes24";
|
||||
this.btn_Yes24.Size = new System.Drawing.Size(75, 23);
|
||||
this.btn_Yes24.TabIndex = 8;
|
||||
this.btn_Yes24.Text = "Yes반출";
|
||||
this.btn_Yes24.UseVisualStyleBackColor = true;
|
||||
this.btn_Yes24.Click += new System.EventHandler(this.btn_Yes24_Click);
|
||||
//
|
||||
// book_name
|
||||
//
|
||||
this.book_name.HeaderText = "도서명";
|
||||
@@ -258,35 +186,147 @@ namespace ISBN_Check_test
|
||||
//
|
||||
// count
|
||||
//
|
||||
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.count.DefaultCellStyle = dataGridViewCellStyle11;
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.count.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.count.HeaderText = "검색갯수";
|
||||
this.count.Name = "count";
|
||||
this.count.Width = 80;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(719, 16);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(65, 12);
|
||||
this.label1.TabIndex = 4;
|
||||
this.label1.Text = "00:00:00.00";
|
||||
//
|
||||
// richTextBox1
|
||||
//
|
||||
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.richTextBox1.Location = new System.Drawing.Point(0, 0);
|
||||
this.richTextBox1.Name = "richTextBox1";
|
||||
this.richTextBox1.Size = new System.Drawing.Size(1001, 100);
|
||||
this.richTextBox1.TabIndex = 5;
|
||||
this.richTextBox1.Text = "";
|
||||
//
|
||||
// start_idx
|
||||
//
|
||||
this.start_idx.Location = new System.Drawing.Point(272, 11);
|
||||
this.start_idx.Name = "start_idx";
|
||||
this.start_idx.Size = new System.Drawing.Size(42, 21);
|
||||
this.start_idx.TabIndex = 6;
|
||||
this.start_idx.Text = "1";
|
||||
this.start_idx.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);
|
||||
//
|
||||
// end_idx
|
||||
//
|
||||
this.end_idx.Location = new System.Drawing.Point(340, 11);
|
||||
this.end_idx.Name = "end_idx";
|
||||
this.end_idx.Size = new System.Drawing.Size(42, 21);
|
||||
this.end_idx.TabIndex = 6;
|
||||
this.end_idx.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(320, 15);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(14, 12);
|
||||
this.label2.TabIndex = 4;
|
||||
this.label2.Text = "~";
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(503, 10);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(75, 23);
|
||||
this.button2.TabIndex = 2;
|
||||
this.button2.Text = "리 셋";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
// cb_api
|
||||
//
|
||||
this.cb_api.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_api.FormattingEnabled = true;
|
||||
this.cb_api.Location = new System.Drawing.Point(12, 10);
|
||||
this.cb_api.Name = "cb_api";
|
||||
this.cb_api.Size = new System.Drawing.Size(121, 20);
|
||||
this.cb_api.TabIndex = 0;
|
||||
this.cb_api.SelectedIndexChanged += new System.EventHandler(this.cb_api_SelectedIndexChanged);
|
||||
//
|
||||
// progressBar1
|
||||
//
|
||||
this.progressBar1.Location = new System.Drawing.Point(786, 10);
|
||||
this.progressBar1.Name = "progressBar1";
|
||||
this.progressBar1.Size = new System.Drawing.Size(184, 23);
|
||||
this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
|
||||
this.progressBar1.TabIndex = 7;
|
||||
//
|
||||
// btn_Yes24
|
||||
//
|
||||
this.btn_Yes24.Location = new System.Drawing.Point(590, 10);
|
||||
this.btn_Yes24.Name = "btn_Yes24";
|
||||
this.btn_Yes24.Size = new System.Drawing.Size(75, 23);
|
||||
this.btn_Yes24.TabIndex = 8;
|
||||
this.btn_Yes24.Text = "Yes반출";
|
||||
this.btn_Yes24.UseVisualStyleBackColor = true;
|
||||
this.btn_Yes24.Click += new System.EventHandler(this.btn_Yes24_Click);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.cb_api);
|
||||
this.panel1.Controls.Add(this.btn_Yes24);
|
||||
this.panel1.Controls.Add(this.cb_filter);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Controls.Add(this.button1);
|
||||
this.panel1.Controls.Add(this.progressBar1);
|
||||
this.panel1.Controls.Add(this.button2);
|
||||
this.panel1.Controls.Add(this.end_idx);
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Controls.Add(this.start_idx);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(1001, 47);
|
||||
this.panel1.TabIndex = 9;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.richTextBox1);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 518);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(1001, 100);
|
||||
this.panel2.TabIndex = 10;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.Controls.Add(this.dataGridView1);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 47);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(1001, 471);
|
||||
this.panel3.TabIndex = 11;
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1001, 618);
|
||||
this.Controls.Add(this.btn_Yes24);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.progressBar1);
|
||||
this.Controls.Add(this.end_idx);
|
||||
this.Controls.Add(this.start_idx);
|
||||
this.Controls.Add(this.richTextBox1);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.dataGridView1);
|
||||
this.Controls.Add(this.button2);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.cb_api);
|
||||
this.Controls.Add(this.cb_filter);
|
||||
this.Controls.Add(this.panel3);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "Form1";
|
||||
this.Text = "Form1";
|
||||
this.Load += new System.EventHandler(this.Form1_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
@@ -315,6 +355,9 @@ namespace ISBN_Check_test
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn sold_out;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn count;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -86,20 +86,6 @@ namespace ISBN_Check_test
|
||||
dataGridView1.CurrentCell = dataGridView1.Rows[0].Cells[0];
|
||||
this.ActiveControl = dataGridView1;
|
||||
}
|
||||
#region 검색갯수 계산
|
||||
private void count_res()
|
||||
{
|
||||
String_Text st = new String_Text();
|
||||
int count = dataGridView1.Rows.Count;
|
||||
for(int a= 0; a < count; a++)
|
||||
{
|
||||
string search_data = dataGridView1.Rows[a].Cells["Column1"].Value.ToString();
|
||||
int tmp_count = st.Char_count(search_data, '|');
|
||||
int lcount = tmp_count / 8;
|
||||
dataGridView1.Rows[a].Cells["count"].Value = lcount.ToString();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
/// <summary>
|
||||
/// 알라딘 API
|
||||
/// </summary>
|
||||
@@ -109,18 +95,42 @@ namespace ISBN_Check_test
|
||||
// 도서명 / 저자 / 출판사 / isbn / 정가
|
||||
// 발행일 / 도서분류 / 재고
|
||||
string[] param = { "title", "author", "publisher", "isbn13", "priceStandard",
|
||||
"pubDate", "categoryName" };
|
||||
"pubDate", "categoryName", "stockStatus", };
|
||||
API api = new API();
|
||||
for (int a = start; a < end; a++)
|
||||
{
|
||||
process_Sub();
|
||||
string query = dataGridView1.Rows[a].Cells["isbn"].Value.ToString();
|
||||
string type;
|
||||
switch (cb_filter.SelectedIndex)
|
||||
{
|
||||
case 0:
|
||||
type = "Keyword";
|
||||
break;
|
||||
case 1:
|
||||
type = "Title";
|
||||
break;
|
||||
case 2:
|
||||
type = "Author";
|
||||
break;
|
||||
case 3:
|
||||
type = "Publisher";
|
||||
break;
|
||||
case 4:
|
||||
type = "ISBN13";
|
||||
break;
|
||||
default:
|
||||
type = "";
|
||||
break;
|
||||
}
|
||||
// string query = dataGridView1.Rows[a].Cells["isbn"].Value.ToString();
|
||||
string query = Set_query(type, a);
|
||||
if (gridview.Rows[a].DefaultCellStyle.BackColor == Color.Yellow)
|
||||
continue;
|
||||
else if (gridview.Rows[a].DefaultCellStyle.BackColor == Color.LightGray)
|
||||
gridview.Rows[a].DefaultCellStyle.BackColor = Color.Empty;
|
||||
|
||||
string aladin = api.Aladin(query, "ISBN13", param);
|
||||
// string aladin = api.Aladin(query, "ISBN13", param);
|
||||
string aladin = api.Aladin(query, type, param);
|
||||
insert_By_Aladin(aladin, a);
|
||||
try
|
||||
{
|
||||
@@ -129,6 +139,28 @@ namespace ISBN_Check_test
|
||||
catch { }
|
||||
}
|
||||
}
|
||||
string Set_query(string type, int idx)
|
||||
{
|
||||
string result = string.Empty;
|
||||
|
||||
if (type == "Keyword")
|
||||
result = dataGridView1.Rows[idx].Cells["book_name"].Value.ToString() +
|
||||
dataGridView1.Rows[idx].Cells["author"].Value.ToString();
|
||||
|
||||
if (type == "Title")
|
||||
result = dataGridView1.Rows[idx].Cells["book_name"].Value.ToString();
|
||||
|
||||
if (type == "Author")
|
||||
result = dataGridView1.Rows[idx].Cells["author"].Value.ToString();
|
||||
|
||||
if (type == "Publisher")
|
||||
result = dataGridView1.Rows[idx].Cells["book_comp"].Value.ToString();
|
||||
|
||||
if (type == "ISBN13")
|
||||
result = dataGridView1.Rows[idx].Cells["isbn"].Value.ToString();
|
||||
|
||||
return result;
|
||||
}
|
||||
private void Naver_API(DataGridView gridview, int start, int end)
|
||||
{
|
||||
// 도서명 / 저자 / 출판사 / isbn / 정가
|
||||
@@ -139,7 +171,7 @@ namespace ISBN_Check_test
|
||||
List<string> L_type = new List<string>();
|
||||
List<string> L_Array = new List<string>();
|
||||
|
||||
for(int a = start; a < end; a++)
|
||||
for (int a = start; a < end; a++)
|
||||
{
|
||||
L_type.Clear();
|
||||
L_Array.Clear();
|
||||
@@ -248,35 +280,11 @@ namespace ISBN_Check_test
|
||||
{
|
||||
progressBar1.PerformStep();
|
||||
}
|
||||
string Set_query(string type, int idx)
|
||||
{
|
||||
string result = string.Empty;
|
||||
|
||||
if(type == "Keyword")
|
||||
result = dataGridView1.Rows[idx].Cells["book_name"].Value.ToString() +
|
||||
dataGridView1.Rows[idx].Cells["author"].Value.ToString();
|
||||
|
||||
if (type == "Title")
|
||||
result = dataGridView1.Rows[idx].Cells["book_name"].Value.ToString();
|
||||
|
||||
if (type == "Author")
|
||||
result = dataGridView1.Rows[idx].Cells["author"].Value.ToString();
|
||||
|
||||
if (type == "Publisher")
|
||||
result = dataGridView1.Rows[idx].Cells["book_comp"].Value.ToString();
|
||||
|
||||
return result;
|
||||
}
|
||||
void insert_By_Aladin(string data, int row)
|
||||
{
|
||||
if (row > 0) { dataGridView1.Rows[row - 1].Selected = false; }
|
||||
dataGridView1.Rows[row].Selected = true;
|
||||
|
||||
if (data.Length > 0) {
|
||||
dataGridView1.Rows[row].Cells["Column1"].Value = data;
|
||||
dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.LightGray;
|
||||
}
|
||||
|
||||
string[] insert = data.Split('|');
|
||||
|
||||
if (data == "") { return; }
|
||||
@@ -290,14 +298,28 @@ namespace ISBN_Check_test
|
||||
}
|
||||
catch(Exception ex) { MessageBox.Show(data); }
|
||||
|
||||
// 도서 분류 필요한 데이터로 재정리
|
||||
int top = insert[6].IndexOf('>');
|
||||
int mid = insert[6].IndexOf('>', top + 1);
|
||||
int bot = insert[6].IndexOf('>', mid + 1);
|
||||
if (bot < 0) { insert[6] = insert[6].Substring(top + 1); }
|
||||
else { insert[6] = insert[6].Substring(top + 1, bot - top - 1); }
|
||||
for (int a = 0; a < insert.Length; a++)
|
||||
{
|
||||
if (a % 8 == 6) { insert[a] = Aladin_CategorySort(insert[a]); }
|
||||
}
|
||||
|
||||
input_api_aladin(insert, row, newstring);
|
||||
dataGridView1.Rows[row].Cells["Column1"].Value += string.Join("|", insert) + "|";
|
||||
dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.LightGray;
|
||||
if (cb_filter.SelectedItem.ToString() == "별치조사")
|
||||
input_api_aladin(insert, row, newstring);
|
||||
input_api(insert, row, newstring);
|
||||
}
|
||||
string Aladin_CategorySort(string insert)
|
||||
{
|
||||
// 도서 분류 필요한 데이터로 재정리
|
||||
int top = insert.IndexOf('>');
|
||||
int mid = insert.IndexOf('>', top + 1);
|
||||
int bot = insert.IndexOf('>', mid + 1);
|
||||
|
||||
if (bot < 0) { insert = insert.Substring(top + 1); }
|
||||
else { insert = insert.Substring(top + 1, bot - top - 1); }
|
||||
|
||||
return insert;
|
||||
}
|
||||
void input_api_aladin(string[] data, int row, string date)
|
||||
{
|
||||
@@ -450,12 +472,27 @@ namespace ISBN_Check_test
|
||||
dataGridView1.Rows[idx].Cells["isbn"].Value = value[3];
|
||||
dataGridView1.Rows[idx].Cells["price2"].Value = value[4];
|
||||
dataGridView1.Rows[idx].Cells["pubDate"].Value = date;
|
||||
// dataGridView1.Rows[idx].Cells["category"].Value = value[6];
|
||||
//if (cb_api.SelectedIndex == 2)
|
||||
dataGridView1.Rows[idx].Cells["category"].Value = value[6];
|
||||
dataGridView1.Rows[idx].Cells["sold_out"].Value = value[7];
|
||||
dataGridView1.Rows[idx].DefaultCellStyle.BackColor = Color.Yellow;
|
||||
}
|
||||
count_res();
|
||||
}
|
||||
#region 검색갯수 계산
|
||||
private void count_res()
|
||||
{
|
||||
String_Text st = new String_Text();
|
||||
int count = dataGridView1.Rows.Count;
|
||||
for (int a = 0; a < count; a++)
|
||||
{
|
||||
string search_data = dataGridView1.Rows[a].Cells["Column1"].Value.ToString();
|
||||
int tmp_count = st.Char_count(search_data, '|');
|
||||
int lcount = tmp_count / 8;
|
||||
dataGridView1.Rows[a].Cells["count"].Value = lcount.ToString();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
Skill_Grid sg = new Skill_Grid();
|
||||
@@ -488,7 +525,8 @@ namespace ISBN_Check_test
|
||||
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
rowidx = e.RowIndex;
|
||||
if(dataGridView1.Rows[e.RowIndex].Cells["Column1"].Value == null)
|
||||
if (rowidx < 0) return;
|
||||
if (dataGridView1.Rows[e.RowIndex].Cells["Column1"].Value == null)
|
||||
dataGridView1.Rows[e.RowIndex].Cells["Column1"].Value = "";
|
||||
|
||||
richTextBox1.Text = dataGridView1.Rows[e.RowIndex].Cells["Column1"].Value.ToString();
|
||||
@@ -522,27 +560,20 @@ namespace ISBN_Check_test
|
||||
cb_filter.Items.AddRange(naver);
|
||||
}
|
||||
else if (cb_api.SelectedIndex == 2) {
|
||||
string[] aladin = { "별치 조사" };
|
||||
string[] aladin = { "도서명 + 저자", "도서명", "저자", "출판사", "별치조사" };
|
||||
cb_filter.Items.AddRange(aladin);
|
||||
}
|
||||
Must_Col(cb_api.SelectedIndex);
|
||||
}
|
||||
private void Must_Col(int cb_idx)
|
||||
{
|
||||
if (cb_idx == 0 || cb_idx == 1)
|
||||
if (cb_idx == 0 || cb_idx == 1 || cb_idx == 2)
|
||||
{
|
||||
dataGridView1.Columns["isbn"].DefaultCellStyle.BackColor = Color.Empty;
|
||||
dataGridView1.Columns["book_name"].DefaultCellStyle.BackColor = Color.FromArgb(234, 226, 202);
|
||||
dataGridView1.Columns["author"].DefaultCellStyle.BackColor = Color.FromArgb(234, 226, 202);
|
||||
dataGridView1.Columns["book_comp"].DefaultCellStyle.BackColor = Color.FromArgb(234, 226, 202);
|
||||
}
|
||||
else if (cb_idx == 2)
|
||||
{
|
||||
dataGridView1.Columns["isbn"].DefaultCellStyle.BackColor = Color.FromArgb(234, 226, 202);
|
||||
dataGridView1.Columns["book_name"].DefaultCellStyle.BackColor = Color.Empty;
|
||||
dataGridView1.Columns["author"].DefaultCellStyle.BackColor = Color.Empty;
|
||||
dataGridView1.Columns["book_comp"].DefaultCellStyle.BackColor = Color.Empty;
|
||||
}
|
||||
else {
|
||||
return;
|
||||
}
|
||||
@@ -552,5 +583,17 @@ namespace ISBN_Check_test
|
||||
Yes24 yes24 = new Yes24(this);
|
||||
yes24.Show();
|
||||
}
|
||||
|
||||
private void cb_filter_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
if (cb_filter.SelectedItem.ToString() == "별치조사")
|
||||
{
|
||||
dataGridView1.Columns["isbn"].DefaultCellStyle.BackColor = Color.FromArgb(234, 226, 202);
|
||||
dataGridView1.Columns["book_name"].DefaultCellStyle.BackColor = Color.Empty;
|
||||
dataGridView1.Columns["author"].DefaultCellStyle.BackColor = Color.Empty;
|
||||
dataGridView1.Columns["book_comp"].DefaultCellStyle.BackColor = Color.Empty;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
100
ISBN_Check_test/Form2.Designer.cs
generated
100
ISBN_Check_test/Form2.Designer.cs
generated
@@ -52,7 +52,12 @@ namespace ISBN_Check_test
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.btn_ReSearch = new System.Windows.Forms.Button();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// dataGridView1
|
||||
@@ -77,9 +82,9 @@ namespace ISBN_Check_test
|
||||
this.category,
|
||||
this.sold_out,
|
||||
this.Column1});
|
||||
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(0, 55);
|
||||
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
||||
@@ -91,10 +96,11 @@ namespace ISBN_Check_test
|
||||
this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(834, 324);
|
||||
this.dataGridView1.Size = new System.Drawing.Size(876, 444);
|
||||
this.dataGridView1.TabIndex = 4;
|
||||
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
|
||||
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
|
||||
this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
|
||||
this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
|
||||
//
|
||||
// book_name
|
||||
@@ -150,43 +156,47 @@ namespace ISBN_Check_test
|
||||
//
|
||||
// tb_book_name
|
||||
//
|
||||
this.tb_book_name.Location = new System.Drawing.Point(43, 28);
|
||||
this.tb_book_name.Location = new System.Drawing.Point(12, 23);
|
||||
this.tb_book_name.Name = "tb_book_name";
|
||||
this.tb_book_name.Size = new System.Drawing.Size(254, 21);
|
||||
this.tb_book_name.TabIndex = 5;
|
||||
//
|
||||
// tb_author
|
||||
//
|
||||
this.tb_author.Location = new System.Drawing.Point(303, 28);
|
||||
this.tb_author.Location = new System.Drawing.Point(272, 23);
|
||||
this.tb_author.Name = "tb_author";
|
||||
this.tb_author.ReadOnly = true;
|
||||
this.tb_author.Size = new System.Drawing.Size(101, 21);
|
||||
this.tb_author.TabIndex = 5;
|
||||
//
|
||||
// tb_book_comp
|
||||
//
|
||||
this.tb_book_comp.Location = new System.Drawing.Point(410, 28);
|
||||
this.tb_book_comp.Location = new System.Drawing.Point(379, 23);
|
||||
this.tb_book_comp.Name = "tb_book_comp";
|
||||
this.tb_book_comp.ReadOnly = true;
|
||||
this.tb_book_comp.Size = new System.Drawing.Size(134, 21);
|
||||
this.tb_book_comp.TabIndex = 5;
|
||||
//
|
||||
// tb_isbn
|
||||
//
|
||||
this.tb_isbn.Location = new System.Drawing.Point(550, 28);
|
||||
this.tb_isbn.Location = new System.Drawing.Point(519, 23);
|
||||
this.tb_isbn.Name = "tb_isbn";
|
||||
this.tb_isbn.ReadOnly = true;
|
||||
this.tb_isbn.Size = new System.Drawing.Size(109, 21);
|
||||
this.tb_isbn.TabIndex = 5;
|
||||
//
|
||||
// tb_price
|
||||
//
|
||||
this.tb_price.Location = new System.Drawing.Point(665, 28);
|
||||
this.tb_price.Location = new System.Drawing.Point(634, 23);
|
||||
this.tb_price.Name = "tb_price";
|
||||
this.tb_price.ReadOnly = true;
|
||||
this.tb_price.Size = new System.Drawing.Size(55, 21);
|
||||
this.tb_price.TabIndex = 5;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(150, 13);
|
||||
this.label1.Location = new System.Drawing.Point(119, 8);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(41, 12);
|
||||
this.label1.TabIndex = 6;
|
||||
@@ -195,7 +205,7 @@ namespace ISBN_Check_test
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(339, 13);
|
||||
this.label2.Location = new System.Drawing.Point(308, 8);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(29, 12);
|
||||
this.label2.TabIndex = 6;
|
||||
@@ -204,7 +214,7 @@ namespace ISBN_Check_test
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(457, 13);
|
||||
this.label3.Location = new System.Drawing.Point(426, 8);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(41, 12);
|
||||
this.label3.TabIndex = 6;
|
||||
@@ -213,7 +223,7 @@ namespace ISBN_Check_test
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(588, 13);
|
||||
this.label4.Location = new System.Drawing.Point(557, 8);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(33, 12);
|
||||
this.label4.TabIndex = 6;
|
||||
@@ -222,7 +232,7 @@ namespace ISBN_Check_test
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(678, 13);
|
||||
this.label5.Location = new System.Drawing.Point(647, 8);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(29, 12);
|
||||
this.label5.TabIndex = 6;
|
||||
@@ -230,7 +240,7 @@ namespace ISBN_Check_test
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(737, 18);
|
||||
this.button1.Location = new System.Drawing.Point(776, 12);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||
this.button1.TabIndex = 7;
|
||||
@@ -238,29 +248,60 @@ namespace ISBN_Check_test
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.tb_book_name);
|
||||
this.panel1.Controls.Add(this.btn_ReSearch);
|
||||
this.panel1.Controls.Add(this.button1);
|
||||
this.panel1.Controls.Add(this.tb_author);
|
||||
this.panel1.Controls.Add(this.label5);
|
||||
this.panel1.Controls.Add(this.tb_book_comp);
|
||||
this.panel1.Controls.Add(this.label4);
|
||||
this.panel1.Controls.Add(this.tb_isbn);
|
||||
this.panel1.Controls.Add(this.label3);
|
||||
this.panel1.Controls.Add(this.tb_price);
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(876, 55);
|
||||
this.panel1.TabIndex = 8;
|
||||
//
|
||||
// btn_ReSearch
|
||||
//
|
||||
this.btn_ReSearch.Location = new System.Drawing.Point(695, 12);
|
||||
this.btn_ReSearch.Name = "btn_ReSearch";
|
||||
this.btn_ReSearch.Size = new System.Drawing.Size(75, 23);
|
||||
this.btn_ReSearch.TabIndex = 7;
|
||||
this.btn_ReSearch.Text = "검 색";
|
||||
this.btn_ReSearch.UseVisualStyleBackColor = true;
|
||||
this.btn_ReSearch.Click += new System.EventHandler(this.btn_ReSearch_Click);
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.Controls.Add(this.dataGridView1);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 55);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(876, 444);
|
||||
this.panel3.TabIndex = 10;
|
||||
//
|
||||
// Form2
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(834, 379);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.label5);
|
||||
this.Controls.Add(this.label4);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.tb_price);
|
||||
this.Controls.Add(this.tb_isbn);
|
||||
this.Controls.Add(this.tb_book_comp);
|
||||
this.Controls.Add(this.tb_author);
|
||||
this.Controls.Add(this.tb_book_name);
|
||||
this.Controls.Add(this.dataGridView1);
|
||||
this.ClientSize = new System.Drawing.Size(876, 499);
|
||||
this.Controls.Add(this.panel3);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "Form2";
|
||||
this.Text = "Form2";
|
||||
this.Load += new System.EventHandler(this.Form2_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
@@ -287,5 +328,8 @@ namespace ISBN_Check_test
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Button btn_ReSearch;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
}
|
||||
}
|
||||
@@ -23,23 +23,30 @@ namespace ISBN_Check_test
|
||||
}
|
||||
private void Form2_Load(object sender, EventArgs e)
|
||||
{
|
||||
Sort_data();
|
||||
|
||||
|
||||
Sort_data(f1.dataGridView1);
|
||||
|
||||
// 비슷한거 색깔표시
|
||||
same_chk();
|
||||
}
|
||||
private void Sort_data()
|
||||
private void Sort_data(DataGridView f1GridView)
|
||||
{
|
||||
tb_book_name.Text = f1.dataGridView1.Rows[row].Cells["book_name"].Value.ToString();
|
||||
tb_author.Text = f1.dataGridView1.Rows[row].Cells["author"].Value.ToString();
|
||||
tb_book_comp.Text = f1.dataGridView1.Rows[row].Cells["book_comp"].Value.ToString();
|
||||
tb_book_name.Text = f1GridView.Rows[row].Cells["book_name"].Value.ToString();
|
||||
tb_author.Text = f1GridView.Rows[row].Cells["author"].Value.ToString();
|
||||
tb_book_comp.Text = f1GridView.Rows[row].Cells["book_comp"].Value.ToString();
|
||||
|
||||
if (f1.dataGridView1.Rows[row].Cells["price"].Value != null)
|
||||
tb_price.Text = f1.dataGridView1.Rows[row].Cells["price"].Value.ToString();
|
||||
if (f1GridView.Rows[row].Cells["price"].Value != null)
|
||||
tb_price.Text = f1GridView.Rows[row].Cells["price"].Value.ToString();
|
||||
|
||||
else { tb_price.Text = ""; }
|
||||
|
||||
string data = f1.dataGridView1.Rows[row].Cells["Column1"].Value.ToString();
|
||||
string data = f1GridView.Rows[row].Cells["Column1"].Value.ToString();
|
||||
inputGrid(data);
|
||||
}
|
||||
private void inputGrid(string data)
|
||||
{
|
||||
dataGridView1.Rows.Clear();
|
||||
|
||||
// 도서명 / 저자 / 출판사 / isbn / 출간일 / 카테고리 / 품절여부
|
||||
string[] tmp = data.Split('|');
|
||||
@@ -53,15 +60,22 @@ namespace ISBN_Check_test
|
||||
if (a % 8 == 3) { grid[3] = tmp[a]; }
|
||||
if (a % 8 == 4) { grid[4] = tmp[a]; }
|
||||
if (a % 8 == 5) { grid[5] = change_Date_type(tmp[a]); }
|
||||
if (a % 8 == 6) { grid[6] = tmp[a]; }
|
||||
if (a % 8 == 6) { grid[6] = Aladin_CategorySort(tmp[a]); }
|
||||
if (a % 8 == 7) { grid[7] = tmp[a]; dataGridView1.Rows.Add(grid); }
|
||||
}
|
||||
}
|
||||
private string change_Date_type(string date)
|
||||
{
|
||||
if (Call_API == "알라딘")
|
||||
return String.Format("{0:yyyy/MM/dd}", DateTime.Parse(date.Remove(date.IndexOf(" G"))));
|
||||
else if (Call_API == "네이버")
|
||||
{
|
||||
try
|
||||
{
|
||||
return String.Format("{0:yyyy/MM/dd}",
|
||||
DateTime.Parse(date.Remove(date.IndexOf(" G"))));
|
||||
}
|
||||
catch { return date; }
|
||||
}
|
||||
if (Call_API == "네이버")
|
||||
try
|
||||
{
|
||||
return DateTime.ParseExact(date, "yyyyMMdd", null).ToString("yyyy-MM-dd");
|
||||
@@ -157,5 +171,49 @@ namespace ISBN_Check_test
|
||||
{
|
||||
rowidx = e.RowIndex;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 재검색
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void btn_ReSearch_Click(object sender, EventArgs e)
|
||||
{
|
||||
string[] param = { "title", "author", "publisher", "isbn13", "priceStandard",
|
||||
"pubDate", "categoryName", "stockStatus", };
|
||||
API api = new API();
|
||||
|
||||
string type = "Title";
|
||||
string query = tb_book_name.Text;
|
||||
|
||||
string aladin = api.Aladin(query, type, param);
|
||||
if (aladin == "") return;
|
||||
|
||||
inputGrid(aladin);
|
||||
}
|
||||
|
||||
string Aladin_CategorySort(string insert)
|
||||
{
|
||||
try
|
||||
{
|
||||
// 도서 분류 필요한 데이터로 재정리
|
||||
int top = insert.IndexOf('>');
|
||||
int mid = insert.IndexOf('>', top + 1);
|
||||
int bot = insert.IndexOf('>', mid + 1);
|
||||
if (bot < 0) { insert = insert.Substring(top + 1); }
|
||||
else { insert = insert.Substring(top + 1, bot - top - 1); }
|
||||
return insert;
|
||||
}
|
||||
catch
|
||||
{
|
||||
return insert;
|
||||
}
|
||||
}
|
||||
|
||||
private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
|
||||
{
|
||||
Skill_Grid sg = new Skill_Grid();
|
||||
sg.Print_Grid_Num(sender, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>+MrCwwIqdW5a7byy/y9gxOk+aEXFqsgtK5j+CUByFTI=</dsig:DigestValue>
|
||||
<dsig:DigestValue>oDGHLUSiwYxsLD3eIcgv30mFLMv2XBPtto12TCuBiKE=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
||||
Binary file not shown.
@@ -3,7 +3,7 @@
|
||||
<asmv1:assemblyIdentity name="ISBN_Check_test.exe" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
|
||||
<application />
|
||||
<entryPoint>
|
||||
<assemblyIdentity name="ISBN_Check_test" version="1.0.7866.16966" language="neutral" processorArchitecture="msil" />
|
||||
<assemblyIdentity name="ISBN_Check_test" version="1.0.8020.28093" language="neutral" processorArchitecture="msil" />
|
||||
<commandLine file="ISBN_Check_test.exe" parameters="" />
|
||||
</entryPoint>
|
||||
<trustInfo>
|
||||
@@ -66,14 +66,14 @@
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ISBN_Check_test.exe" size="74752">
|
||||
<assemblyIdentity name="ISBN_Check_test" version="1.0.7866.16966" language="neutral" processorArchitecture="msil" />
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ISBN_Check_test.exe" size="76800">
|
||||
<assemblyIdentity name="ISBN_Check_test" version="1.0.8020.28093" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>++pv0LHaDa8ziJMfnyICIlKOnuotJHtIQcdR8OfA+uQ=</dsig:DigestValue>
|
||||
<dsig:DigestValue>PBtPbXDpNLIogBBAhd0sSHeOXXuVr2EUhxehjKWs9nk=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
@@ -230,13 +230,13 @@
|
||||
<dsig:DigestValue>Qx+jN639AkukL3VOtM7n2jV0SwkhZyRLAjCNL9Lyp14=</dsig:DigestValue>
|
||||
</hash>
|
||||
</file>
|
||||
<file name="ISBN_Check_test.pdb" size="118272">
|
||||
<file name="ISBN_Check_test.pdb" size="122368">
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>LHCHPQZvhBXwS5g0pB0KViIDcPqgteLoLW03r6PxZSI=</dsig:DigestValue>
|
||||
<dsig:DigestValue>LHqpLQbzqW7AQgNAsA417MTjarz9ePKU/qMVRC8RamY=</dsig:DigestValue>
|
||||
</hash>
|
||||
</file>
|
||||
</asmv1:assembly>
|
||||
Binary file not shown.
Binary file not shown.
@@ -21,7 +21,7 @@
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>+MrCwwIqdW5a7byy/y9gxOk+aEXFqsgtK5j+CUByFTI=</dsig:DigestValue>
|
||||
<dsig:DigestValue>oDGHLUSiwYxsLD3eIcgv30mFLMv2XBPtto12TCuBiKE=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -3,7 +3,7 @@
|
||||
<asmv1:assemblyIdentity name="ISBN_Check_test.exe" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
|
||||
<application />
|
||||
<entryPoint>
|
||||
<assemblyIdentity name="ISBN_Check_test" version="1.0.7866.16966" language="neutral" processorArchitecture="msil" />
|
||||
<assemblyIdentity name="ISBN_Check_test" version="1.0.8020.28093" language="neutral" processorArchitecture="msil" />
|
||||
<commandLine file="ISBN_Check_test.exe" parameters="" />
|
||||
</entryPoint>
|
||||
<trustInfo>
|
||||
@@ -66,14 +66,14 @@
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ISBN_Check_test.exe" size="74752">
|
||||
<assemblyIdentity name="ISBN_Check_test" version="1.0.7866.16966" language="neutral" processorArchitecture="msil" />
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ISBN_Check_test.exe" size="76800">
|
||||
<assemblyIdentity name="ISBN_Check_test" version="1.0.8020.28093" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>++pv0LHaDa8ziJMfnyICIlKOnuotJHtIQcdR8OfA+uQ=</dsig:DigestValue>
|
||||
<dsig:DigestValue>PBtPbXDpNLIogBBAhd0sSHeOXXuVr2EUhxehjKWs9nk=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
@@ -230,13 +230,13 @@
|
||||
<dsig:DigestValue>Qx+jN639AkukL3VOtM7n2jV0SwkhZyRLAjCNL9Lyp14=</dsig:DigestValue>
|
||||
</hash>
|
||||
</file>
|
||||
<file name="ISBN_Check_test.pdb" size="118272">
|
||||
<file name="ISBN_Check_test.pdb" size="122368">
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>LHCHPQZvhBXwS5g0pB0KViIDcPqgteLoLW03r6PxZSI=</dsig:DigestValue>
|
||||
<dsig:DigestValue>LHqpLQbzqW7AQgNAsA417MTjarz9ePKU/qMVRC8RamY=</dsig:DigestValue>
|
||||
</hash>
|
||||
</file>
|
||||
</asmv1:assembly>
|
||||
Binary file not shown.
Reference in New Issue
Block a user