마크편집창에서 isbn 을 복사할 수있도록 텍스트박스로 변경

This commit is contained in:
2026-02-14 22:49:17 +09:00
parent 6e25a3d4e9
commit c0782ea5c1
12 changed files with 1154 additions and 315 deletions

View File

@@ -364,6 +364,12 @@
<Compile Include="마크\Check_ISBN2.Designer.cs"> <Compile Include="마크\Check_ISBN2.Designer.cs">
<DependentUpon>Check_ISBN2.cs</DependentUpon> <DependentUpon>Check_ISBN2.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="마크\Check_ISBN_ItemEdit.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="마크\Check_ISBN_ItemEdit.Designer.cs">
<DependentUpon>Check_ISBN_ItemEdit.cs</DependentUpon>
</Compile>
<Compile Include="마크\Check_ISBN_Sub2.cs"> <Compile Include="마크\Check_ISBN_Sub2.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@@ -389,6 +395,7 @@
<Compile Include="마크\Help_008.Designer.cs"> <Compile Include="마크\Help_008.Designer.cs">
<DependentUpon>Help_008.cs</DependentUpon> <DependentUpon>Help_008.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="마크\IsbnGridItem.cs" />
<Compile Include="마크\MacEditorParameter.cs" /> <Compile Include="마크\MacEditorParameter.cs" />
<Compile Include="마크\MacListItem.cs" /> <Compile Include="마크\MacListItem.cs" />
<Compile Include="마크\Mac_List_Add2.cs"> <Compile Include="마크\Mac_List_Add2.cs">
@@ -1138,6 +1145,9 @@
<EmbeddedResource Include="마크\Check_ISBN2.resx"> <EmbeddedResource Include="마크\Check_ISBN2.resx">
<DependentUpon>Check_ISBN2.cs</DependentUpon> <DependentUpon>Check_ISBN2.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="마크\Check_ISBN_ItemEdit.resx">
<DependentUpon>Check_ISBN_ItemEdit.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\Check_ISBN_Sub2.resx"> <EmbeddedResource Include="마크\Check_ISBN_Sub2.resx">
<DependentUpon>Check_ISBN_Sub2.cs</DependentUpon> <DependentUpon>Check_ISBN_Sub2.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>

View File

@@ -9,7 +9,7 @@
<ErrorReportUrlHistory /> <ErrorReportUrlHistory />
<FallbackCulture>ko-KR</FallbackCulture> <FallbackCulture>ko-KR</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles> <VerifyUploadedFiles>false</VerifyUploadedFiles>
<ProjectView>ProjectFiles</ProjectView> <ProjectView>ShowAllFiles</ProjectView>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<EnableSecurityDebugging>false</EnableSecurityDebugging> <EnableSecurityDebugging>false</EnableSecurityDebugging>

View File

@@ -28,27 +28,12 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = 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 dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Check_ISBN2));
this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.btn_lookup = new System.Windows.Forms.Button();
this.cb_filter = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.tb_list_name = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.btn_Save = new System.Windows.Forms.Button();
this.btn_Close = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.cb_api = new System.Windows.Forms.ComboBox();
this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
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.idx = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.num = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.num = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.isbn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.isbn = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -70,10 +55,41 @@
this.sold_out = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.sold_out = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.image = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.image = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.api_data = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.api_data = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.btn_lookup = new System.Windows.Forms.Button();
this.cb_filter = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.tb_list_name = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.btn_Save = new System.Windows.Forms.Button();
this.btn_Close = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.cb_api = new System.Windows.Forms.ComboBox();
this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
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.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components);
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.bs1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.panel2.SuspendLayout(); this.panel2.SuspendLayout();
this.panel3.SuspendLayout(); this.panel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit();
this.bindingNavigator1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs1)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
// dataGridView1 // dataGridView1
@@ -128,12 +144,152 @@
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle3; this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle3;
this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(1630, 591); this.dataGridView1.Size = new System.Drawing.Size(1630, 566);
this.dataGridView1.TabIndex = 0; this.dataGridView1.TabIndex = 0;
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick); this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick); this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown); this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
// //
// idx
//
this.idx.DataPropertyName = "idx";
this.idx.HeaderText = "idx";
this.idx.Name = "idx";
this.idx.Visible = false;
this.idx.Width = 50;
//
// num
//
this.num.DataPropertyName = "num";
this.num.HeaderText = "번호";
this.num.Name = "num";
this.num.Width = 50;
//
// isbn
//
this.isbn.DataPropertyName = "isbn";
this.isbn.HeaderText = "ISBN13";
this.isbn.Name = "isbn";
//
// book_name
//
this.book_name.DataPropertyName = "book_name";
this.book_name.HeaderText = "도서명";
this.book_name.Name = "book_name";
this.book_name.Width = 130;
//
// search_book_name
//
this.search_book_name.DataPropertyName = "search_book_name";
this.search_book_name.HeaderText = "검색 도서명";
this.search_book_name.Name = "search_book_name";
//
// author
//
this.author.DataPropertyName = "author";
this.author.HeaderText = "저자";
this.author.Name = "author";
//
// search_author
//
this.search_author.DataPropertyName = "search_author";
this.search_author.HeaderText = "검색 저자";
this.search_author.Name = "search_author";
//
// book_comp
//
this.book_comp.DataPropertyName = "book_comp";
this.book_comp.HeaderText = "출판사";
this.book_comp.Name = "book_comp";
//
// search_book_comp
//
this.search_book_comp.DataPropertyName = "search_book_comp";
this.search_book_comp.HeaderText = "검색 출판사";
this.search_book_comp.Name = "search_book_comp";
//
// count
//
this.count.DataPropertyName = "count";
this.count.HeaderText = "수량";
this.count.Name = "count";
this.count.Visible = false;
this.count.Width = 50;
//
// unit
//
this.unit.DataPropertyName = "unit";
this.unit.HeaderText = "단가";
this.unit.Name = "unit";
this.unit.Width = 70;
//
// total
//
this.total.DataPropertyName = "total";
this.total.HeaderText = "합계";
this.total.Name = "total";
this.total.Visible = false;
this.total.Width = 70;
//
// condition
//
this.condition.DataPropertyName = "condition";
this.condition.HeaderText = "상태";
this.condition.Name = "condition";
this.condition.Visible = false;
//
// price
//
this.price.DataPropertyName = "price";
this.price.HeaderText = "정가";
this.price.Name = "price";
this.price.Width = 50;
//
// etc
//
this.etc.DataPropertyName = "etc";
this.etc.HeaderText = "비고";
this.etc.Name = "etc";
//
// pubDate
//
this.pubDate.DataPropertyName = "pubDate";
this.pubDate.HeaderText = "발행일";
this.pubDate.Name = "pubDate";
//
// persent
//
this.persent.DataPropertyName = "persent";
this.persent.HeaderText = "%";
this.persent.Name = "persent";
this.persent.Width = 50;
//
// category
//
this.category.DataPropertyName = "category";
this.category.HeaderText = "도서분류";
this.category.Name = "category";
//
// sold_out
//
this.sold_out.DataPropertyName = "sold_out";
this.sold_out.HeaderText = "품절/절판";
this.sold_out.Name = "sold_out";
//
// image
//
this.image.DataPropertyName = "image";
this.image.HeaderText = "이미지";
this.image.Name = "image";
this.image.Visible = false;
//
// api_data
//
this.api_data.DataPropertyName = "api_data";
this.api_data.HeaderText = "api_data";
this.api_data.Name = "api_data";
this.api_data.Visible = false;
//
// btn_lookup // btn_lookup
// //
this.btn_lookup.Location = new System.Drawing.Point(693, 4); this.btn_lookup.Location = new System.Drawing.Point(693, 4);
@@ -303,132 +459,110 @@
// //
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel3.Controls.Add(this.dataGridView1); this.panel3.Controls.Add(this.dataGridView1);
this.panel3.Controls.Add(this.bindingNavigator1);
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Location = new System.Drawing.Point(0, 31); this.panel3.Location = new System.Drawing.Point(0, 31);
this.panel3.Name = "panel3"; this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(1632, 593); this.panel3.Size = new System.Drawing.Size(1632, 593);
this.panel3.TabIndex = 12; this.panel3.TabIndex = 12;
// //
// idx // bindingNavigator1
// //
this.idx.HeaderText = "idx"; this.bindingNavigator1.AddNewItem = null;
this.idx.Name = "idx"; this.bindingNavigator1.BindingSource = this.bs1;
this.idx.Visible = false; this.bindingNavigator1.CountItem = this.bindingNavigatorCountItem;
this.idx.Width = 50; this.bindingNavigator1.DeleteItem = null;
this.bindingNavigator1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.bindingNavigatorMoveFirstItem,
this.bindingNavigatorMovePreviousItem,
this.bindingNavigatorSeparator,
this.bindingNavigatorPositionItem,
this.bindingNavigatorCountItem,
this.bindingNavigatorSeparator1,
this.bindingNavigatorMoveNextItem,
this.bindingNavigatorMoveLastItem,
this.bindingNavigatorSeparator2});
this.bindingNavigator1.Location = new System.Drawing.Point(0, 566);
this.bindingNavigator1.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bindingNavigator1.MoveLastItem = this.bindingNavigatorMoveLastItem;
this.bindingNavigator1.MoveNextItem = this.bindingNavigatorMoveNextItem;
this.bindingNavigator1.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.bindingNavigator1.Name = "bindingNavigator1";
this.bindingNavigator1.PositionItem = this.bindingNavigatorPositionItem;
this.bindingNavigator1.Size = new System.Drawing.Size(1630, 25);
this.bindingNavigator1.TabIndex = 1;
this.bindingNavigator1.Text = "bindingNavigator1";
// //
// num // bindingNavigatorMoveFirstItem
// //
this.num.HeaderText = "번호"; this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.num.Name = "num"; this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
this.num.Width = 50; this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
// //
// isbn // bindingNavigatorMovePreviousItem
// //
this.isbn.HeaderText = "ISBN13"; this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.isbn.Name = "isbn"; this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
// //
// book_name // bindingNavigatorSeparator
// //
this.book_name.HeaderText = "도서명"; this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
this.book_name.Name = "book_name"; this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
this.book_name.Width = 130;
// //
// search_book_name // bindingNavigatorPositionItem
// //
this.search_book_name.HeaderText = "검색 도서명"; this.bindingNavigatorPositionItem.AccessibleName = "위치";
this.search_book_name.Name = "search_book_name"; this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0";
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
// //
// author // bindingNavigatorCountItem
// //
this.author.HeaderText = "저자"; this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
this.author.Name = "author"; this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
this.bindingNavigatorCountItem.Text = "/{0}";
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
// //
// search_author // bindingNavigatorSeparator1
// //
this.search_author.HeaderText = "검색 저자"; this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator";
this.search_author.Name = "search_author"; this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
// //
// book_comp // bindingNavigatorMoveNextItem
// //
this.book_comp.HeaderText = "출판사"; this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.book_comp.Name = "book_comp"; this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
// //
// search_book_comp // bindingNavigatorMoveLastItem
// //
this.search_book_comp.HeaderText = "검색 출판사"; this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.search_book_comp.Name = "search_book_comp"; this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
// //
// count // bindingNavigatorSeparator2
// //
this.count.HeaderText = "수량"; this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator";
this.count.Name = "count"; this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
this.count.Visible = false;
this.count.Width = 50;
// //
// unit // Check_ISBN2
//
this.unit.HeaderText = "단가";
this.unit.Name = "unit";
this.unit.Width = 70;
//
// total
//
this.total.HeaderText = "합계";
this.total.Name = "total";
this.total.Visible = false;
this.total.Width = 70;
//
// condition
//
this.condition.HeaderText = "상태";
this.condition.Name = "condition";
this.condition.Visible = false;
//
// price
//
this.price.HeaderText = "정가";
this.price.Name = "price";
this.price.Width = 50;
//
// etc
//
this.etc.HeaderText = "비고";
this.etc.Name = "etc";
//
// pubDate
//
this.pubDate.HeaderText = "발행일";
this.pubDate.Name = "pubDate";
//
// persent
//
this.persent.HeaderText = "%";
this.persent.Name = "persent";
this.persent.Width = 50;
//
// category
//
this.category.HeaderText = "도서분류";
this.category.Name = "category";
//
// sold_out
//
this.sold_out.HeaderText = "품절/절판";
this.sold_out.Name = "sold_out";
//
// image
//
this.image.HeaderText = "이미지";
this.image.Name = "image";
this.image.Visible = false;
//
// api_data
//
this.api_data.HeaderText = "api_data";
this.api_data.Name = "api_data";
this.api_data.Visible = false;
//
// Check_ISBN
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
@@ -436,7 +570,7 @@
this.Controls.Add(this.panel3); this.Controls.Add(this.panel3);
this.Controls.Add(this.panel2); this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1); this.Controls.Add(this.panel1);
this.Name = "Check_ISBN"; this.Name = "Check_ISBN2";
this.Text = "ISBN 조회"; this.Text = "ISBN 조회";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Check_ISBN_FormClosing); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Check_ISBN_FormClosing);
this.Load += new System.EventHandler(this.Check_ISBN_Load); this.Load += new System.EventHandler(this.Check_ISBN_Load);
@@ -445,6 +579,11 @@
this.panel1.PerformLayout(); this.panel1.PerformLayout();
this.panel2.ResumeLayout(false); this.panel2.ResumeLayout(false);
this.panel3.ResumeLayout(false); this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit();
this.bindingNavigator1.ResumeLayout(false);
this.bindingNavigator1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.bs1)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);
} }
@@ -489,5 +628,16 @@
private System.Windows.Forms.DataGridViewTextBoxColumn sold_out; private System.Windows.Forms.DataGridViewTextBoxColumn sold_out;
private System.Windows.Forms.DataGridViewTextBoxColumn image; private System.Windows.Forms.DataGridViewTextBoxColumn image;
private System.Windows.Forms.DataGridViewTextBoxColumn api_data; private System.Windows.Forms.DataGridViewTextBoxColumn api_data;
private System.Windows.Forms.BindingNavigator bindingNavigator1;
private System.Windows.Forms.BindingSource bs1;
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
} }
} }

View File

@@ -27,6 +27,8 @@ namespace UniMarc
private bool save = true; private bool save = true;
string[] list_combo = { "알라딘", "국립중앙도서관", "다음", "네이버" }; string[] list_combo = { "알라딘", "국립중앙도서관", "다음", "네이버" };
BindingList<IsbnGridItem> bookList = new BindingList<IsbnGridItem>();
public Check_ISBN2(Main _main,string pSearchText = "",string pListIDX = "") public Check_ISBN2(Main _main,string pSearchText = "",string pListIDX = "")
{ {
InitializeComponent(); InitializeComponent();
@@ -50,6 +52,10 @@ namespace UniMarc
private void Check_ISBN_Load(object sender, EventArgs e) private void Check_ISBN_Load(object sender, EventArgs e)
{ {
bs1.DataSource = bookList;
dataGridView1.DataSource = bs1;
dataGridView1.DataBindingComplete += DataGridView1_DataBindingComplete;
if (mSearchText != "") if (mSearchText != "")
{ {
tb_list_name.Text = mSearchText; tb_list_name.Text = mSearchText;
@@ -79,7 +85,7 @@ namespace UniMarc
public void DataLoad(string ListName, string l_idx) public void DataLoad(string ListName, string l_idx)
{ {
dataGridView1.Rows.Clear(); bookList.Clear();
cb_api.Items.Clear(); cb_api.Items.Clear();
list_name = ListName; list_name = ListName;
@@ -104,62 +110,79 @@ namespace UniMarc
/* 번호 isbn 도서명 저자 출판사 /* 번호 isbn 도서명 저자 출판사
* 수량 단가 합계 상태 정가 * 수량 단가 합계 상태 정가
* 비고 발행일 % 도서분류 */ * 비고 발행일 % 도서분류 */
string[] grid = { "", "", "", "", "",
"", "", "", "", "",
"", "", "", "", "",
"", "", "", "", "" };
int sdc = 18; // search_data_count int sdc = 18; // search_data_count
for (int a = 0; a < data.Length; a++) for (int a = 0; a < data.Length; a += sdc)
{ {
if (a % sdc == 0) { grid[ 0] = data[a]; } // idx if (a + 17 >= data.Length) break;
if (a % sdc == 2) { grid[ 1] = data[a - 1] + " " + data[a]; } // 번호
if (a % sdc == 3) { grid[ 2] = data[a]; } // isbn var item = new IsbnGridItem();
if (a % sdc == 4) { grid[ 3] = data[a]; } // 도서명 item.idx = data[a];
if (a % sdc == 5) { grid[ 5] = data[a]; } // 저자 item.num = data[a + 1] + " " + data[a + 2]; // header + num
if (a % sdc == 6) { grid[ 7] = data[a]; } // 출판사 item.isbn = data[a + 3];
if (a % sdc == 7) { grid[ 9] = data[a]; } // 수량 item.book_name = data[a + 4];
if (a % sdc == 8) { grid[10] = data[a]; } // 단가 item.author = data[a + 5];
if (a % sdc == 9) { grid[11] = data[a]; } // 합계 item.book_comp = data[a + 6];
if (a % sdc == 10) { grid[12] = data[a]; } // 상태 item.count = data[a + 7];
if (a % sdc == 11) { grid[13] = data[a]; } // 정가 item.unit = data[a + 8];
if (a % sdc == 12) { grid[14] = data[a]; } // 비고 item.total = data[a + 9];
if (a % sdc == 13) { grid[15] = data[a]; } // 발행일 item.condition = data[a + 10];
if (a % sdc == 14) { grid[16] = data[a]; } // % item.price = data[a + 11];
if (a % sdc == 15) { grid[17] = data[a]; } // 도서분류 item.etc = data[a + 12];
if (a % sdc == 16) { grid[19] = data[a]; } // 도서 URL item.pubDate = data[a + 13];
if (a % sdc == 17) { item.persent = data[a + 14];
if (data[a] != "") { item.category = data[a + 15];
grid[3] = data[a]; item.image = data[a + 16];
}
dataGridView1.Rows.Add(grid); string setBookName = data[a + 17];
if (!string.IsNullOrEmpty(setBookName))
{
item.book_name = setBookName;
} }
bookList.Add(item);
} }
Set_grid();
}
private void DataGridView1_DataBindingComplete(object sender, DataGridViewBindingCompleteEventArgs e)
{
ApplyRowColors();
}
private void ApplyRowColors()
{
for (int a = 0; a < dataGridView1.Rows.Count; a++) for (int a = 0; a < dataGridView1.Rows.Count; a++)
{ {
if (dataGridView1.Rows[a].Cells["isbn"].Value.ToString() != "") var row = dataGridView1.Rows[a];
var item = row.DataBoundItem as IsbnGridItem;
if (item != null && !string.IsNullOrEmpty(item.isbn))
{ {
if (dataGridView1.Rows[a].Cells["unit"].Value.ToString() != if (item.unit != item.price)
dataGridView1.Rows[a].Cells["price"].Value.ToString()) row.DefaultCellStyle.BackColor = Color.Orange;
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Orange;
else else
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Yellow; row.DefaultCellStyle.BackColor = Color.Yellow;
} }
} }
Set_grid();
} }
void Set_grid() void Set_grid()
{ {
for (int a = 0; a < dataGridView1.Columns.Count; a++) for (int a = 0; a < dataGridView1.Columns.Count; a++)
{ {
if (dataGridView1.Columns[a].HeaderText == "ISBN13" || if (dataGridView1.Columns[a].Name == "isbn" ||
dataGridView1.Columns[a].Name == "book_name" || dataGridView1.Columns[a].Name == "book_name" ||
dataGridView1.Columns[a].Name == "search_book_name" ||
dataGridView1.Columns[a].Name == "author" || dataGridView1.Columns[a].Name == "author" ||
dataGridView1.Columns[a].Name == "search_author" ||
dataGridView1.Columns[a].Name == "book_comp" || dataGridView1.Columns[a].Name == "book_comp" ||
dataGridView1.Columns[a].Name == "search_book_comp" ||
dataGridView1.Columns[a].Name == "unit" ||
dataGridView1.Columns[a].Name == "price" || dataGridView1.Columns[a].Name == "price" ||
dataGridView1.Columns[a].Name == "pubDate" ||
dataGridView1.Columns[a].Name == "category" || dataGridView1.Columns[a].Name == "category" ||
dataGridView1.Columns[a].Name == "sold_out" ||
dataGridView1.Columns[a].Name == "etc") dataGridView1.Columns[a].Name == "etc")
{ {
dataGridView1.Columns[a].ReadOnly = false; dataGridView1.Columns[a].ReadOnly = false;
@@ -185,24 +208,24 @@ namespace UniMarc
switch (cb_api.SelectedIndex) switch (cb_api.SelectedIndex)
{ {
case 0: case 0:
Aladin_API(dataGridView1); Aladin_API();
break; break;
case 1: case 1:
NL_API(dataGridView1); NL_API();
break; break;
case 2: case 2:
Daum_API(dataGridView1); Daum_API();
break; break;
case 3: case 3:
Naver_API(dataGridView1); Naver_API();
break; break;
} }
// 총 검색 횟수, 일치, 중복 // 총 검색 횟수, 일치, 중복
MessageBox.Show("검색이 완료되었습니다!"); MessageBox.Show("검색이 완료되었습니다!");
progressBar1.Value = dataGridView1.Rows.Count; progressBar1.Value = bookList.Count;
dataGridView1.CurrentCell = dataGridView1.Rows[0].Cells["num"]; bs1.Position = 0;
this.ActiveControl = dataGridView1; this.ActiveControl = dataGridView1;
rowidx = 0; rowidx = 0;
save = false; save = false;
@@ -212,12 +235,12 @@ namespace UniMarc
/// </summary> /// </summary>
void clear_api() void clear_api()
{ {
for(int a = 0; a < dataGridView1.Rows.Count; a++) foreach (var item in bookList)
{ {
dataGridView1.Rows[a].Cells["api_data"].Value = ""; item.api_data = "";
} }
} }
private void Aladin_API(DataGridView gridview) private void Aladin_API()
{ {
string temp = string.Empty; string temp = string.Empty;
string type = string.Empty; string type = string.Empty;
@@ -243,25 +266,26 @@ namespace UniMarc
type = "ISBN13"; type = "ISBN13";
break; break;
} }
for (int a = 0; a < gridview.Rows.Count; a++) for (int a = 0; a < bookList.Count; a++)
{ {
progressBar1.PerformStep(); progressBar1.PerformStep();
if (gridview.Rows[a].Cells["isbn"].Value == null) var item = bookList[a];
gridview.Rows[a].Cells["isbn"].Value = ""; if (item.isbn == null)
item.isbn = "";
string isbn = gridview.Rows[a].Cells["isbn"].Value.ToString(); string isbn = item.isbn;
if (cb_filter.SelectedIndex == 3) { if (cb_filter.SelectedIndex == 3) {
if (!CheckData(isbn)) if (!CheckData(isbn))
continue; continue;
else else
gridview.Rows[a].DefaultCellStyle.BackColor = Color.Empty; dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Empty;
} }
else { else {
if (CheckData(isbn)) if (CheckData(isbn))
continue; continue;
else else
gridview.Rows[a].DefaultCellStyle.BackColor = Color.Empty; dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Empty;
} }
string query = Aladin_Set_query(type, a); string query = Aladin_Set_query(type, a);
@@ -273,21 +297,21 @@ namespace UniMarc
string result = string.Empty; string result = string.Empty;
if (type == "Title") if (type == "Title")
result = dataGridView1.Rows[idx].Cells["book_name"].Value.ToString(); result = bookList[idx].book_name;
if (type == "Author") if (type == "Author")
result = dataGridView1.Rows[idx].Cells["author"].Value.ToString(); result = bookList[idx].author;
if (type == "Publisher") if (type == "Publisher")
result = dataGridView1.Rows[idx].Cells["book_comp"].Value.ToString(); result = bookList[idx].book_comp;
if (type == "ISBN13") if (type == "ISBN13")
result = dataGridView1.Rows[idx].Cells["isbn"].Value.ToString(); result = bookList[idx].isbn;
return result; return result;
} }
private void NL_API(DataGridView gridView) private void NL_API()
{ {
// 도서명 / 저자 / 출판사 / isbn / 정가 // 도서명 / 저자 / 출판사 / isbn / 정가
// 발행일 / 도서분류 / // 발행일 / 도서분류 /
@@ -296,7 +320,7 @@ namespace UniMarc
API api = new API(); API api = new API();
for (int a = 0; a < gridView.Rows.Count; a++) for (int a = 0; a < bookList.Count; a++)
{ {
string[] grid = { "", "", "", "", "", string[] grid = { "", "", "", "", "",
"", "", "", "" }; "", "", "", "" };
@@ -306,29 +330,30 @@ namespace UniMarc
progressBar1.PerformStep(); progressBar1.PerformStep();
if (gridView.Rows[a].Cells["isbn"].Value == null) var item = bookList[a];
gridView.Rows[a].Cells["isbn"].Value = ""; if (item.isbn == null)
item.isbn = "";
string isbn = gridView.Rows[a].Cells["isbn"].Value.ToString(); string isbn = item.isbn;
if (CheckData(isbn)) if (CheckData(isbn))
continue; continue;
else else
gridView.Rows[a].DefaultCellStyle.BackColor = Color.Empty; dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Empty;
switch (cb_filter.SelectedIndex) switch (cb_filter.SelectedIndex)
{ {
case 0: case 0:
type = "title"; type = "title";
target = gridView.Rows[a].Cells["book_name"].Value.ToString(); target = item.book_name;
break; break;
case 1: case 1:
type = "author"; type = "author";
target = gridView.Rows[a].Cells["author"].Value.ToString(); target = item.author;
break; break;
case 2: case 2:
type = "publisher"; type = "publisher";
target = gridView.Rows[a].Cells["book_comp"].Value.ToString(); target = item.book_comp;
break; break;
} }
string result = api.NationalLibraryOfKorea(target, type, param); string result = api.NationalLibraryOfKorea(target, type, param);
@@ -348,7 +373,7 @@ namespace UniMarc
if (b % 8 == 7) if (b % 8 == 7)
{ {
grid[8] = tmp_Array[b]; grid[8] = tmp_Array[b];
gridView.Rows[a].DefaultCellStyle.BackColor = Color.LightGray; dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.LightGray;
if (ArrayLength < 10) { if (ArrayLength < 10) {
input_api(grid, a, grid[5]); input_api(grid, a, grid[5]);
@@ -356,14 +381,14 @@ namespace UniMarc
} }
else else
{ {
gridView.Rows[a].Cells["api_data"].Value += string.Join("|", grid) + "|"; bookList[a].api_data += string.Join("|", grid) + "|";
} }
} }
} }
} }
} }
private void Naver_API(DataGridView gridview) private void Naver_API()
{ {
// 도서명 / 저자 / 출판사 / isbn / 정가 // 도서명 / 저자 / 출판사 / isbn / 정가
// 발행일 / 도서분류 / 재고 // 발행일 / 도서분류 / 재고
@@ -371,34 +396,35 @@ namespace UniMarc
"pubdate", "discount", "image"}; "pubdate", "discount", "image"};
API api = new API(); API api = new API();
for (int a = 0; a < gridview.Rows.Count; a++) for (int a = 0; a < bookList.Count; a++)
{ {
progressBar1.PerformStep(); progressBar1.PerformStep();
if (gridview.Rows[a].Cells["isbn"].Value == null) var item = bookList[a];
gridview.Rows[a].Cells["isbn"].Value = ""; if (item.isbn == null)
item.isbn = "";
string isbn = gridview.Rows[a].Cells["isbn"].Value.ToString(); string isbn = item.isbn;
string Target = ""; string Target = "";
if (CheckData(isbn)) if (CheckData(isbn))
continue; continue;
else else
gridview.Rows[a].DefaultCellStyle.BackColor = Color.Empty; dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Empty;
#region #region
switch (cb_filter.SelectedIndex) switch (cb_filter.SelectedIndex)
{ {
case 0: case 0:
Target = gridview.Rows[a].Cells["book_name"].Value.ToString(); Target = item.book_name;
break; break;
case 1: case 1:
Target = gridview.Rows[a].Cells["author"].Value.ToString(); Target = item.author;
break; break;
case 2: case 2:
Target = gridview.Rows[a].Cells["book_comp"].Value.ToString(); Target = item.book_comp;
break; break;
} }
#endregion #endregion
@@ -407,7 +433,7 @@ namespace UniMarc
Thread.Sleep(700); Thread.Sleep(700);
} }
} }
private void Daum_API(DataGridView gridview) private void Daum_API()
{ {
string[] param = { "title", "authors", "publisher", "isbn", "price", string[] param = { "title", "authors", "publisher", "isbn", "price",
"datetime", "status", "thumbnail" }; "datetime", "status", "thumbnail" };
@@ -415,33 +441,34 @@ namespace UniMarc
string query = string.Empty; string query = string.Empty;
API api = new API(); API api = new API();
for(int a = 0; a < gridview.Rows.Count; a++) for(int a = 0; a < bookList.Count; a++)
{ {
progressBar1.PerformStep(); progressBar1.PerformStep();
if (gridview.Rows[a].Cells["isbn"].Value == null) var item = bookList[a];
gridview.Rows[a].Cells["isbn"].Value = ""; if (item.isbn == null)
item.isbn = "";
string isbn = gridview.Rows[a].Cells["isbn"].Value.ToString(); string isbn = item.isbn;
if (CheckData(isbn)) if (CheckData(isbn))
continue; continue;
else else
gridview.Rows[a].DefaultCellStyle.BackColor = Color.Empty; dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Empty;
switch (cb_filter.SelectedIndex) switch (cb_filter.SelectedIndex)
{ {
case 0: case 0:
type = "title"; type = "title";
query = gridview.Rows[a].Cells["book_name"].Value.ToString(); query = item.book_name;
break; break;
case 1: case 1:
type = "person"; type = "person";
query = gridview.Rows[a].Cells["author"].Value.ToString(); query = item.author;
break; break;
case 2: case 2:
type = "publisher"; type = "publisher";
query = gridview.Rows[a].Cells["book_comp"].Value.ToString(); query = item.book_comp;
break; break;
} }
string result = api.Daum(query, type, param); string result = api.Daum(query, type, param);
@@ -462,7 +489,7 @@ namespace UniMarc
dataGridView1.Rows[row].Selected = true; dataGridView1.Rows[row].Selected = true;
if (data.Length > 0) { if (data.Length > 0) {
dataGridView1.Rows[row].Cells["api_data"].Value = data; bookList[row].api_data = data;
dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.LightGray; dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.LightGray;
} }
string[] insert = data.Split('|'); string[] insert = data.Split('|');
@@ -531,12 +558,13 @@ namespace UniMarc
} }
void input_api_aladin(string[] value, int idx, string date) void input_api_aladin(string[] value, int idx, string date)
{ {
dataGridView1.Rows[idx].Cells["search_book_name"].Value = value[0]; var item = bookList[idx];
dataGridView1.Rows[idx].Cells["search_author"].Value = value[1]; item.search_book_name = value[0];
dataGridView1.Rows[idx].Cells["search_book_comp"].Value = value[2]; item.search_author = value[1];
dataGridView1.Rows[idx].Cells["price"].Value = value[4]; item.search_book_comp = value[2];
dataGridView1.Rows[idx].Cells["pubDate"].Value = date; item.price = value[4];
dataGridView1.Rows[idx].Cells["category"].Value = value[6]; item.pubDate = date;
item.category = value[6];
} }
void insert_Naver(string value, int row) void insert_Naver(string value, int row)
{ {
@@ -582,7 +610,7 @@ namespace UniMarc
grid[8] = data[idx]; grid[8] = data[idx];
dataGridView1.Rows[row].Cells["api_data"].Value += string.Join("|", grid) + "|"; bookList[row].api_data += string.Join("|", grid) + "|";
dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.LightGray; dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.LightGray;
} }
#endregion #endregion
@@ -639,7 +667,7 @@ namespace UniMarc
grid[7] = data[6]; grid[7] = data[6];
grid[8] = data[7]; grid[8] = data[7];
dataGridView1.Rows[row].Cells["api_data"].Value += string.Join("|", grid) + "|"; bookList[row].api_data += string.Join("|", grid) + "|";
dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.LightGray; dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.LightGray;
} }
@@ -663,9 +691,10 @@ namespace UniMarc
{ {
bool[] chk = { false, false, false }; bool[] chk = { false, false, false };
string book_name = dataGridView1.Rows[idx].Cells["book_name"].Value.ToString(); var item = bookList[idx];
string author = dataGridView1.Rows[idx].Cells["author"].Value.ToString(); string book_name = item.book_name;
string book_comp = dataGridView1.Rows[idx].Cells["book_comp"].Value.ToString(); string author = item.author;
string book_comp = item.book_comp;
if (value[0] == book_name) chk[0] = true; if (value[0] == book_name) chk[0] = true;
else if (book_name.Contains(value[0])) chk[0] = true; else if (book_name.Contains(value[0])) chk[0] = true;
@@ -681,15 +710,15 @@ namespace UniMarc
if (chk[0] && chk[1] && chk[2]) { if (chk[0] && chk[1] && chk[2]) {
dataGridView1.Rows[idx].Cells["search_book_name"].Value = value[0]; item.search_book_name = value[0];
dataGridView1.Rows[idx].Cells["search_author"].Value = value[1]; item.search_author = value[1];
dataGridView1.Rows[idx].Cells["search_book_comp"].Value = value[2]; item.search_book_comp = value[2];
dataGridView1.Rows[idx].Cells["isbn"].Value = value[3]; item.isbn = value[3];
dataGridView1.Rows[idx].Cells["price"].Value = value[4]; item.price = value[4];
dataGridView1.Rows[idx].Cells["pubDate"].Value = date; item.pubDate = date;
dataGridView1.Rows[idx].Cells["category"].Value = value[6]; item.category = value[6];
dataGridView1.Rows[idx].Cells["sold_out"].Value = value[7]; item.sold_out = value[7];
dataGridView1.Rows[idx].Cells["image"].Value = value[8]; item.image = value[8];
dataGridView1.Rows[idx].DefaultCellStyle.BackColor = Color.Yellow; dataGridView1.Rows[idx].DefaultCellStyle.BackColor = Color.Yellow;
} }
@@ -697,13 +726,13 @@ namespace UniMarc
private void btn_Save_Click(object sender, EventArgs e) private void btn_Save_Click(object sender, EventArgs e)
{ {
string[] Edit_tbl = { "isbn", "price", "pubDate", "category", "image_url", "etc" }; string[] Edit_tbl = { "isbn", "book_name", "author", "book_comp", "pay", "price", "pubDate", "category", "image_url", "sold_out", "etc" };
for (int a = 0; a < dataGridView1.Rows.Count; a++) for (int a = 0; a < bookList.Count; a++)
{ {
if (dataGridView1.Rows[a].Cells["isbn"].Value == null && var item = bookList[a];
dataGridView1.Rows[a].Cells["isbn"].Value.ToString() == "") continue; if (string.IsNullOrEmpty(item.isbn)) continue;
if (main != null) if (main != null)
Edit_tbl[0] = "isbn_marc"; Edit_tbl[0] = "isbn_marc";
@@ -711,19 +740,23 @@ namespace UniMarc
Edit_tbl[0] = "isbn"; Edit_tbl[0] = "isbn";
string[] Edit_Col = { string[] Edit_Col = {
dataGridView1.Rows[a].Cells["isbn"].Value.ToString(), item.isbn,
dataGridView1.Rows[a].Cells["price"].Value.ToString(), item.book_name,
dataGridView1.Rows[a].Cells["pubDate"].Value.ToString(), item.author,
dataGridView1.Rows[a].Cells["category"].Value.ToString(), item.book_comp,
dataGridView1.Rows[a].Cells["image"].Value.ToString(), item.unit,
dataGridView1.Rows[a].Cells["etc"].Value.ToString() item.price,
item.pubDate,
item.category,
item.image,
item.sold_out,
item.etc
}; };
string[] Search_tbl = { "idx", "list_name", "compidx" }; string[] Search_tbl = { "idx", "list_name", "compidx" };
string[] Search_col = { dataGridView1.Rows[a].Cells["idx"].Value.ToString(), string[] Search_col = { item.idx, list_name, compidx };
list_name, compidx };
if (dataGridView1.Rows[a].Cells["etc"].Value.ToString().Contains("세트분할")) if (item.etc.Contains("세트분할"))
Search_tbl[0] = "set_book_name"; Search_tbl[0] = "set_book_name";
string U_cmd = db.More_Update("Obj_List_Book", Edit_tbl, Edit_Col, Search_tbl, Search_col, 1); string U_cmd = db.More_Update("Obj_List_Book", Edit_tbl, Edit_Col, Search_tbl, Search_col, 1);
@@ -744,26 +777,33 @@ namespace UniMarc
} }
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
{ {
//if (rowidx >= dataGridView1.Rows.Count) return; if (e.RowIndex < 0) return;
//if (dataGridView1.Rows[rowidx].Cells["api_data"].Value == null ||
// dataGridView1.Rows[rowidx].Cells["api_data"].Value.ToString() == "") { var row = dataGridView1.Rows[e.RowIndex];
// return; var item = row.DataBoundItem as IsbnGridItem;
//}
//Check_ISBN_Sub sub = new Check_ISBN_Sub(this); if (item == null) return;
//sub.row = rowidx;
//sub.Call_API = cb_api.Text; using (var editForm = new Check_ISBN_ItemEdit(item))
//sub.Show(); {
if (editForm.ShowDialog() == DialogResult.OK)
{
bs1.ResetBindings(false);
row.DefaultCellStyle.BackColor = Color.Yellow;
save = false;
}
}
} }
private void SHOW_ISBN() private void SHOW_ISBN()
{ {
if (rowidx >= dataGridView1.Rows.Count) return; int idx = bs1.Position;
if (dataGridView1.Rows[rowidx].Cells["api_data"].Value == null || if (idx < 0 || idx >= bookList.Count) return;
dataGridView1.Rows[rowidx].Cells["api_data"].Value.ToString() == "") if (string.IsNullOrEmpty(bookList[idx].api_data))
{ {
return; return;
} }
var sub = new Check_ISBN_Sub2(this); var sub = new Check_ISBN_Sub2(this);
sub.row = rowidx; sub.row = idx;
sub.Call_API = cb_api.Text; sub.Call_API = cb_api.Text;
sub.Show(); sub.Show();
} }
@@ -790,10 +830,10 @@ namespace UniMarc
{ {
var bl = new Book_Lookup2(this); var bl = new Book_Lookup2(this);
bl.TopMost = true; bl.TopMost = true;
string book_name = dataGridView1.Rows[rowidx].Cells["book_name"].Value.ToString(); int idx = bs1.Position;
string author = dataGridView1.Rows[rowidx].Cells["author"].Value.ToString(); if (idx < 0) return;
string book_comp = dataGridView1.Rows[rowidx].Cells["book_comp"].Value.ToString(); var item = bookList[idx];
bl.Lookup_Load(book_name, author, book_comp, list_name); bl.Lookup_Load(item.book_name, item.author, item.book_comp, list_name);
bl.Show(); bl.Show();
} }
if (e.KeyCode == Keys.Up) if (e.KeyCode == Keys.Up)

View File

@@ -180,4 +180,51 @@
<metadata name="api_data.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="api_data.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="bindingNavigator1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="bs1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>171, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAExSURBVDhPY2AYNKBw1vP/TQue/8+c+Pg/uhwMhLc/wCnH
kDvz2f9VR97/x6UovvvB/+CGa1jlwCBjytP/C/d9wKoovufh/6X7///3r76AIQcHCT1P/k/b8h5DUUT7
fbDmzFn//3uVnsBtQGTXo/+9qz+gKAptvQfW3Lru/3//zr//XfIP4DYgsPnh/7r57+CKglvu/l+09///
jnX//2fM+fnfru7nf/uM7bgN8Ki6/z9/2hsURXbFt/+nz/n937/r23+dwnf/LRLW4zbAvvTu/+zJrzEU
6aec/29S9OK/Stan/8aRy3AbYJF3539q/2usigySTvyXTfv6Xzd4HoYcHBhm3f4f1vISpyL91Mv/NXyn
YZUDA520G//9qh/iVaTiMQGnHINT7pX/IAV4FQ1KAADwdsCrWJS2HgAAAABJRU5ErkJggg==
</value>
</data>
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAC7SURBVDhPY2AYMiC8/cF/dDGiQXz3g//BDdfIMyC+5+H/
pfv///evvkC6ARHt98GaM2f9/+9VeoI0A0Jb74E1t677/9+/8+9/l/wDxBsQ3HL3/6K9//93rPv/P2PO
z/92dT//22dsJ94AELArvv0/fc7v//5d3/7rFL77b5GwnjQDQEA/5fx/k6IX/1WyPv03jlxGugEgYJB0
4r9s2tf/usHzyDMABPRTL//X8J1GvgEgoOIxgTIDBi8AANAUYJgsLP+3AAAAAElFTkSuQmCC
</value>
</data>
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACkSURBVDhPY2AYdKBw1vP/6GIkgdyZz/4ndN8j35CMKU//
z9v/+39C1x3yDEnoefJ/9r5f/zu3/v3vVnqZdEMiux79n7Lt1/+SpX//J0z/+98m9yxphgQ2P/zfuvY9
WLNxyZf/0tHX/htHLiPeEI+q+/9L5r6Da1Z06SFeMwjYl979H9jyjDzNIGCRd+e/TcEV8jSDgGHWbfI1
g4BO2g3yNQ9NAACgfl+gY6ualwAAAABJRU5ErkJggg==
</value>
</data>
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAErSURBVDhPY2AYVKBw1vP/6GIwAJJrWvD8f+bExzjVMOTO
fPY/ofseVgUguVVH3v8Pb3+AVR4MMqY8/T9v/+//CV13MBSB5Bbu+/A/uOEahhwcJPQ8+T9736//nVv/
/ncrvYyiECQ3bcv7//7VF3AbENn16P+Ubb/+lyz9+z9h+t//Nrln4YpBcr2rP/z3Kj2B24DA5of/W9e+
B2s2LvnyXzr62n/jyGVgDSC5uvnv/rvkH8BtgEfV/f8lc9/BNSu69MAVg+Typ735b5+xHbcB9qV3/we2
PMPQDJPLnvz6v0XCetwGWOTd+W9TcAVDM0wutf813EtYgWHWbayaQQAkF9by8r9u8Dys8mCgk3YDpyRI
zq/64X8N32k41eAFTrlX/qt4TABjdLmBBQC+0b+zZl1WGAAAAABJRU5ErkJggg==
</value>
</data>
</root> </root>

View File

@@ -0,0 +1,356 @@
namespace UniMarc
{
partial class Check_ISBN_ItemEdit
{
private System.ComponentModel.IContainer components = null;
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.tb_ISBN = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.tb_BookName = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.tb_SearchBookName = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.tb_Author = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.tb_SearchAuthor = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.tb_BookComp = new System.Windows.Forms.TextBox();
this.label7 = new System.Windows.Forms.Label();
this.tb_SearchBookComp = new System.Windows.Forms.TextBox();
this.label8 = new System.Windows.Forms.Label();
this.tb_Unit = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label();
this.tb_Price = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
this.tb_Etc = new System.Windows.Forms.TextBox();
this.label11 = new System.Windows.Forms.Label();
this.tb_PubDate = new System.Windows.Forms.TextBox();
this.label12 = new System.Windows.Forms.Label();
this.tb_Category = new System.Windows.Forms.TextBox();
this.label13 = new System.Windows.Forms.Label();
this.tb_SoldOut = new System.Windows.Forms.TextBox();
this.btSave = new System.Windows.Forms.Button();
this.btClose = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 15);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(45, 12);
this.label1.TabIndex = 0;
this.label1.Text = "ISBN13";
//
// tb_ISBN
//
this.tb_ISBN.Location = new System.Drawing.Point(110, 12);
this.tb_ISBN.Name = "tb_ISBN";
this.tb_ISBN.Size = new System.Drawing.Size(270, 21);
this.tb_ISBN.TabIndex = 1;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(12, 42);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(41, 12);
this.label2.TabIndex = 2;
this.label2.Text = "도서명";
//
// tb_BookName
//
this.tb_BookName.Location = new System.Drawing.Point(110, 39);
this.tb_BookName.Name = "tb_BookName";
this.tb_BookName.Size = new System.Drawing.Size(270, 21);
this.tb_BookName.TabIndex = 3;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(12, 69);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(69, 12);
this.label3.TabIndex = 4;
this.label3.Text = "검색 도서명";
//
// tb_SearchBookName
//
this.tb_SearchBookName.Location = new System.Drawing.Point(110, 66);
this.tb_SearchBookName.Name = "tb_SearchBookName";
this.tb_SearchBookName.Size = new System.Drawing.Size(270, 21);
this.tb_SearchBookName.TabIndex = 5;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(12, 96);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(29, 12);
this.label4.TabIndex = 6;
this.label4.Text = "저자";
//
// tb_Author
//
this.tb_Author.Location = new System.Drawing.Point(110, 93);
this.tb_Author.Name = "tb_Author";
this.tb_Author.Size = new System.Drawing.Size(270, 21);
this.tb_Author.TabIndex = 7;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(12, 123);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(57, 12);
this.label5.TabIndex = 8;
this.label5.Text = "검색 저자";
//
// tb_SearchAuthor
//
this.tb_SearchAuthor.Location = new System.Drawing.Point(110, 120);
this.tb_SearchAuthor.Name = "tb_SearchAuthor";
this.tb_SearchAuthor.Size = new System.Drawing.Size(270, 21);
this.tb_SearchAuthor.TabIndex = 9;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(12, 150);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(41, 12);
this.label6.TabIndex = 10;
this.label6.Text = "출판사";
//
// tb_BookComp
//
this.tb_BookComp.Location = new System.Drawing.Point(110, 147);
this.tb_BookComp.Name = "tb_BookComp";
this.tb_BookComp.Size = new System.Drawing.Size(270, 21);
this.tb_BookComp.TabIndex = 11;
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(12, 177);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(69, 12);
this.label7.TabIndex = 12;
this.label7.Text = "검색 출판사";
//
// tb_SearchBookComp
//
this.tb_SearchBookComp.Location = new System.Drawing.Point(110, 174);
this.tb_SearchBookComp.Name = "tb_SearchBookComp";
this.tb_SearchBookComp.Size = new System.Drawing.Size(270, 21);
this.tb_SearchBookComp.TabIndex = 13;
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(12, 204);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(29, 12);
this.label8.TabIndex = 14;
this.label8.Text = "단가";
//
// tb_Unit
//
this.tb_Unit.Location = new System.Drawing.Point(110, 201);
this.tb_Unit.Name = "tb_Unit";
this.tb_Unit.Size = new System.Drawing.Size(270, 21);
this.tb_Unit.TabIndex = 15;
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(12, 231);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(29, 12);
this.label9.TabIndex = 16;
this.label9.Text = "정가";
//
// tb_Price
//
this.tb_Price.Location = new System.Drawing.Point(110, 228);
this.tb_Price.Name = "tb_Price";
this.tb_Price.Size = new System.Drawing.Size(270, 21);
this.tb_Price.TabIndex = 17;
//
// label10
//
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(12, 258);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(29, 12);
this.label10.TabIndex = 18;
this.label10.Text = "비고";
//
// tb_Etc
//
this.tb_Etc.Location = new System.Drawing.Point(110, 255);
this.tb_Etc.Name = "tb_Etc";
this.tb_Etc.Size = new System.Drawing.Size(270, 21);
this.tb_Etc.TabIndex = 19;
//
// label11
//
this.label11.AutoSize = true;
this.label11.Location = new System.Drawing.Point(12, 285);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(41, 12);
this.label11.TabIndex = 20;
this.label11.Text = "발행일";
//
// tb_PubDate
//
this.tb_PubDate.Location = new System.Drawing.Point(110, 282);
this.tb_PubDate.Name = "tb_PubDate";
this.tb_PubDate.Size = new System.Drawing.Size(270, 21);
this.tb_PubDate.TabIndex = 21;
//
// label12
//
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(12, 312);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(53, 12);
this.label12.TabIndex = 22;
this.label12.Text = "도서분류";
//
// tb_Category
//
this.tb_Category.Location = new System.Drawing.Point(110, 309);
this.tb_Category.Name = "tb_Category";
this.tb_Category.Size = new System.Drawing.Size(270, 21);
this.tb_Category.TabIndex = 23;
//
// label13
//
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(12, 339);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(59, 12);
this.label13.TabIndex = 24;
this.label13.Text = "품절/절판";
//
// tb_SoldOut
//
this.tb_SoldOut.Location = new System.Drawing.Point(110, 336);
this.tb_SoldOut.Name = "tb_SoldOut";
this.tb_SoldOut.Size = new System.Drawing.Size(270, 21);
this.tb_SoldOut.TabIndex = 25;
//
// btSave
//
this.btSave.Location = new System.Drawing.Point(224, 366);
this.btSave.Name = "btSave";
this.btSave.Size = new System.Drawing.Size(75, 23);
this.btSave.TabIndex = 28;
this.btSave.Text = "저장";
this.btSave.UseVisualStyleBackColor = true;
this.btSave.Click += new System.EventHandler(this.btSave_Click);
//
// btClose
//
this.btClose.Location = new System.Drawing.Point(305, 366);
this.btClose.Name = "btClose";
this.btClose.Size = new System.Drawing.Size(75, 23);
this.btClose.TabIndex = 29;
this.btClose.Text = "닫기";
this.btClose.UseVisualStyleBackColor = true;
this.btClose.Click += new System.EventHandler(this.btClose_Click);
//
// Check_ISBN_ItemEdit
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(400, 403);
this.Controls.Add(this.btClose);
this.Controls.Add(this.btSave);
this.Controls.Add(this.tb_SoldOut);
this.Controls.Add(this.label13);
this.Controls.Add(this.tb_Category);
this.Controls.Add(this.label12);
this.Controls.Add(this.tb_PubDate);
this.Controls.Add(this.label11);
this.Controls.Add(this.tb_Etc);
this.Controls.Add(this.label10);
this.Controls.Add(this.tb_Price);
this.Controls.Add(this.label9);
this.Controls.Add(this.tb_Unit);
this.Controls.Add(this.label8);
this.Controls.Add(this.tb_SearchBookComp);
this.Controls.Add(this.label7);
this.Controls.Add(this.tb_BookComp);
this.Controls.Add(this.label6);
this.Controls.Add(this.tb_SearchAuthor);
this.Controls.Add(this.label5);
this.Controls.Add(this.tb_Author);
this.Controls.Add(this.label4);
this.Controls.Add(this.tb_SearchBookName);
this.Controls.Add(this.label3);
this.Controls.Add(this.tb_BookName);
this.Controls.Add(this.label2);
this.Controls.Add(this.tb_ISBN);
this.Controls.Add(this.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.KeyPreview = true;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "Check_ISBN_ItemEdit";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "도서 정보 상세 편집";
this.Load += new System.EventHandler(this.Check_ISBN_ItemEdit_Load);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Check_ISBN_ItemEdit_KeyDown);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox tb_ISBN;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox tb_BookName;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox tb_SearchBookName;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox tb_Author;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox tb_SearchAuthor;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox tb_BookComp;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.TextBox tb_SearchBookComp;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.TextBox tb_Unit;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.TextBox tb_Price;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.TextBox tb_Etc;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.TextBox tb_PubDate;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.TextBox tb_Category;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.TextBox tb_SoldOut;
private System.Windows.Forms.Button btSave;
private System.Windows.Forms.Button btClose;
}
}

View File

@@ -0,0 +1,84 @@
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_ISBN_ItemEdit : Form
{
private IsbnGridItem _item;
public Check_ISBN_ItemEdit(IsbnGridItem item)
{
InitializeComponent();
_item = item;
}
private void Check_ISBN_ItemEdit_Load(object sender, EventArgs e)
{
if (_item == null)
{
MessageBox.Show("데이터가 없습니다.");
this.Close();
return;
}
tb_ISBN.Text = _item.isbn;
tb_BookName.Text = _item.book_name;
tb_SearchBookName.Text = _item.search_book_name;
tb_Author.Text = _item.author;
tb_SearchAuthor.Text = _item.search_author;
tb_BookComp.Text = _item.book_comp;
tb_SearchBookComp.Text = _item.search_book_comp;
tb_Unit.Text = _item.unit;
tb_Price.Text = _item.price;
tb_Etc.Text = _item.etc;
tb_PubDate.Text = _item.pubDate;
tb_Category.Text = _item.category;
tb_SoldOut.Text = _item.sold_out;
}
private void btSave_Click(object sender, EventArgs e)
{
_item.isbn = tb_ISBN.Text;
_item.book_name = tb_BookName.Text;
_item.search_book_name = tb_SearchBookName.Text;
_item.author = tb_Author.Text;
_item.search_author = tb_SearchAuthor.Text;
_item.book_comp = tb_BookComp.Text;
_item.search_book_comp = tb_SearchBookComp.Text;
_item.unit = tb_Unit.Text;
_item.price = tb_Price.Text;
_item.etc = tb_Etc.Text;
_item.pubDate = tb_PubDate.Text;
_item.category = tb_Category.Text;
_item.sold_out = tb_SoldOut.Text;
this.DialogResult = DialogResult.OK;
this.Close();
}
private void btClose_Click(object sender, EventArgs e)
{
this.Close();
}
private void Check_ISBN_ItemEdit_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Escape)
{
this.Close();
}
if (e.KeyCode == Keys.Enter)
{
btSave_Click(null, null);
}
}
}
}

View 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>

View File

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UniMarc
{
public class IsbnGridItem
{
public string idx { get; set; }
public string num { get; set; }
public string isbn { get; set; }
public string book_name { get; set; }
public string search_book_name { get; set; }
public string author { get; set; }
public string search_author { get; set; }
public string book_comp { get; set; }
public string search_book_comp { get; set; }
public string count { get; set; }
public string unit { get; set; }
public string total { get; set; }
public string condition { get; set; }
public string price { get; set; }
public string etc { get; set; }
public string pubDate { get; set; }
public string persent { get; set; }
public string category { get; set; }
public string sold_out { get; set; }
public string image { get; set; }
public string api_data { get; set; }
}
}

View File

@@ -74,7 +74,6 @@
this.lbCustIDX = new System.Windows.Forms.Label(); this.lbCustIDX = new System.Windows.Forms.Label();
this.btCopy = new System.Windows.Forms.Button(); this.btCopy = new System.Windows.Forms.Button();
this.panel2 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel();
this.marcEditorControl1 = new UniMarc.MarcEditorControl();
this.panel3 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel();
this.panel4 = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel();
this.lbl_BookList = new System.Windows.Forms.Label(); this.lbl_BookList = new System.Windows.Forms.Label();
@@ -93,6 +92,7 @@
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
this.lbListIdx = new System.Windows.Forms.ToolStripLabel(); this.lbListIdx = new System.Windows.Forms.ToolStripLabel();
this.marcEditorControl1 = new UniMarc.MarcEditorControl();
label31 = new System.Windows.Forms.Label(); label31 = new System.Windows.Forms.Label();
label30 = new System.Windows.Forms.Label(); label30 = new System.Windows.Forms.Label();
label33 = new System.Windows.Forms.Label(); label33 = new System.Windows.Forms.Label();
@@ -548,16 +548,6 @@
this.panel2.Size = new System.Drawing.Size(1083, 658); this.panel2.Size = new System.Drawing.Size(1083, 658);
this.panel2.TabIndex = 325; this.panel2.TabIndex = 325;
// //
// marcEditorControl1
//
this.marcEditorControl1.BackColor = System.Drawing.Color.Gray;
this.marcEditorControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.marcEditorControl1.Font = new System.Drawing.Font("돋움", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.marcEditorControl1.Location = new System.Drawing.Point(0, 0);
this.marcEditorControl1.Name = "marcEditorControl1";
this.marcEditorControl1.Size = new System.Drawing.Size(1083, 658);
this.marcEditorControl1.TabIndex = 0;
//
// panel3 // panel3
// //
this.panel3.BackColor = System.Drawing.Color.White; this.panel3.BackColor = System.Drawing.Color.White;
@@ -682,7 +672,6 @@
// //
this.bindingNavigatorPositionItem.AccessibleName = "위치"; this.bindingNavigatorPositionItem.AccessibleName = "위치";
this.bindingNavigatorPositionItem.AutoSize = false; this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0"; this.bindingNavigatorPositionItem.Text = "0";
@@ -729,6 +718,16 @@
this.lbListIdx.Size = new System.Drawing.Size(14, 24); this.lbListIdx.Size = new System.Drawing.Size(14, 24);
this.lbListIdx.Text = "0"; this.lbListIdx.Text = "0";
// //
// marcEditorControl1
//
this.marcEditorControl1.BackColor = System.Drawing.Color.Gray;
this.marcEditorControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.marcEditorControl1.Font = new System.Drawing.Font("돋움", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.marcEditorControl1.Location = new System.Drawing.Point(0, 0);
this.marcEditorControl1.Name = "marcEditorControl1";
this.marcEditorControl1.Size = new System.Drawing.Size(1083, 658);
this.marcEditorControl1.TabIndex = 0;
//
// Marc2 // Marc2
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);

View File

@@ -28,14 +28,14 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
this.label31 = new System.Windows.Forms.Label(); this.label31 = new System.Windows.Forms.Label();
this.label30 = new System.Windows.Forms.Label(); this.label30 = new System.Windows.Forms.Label();
this.label33 = new System.Windows.Forms.Label(); this.label33 = new System.Windows.Forms.Label();
@@ -216,7 +216,7 @@
this.text500a = new System.Windows.Forms.TextBox(); this.text500a = new System.Windows.Forms.TextBox();
this.text507a = new System.Windows.Forms.TextBox(); this.text507a = new System.Windows.Forms.TextBox();
this.lbl_SaveData = new System.Windows.Forms.Label(); this.lbl_SaveData = new System.Windows.Forms.Label();
this.lbl_ISBN = new System.Windows.Forms.Label(); this.lbl_ISBN = new System.Windows.Forms.TextBox();
this.checkBox4 = new System.Windows.Forms.CheckBox(); this.checkBox4 = new System.Windows.Forms.CheckBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
@@ -891,8 +891,8 @@
this.GridView020.Name = "GridView020"; this.GridView020.Name = "GridView020";
this.GridView020.RowHeadersVisible = false; this.GridView020.RowHeadersVisible = false;
this.GridView020.RowHeadersWidth = 30; this.GridView020.RowHeadersWidth = 30;
dataGridViewCellStyle25.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); dataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.GridView020.RowsDefaultCellStyle = dataGridViewCellStyle25; this.GridView020.RowsDefaultCellStyle = dataGridViewCellStyle17;
this.GridView020.RowTemplate.Height = 23; this.GridView020.RowTemplate.Height = 23;
this.GridView020.Size = new System.Drawing.Size(408, 80); this.GridView020.Size = new System.Drawing.Size(408, 80);
this.GridView020.TabIndex = 0; this.GridView020.TabIndex = 0;
@@ -966,8 +966,8 @@
this.GridView505.Name = "GridView505"; this.GridView505.Name = "GridView505";
this.GridView505.RowHeadersVisible = false; this.GridView505.RowHeadersVisible = false;
this.GridView505.RowHeadersWidth = 30; this.GridView505.RowHeadersWidth = 30;
dataGridViewCellStyle26.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); dataGridViewCellStyle18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.GridView505.RowsDefaultCellStyle = dataGridViewCellStyle26; this.GridView505.RowsDefaultCellStyle = dataGridViewCellStyle18;
this.GridView505.RowTemplate.Height = 23; this.GridView505.RowTemplate.Height = 23;
this.GridView505.Size = new System.Drawing.Size(401, 71); this.GridView505.Size = new System.Drawing.Size(401, 71);
this.GridView505.TabIndex = 2; this.GridView505.TabIndex = 2;
@@ -1106,14 +1106,14 @@
this.GridView246.AllowDrop = true; this.GridView246.AllowDrop = true;
this.GridView246.AllowUserToAddRows = false; this.GridView246.AllowUserToAddRows = false;
this.GridView246.AllowUserToResizeRows = false; this.GridView246.AllowUserToResizeRows = false;
dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle27.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle19.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle27.Font = new System.Drawing.Font("돋움", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); dataGridViewCellStyle19.Font = new System.Drawing.Font("돋움", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle27.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle19.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle27.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle19.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle27.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle19.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle27.WrapMode = System.Windows.Forms.DataGridViewTriState.True; dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.GridView246.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle27; this.GridView246.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle19;
this.GridView246.ColumnHeadersHeight = 29; this.GridView246.ColumnHeadersHeight = 29;
this.GridView246.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.GridView246.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Text246Jisi, this.Text246Jisi,
@@ -1126,8 +1126,8 @@
this.GridView246.Name = "GridView246"; this.GridView246.Name = "GridView246";
this.GridView246.RowHeadersVisible = false; this.GridView246.RowHeadersVisible = false;
this.GridView246.RowHeadersWidth = 30; this.GridView246.RowHeadersWidth = 30;
dataGridViewCellStyle28.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); dataGridViewCellStyle20.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.GridView246.RowsDefaultCellStyle = dataGridViewCellStyle28; this.GridView246.RowsDefaultCellStyle = dataGridViewCellStyle20;
this.GridView246.RowTemplate.Height = 23; this.GridView246.RowTemplate.Height = 23;
this.GridView246.Size = new System.Drawing.Size(493, 138); this.GridView246.Size = new System.Drawing.Size(493, 138);
this.GridView246.TabIndex = 31; this.GridView246.TabIndex = 31;
@@ -1286,14 +1286,14 @@
this.GridView440.AllowDrop = true; this.GridView440.AllowDrop = true;
this.GridView440.AllowUserToAddRows = false; this.GridView440.AllowUserToAddRows = false;
this.GridView440.AllowUserToResizeRows = false; this.GridView440.AllowUserToResizeRows = false;
dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle29.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle21.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle29.Font = new System.Drawing.Font("돋움", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); dataGridViewCellStyle21.Font = new System.Drawing.Font("돋움", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle29.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle21.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle29.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle21.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle29.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle21.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle29.WrapMode = System.Windows.Forms.DataGridViewTriState.True; dataGridViewCellStyle21.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.GridView440.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle29; this.GridView440.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle21;
this.GridView440.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.GridView440.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.GridView440.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.GridView440.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.text440a, this.text440a,
@@ -1306,8 +1306,8 @@
this.GridView440.Name = "GridView440"; this.GridView440.Name = "GridView440";
this.GridView440.RowHeadersVisible = false; this.GridView440.RowHeadersVisible = false;
this.GridView440.RowHeadersWidth = 30; this.GridView440.RowHeadersWidth = 30;
dataGridViewCellStyle30.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); dataGridViewCellStyle22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.GridView440.RowsDefaultCellStyle = dataGridViewCellStyle30; this.GridView440.RowsDefaultCellStyle = dataGridViewCellStyle22;
this.GridView440.RowTemplate.Height = 23; this.GridView440.RowTemplate.Height = 23;
this.GridView440.Size = new System.Drawing.Size(597, 71); this.GridView440.Size = new System.Drawing.Size(597, 71);
this.GridView440.TabIndex = 18; this.GridView440.TabIndex = 18;
@@ -1415,14 +1415,14 @@
this.GridView490.AllowDrop = true; this.GridView490.AllowDrop = true;
this.GridView490.AllowUserToAddRows = false; this.GridView490.AllowUserToAddRows = false;
this.GridView490.AllowUserToResizeRows = false; this.GridView490.AllowUserToResizeRows = false;
dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle31.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle23.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle31.Font = new System.Drawing.Font("돋움", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); dataGridViewCellStyle23.Font = new System.Drawing.Font("돋움", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle31.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle23.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle31.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle23.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle31.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle23.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle31.WrapMode = System.Windows.Forms.DataGridViewTriState.True; dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.GridView490.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle31; this.GridView490.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle23;
this.GridView490.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.GridView490.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.GridView490.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.GridView490.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.text490a, this.text490a,
@@ -1431,8 +1431,8 @@
this.GridView490.Name = "GridView490"; this.GridView490.Name = "GridView490";
this.GridView490.RowHeadersVisible = false; this.GridView490.RowHeadersVisible = false;
this.GridView490.RowHeadersWidth = 30; this.GridView490.RowHeadersWidth = 30;
dataGridViewCellStyle32.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); dataGridViewCellStyle24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.GridView490.RowsDefaultCellStyle = dataGridViewCellStyle32; this.GridView490.RowsDefaultCellStyle = dataGridViewCellStyle24;
this.GridView490.RowTemplate.Height = 23; this.GridView490.RowTemplate.Height = 23;
this.GridView490.Size = new System.Drawing.Size(321, 71); this.GridView490.Size = new System.Drawing.Size(321, 71);
this.GridView490.TabIndex = 19; this.GridView490.TabIndex = 19;
@@ -2241,13 +2241,13 @@
// //
// lbl_ISBN // lbl_ISBN
// //
this.lbl_ISBN.AutoSize = true; this.lbl_ISBN.Font = new System.Drawing.Font("굴림체", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.lbl_ISBN.Font = new System.Drawing.Font("굴림체", 14.25F, System.Drawing.FontStyle.Bold); this.lbl_ISBN.Location = new System.Drawing.Point(168, 0);
this.lbl_ISBN.Location = new System.Drawing.Point(248, 0);
this.lbl_ISBN.Name = "lbl_ISBN"; this.lbl_ISBN.Name = "lbl_ISBN";
this.lbl_ISBN.Size = new System.Drawing.Size(31, 19); this.lbl_ISBN.Size = new System.Drawing.Size(142, 25);
this.lbl_ISBN.TabIndex = 33; this.lbl_ISBN.TabIndex = 33;
this.lbl_ISBN.Text = "[]"; this.lbl_ISBN.Text = "[]";
this.lbl_ISBN.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
// //
// checkBox4 // checkBox4
// //
@@ -2607,7 +2607,7 @@
private System.Windows.Forms.DataGridViewTextBoxColumn Text020c; private System.Windows.Forms.DataGridViewTextBoxColumn Text020c;
private System.Windows.Forms.Label lbl_SaveData; private System.Windows.Forms.Label lbl_SaveData;
private System.Windows.Forms.Button Btn_interlock; private System.Windows.Forms.Button Btn_interlock;
private System.Windows.Forms.Label lbl_ISBN; private System.Windows.Forms.TextBox lbl_ISBN;
private System.Windows.Forms.DataGridViewTextBoxColumn text505n; private System.Windows.Forms.DataGridViewTextBoxColumn text505n;
private System.Windows.Forms.DataGridViewTextBoxColumn text505t; private System.Windows.Forms.DataGridViewTextBoxColumn text505t;
private System.Windows.Forms.DataGridViewTextBoxColumn text505d; private System.Windows.Forms.DataGridViewTextBoxColumn text505d;

View File

@@ -119,7 +119,7 @@ namespace UniMarc
lbl_SaveData.Text = $"[{Param.User}] [{Param.SaveDate}]"; lbl_SaveData.Text = $"[{Param.User}] [{Param.SaveDate}]";
lbl_ISBN.Text = $"[{Param.ISBN13}]"; lbl_ISBN.Text = $"{Param.ISBN13}";
LoadMarc(dbMarc); //여기에서도 008을 설정한다 LoadMarc(dbMarc); //여기에서도 008을 설정한다