=====* unimarc *=====
------------------------ =====* ISBN 체크 프로그램 *===== ★작업완료★ a. 현재 마크팀 배포완료. - 추후 수정사항발생시 수정할 것. ------------------------ ===== 작업중 ===== b. 마크목록 폼 작성중 1. 엑셀반출 기능 추가중 사용 작업대기중 ===== 완료 ===== 1. 주문관리 팩스연동 완료 2. 전송된 팩스 확인 작업개시, 이메일 전송모듈 수정완료. 3. 주문관리에서 주문처와 목록 검색하는 폼 검색 모듈도 재수정 완료함. 4. 데이터베이스 내 이미지URL을 가져오는작업 완료 ISBN 체크 프로그램 => 본프로그램에 이식중. ㄴ> 코드는 다 옮겼으나 기존 사용하던 방식과 조금 달라서 버그발생 가능성 있음. ㄴ> 버그 체크 계속 해볼것. 21-04-15 ㄴ> 21_04_20 버그 없음. 2. 마크편집 폼 수정 중 (마크 반출 test프로젝트 진행완료, 본 프로젝트에 적용중. / 저장기능활성화 작업완료) 2-1. 기존의 칸채우기에서 예상되지 못한 버그가 발생하여 칸채우기 숨김. 2-2. 008태크 재배치 => TextBox에 적용완료. 변경사항 메모장으로 넘기는 작업 완료. 2-3. 저장기능 완료. (04.14 체크해볼것)
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -139,6 +139,12 @@
|
|||||||
<Compile Include="마크\Marc.designer.cs">
|
<Compile Include="마크\Marc.designer.cs">
|
||||||
<DependentUpon>Marc.cs</DependentUpon>
|
<DependentUpon>Marc.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="마크\Search_Infor_Sub.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="마크\Search_Infor_Sub.Designer.cs">
|
||||||
|
<DependentUpon>Search_Infor_Sub.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="회계\Bill_manage.cs">
|
<Compile Include="회계\Bill_manage.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -600,6 +606,9 @@
|
|||||||
<EmbeddedResource Include="마크\Marc.resx">
|
<EmbeddedResource Include="마크\Marc.resx">
|
||||||
<DependentUpon>Marc.cs</DependentUpon>
|
<DependentUpon>Marc.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="마크\Search_Infor_Sub.resx">
|
||||||
|
<DependentUpon>Search_Infor_Sub.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="회계\Bill_manage.resx">
|
<EmbeddedResource Include="회계\Bill_manage.resx">
|
||||||
<DependentUpon>Bill_manage.cs</DependentUpon>
|
<DependentUpon>Bill_manage.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
|||||||
2c2fdedd3db00438687298caebc6f66a078d1e50
|
95b5b9901765015531bb86a1c60df3f15920c313
|
||||||
|
|||||||
@@ -375,3 +375,4 @@ C:\Users\Administrator\Desktop\unimarc\unimarc\WindowsFormsApp1\obj\Debug\Window
|
|||||||
C:\Users\Administrator\Desktop\unimarc\unimarc\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.pdb
|
C:\Users\Administrator\Desktop\unimarc\unimarc\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.pdb
|
||||||
C:\Users\Administrator\Desktop\unimarc\unimarc\WindowsFormsApp1\bin\Debug\System.Numerics.Vectors.dll
|
C:\Users\Administrator\Desktop\unimarc\unimarc\WindowsFormsApp1\bin\Debug\System.Numerics.Vectors.dll
|
||||||
C:\Users\Administrator\Desktop\unimarc\unimarc\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.마크.Check_ISBN_Sub.resources
|
C:\Users\Administrator\Desktop\unimarc\unimarc\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.마크.Check_ISBN_Sub.resources
|
||||||
|
C:\Users\Administrator\Desktop\unimarc\unimarc\WindowsFormsApp1\obj\Debug\WindowsFormsApp1.마크.Search_Infor_Sub.resources
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
250
unimarc/WindowsFormsApp1/마크/Check_ISBN.Designer.cs
generated
250
unimarc/WindowsFormsApp1/마크/Check_ISBN.Designer.cs
generated
@@ -28,10 +28,20 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
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.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();
|
||||||
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
@@ -50,17 +60,8 @@
|
|||||||
this.persent = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.persent = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.category = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.category = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.sold_out = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.sold_out = 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();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
@@ -69,13 +70,13 @@
|
|||||||
this.dataGridView1.AllowUserToAddRows = false;
|
this.dataGridView1.AllowUserToAddRows = false;
|
||||||
this.dataGridView1.AllowUserToDeleteRows = false;
|
this.dataGridView1.AllowUserToDeleteRows = false;
|
||||||
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control;
|
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control;
|
||||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
|
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
|
||||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||||
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
|
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||||
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||||||
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
this.num,
|
this.num,
|
||||||
@@ -96,21 +97,22 @@
|
|||||||
this.persent,
|
this.persent,
|
||||||
this.category,
|
this.category,
|
||||||
this.sold_out,
|
this.sold_out,
|
||||||
|
this.image,
|
||||||
this.api_data});
|
this.api_data});
|
||||||
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnF2;
|
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnF2;
|
||||||
this.dataGridView1.Location = new System.Drawing.Point(12, 35);
|
this.dataGridView1.Location = new System.Drawing.Point(12, 35);
|
||||||
this.dataGridView1.Name = "dataGridView1";
|
this.dataGridView1.Name = "dataGridView1";
|
||||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
|
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
||||||
dataGridViewCellStyle5.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
dataGridViewCellStyle2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||||
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
|
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||||
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||||
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||||
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle5;
|
this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||||
this.dataGridView1.RowHeadersWidth = 20;
|
this.dataGridView1.RowHeadersWidth = 20;
|
||||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle6;
|
this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle3;
|
||||||
this.dataGridView1.RowTemplate.Height = 23;
|
this.dataGridView1.RowTemplate.Height = 23;
|
||||||
this.dataGridView1.Size = new System.Drawing.Size(1615, 547);
|
this.dataGridView1.Size = new System.Drawing.Size(1615, 547);
|
||||||
this.dataGridView1.TabIndex = 0;
|
this.dataGridView1.TabIndex = 0;
|
||||||
@@ -118,6 +120,97 @@
|
|||||||
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);
|
||||||
//
|
//
|
||||||
|
// btn_lookup
|
||||||
|
//
|
||||||
|
this.btn_lookup.Location = new System.Drawing.Point(709, 7);
|
||||||
|
this.btn_lookup.Name = "btn_lookup";
|
||||||
|
this.btn_lookup.Size = new System.Drawing.Size(99, 23);
|
||||||
|
this.btn_lookup.TabIndex = 1;
|
||||||
|
this.btn_lookup.Text = "ISBN 자동 조회";
|
||||||
|
this.btn_lookup.UseVisualStyleBackColor = true;
|
||||||
|
this.btn_lookup.Click += new System.EventHandler(this.btn_lookup_Click);
|
||||||
|
//
|
||||||
|
// cb_filter
|
||||||
|
//
|
||||||
|
this.cb_filter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
|
this.cb_filter.FormattingEnabled = true;
|
||||||
|
this.cb_filter.Location = new System.Drawing.Point(516, 8);
|
||||||
|
this.cb_filter.Name = "cb_filter";
|
||||||
|
this.cb_filter.Size = new System.Drawing.Size(161, 20);
|
||||||
|
this.cb_filter.TabIndex = 2;
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(16, 12);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(41, 12);
|
||||||
|
this.label1.TabIndex = 3;
|
||||||
|
this.label1.Text = "목록명";
|
||||||
|
//
|
||||||
|
// tb_list_name
|
||||||
|
//
|
||||||
|
this.tb_list_name.Enabled = false;
|
||||||
|
this.tb_list_name.Location = new System.Drawing.Point(59, 8);
|
||||||
|
this.tb_list_name.Name = "tb_list_name";
|
||||||
|
this.tb_list_name.Size = new System.Drawing.Size(199, 21);
|
||||||
|
this.tb_list_name.TabIndex = 4;
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.Location = new System.Drawing.Point(457, 12);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(57, 12);
|
||||||
|
this.label2.TabIndex = 3;
|
||||||
|
this.label2.Text = "검색 조건";
|
||||||
|
//
|
||||||
|
// btn_Save
|
||||||
|
//
|
||||||
|
this.btn_Save.Location = new System.Drawing.Point(819, 7);
|
||||||
|
this.btn_Save.Name = "btn_Save";
|
||||||
|
this.btn_Save.Size = new System.Drawing.Size(99, 23);
|
||||||
|
this.btn_Save.TabIndex = 1;
|
||||||
|
this.btn_Save.Text = "전 체 저 장";
|
||||||
|
this.btn_Save.UseVisualStyleBackColor = true;
|
||||||
|
this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click);
|
||||||
|
//
|
||||||
|
// btn_Close
|
||||||
|
//
|
||||||
|
this.btn_Close.Location = new System.Drawing.Point(929, 7);
|
||||||
|
this.btn_Close.Name = "btn_Close";
|
||||||
|
this.btn_Close.Size = new System.Drawing.Size(99, 23);
|
||||||
|
this.btn_Close.TabIndex = 1;
|
||||||
|
this.btn_Close.Text = "닫 기";
|
||||||
|
this.btn_Close.UseVisualStyleBackColor = true;
|
||||||
|
this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click);
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.AutoSize = true;
|
||||||
|
this.label3.Location = new System.Drawing.Point(278, 12);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(57, 12);
|
||||||
|
this.label3.TabIndex = 5;
|
||||||
|
this.label3.Text = "검색 엔진";
|
||||||
|
//
|
||||||
|
// cb_api
|
||||||
|
//
|
||||||
|
this.cb_api.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
|
this.cb_api.FormattingEnabled = true;
|
||||||
|
this.cb_api.Location = new System.Drawing.Point(337, 8);
|
||||||
|
this.cb_api.Name = "cb_api";
|
||||||
|
this.cb_api.Size = new System.Drawing.Size(93, 20);
|
||||||
|
this.cb_api.TabIndex = 6;
|
||||||
|
this.cb_api.SelectedIndexChanged += new System.EventHandler(this.cb_api_SelectedIndexChanged);
|
||||||
|
//
|
||||||
|
// progressBar1
|
||||||
|
//
|
||||||
|
this.progressBar1.Location = new System.Drawing.Point(1060, 7);
|
||||||
|
this.progressBar1.Name = "progressBar1";
|
||||||
|
this.progressBar1.Size = new System.Drawing.Size(219, 23);
|
||||||
|
this.progressBar1.TabIndex = 7;
|
||||||
|
//
|
||||||
// num
|
// num
|
||||||
//
|
//
|
||||||
this.num.HeaderText = "번호";
|
this.num.HeaderText = "번호";
|
||||||
@@ -215,103 +308,17 @@
|
|||||||
this.sold_out.HeaderText = "품절/절판";
|
this.sold_out.HeaderText = "품절/절판";
|
||||||
this.sold_out.Name = "sold_out";
|
this.sold_out.Name = "sold_out";
|
||||||
//
|
//
|
||||||
|
// image
|
||||||
|
//
|
||||||
|
this.image.HeaderText = "이미지";
|
||||||
|
this.image.Name = "image";
|
||||||
|
//
|
||||||
// api_data
|
// api_data
|
||||||
//
|
//
|
||||||
this.api_data.HeaderText = "api_data";
|
this.api_data.HeaderText = "api_data";
|
||||||
this.api_data.Name = "api_data";
|
this.api_data.Name = "api_data";
|
||||||
this.api_data.Visible = false;
|
this.api_data.Visible = false;
|
||||||
//
|
//
|
||||||
// btn_lookup
|
|
||||||
//
|
|
||||||
this.btn_lookup.Location = new System.Drawing.Point(709, 7);
|
|
||||||
this.btn_lookup.Name = "btn_lookup";
|
|
||||||
this.btn_lookup.Size = new System.Drawing.Size(99, 23);
|
|
||||||
this.btn_lookup.TabIndex = 1;
|
|
||||||
this.btn_lookup.Text = "ISBN 자동 조회";
|
|
||||||
this.btn_lookup.UseVisualStyleBackColor = true;
|
|
||||||
this.btn_lookup.Click += new System.EventHandler(this.btn_lookup_Click);
|
|
||||||
//
|
|
||||||
// cb_filter
|
|
||||||
//
|
|
||||||
this.cb_filter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
||||||
this.cb_filter.FormattingEnabled = true;
|
|
||||||
this.cb_filter.Location = new System.Drawing.Point(516, 8);
|
|
||||||
this.cb_filter.Name = "cb_filter";
|
|
||||||
this.cb_filter.Size = new System.Drawing.Size(161, 20);
|
|
||||||
this.cb_filter.TabIndex = 2;
|
|
||||||
//
|
|
||||||
// label1
|
|
||||||
//
|
|
||||||
this.label1.AutoSize = true;
|
|
||||||
this.label1.Location = new System.Drawing.Point(16, 12);
|
|
||||||
this.label1.Name = "label1";
|
|
||||||
this.label1.Size = new System.Drawing.Size(41, 12);
|
|
||||||
this.label1.TabIndex = 3;
|
|
||||||
this.label1.Text = "목록명";
|
|
||||||
//
|
|
||||||
// tb_list_name
|
|
||||||
//
|
|
||||||
this.tb_list_name.Enabled = false;
|
|
||||||
this.tb_list_name.Location = new System.Drawing.Point(59, 8);
|
|
||||||
this.tb_list_name.Name = "tb_list_name";
|
|
||||||
this.tb_list_name.Size = new System.Drawing.Size(199, 21);
|
|
||||||
this.tb_list_name.TabIndex = 4;
|
|
||||||
//
|
|
||||||
// label2
|
|
||||||
//
|
|
||||||
this.label2.AutoSize = true;
|
|
||||||
this.label2.Location = new System.Drawing.Point(457, 12);
|
|
||||||
this.label2.Name = "label2";
|
|
||||||
this.label2.Size = new System.Drawing.Size(57, 12);
|
|
||||||
this.label2.TabIndex = 3;
|
|
||||||
this.label2.Text = "검색 조건";
|
|
||||||
//
|
|
||||||
// btn_Save
|
|
||||||
//
|
|
||||||
this.btn_Save.Location = new System.Drawing.Point(819, 7);
|
|
||||||
this.btn_Save.Name = "btn_Save";
|
|
||||||
this.btn_Save.Size = new System.Drawing.Size(99, 23);
|
|
||||||
this.btn_Save.TabIndex = 1;
|
|
||||||
this.btn_Save.Text = "전 체 저 장";
|
|
||||||
this.btn_Save.UseVisualStyleBackColor = true;
|
|
||||||
this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click);
|
|
||||||
//
|
|
||||||
// btn_Close
|
|
||||||
//
|
|
||||||
this.btn_Close.Location = new System.Drawing.Point(929, 7);
|
|
||||||
this.btn_Close.Name = "btn_Close";
|
|
||||||
this.btn_Close.Size = new System.Drawing.Size(99, 23);
|
|
||||||
this.btn_Close.TabIndex = 1;
|
|
||||||
this.btn_Close.Text = "닫 기";
|
|
||||||
this.btn_Close.UseVisualStyleBackColor = true;
|
|
||||||
this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click);
|
|
||||||
//
|
|
||||||
// label3
|
|
||||||
//
|
|
||||||
this.label3.AutoSize = true;
|
|
||||||
this.label3.Location = new System.Drawing.Point(278, 12);
|
|
||||||
this.label3.Name = "label3";
|
|
||||||
this.label3.Size = new System.Drawing.Size(57, 12);
|
|
||||||
this.label3.TabIndex = 5;
|
|
||||||
this.label3.Text = "검색 엔진";
|
|
||||||
//
|
|
||||||
// cb_api
|
|
||||||
//
|
|
||||||
this.cb_api.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
||||||
this.cb_api.FormattingEnabled = true;
|
|
||||||
this.cb_api.Location = new System.Drawing.Point(337, 8);
|
|
||||||
this.cb_api.Name = "cb_api";
|
|
||||||
this.cb_api.Size = new System.Drawing.Size(93, 20);
|
|
||||||
this.cb_api.TabIndex = 6;
|
|
||||||
this.cb_api.SelectedIndexChanged += new System.EventHandler(this.cb_api_SelectedIndexChanged);
|
|
||||||
//
|
|
||||||
// progressBar1
|
|
||||||
//
|
|
||||||
this.progressBar1.Location = new System.Drawing.Point(1060, 7);
|
|
||||||
this.progressBar1.Name = "progressBar1";
|
|
||||||
this.progressBar1.Size = new System.Drawing.Size(219, 23);
|
|
||||||
this.progressBar1.TabIndex = 7;
|
|
||||||
//
|
|
||||||
// Check_ISBN
|
// Check_ISBN
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
@@ -368,6 +375,7 @@
|
|||||||
private System.Windows.Forms.DataGridViewTextBoxColumn persent;
|
private System.Windows.Forms.DataGridViewTextBoxColumn persent;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn category;
|
private System.Windows.Forms.DataGridViewTextBoxColumn category;
|
||||||
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 api_data;
|
private System.Windows.Forms.DataGridViewTextBoxColumn api_data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -55,7 +55,7 @@ namespace WindowsFormsApp1.Mac
|
|||||||
string[] search_col = { compidx, list_name };
|
string[] search_col = { compidx, list_name };
|
||||||
string search_data = "`header`, `num`, `isbn`, `book_name`, `author`, `book_comp`, " +
|
string search_data = "`header`, `num`, `isbn`, `book_name`, `author`, `book_comp`, " +
|
||||||
"`count`, `pay`, `total`, `import`, `price`, " +
|
"`count`, `pay`, `total`, `import`, `price`, " +
|
||||||
"`etc`, `pubDate`, `persent`, `category`";
|
"`etc`, `pubDate`, `persent`, `category`, `image_url`";
|
||||||
|
|
||||||
string tmp_data = db.More_DB_Search("Obj_List_Book", search_tbl, search_col, search_data);
|
string tmp_data = db.More_DB_Search("Obj_List_Book", search_tbl, search_col, search_data);
|
||||||
string[] data = tmp_data.Split('|');
|
string[] data = tmp_data.Split('|');
|
||||||
@@ -170,7 +170,7 @@ namespace WindowsFormsApp1.Mac
|
|||||||
// 도서명 / 저자 / 출판사 / isbn / 정가
|
// 도서명 / 저자 / 출판사 / isbn / 정가
|
||||||
// 발행일 / 도서분류 / 재고
|
// 발행일 / 도서분류 / 재고
|
||||||
string[] param = { "title", "author", "publisher", "isbn", "price",
|
string[] param = { "title", "author", "publisher", "isbn", "price",
|
||||||
"pubdate", "discount"};
|
"pubdate", "discount", "image"};
|
||||||
API api = new API();
|
API api = new API();
|
||||||
List<string> L_type = new List<string>();
|
List<string> L_type = new List<string>();
|
||||||
List<string> L_Array = new List<string>();
|
List<string> L_Array = new List<string>();
|
||||||
@@ -246,7 +246,7 @@ namespace WindowsFormsApp1.Mac
|
|||||||
private void Daum_API(DataGridView gridview)
|
private void Daum_API(DataGridView gridview)
|
||||||
{
|
{
|
||||||
string[] param = { "title", "authors", "publisher", "isbn", "price",
|
string[] param = { "title", "authors", "publisher", "isbn", "price",
|
||||||
"datetime", "status" };
|
"datetime", "status", "thumbnail" };
|
||||||
string type = string.Empty;
|
string type = string.Empty;
|
||||||
string query = string.Empty;
|
string query = string.Empty;
|
||||||
API api = new API();
|
API api = new API();
|
||||||
@@ -319,7 +319,7 @@ namespace WindowsFormsApp1.Mac
|
|||||||
value = value.Replace("</b>", "");
|
value = value.Replace("</b>", "");
|
||||||
|
|
||||||
string[] sp_data = value.Split('\t');
|
string[] sp_data = value.Split('\t');
|
||||||
string[] grid = { "", "", "", "", "", "", "", "" };
|
string[] grid = { "", "", "", "", "", "", "", "", "" };
|
||||||
|
|
||||||
#region 분류작업
|
#region 분류작업
|
||||||
for (int a = 0; a < sp_data.Length - 1; a++)
|
for (int a = 0; a < sp_data.Length - 1; a++)
|
||||||
@@ -328,27 +328,29 @@ namespace WindowsFormsApp1.Mac
|
|||||||
int idx = data.Length - 2;
|
int idx = data.Length - 2;
|
||||||
grid[0] = data[0];
|
grid[0] = data[0];
|
||||||
grid[1] = data[1];
|
grid[1] = data[1];
|
||||||
for (int b = 2; b < idx - 4; b++)
|
for (int b = 2; b < idx - 5; b++)
|
||||||
{
|
{
|
||||||
grid[1] += ", " + data[b];
|
grid[1] += ", " + data[b];
|
||||||
}
|
}
|
||||||
grid[2] = data[idx - 4];
|
grid[2] = data[idx - 5];
|
||||||
if (data[idx - 3].Contains(" ") == true)
|
if (data[idx - 4].Contains(" ") == true)
|
||||||
{
|
{
|
||||||
string[] isbn = data[idx - 3].Split(' ');
|
string[] isbn = data[idx - 4].Split(' ');
|
||||||
grid[3] = isbn[1];
|
grid[3] = isbn[1];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
grid[3] = data[idx - 3];
|
grid[3] = data[idx - 4];
|
||||||
|
|
||||||
grid[4] = data[idx - 2];
|
grid[4] = data[idx - 3];
|
||||||
grid[5] = data[idx - 1];
|
grid[5] = data[idx - 2];
|
||||||
|
|
||||||
if (data[idx] == "")
|
if (data[idx - 1] == "")
|
||||||
grid[7] = "절판";
|
grid[7] = "절판";
|
||||||
else
|
else
|
||||||
grid[7] = "";
|
grid[7] = "";
|
||||||
|
|
||||||
|
grid[8] = data[idx];
|
||||||
|
|
||||||
dataGridView1.Rows[row].Cells["api_data"].Value += string.Join("|", grid) + "|";
|
dataGridView1.Rows[row].Cells["api_data"].Value += string.Join("|", grid) + "|";
|
||||||
dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.LightGray;
|
dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.LightGray;
|
||||||
}
|
}
|
||||||
@@ -379,7 +381,7 @@ namespace WindowsFormsApp1.Mac
|
|||||||
if (value == "") return;
|
if (value == "") return;
|
||||||
|
|
||||||
string[] sp_data = value.Split('\n');
|
string[] sp_data = value.Split('\n');
|
||||||
string[] grid = { "", "", "", "", "", "", "", "" };
|
string[] grid = { "", "", "", "", "", "", "", "", "" };
|
||||||
|
|
||||||
for (int a = 0; a < sp_data.Length - 1; a++)
|
for (int a = 0; a < sp_data.Length - 1; a++)
|
||||||
{
|
{
|
||||||
@@ -397,6 +399,7 @@ namespace WindowsFormsApp1.Mac
|
|||||||
grid[4] = data[4];
|
grid[4] = data[4];
|
||||||
grid[5] = data[5].Substring(0, 10);
|
grid[5] = data[5].Substring(0, 10);
|
||||||
grid[7] = data[6];
|
grid[7] = data[6];
|
||||||
|
grid[8] = data[7];
|
||||||
|
|
||||||
dataGridView1.Rows[row].Cells["api_data"].Value += string.Join("|", grid) + "|";
|
dataGridView1.Rows[row].Cells["api_data"].Value += string.Join("|", grid) + "|";
|
||||||
dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.LightGray;
|
dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.LightGray;
|
||||||
@@ -445,6 +448,7 @@ namespace WindowsFormsApp1.Mac
|
|||||||
dataGridView1.Rows[idx].Cells["pubDate"].Value = date;
|
dataGridView1.Rows[idx].Cells["pubDate"].Value = date;
|
||||||
dataGridView1.Rows[idx].Cells["category"].Value = value[6];
|
dataGridView1.Rows[idx].Cells["category"].Value = value[6];
|
||||||
dataGridView1.Rows[idx].Cells["sold_out"].Value = value[7];
|
dataGridView1.Rows[idx].Cells["sold_out"].Value = value[7];
|
||||||
|
dataGridView1.Rows[idx].Cells["image"].Value = value[8];
|
||||||
dataGridView1.Rows[idx].DefaultCellStyle.BackColor = Color.Yellow;
|
dataGridView1.Rows[idx].DefaultCellStyle.BackColor = Color.Yellow;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -456,9 +460,9 @@ namespace WindowsFormsApp1.Mac
|
|||||||
string[] grid = { "", "", "", "", "",
|
string[] grid = { "", "", "", "", "",
|
||||||
"", "", "", "", "",
|
"", "", "", "", "",
|
||||||
"", "", "", "", "",
|
"", "", "", "", "",
|
||||||
"", "", "" };
|
"", "", "", "" };
|
||||||
|
|
||||||
int sdc = 15; // search_data_count
|
int sdc = 16; // search_data_count
|
||||||
for (int a = 0; a < data.Length; a++)
|
for (int a = 0; a < data.Length; a++)
|
||||||
{
|
{
|
||||||
if (a % sdc == 1) { grid[0] = data[a-1] + " " + data[a]; } // 번호
|
if (a % sdc == 1) { grid[0] = data[a-1] + " " + data[a]; } // 번호
|
||||||
@@ -474,7 +478,8 @@ namespace WindowsFormsApp1.Mac
|
|||||||
if (a % sdc == 11) { grid[13] = data[a]; } // 비고
|
if (a % sdc == 11) { grid[13] = data[a]; } // 비고
|
||||||
if (a % sdc == 12) { grid[14] = data[a]; } // 발행일
|
if (a % sdc == 12) { grid[14] = data[a]; } // 발행일
|
||||||
if (a % sdc == 13) { grid[15] = data[a]; } // %
|
if (a % sdc == 13) { grid[15] = data[a]; } // %
|
||||||
if (a % sdc == 14) { grid[16] = data[a]; // 도서분류
|
if (a % sdc == 14) { grid[16] = data[a]; } // 도서분류
|
||||||
|
if (a % sdc == 15) { grid[18] = data[a]; // 도서 URL
|
||||||
dataGridView1.Rows.Add(grid); }
|
dataGridView1.Rows.Add(grid); }
|
||||||
}
|
}
|
||||||
for(int a = 0; a < dataGridView1.Rows.Count; a++)
|
for(int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||||
@@ -508,11 +513,12 @@ namespace WindowsFormsApp1.Mac
|
|||||||
if (dataGridView1.Rows[a].Cells["isbn"].Value.ToString() == "" ||
|
if (dataGridView1.Rows[a].Cells["isbn"].Value.ToString() == "" ||
|
||||||
dataGridView1.Rows[a].Cells["price"].Value.ToString() == "" ||
|
dataGridView1.Rows[a].Cells["price"].Value.ToString() == "" ||
|
||||||
dataGridView1.Rows[a].Cells["pubDate"].Value.ToString() == "") { continue; }
|
dataGridView1.Rows[a].Cells["pubDate"].Value.ToString() == "") { continue; }
|
||||||
string[] Edit_tbl = { "isbn", "price", "pubDate", "category" };
|
string[] Edit_tbl = { "isbn", "price", "pubDate", "category", "image_url" };
|
||||||
string[] Edit_Col = { dataGridView1.Rows[a].Cells["isbn"].Value.ToString(),
|
string[] Edit_Col = { dataGridView1.Rows[a].Cells["isbn"].Value.ToString(),
|
||||||
dataGridView1.Rows[a].Cells["price"].Value.ToString(),
|
dataGridView1.Rows[a].Cells["price"].Value.ToString(),
|
||||||
dataGridView1.Rows[a].Cells["pubDate"].Value.ToString(),
|
dataGridView1.Rows[a].Cells["pubDate"].Value.ToString(),
|
||||||
dataGridView1.Rows[a].Cells["category"].Value.ToString() };
|
dataGridView1.Rows[a].Cells["category"].Value.ToString(),
|
||||||
|
dataGridView1.Rows[a].Cells["image"].Value.ToString() };
|
||||||
string[] Search_tbl = { "book_name", "author", "book_comp", "list_name" };
|
string[] Search_tbl = { "book_name", "author", "book_comp", "list_name" };
|
||||||
string[] Search_col = {dataGridView1.Rows[a].Cells["book_name"].Value.ToString(),
|
string[] Search_col = {dataGridView1.Rows[a].Cells["book_name"].Value.ToString(),
|
||||||
dataGridView1.Rows[a].Cells["author"].Value.ToString(),
|
dataGridView1.Rows[a].Cells["author"].Value.ToString(),
|
||||||
@@ -529,7 +535,7 @@ namespace WindowsFormsApp1.Mac
|
|||||||
}
|
}
|
||||||
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
|
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
|
||||||
{
|
{
|
||||||
if (rowidx > dataGridView1.Rows.Count) return;
|
if (rowidx >= dataGridView1.Rows.Count) return;
|
||||||
if (dataGridView1.Rows[rowidx].Cells["api_data"].Value == null ||
|
if (dataGridView1.Rows[rowidx].Cells["api_data"].Value == null ||
|
||||||
dataGridView1.Rows[rowidx].Cells["api_data"].Value.ToString() == "") {
|
dataGridView1.Rows[rowidx].Cells["api_data"].Value.ToString() == "") {
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -171,6 +171,9 @@
|
|||||||
<metadata name="sold_out.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="sold_out.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<metadata name="image.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
<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>
|
||||||
|
|||||||
@@ -52,9 +52,9 @@ namespace WindowsFormsApp1.마크
|
|||||||
|
|
||||||
// 도서명 / 저자 / 출판사 / isbn / 출간일 / 카테고리 / 품절여부
|
// 도서명 / 저자 / 출판사 / isbn / 출간일 / 카테고리 / 품절여부
|
||||||
string[] tmp = data.Split('|');
|
string[] tmp = data.Split('|');
|
||||||
string[] grid = { "", "", "", "", "", "", "", "" };
|
string[] grid = { "", "", "", "", "", "", "", "", "" };
|
||||||
|
|
||||||
int idx = 8;
|
int idx = 9;
|
||||||
for(int a= 0; a < tmp.Length; a++)
|
for(int a= 0; a < tmp.Length; a++)
|
||||||
{
|
{
|
||||||
if (a % idx == 0) grid[0] = tmp[a];
|
if (a % idx == 0) grid[0] = tmp[a];
|
||||||
@@ -64,7 +64,8 @@ namespace WindowsFormsApp1.마크
|
|||||||
if (a % idx == 4) grid[4] = tmp[a];
|
if (a % idx == 4) grid[4] = tmp[a];
|
||||||
if (a % idx == 5) grid[5] = change_Date_type(tmp[a]);
|
if (a % idx == 5) grid[5] = change_Date_type(tmp[a]);
|
||||||
if (a % idx == 6) grid[6] = tmp[a];
|
if (a % idx == 6) grid[6] = tmp[a];
|
||||||
if (a % idx == 7) { grid[7] = tmp[a]; dataGridView1.Rows.Add(grid); }
|
if (a % idx == 7) grid[7] = tmp[a];
|
||||||
|
if (a % idx == 8) { grid[8] = tmp[a]; dataGridView1.Rows.Add(grid); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private string change_Date_type(string date)
|
private string change_Date_type(string date)
|
||||||
@@ -134,6 +135,7 @@ namespace WindowsFormsApp1.마크
|
|||||||
string Date = dataGridView1.Rows[rowidx].Cells["pubDate"].Value.ToString();
|
string Date = dataGridView1.Rows[rowidx].Cells["pubDate"].Value.ToString();
|
||||||
string category = dataGridView1.Rows[rowidx].Cells["category"].Value.ToString();
|
string category = dataGridView1.Rows[rowidx].Cells["category"].Value.ToString();
|
||||||
string sold = dataGridView1.Rows[rowidx].Cells["sold_out"].Value.ToString();
|
string sold = dataGridView1.Rows[rowidx].Cells["sold_out"].Value.ToString();
|
||||||
|
string image = dataGridView1.Rows[rowidx].Cells["Column1"].Value.ToString();
|
||||||
|
|
||||||
ci.dataGridView1.Rows[row].Cells["search_book_name"].Value = book_name;
|
ci.dataGridView1.Rows[row].Cells["search_book_name"].Value = book_name;
|
||||||
ci.dataGridView1.Rows[row].Cells["search_author"].Value = author;
|
ci.dataGridView1.Rows[row].Cells["search_author"].Value = author;
|
||||||
@@ -143,6 +145,7 @@ namespace WindowsFormsApp1.마크
|
|||||||
ci.dataGridView1.Rows[row].Cells["pubDate"].Value = Date;
|
ci.dataGridView1.Rows[row].Cells["pubDate"].Value = Date;
|
||||||
ci.dataGridView1.Rows[row].Cells["category"].Value = category;
|
ci.dataGridView1.Rows[row].Cells["category"].Value = category;
|
||||||
ci.dataGridView1.Rows[row].Cells["sold_out"].Value = sold;
|
ci.dataGridView1.Rows[row].Cells["sold_out"].Value = sold;
|
||||||
|
ci.dataGridView1.Rows[row].Cells["image"].Value = image;
|
||||||
|
|
||||||
ci.dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.Yellow;
|
ci.dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.Yellow;
|
||||||
|
|
||||||
|
|||||||
@@ -98,22 +98,23 @@ namespace ExcelTest
|
|||||||
public void input_list(string date, string value)
|
public void input_list(string date, string value)
|
||||||
{
|
{
|
||||||
db.DBcon();
|
db.DBcon();
|
||||||
string Area = "`idx`, `isbn`, `book_name`, `author`, `book_comp`, `pay`";
|
string Area = "`idx`, `isbn`, `book_name`, `author`, `book_comp`, `pay`, `image_url`";
|
||||||
string[] sear_tbl = { "date", "list_name" };
|
string[] sear_tbl = { "date", "list_name" };
|
||||||
string[] sear_col = { date, value };
|
string[] sear_col = { date, value };
|
||||||
|
|
||||||
string tmp_data = db.More_DB_Search("Obj_List_Book", sear_tbl, sear_col, Area);
|
string tmp_data = db.More_DB_Search("Obj_List_Book", sear_tbl, sear_col, Area);
|
||||||
string[] db_data = tmp_data.Split('|');
|
string[] db_data = tmp_data.Split('|');
|
||||||
|
|
||||||
string[] grid = { "", "", "", "", "", "", "", "" };
|
string[] grid = { "", "", "", "", "", "", "", "", "" };
|
||||||
for(int a = 0; a < db_data.Length; a++)
|
for(int a = 0; a < db_data.Length; a++)
|
||||||
{
|
{
|
||||||
if (a % 6 == 0) { grid[0] = db_data[a]; }
|
if (a % 7 == 0) { grid[0] = db_data[a]; }
|
||||||
if (a % 6 == 1) { grid[1] = db_data[a]; }
|
if (a % 7 == 1) { grid[1] = db_data[a]; }
|
||||||
if (a % 6 == 2) { grid[2] = db_data[a]; }
|
if (a % 7 == 2) { grid[2] = db_data[a]; }
|
||||||
if (a % 6 == 3) { grid[3] = db_data[a]; }
|
if (a % 7 == 3) { grid[3] = db_data[a]; }
|
||||||
if (a % 6 == 4) { grid[4] = db_data[a]; }
|
if (a % 7 == 4) { grid[4] = db_data[a]; }
|
||||||
if (a % 6 == 5) { grid[5] = db_data[a]; List_Book.Rows.Add(grid); }
|
if (a % 7 == 5) { grid[5] = db_data[a]; }
|
||||||
|
if (a % 7 == 6) { grid[6] = db_data[a]; List_Book.Rows.Add(grid); }
|
||||||
}
|
}
|
||||||
chk_Marc();
|
chk_Marc();
|
||||||
}
|
}
|
||||||
@@ -1144,22 +1145,23 @@ namespace ExcelTest
|
|||||||
List_Book.Rows[row_idx].Cells["book_name"].Value.ToString(),
|
List_Book.Rows[row_idx].Cells["book_name"].Value.ToString(),
|
||||||
List_Book.Rows[row_idx].Cells["author"].Value.ToString(),
|
List_Book.Rows[row_idx].Cells["author"].Value.ToString(),
|
||||||
List_Book.Rows[row_idx].Cells["book_comp"].Value.ToString(),
|
List_Book.Rows[row_idx].Cells["book_comp"].Value.ToString(),
|
||||||
List_Book.Rows[row_idx].Cells["pay"].Value.ToString() };
|
List_Book.Rows[row_idx].Cells["pay"].Value.ToString(),
|
||||||
|
List_Book.Rows[row_idx].Cells["url"].Value.ToString() };
|
||||||
if (List_Book.Rows[row_idx].Cells["db_marc"].Value.ToString() != "")
|
if (List_Book.Rows[row_idx].Cells["db_marc"].Value.ToString() != "")
|
||||||
{
|
{
|
||||||
string[] Edit_tbl = { "`marc`", "`비고1`", "`비고2`"};
|
string[] Edit_tbl = { "`marc`", "`비고1`", "`비고2`", "`url`" };
|
||||||
string[] Edit_col = { made_Ori_marc(), etc1.Text, etc2.Text };
|
string[] Edit_col = { made_Ori_marc(), etc1.Text, etc2.Text, grid_data[5] };
|
||||||
string[] Sear_tbl = { "`ISBN`", "`서명`", "`저자`", "`출판사`", "`가격`" };
|
string[] Sear_tbl = { "`idx`" };
|
||||||
string[] Sear_col = { grid_data[0], grid_data[1], grid_data[2], grid_data[3], grid_data[4] };
|
string[] Sear_col = { List_Book.Rows[row_idx].Cells["list_idx"].Value.ToString() };
|
||||||
|
|
||||||
db.More_Update(table_name, Edit_tbl, Edit_col, Sear_tbl, Sear_col);
|
db.More_Update(table_name, Edit_tbl, Edit_col, Sear_tbl, Sear_col);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
string[] Insert_tbl = { "`ISBN`", "`서명`", "`저자`", "`출판사`", "`가격`",
|
string[] Insert_tbl = { "`ISBN`", "`서명`", "`저자`", "`출판사`", "`가격`",
|
||||||
"`marc`", "`비고1`", "`비고2`" };
|
"`marc`", "`비고1`", "`비고2`", "`url`" };
|
||||||
string[] Insert_col = { grid_data[0], grid_data[1], grid_data[2], grid_data[3], grid_data[4],
|
string[] Insert_col = { grid_data[0], grid_data[1], grid_data[2], grid_data[3], grid_data[4],
|
||||||
made_Ori_marc(), etc1.Text, etc2.Text };
|
made_Ori_marc(), etc1.Text, etc2.Text, grid_data[5] };
|
||||||
|
|
||||||
db.DB_INSERT(table_name, Insert_col, Insert_tbl);
|
db.DB_INSERT(table_name, Insert_col, Insert_tbl);
|
||||||
}
|
}
|
||||||
@@ -1170,10 +1172,15 @@ namespace ExcelTest
|
|||||||
int row_idx = e.RowIndex;
|
int row_idx = e.RowIndex;
|
||||||
richTextBox1.Text = "";
|
richTextBox1.Text = "";
|
||||||
if (!click_Marc(row_idx)) { richTextBox1.Text = Make_Empty(); }
|
if (!click_Marc(row_idx)) { richTextBox1.Text = Make_Empty(); }
|
||||||
|
input_picture(row_idx);
|
||||||
Create_008();
|
Create_008();
|
||||||
Color_change("▼");
|
Color_change("▼");
|
||||||
Color_change("▲");
|
Color_change("▲");
|
||||||
}
|
}
|
||||||
|
void input_picture(int row)
|
||||||
|
{
|
||||||
|
pictureBox1.ImageLocation = List_Book.Rows[row].Cells["url"].Value.ToString();
|
||||||
|
}
|
||||||
private string Make_Empty()
|
private string Make_Empty()
|
||||||
{
|
{
|
||||||
// 입력일자 (00-05)
|
// 입력일자 (00-05)
|
||||||
|
|||||||
258
unimarc/WindowsFormsApp1/마크/Marc.designer.cs
generated
258
unimarc/WindowsFormsApp1/마크/Marc.designer.cs
generated
@@ -28,7 +28,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||||
this.button2 = new System.Windows.Forms.Button();
|
this.button2 = new System.Windows.Forms.Button();
|
||||||
this.button3 = new System.Windows.Forms.Button();
|
this.button3 = new System.Windows.Forms.Button();
|
||||||
@@ -142,15 +142,6 @@
|
|||||||
this.Btn_Helper = new System.Windows.Forms.Button();
|
this.Btn_Helper = new System.Windows.Forms.Button();
|
||||||
this.Btn_interlock = new System.Windows.Forms.Button();
|
this.Btn_interlock = new System.Windows.Forms.Button();
|
||||||
this.List_Book = new System.Windows.Forms.DataGridView();
|
this.List_Book = new System.Windows.Forms.DataGridView();
|
||||||
this.list_idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.ISBN13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.author = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.pay = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.marc_idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.db_marc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.grade = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.btn_Save = new System.Windows.Forms.Button();
|
this.btn_Save = new System.Windows.Forms.Button();
|
||||||
this.panel2 = new System.Windows.Forms.Panel();
|
this.panel2 = new System.Windows.Forms.Panel();
|
||||||
this.label4 = new System.Windows.Forms.Label();
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
@@ -158,6 +149,17 @@
|
|||||||
this.panel3 = new System.Windows.Forms.Panel();
|
this.panel3 = new System.Windows.Forms.Panel();
|
||||||
this.btn_close = new System.Windows.Forms.Button();
|
this.btn_close = new System.Windows.Forms.Button();
|
||||||
this.input_date = new System.Windows.Forms.DateTimePicker();
|
this.input_date = new System.Windows.Forms.DateTimePicker();
|
||||||
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.list_idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.ISBN13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.author = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.pay = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.url = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.marc_idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.db_marc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.grade = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.GridView020)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.GridView020)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.GridView246)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.GridView246)).BeginInit();
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
@@ -169,15 +171,16 @@
|
|||||||
((System.ComponentModel.ISupportInitialize)(this.List_Book)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.List_Book)).BeginInit();
|
||||||
this.panel2.SuspendLayout();
|
this.panel2.SuspendLayout();
|
||||||
this.panel3.SuspendLayout();
|
this.panel3.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// richTextBox1
|
// richTextBox1
|
||||||
//
|
//
|
||||||
this.richTextBox1.AcceptsTab = true;
|
this.richTextBox1.AcceptsTab = true;
|
||||||
this.richTextBox1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
this.richTextBox1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||||
this.richTextBox1.Location = new System.Drawing.Point(380, 95);
|
this.richTextBox1.Location = new System.Drawing.Point(386, 89);
|
||||||
this.richTextBox1.Name = "richTextBox1";
|
this.richTextBox1.Name = "richTextBox1";
|
||||||
this.richTextBox1.Size = new System.Drawing.Size(553, 616);
|
this.richTextBox1.Size = new System.Drawing.Size(621, 643);
|
||||||
this.richTextBox1.TabIndex = 32;
|
this.richTextBox1.TabIndex = 32;
|
||||||
this.richTextBox1.Text = " ";
|
this.richTextBox1.Text = " ";
|
||||||
this.richTextBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.richTextBox1_KeyDown);
|
this.richTextBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.richTextBox1_KeyDown);
|
||||||
@@ -207,9 +210,9 @@
|
|||||||
// etc1
|
// etc1
|
||||||
//
|
//
|
||||||
this.etc1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
this.etc1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||||
this.etc1.Location = new System.Drawing.Point(939, 95);
|
this.etc1.Location = new System.Drawing.Point(1013, 321);
|
||||||
this.etc1.Name = "etc1";
|
this.etc1.Name = "etc1";
|
||||||
this.etc1.Size = new System.Drawing.Size(369, 299);
|
this.etc1.Size = new System.Drawing.Size(301, 204);
|
||||||
this.etc1.TabIndex = 32;
|
this.etc1.TabIndex = 32;
|
||||||
this.etc1.Text = "Remark1";
|
this.etc1.Text = "Remark1";
|
||||||
this.etc1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.richTextBox1_KeyDown);
|
this.etc1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.richTextBox1_KeyDown);
|
||||||
@@ -217,9 +220,9 @@
|
|||||||
// etc2
|
// etc2
|
||||||
//
|
//
|
||||||
this.etc2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
this.etc2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||||
this.etc2.Location = new System.Drawing.Point(939, 412);
|
this.etc2.Location = new System.Drawing.Point(1013, 531);
|
||||||
this.etc2.Name = "etc2";
|
this.etc2.Name = "etc2";
|
||||||
this.etc2.Size = new System.Drawing.Size(369, 299);
|
this.etc2.Size = new System.Drawing.Size(301, 201);
|
||||||
this.etc2.TabIndex = 32;
|
this.etc2.TabIndex = 32;
|
||||||
this.etc2.Text = "Remark2";
|
this.etc2.Text = "Remark2";
|
||||||
this.etc2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.richTextBox1_KeyDown);
|
this.etc2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.richTextBox1_KeyDown);
|
||||||
@@ -227,7 +230,7 @@
|
|||||||
// label1
|
// label1
|
||||||
//
|
//
|
||||||
this.label1.AutoSize = true;
|
this.label1.AutoSize = true;
|
||||||
this.label1.Location = new System.Drawing.Point(384, 18);
|
this.label1.Location = new System.Drawing.Point(390, 12);
|
||||||
this.label1.Name = "label1";
|
this.label1.Name = "label1";
|
||||||
this.label1.Size = new System.Drawing.Size(53, 12);
|
this.label1.Size = new System.Drawing.Size(53, 12);
|
||||||
this.label1.TabIndex = 14;
|
this.label1.TabIndex = 14;
|
||||||
@@ -236,7 +239,7 @@
|
|||||||
// label2
|
// label2
|
||||||
//
|
//
|
||||||
this.label2.AutoSize = true;
|
this.label2.AutoSize = true;
|
||||||
this.label2.Location = new System.Drawing.Point(553, 18);
|
this.label2.Location = new System.Drawing.Point(559, 12);
|
||||||
this.label2.Name = "label2";
|
this.label2.Name = "label2";
|
||||||
this.label2.Size = new System.Drawing.Size(41, 12);
|
this.label2.Size = new System.Drawing.Size(41, 12);
|
||||||
this.label2.TabIndex = 206;
|
this.label2.TabIndex = 206;
|
||||||
@@ -246,7 +249,7 @@
|
|||||||
//
|
//
|
||||||
this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.comboBox1.FormattingEnabled = true;
|
this.comboBox1.FormattingEnabled = true;
|
||||||
this.comboBox1.Location = new System.Drawing.Point(594, 14);
|
this.comboBox1.Location = new System.Drawing.Point(600, 8);
|
||||||
this.comboBox1.Name = "comboBox1";
|
this.comboBox1.Name = "comboBox1";
|
||||||
this.comboBox1.Size = new System.Drawing.Size(79, 20);
|
this.comboBox1.Size = new System.Drawing.Size(79, 20);
|
||||||
this.comboBox1.TabIndex = 207;
|
this.comboBox1.TabIndex = 207;
|
||||||
@@ -256,7 +259,7 @@
|
|||||||
// label3
|
// label3
|
||||||
//
|
//
|
||||||
this.label3.AutoSize = true;
|
this.label3.AutoSize = true;
|
||||||
this.label3.Location = new System.Drawing.Point(686, 18);
|
this.label3.Location = new System.Drawing.Point(692, 12);
|
||||||
this.label3.Name = "label3";
|
this.label3.Name = "label3";
|
||||||
this.label3.Size = new System.Drawing.Size(53, 12);
|
this.label3.Size = new System.Drawing.Size(53, 12);
|
||||||
this.label3.TabIndex = 206;
|
this.label3.TabIndex = 206;
|
||||||
@@ -266,7 +269,7 @@
|
|||||||
//
|
//
|
||||||
this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.comboBox2.FormattingEnabled = true;
|
this.comboBox2.FormattingEnabled = true;
|
||||||
this.comboBox2.Location = new System.Drawing.Point(737, 14);
|
this.comboBox2.Location = new System.Drawing.Point(743, 8);
|
||||||
this.comboBox2.Name = "comboBox2";
|
this.comboBox2.Name = "comboBox2";
|
||||||
this.comboBox2.Size = new System.Drawing.Size(79, 20);
|
this.comboBox2.Size = new System.Drawing.Size(79, 20);
|
||||||
this.comboBox2.TabIndex = 207;
|
this.comboBox2.TabIndex = 207;
|
||||||
@@ -276,7 +279,7 @@
|
|||||||
// label98
|
// label98
|
||||||
//
|
//
|
||||||
this.label98.AutoSize = true;
|
this.label98.AutoSize = true;
|
||||||
this.label98.Location = new System.Drawing.Point(839, 18);
|
this.label98.Location = new System.Drawing.Point(845, 12);
|
||||||
this.label98.Name = "label98";
|
this.label98.Name = "label98";
|
||||||
this.label98.Size = new System.Drawing.Size(53, 12);
|
this.label98.Size = new System.Drawing.Size(53, 12);
|
||||||
this.label98.TabIndex = 14;
|
this.label98.TabIndex = 14;
|
||||||
@@ -286,7 +289,7 @@
|
|||||||
//
|
//
|
||||||
this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.comboBox3.FormattingEnabled = true;
|
this.comboBox3.FormattingEnabled = true;
|
||||||
this.comboBox3.Location = new System.Drawing.Point(893, 14);
|
this.comboBox3.Location = new System.Drawing.Point(899, 8);
|
||||||
this.comboBox3.Name = "comboBox3";
|
this.comboBox3.Name = "comboBox3";
|
||||||
this.comboBox3.Size = new System.Drawing.Size(118, 20);
|
this.comboBox3.Size = new System.Drawing.Size(118, 20);
|
||||||
this.comboBox3.TabIndex = 207;
|
this.comboBox3.TabIndex = 207;
|
||||||
@@ -296,7 +299,7 @@
|
|||||||
// label99
|
// label99
|
||||||
//
|
//
|
||||||
this.label99.AutoSize = true;
|
this.label99.AutoSize = true;
|
||||||
this.label99.Location = new System.Drawing.Point(1136, 18);
|
this.label99.Location = new System.Drawing.Point(1142, 12);
|
||||||
this.label99.Name = "label99";
|
this.label99.Name = "label99";
|
||||||
this.label99.Size = new System.Drawing.Size(29, 12);
|
this.label99.Size = new System.Drawing.Size(29, 12);
|
||||||
this.label99.TabIndex = 206;
|
this.label99.TabIndex = 206;
|
||||||
@@ -304,7 +307,7 @@
|
|||||||
//
|
//
|
||||||
// text008col
|
// text008col
|
||||||
//
|
//
|
||||||
this.text008col.Location = new System.Drawing.Point(1165, 14);
|
this.text008col.Location = new System.Drawing.Point(1171, 8);
|
||||||
this.text008col.Name = "text008col";
|
this.text008col.Name = "text008col";
|
||||||
this.text008col.Size = new System.Drawing.Size(41, 21);
|
this.text008col.Size = new System.Drawing.Size(41, 21);
|
||||||
this.text008col.TabIndex = 204;
|
this.text008col.TabIndex = 204;
|
||||||
@@ -313,7 +316,7 @@
|
|||||||
// label100
|
// label100
|
||||||
//
|
//
|
||||||
this.label100.AutoSize = true;
|
this.label100.AutoSize = true;
|
||||||
this.label100.Location = new System.Drawing.Point(638, 40);
|
this.label100.Location = new System.Drawing.Point(644, 34);
|
||||||
this.label100.Name = "label100";
|
this.label100.Name = "label100";
|
||||||
this.label100.Size = new System.Drawing.Size(53, 12);
|
this.label100.Size = new System.Drawing.Size(53, 12);
|
||||||
this.label100.TabIndex = 206;
|
this.label100.TabIndex = 206;
|
||||||
@@ -323,7 +326,7 @@
|
|||||||
//
|
//
|
||||||
this.comboBox4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.comboBox4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.comboBox4.FormattingEnabled = true;
|
this.comboBox4.FormattingEnabled = true;
|
||||||
this.comboBox4.Location = new System.Drawing.Point(689, 36);
|
this.comboBox4.Location = new System.Drawing.Point(695, 30);
|
||||||
this.comboBox4.Name = "comboBox4";
|
this.comboBox4.Name = "comboBox4";
|
||||||
this.comboBox4.Size = new System.Drawing.Size(79, 20);
|
this.comboBox4.Size = new System.Drawing.Size(79, 20);
|
||||||
this.comboBox4.TabIndex = 207;
|
this.comboBox4.TabIndex = 207;
|
||||||
@@ -333,7 +336,7 @@
|
|||||||
// label101
|
// label101
|
||||||
//
|
//
|
||||||
this.label101.AutoSize = true;
|
this.label101.AutoSize = true;
|
||||||
this.label101.Location = new System.Drawing.Point(777, 40);
|
this.label101.Location = new System.Drawing.Point(783, 34);
|
||||||
this.label101.Name = "label101";
|
this.label101.Name = "label101";
|
||||||
this.label101.Size = new System.Drawing.Size(29, 12);
|
this.label101.Size = new System.Drawing.Size(29, 12);
|
||||||
this.label101.TabIndex = 206;
|
this.label101.TabIndex = 206;
|
||||||
@@ -343,7 +346,7 @@
|
|||||||
//
|
//
|
||||||
this.comboBox5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.comboBox5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.comboBox5.FormattingEnabled = true;
|
this.comboBox5.FormattingEnabled = true;
|
||||||
this.comboBox5.Location = new System.Drawing.Point(807, 36);
|
this.comboBox5.Location = new System.Drawing.Point(813, 30);
|
||||||
this.comboBox5.Name = "comboBox5";
|
this.comboBox5.Name = "comboBox5";
|
||||||
this.comboBox5.Size = new System.Drawing.Size(101, 20);
|
this.comboBox5.Size = new System.Drawing.Size(101, 20);
|
||||||
this.comboBox5.TabIndex = 207;
|
this.comboBox5.TabIndex = 207;
|
||||||
@@ -353,7 +356,7 @@
|
|||||||
// label102
|
// label102
|
||||||
//
|
//
|
||||||
this.label102.AutoSize = true;
|
this.label102.AutoSize = true;
|
||||||
this.label102.Location = new System.Drawing.Point(923, 40);
|
this.label102.Location = new System.Drawing.Point(929, 34);
|
||||||
this.label102.Name = "label102";
|
this.label102.Name = "label102";
|
||||||
this.label102.Size = new System.Drawing.Size(29, 12);
|
this.label102.Size = new System.Drawing.Size(29, 12);
|
||||||
this.label102.TabIndex = 206;
|
this.label102.TabIndex = 206;
|
||||||
@@ -363,7 +366,7 @@
|
|||||||
//
|
//
|
||||||
this.comboBox6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.comboBox6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.comboBox6.FormattingEnabled = true;
|
this.comboBox6.FormattingEnabled = true;
|
||||||
this.comboBox6.Location = new System.Drawing.Point(953, 36);
|
this.comboBox6.Location = new System.Drawing.Point(959, 30);
|
||||||
this.comboBox6.Name = "comboBox6";
|
this.comboBox6.Name = "comboBox6";
|
||||||
this.comboBox6.Size = new System.Drawing.Size(101, 20);
|
this.comboBox6.Size = new System.Drawing.Size(101, 20);
|
||||||
this.comboBox6.TabIndex = 207;
|
this.comboBox6.TabIndex = 207;
|
||||||
@@ -372,7 +375,7 @@
|
|||||||
//
|
//
|
||||||
// text008gov
|
// text008gov
|
||||||
//
|
//
|
||||||
this.text008gov.Location = new System.Drawing.Point(1093, 36);
|
this.text008gov.Location = new System.Drawing.Point(1099, 30);
|
||||||
this.text008gov.Name = "text008gov";
|
this.text008gov.Name = "text008gov";
|
||||||
this.text008gov.Size = new System.Drawing.Size(41, 21);
|
this.text008gov.Size = new System.Drawing.Size(41, 21);
|
||||||
this.text008gov.TabIndex = 204;
|
this.text008gov.TabIndex = 204;
|
||||||
@@ -381,7 +384,7 @@
|
|||||||
// label103
|
// label103
|
||||||
//
|
//
|
||||||
this.label103.AutoSize = true;
|
this.label103.AutoSize = true;
|
||||||
this.label103.Location = new System.Drawing.Point(1064, 40);
|
this.label103.Location = new System.Drawing.Point(1070, 34);
|
||||||
this.label103.Name = "label103";
|
this.label103.Name = "label103";
|
||||||
this.label103.Size = new System.Drawing.Size(29, 12);
|
this.label103.Size = new System.Drawing.Size(29, 12);
|
||||||
this.label103.TabIndex = 206;
|
this.label103.TabIndex = 206;
|
||||||
@@ -1130,7 +1133,7 @@
|
|||||||
//
|
//
|
||||||
this.col008res.AutoSize = true;
|
this.col008res.AutoSize = true;
|
||||||
this.col008res.ForeColor = System.Drawing.Color.Blue;
|
this.col008res.ForeColor = System.Drawing.Color.Blue;
|
||||||
this.col008res.Location = new System.Drawing.Point(1208, 18);
|
this.col008res.Location = new System.Drawing.Point(1214, 12);
|
||||||
this.col008res.Name = "col008res";
|
this.col008res.Name = "col008res";
|
||||||
this.col008res.Size = new System.Drawing.Size(13, 12);
|
this.col008res.Size = new System.Drawing.Size(13, 12);
|
||||||
this.col008res.TabIndex = 206;
|
this.col008res.TabIndex = 206;
|
||||||
@@ -1141,7 +1144,7 @@
|
|||||||
//
|
//
|
||||||
this.gov008res.AutoSize = true;
|
this.gov008res.AutoSize = true;
|
||||||
this.gov008res.ForeColor = System.Drawing.Color.Blue;
|
this.gov008res.ForeColor = System.Drawing.Color.Blue;
|
||||||
this.gov008res.Location = new System.Drawing.Point(1136, 40);
|
this.gov008res.Location = new System.Drawing.Point(1142, 34);
|
||||||
this.gov008res.Name = "gov008res";
|
this.gov008res.Name = "gov008res";
|
||||||
this.gov008res.Size = new System.Drawing.Size(13, 12);
|
this.gov008res.Size = new System.Drawing.Size(13, 12);
|
||||||
this.gov008res.TabIndex = 206;
|
this.gov008res.TabIndex = 206;
|
||||||
@@ -1151,7 +1154,7 @@
|
|||||||
// checkBox1
|
// checkBox1
|
||||||
//
|
//
|
||||||
this.checkBox1.AutoSize = true;
|
this.checkBox1.AutoSize = true;
|
||||||
this.checkBox1.Location = new System.Drawing.Point(386, 38);
|
this.checkBox1.Location = new System.Drawing.Point(392, 32);
|
||||||
this.checkBox1.Name = "checkBox1";
|
this.checkBox1.Name = "checkBox1";
|
||||||
this.checkBox1.Size = new System.Drawing.Size(112, 16);
|
this.checkBox1.Size = new System.Drawing.Size(112, 16);
|
||||||
this.checkBox1.TabIndex = 213;
|
this.checkBox1.TabIndex = 213;
|
||||||
@@ -1162,7 +1165,7 @@
|
|||||||
// checkBox2
|
// checkBox2
|
||||||
//
|
//
|
||||||
this.checkBox2.AutoSize = true;
|
this.checkBox2.AutoSize = true;
|
||||||
this.checkBox2.Location = new System.Drawing.Point(510, 38);
|
this.checkBox2.Location = new System.Drawing.Point(516, 32);
|
||||||
this.checkBox2.Name = "checkBox2";
|
this.checkBox2.Name = "checkBox2";
|
||||||
this.checkBox2.Size = new System.Drawing.Size(112, 16);
|
this.checkBox2.Size = new System.Drawing.Size(112, 16);
|
||||||
this.checkBox2.TabIndex = 213;
|
this.checkBox2.TabIndex = 213;
|
||||||
@@ -1174,7 +1177,7 @@
|
|||||||
//
|
//
|
||||||
this.comboBox7.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.comboBox7.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.comboBox7.FormattingEnabled = true;
|
this.comboBox7.FormattingEnabled = true;
|
||||||
this.comboBox7.Location = new System.Drawing.Point(1012, 14);
|
this.comboBox7.Location = new System.Drawing.Point(1018, 8);
|
||||||
this.comboBox7.Name = "comboBox7";
|
this.comboBox7.Name = "comboBox7";
|
||||||
this.comboBox7.Size = new System.Drawing.Size(118, 20);
|
this.comboBox7.Size = new System.Drawing.Size(118, 20);
|
||||||
this.comboBox7.TabIndex = 207;
|
this.comboBox7.TabIndex = 207;
|
||||||
@@ -1183,7 +1186,7 @@
|
|||||||
//
|
//
|
||||||
// Btn_Helper
|
// Btn_Helper
|
||||||
//
|
//
|
||||||
this.Btn_Helper.Location = new System.Drawing.Point(1233, 13);
|
this.Btn_Helper.Location = new System.Drawing.Point(1239, 7);
|
||||||
this.Btn_Helper.Name = "Btn_Helper";
|
this.Btn_Helper.Name = "Btn_Helper";
|
||||||
this.Btn_Helper.Size = new System.Drawing.Size(75, 23);
|
this.Btn_Helper.Size = new System.Drawing.Size(75, 23);
|
||||||
this.Btn_Helper.TabIndex = 215;
|
this.Btn_Helper.TabIndex = 215;
|
||||||
@@ -1207,14 +1210,14 @@
|
|||||||
this.List_Book.AllowUserToAddRows = false;
|
this.List_Book.AllowUserToAddRows = false;
|
||||||
this.List_Book.AllowUserToDeleteRows = false;
|
this.List_Book.AllowUserToDeleteRows = false;
|
||||||
this.List_Book.AllowUserToResizeColumns = false;
|
this.List_Book.AllowUserToResizeColumns = false;
|
||||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
|
||||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
dataGridViewCellStyle3.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||||
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
|
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
this.List_Book.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
this.List_Book.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
||||||
this.List_Book.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
this.List_Book.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
this.list_idx,
|
this.list_idx,
|
||||||
this.ISBN13,
|
this.ISBN13,
|
||||||
@@ -1222,11 +1225,12 @@
|
|||||||
this.author,
|
this.author,
|
||||||
this.book_comp,
|
this.book_comp,
|
||||||
this.pay,
|
this.pay,
|
||||||
|
this.url,
|
||||||
this.marc_idx,
|
this.marc_idx,
|
||||||
this.db_marc,
|
this.db_marc,
|
||||||
this.grade});
|
this.grade});
|
||||||
this.List_Book.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
this.List_Book.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
||||||
this.List_Book.Location = new System.Drawing.Point(6, 18);
|
this.List_Book.Location = new System.Drawing.Point(12, 12);
|
||||||
this.List_Book.MultiSelect = false;
|
this.List_Book.MultiSelect = false;
|
||||||
this.List_Book.Name = "List_Book";
|
this.List_Book.Name = "List_Book";
|
||||||
this.List_Book.ReadOnly = true;
|
this.List_Book.ReadOnly = true;
|
||||||
@@ -1239,72 +1243,9 @@
|
|||||||
this.List_Book.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.List_Book_CellContentClick);
|
this.List_Book.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.List_Book_CellContentClick);
|
||||||
this.List_Book.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView8_KeyDown);
|
this.List_Book.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView8_KeyDown);
|
||||||
//
|
//
|
||||||
// list_idx
|
|
||||||
//
|
|
||||||
this.list_idx.HeaderText = "list_idx";
|
|
||||||
this.list_idx.Name = "list_idx";
|
|
||||||
this.list_idx.ReadOnly = true;
|
|
||||||
this.list_idx.Visible = false;
|
|
||||||
this.list_idx.Width = 30;
|
|
||||||
//
|
|
||||||
// ISBN13
|
|
||||||
//
|
|
||||||
this.ISBN13.HeaderText = "ISBN13";
|
|
||||||
this.ISBN13.Name = "ISBN13";
|
|
||||||
this.ISBN13.ReadOnly = true;
|
|
||||||
//
|
|
||||||
// book_name
|
|
||||||
//
|
|
||||||
this.book_name.HeaderText = "도서명";
|
|
||||||
this.book_name.Name = "book_name";
|
|
||||||
this.book_name.ReadOnly = true;
|
|
||||||
//
|
|
||||||
// author
|
|
||||||
//
|
|
||||||
this.author.HeaderText = "저자";
|
|
||||||
this.author.Name = "author";
|
|
||||||
this.author.ReadOnly = true;
|
|
||||||
this.author.Width = 50;
|
|
||||||
//
|
|
||||||
// book_comp
|
|
||||||
//
|
|
||||||
this.book_comp.HeaderText = "출판사";
|
|
||||||
this.book_comp.Name = "book_comp";
|
|
||||||
this.book_comp.ReadOnly = true;
|
|
||||||
this.book_comp.Width = 50;
|
|
||||||
//
|
|
||||||
// pay
|
|
||||||
//
|
|
||||||
this.pay.HeaderText = "정가";
|
|
||||||
this.pay.Name = "pay";
|
|
||||||
this.pay.ReadOnly = true;
|
|
||||||
this.pay.Width = 50;
|
|
||||||
//
|
|
||||||
// marc_idx
|
|
||||||
//
|
|
||||||
this.marc_idx.HeaderText = "marc_idx";
|
|
||||||
this.marc_idx.Name = "marc_idx";
|
|
||||||
this.marc_idx.ReadOnly = true;
|
|
||||||
this.marc_idx.Visible = false;
|
|
||||||
this.marc_idx.Width = 30;
|
|
||||||
//
|
|
||||||
// db_marc
|
|
||||||
//
|
|
||||||
this.db_marc.HeaderText = "marc";
|
|
||||||
this.db_marc.Name = "db_marc";
|
|
||||||
this.db_marc.ReadOnly = true;
|
|
||||||
this.db_marc.Visible = false;
|
|
||||||
//
|
|
||||||
// grade
|
|
||||||
//
|
|
||||||
this.grade.HeaderText = "등급";
|
|
||||||
this.grade.Name = "grade";
|
|
||||||
this.grade.ReadOnly = true;
|
|
||||||
this.grade.Visible = false;
|
|
||||||
//
|
|
||||||
// btn_Save
|
// btn_Save
|
||||||
//
|
//
|
||||||
this.btn_Save.Location = new System.Drawing.Point(1233, 39);
|
this.btn_Save.Location = new System.Drawing.Point(1239, 33);
|
||||||
this.btn_Save.Name = "btn_Save";
|
this.btn_Save.Name = "btn_Save";
|
||||||
this.btn_Save.Size = new System.Drawing.Size(75, 23);
|
this.btn_Save.Size = new System.Drawing.Size(75, 23);
|
||||||
this.btn_Save.TabIndex = 215;
|
this.btn_Save.TabIndex = 215;
|
||||||
@@ -1368,7 +1309,7 @@
|
|||||||
this.panel2.Controls.Add(this.text586a);
|
this.panel2.Controls.Add(this.text586a);
|
||||||
this.panel2.Controls.Add(this.text521a);
|
this.panel2.Controls.Add(this.text521a);
|
||||||
this.panel2.Controls.Add(this.text520a);
|
this.panel2.Controls.Add(this.text520a);
|
||||||
this.panel2.Location = new System.Drawing.Point(378, 729);
|
this.panel2.Location = new System.Drawing.Point(378, 744);
|
||||||
this.panel2.Name = "panel2";
|
this.panel2.Name = "panel2";
|
||||||
this.panel2.Size = new System.Drawing.Size(1009, 13);
|
this.panel2.Size = new System.Drawing.Size(1009, 13);
|
||||||
this.panel2.TabIndex = 218;
|
this.panel2.TabIndex = 218;
|
||||||
@@ -1397,14 +1338,14 @@
|
|||||||
this.panel3.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
this.panel3.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||||
this.panel3.Controls.Add(this.text008);
|
this.panel3.Controls.Add(this.text008);
|
||||||
this.panel3.Controls.Add(this.label4);
|
this.panel3.Controls.Add(this.label4);
|
||||||
this.panel3.Location = new System.Drawing.Point(381, 60);
|
this.panel3.Location = new System.Drawing.Point(387, 54);
|
||||||
this.panel3.Name = "panel3";
|
this.panel3.Name = "panel3";
|
||||||
this.panel3.Size = new System.Drawing.Size(430, 30);
|
this.panel3.Size = new System.Drawing.Size(430, 30);
|
||||||
this.panel3.TabIndex = 219;
|
this.panel3.TabIndex = 219;
|
||||||
//
|
//
|
||||||
// btn_close
|
// btn_close
|
||||||
//
|
//
|
||||||
this.btn_close.Location = new System.Drawing.Point(1233, 65);
|
this.btn_close.Location = new System.Drawing.Point(1239, 59);
|
||||||
this.btn_close.Name = "btn_close";
|
this.btn_close.Name = "btn_close";
|
||||||
this.btn_close.Size = new System.Drawing.Size(75, 23);
|
this.btn_close.Size = new System.Drawing.Size(75, 23);
|
||||||
this.btn_close.TabIndex = 215;
|
this.btn_close.TabIndex = 215;
|
||||||
@@ -1416,17 +1357,97 @@
|
|||||||
//
|
//
|
||||||
this.input_date.CustomFormat = "yyyy-MM-dd";
|
this.input_date.CustomFormat = "yyyy-MM-dd";
|
||||||
this.input_date.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
this.input_date.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||||
this.input_date.Location = new System.Drawing.Point(443, 14);
|
this.input_date.Location = new System.Drawing.Point(449, 8);
|
||||||
this.input_date.Name = "input_date";
|
this.input_date.Name = "input_date";
|
||||||
this.input_date.Size = new System.Drawing.Size(91, 21);
|
this.input_date.Size = new System.Drawing.Size(91, 21);
|
||||||
this.input_date.TabIndex = 220;
|
this.input_date.TabIndex = 220;
|
||||||
this.input_date.ValueChanged += new System.EventHandler(this.input_date_ValueChanged);
|
this.input_date.ValueChanged += new System.EventHandler(this.input_date_ValueChanged);
|
||||||
//
|
//
|
||||||
|
// pictureBox1
|
||||||
|
//
|
||||||
|
this.pictureBox1.Location = new System.Drawing.Point(1075, 89);
|
||||||
|
this.pictureBox1.Name = "pictureBox1";
|
||||||
|
this.pictureBox1.Size = new System.Drawing.Size(176, 226);
|
||||||
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||||
|
this.pictureBox1.TabIndex = 221;
|
||||||
|
this.pictureBox1.TabStop = false;
|
||||||
|
//
|
||||||
|
// list_idx
|
||||||
|
//
|
||||||
|
this.list_idx.HeaderText = "list_idx";
|
||||||
|
this.list_idx.Name = "list_idx";
|
||||||
|
this.list_idx.ReadOnly = true;
|
||||||
|
this.list_idx.Visible = false;
|
||||||
|
this.list_idx.Width = 30;
|
||||||
|
//
|
||||||
|
// ISBN13
|
||||||
|
//
|
||||||
|
this.ISBN13.HeaderText = "ISBN13";
|
||||||
|
this.ISBN13.Name = "ISBN13";
|
||||||
|
this.ISBN13.ReadOnly = true;
|
||||||
|
//
|
||||||
|
// book_name
|
||||||
|
//
|
||||||
|
this.book_name.HeaderText = "도서명";
|
||||||
|
this.book_name.Name = "book_name";
|
||||||
|
this.book_name.ReadOnly = true;
|
||||||
|
//
|
||||||
|
// author
|
||||||
|
//
|
||||||
|
this.author.HeaderText = "저자";
|
||||||
|
this.author.Name = "author";
|
||||||
|
this.author.ReadOnly = true;
|
||||||
|
this.author.Width = 50;
|
||||||
|
//
|
||||||
|
// book_comp
|
||||||
|
//
|
||||||
|
this.book_comp.HeaderText = "출판사";
|
||||||
|
this.book_comp.Name = "book_comp";
|
||||||
|
this.book_comp.ReadOnly = true;
|
||||||
|
this.book_comp.Width = 50;
|
||||||
|
//
|
||||||
|
// pay
|
||||||
|
//
|
||||||
|
this.pay.HeaderText = "정가";
|
||||||
|
this.pay.Name = "pay";
|
||||||
|
this.pay.ReadOnly = true;
|
||||||
|
this.pay.Width = 50;
|
||||||
|
//
|
||||||
|
// url
|
||||||
|
//
|
||||||
|
this.url.HeaderText = "url";
|
||||||
|
this.url.Name = "url";
|
||||||
|
this.url.ReadOnly = true;
|
||||||
|
this.url.Visible = false;
|
||||||
|
//
|
||||||
|
// marc_idx
|
||||||
|
//
|
||||||
|
this.marc_idx.HeaderText = "marc_idx";
|
||||||
|
this.marc_idx.Name = "marc_idx";
|
||||||
|
this.marc_idx.ReadOnly = true;
|
||||||
|
this.marc_idx.Visible = false;
|
||||||
|
this.marc_idx.Width = 30;
|
||||||
|
//
|
||||||
|
// db_marc
|
||||||
|
//
|
||||||
|
this.db_marc.HeaderText = "marc";
|
||||||
|
this.db_marc.Name = "db_marc";
|
||||||
|
this.db_marc.ReadOnly = true;
|
||||||
|
this.db_marc.Visible = false;
|
||||||
|
//
|
||||||
|
// grade
|
||||||
|
//
|
||||||
|
this.grade.HeaderText = "등급";
|
||||||
|
this.grade.Name = "grade";
|
||||||
|
this.grade.ReadOnly = true;
|
||||||
|
this.grade.Visible = false;
|
||||||
|
//
|
||||||
// Marc
|
// Marc
|
||||||
//
|
//
|
||||||
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;
|
||||||
this.ClientSize = new System.Drawing.Size(1316, 753);
|
this.ClientSize = new System.Drawing.Size(1322, 753);
|
||||||
|
this.Controls.Add(this.pictureBox1);
|
||||||
this.Controls.Add(this.input_date);
|
this.Controls.Add(this.input_date);
|
||||||
this.Controls.Add(this.panel3);
|
this.Controls.Add(this.panel3);
|
||||||
this.Controls.Add(this.panel2);
|
this.Controls.Add(this.panel2);
|
||||||
@@ -1477,6 +1498,7 @@
|
|||||||
this.panel2.PerformLayout();
|
this.panel2.PerformLayout();
|
||||||
this.panel3.ResumeLayout(false);
|
this.panel3.ResumeLayout(false);
|
||||||
this.panel3.PerformLayout();
|
this.panel3.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
@@ -1608,12 +1630,14 @@
|
|||||||
private System.Windows.Forms.Panel panel3;
|
private System.Windows.Forms.Panel panel3;
|
||||||
private System.Windows.Forms.Button btn_close;
|
private System.Windows.Forms.Button btn_close;
|
||||||
private System.Windows.Forms.DateTimePicker input_date;
|
private System.Windows.Forms.DateTimePicker input_date;
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox1;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn list_idx;
|
private System.Windows.Forms.DataGridViewTextBoxColumn list_idx;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn ISBN13;
|
private System.Windows.Forms.DataGridViewTextBoxColumn ISBN13;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn book_name;
|
private System.Windows.Forms.DataGridViewTextBoxColumn book_name;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn author;
|
private System.Windows.Forms.DataGridViewTextBoxColumn author;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn book_comp;
|
private System.Windows.Forms.DataGridViewTextBoxColumn book_comp;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn pay;
|
private System.Windows.Forms.DataGridViewTextBoxColumn pay;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn url;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn marc_idx;
|
private System.Windows.Forms.DataGridViewTextBoxColumn marc_idx;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn db_marc;
|
private System.Windows.Forms.DataGridViewTextBoxColumn db_marc;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn grade;
|
private System.Windows.Forms.DataGridViewTextBoxColumn grade;
|
||||||
|
|||||||
@@ -291,6 +291,9 @@
|
|||||||
<metadata name="pay.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="pay.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<metadata name="url.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
<metadata name="marc_idx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="marc_idx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|||||||
275
unimarc/WindowsFormsApp1/마크/Search_Infor.Designer.cs
generated
275
unimarc/WindowsFormsApp1/마크/Search_Infor.Designer.cs
generated
@@ -28,22 +28,24 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
||||||
this.button1 = new System.Windows.Forms.Button();
|
|
||||||
this.button2 = new System.Windows.Forms.Button();
|
|
||||||
this.button3 = new System.Windows.Forms.Button();
|
|
||||||
this.button4 = new System.Windows.Forms.Button();
|
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
|
||||||
this.textBox2 = new System.Windows.Forms.TextBox();
|
|
||||||
this.button5 = new System.Windows.Forms.Button();
|
|
||||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||||
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.tb_search = new System.Windows.Forms.TextBox();
|
||||||
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.btn_search = new System.Windows.Forms.Button();
|
||||||
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.cb_filter = new System.Windows.Forms.ComboBox();
|
||||||
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.btn_close = new System.Windows.Forms.Button();
|
||||||
this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.grade = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.ISBN = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.author = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.price = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.pub_date = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.etc1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.etc2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.Marc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
@@ -52,141 +54,161 @@
|
|||||||
this.label1.AutoSize = true;
|
this.label1.AutoSize = true;
|
||||||
this.label1.Location = new System.Drawing.Point(12, 11);
|
this.label1.Location = new System.Drawing.Point(12, 11);
|
||||||
this.label1.Name = "label1";
|
this.label1.Name = "label1";
|
||||||
this.label1.Size = new System.Drawing.Size(41, 12);
|
this.label1.Size = new System.Drawing.Size(53, 12);
|
||||||
this.label1.TabIndex = 5;
|
this.label1.TabIndex = 5;
|
||||||
this.label1.Text = "검색어";
|
this.label1.Text = "검색필터";
|
||||||
//
|
//
|
||||||
// textBox1
|
// dataGridView1
|
||||||
//
|
//
|
||||||
this.textBox1.Location = new System.Drawing.Point(59, 7);
|
this.dataGridView1.AllowUserToAddRows = false;
|
||||||
this.textBox1.Name = "textBox1";
|
this.dataGridView1.AllowUserToDeleteRows = false;
|
||||||
this.textBox1.Size = new System.Drawing.Size(160, 21);
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
this.textBox1.TabIndex = 6;
|
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
|
||||||
//
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||||
// button1
|
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||||
//
|
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||||
this.button1.Location = new System.Drawing.Point(225, 6);
|
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||||
this.button1.Name = "button1";
|
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||||
this.button1.Size = new System.Drawing.Size(75, 23);
|
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||||||
this.button1.TabIndex = 7;
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
this.button1.Text = "검 색";
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
this.button1.UseVisualStyleBackColor = true;
|
this.grade,
|
||||||
//
|
this.ISBN,
|
||||||
// button2
|
this.book_name,
|
||||||
//
|
this.author,
|
||||||
this.button2.Location = new System.Drawing.Point(306, 6);
|
this.book_comp,
|
||||||
this.button2.Name = "button2";
|
this.price,
|
||||||
this.button2.Size = new System.Drawing.Size(75, 23);
|
this.pub_date,
|
||||||
this.button2.TabIndex = 7;
|
this.etc1,
|
||||||
this.button2.Text = "상세검색";
|
this.etc2,
|
||||||
this.button2.UseVisualStyleBackColor = true;
|
this.Marc});
|
||||||
//
|
this.dataGridView1.Location = new System.Drawing.Point(12, 35);
|
||||||
// button3
|
this.dataGridView1.Name = "dataGridView1";
|
||||||
//
|
this.dataGridView1.RowHeadersWidth = 20;
|
||||||
this.button3.Location = new System.Drawing.Point(401, 6);
|
this.dataGridView1.RowTemplate.Height = 23;
|
||||||
this.button3.Name = "button3";
|
this.dataGridView1.Size = new System.Drawing.Size(1234, 619);
|
||||||
this.button3.Size = new System.Drawing.Size(75, 23);
|
this.dataGridView1.TabIndex = 49;
|
||||||
this.button3.TabIndex = 8;
|
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
|
||||||
this.button3.Text = "Excel...";
|
|
||||||
this.button3.UseVisualStyleBackColor = true;
|
|
||||||
//
|
|
||||||
// button4
|
|
||||||
//
|
|
||||||
this.button4.Location = new System.Drawing.Point(497, 6);
|
|
||||||
this.button4.Name = "button4";
|
|
||||||
this.button4.Size = new System.Drawing.Size(75, 23);
|
|
||||||
this.button4.TabIndex = 7;
|
|
||||||
this.button4.Text = "파 일";
|
|
||||||
this.button4.UseVisualStyleBackColor = true;
|
|
||||||
//
|
//
|
||||||
// label2
|
// label2
|
||||||
//
|
//
|
||||||
this.label2.AutoSize = true;
|
this.label2.AutoSize = true;
|
||||||
this.label2.Location = new System.Drawing.Point(578, 11);
|
this.label2.Location = new System.Drawing.Point(271, 11);
|
||||||
this.label2.Name = "label2";
|
this.label2.Name = "label2";
|
||||||
this.label2.Size = new System.Drawing.Size(53, 12);
|
this.label2.Size = new System.Drawing.Size(41, 12);
|
||||||
this.label2.TabIndex = 5;
|
this.label2.TabIndex = 5;
|
||||||
this.label2.Text = "검색태그";
|
this.label2.Text = "검색어";
|
||||||
//
|
//
|
||||||
// textBox2
|
// tb_search
|
||||||
//
|
//
|
||||||
this.textBox2.Location = new System.Drawing.Point(632, 7);
|
this.tb_search.Location = new System.Drawing.Point(318, 7);
|
||||||
this.textBox2.Name = "textBox2";
|
this.tb_search.Name = "tb_search";
|
||||||
this.textBox2.Size = new System.Drawing.Size(120, 21);
|
this.tb_search.Size = new System.Drawing.Size(222, 21);
|
||||||
this.textBox2.TabIndex = 6;
|
this.tb_search.TabIndex = 6;
|
||||||
|
this.tb_search.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_search_KeyDown);
|
||||||
//
|
//
|
||||||
// button5
|
// btn_search
|
||||||
//
|
//
|
||||||
this.button5.Location = new System.Drawing.Point(758, 5);
|
this.btn_search.Location = new System.Drawing.Point(551, 6);
|
||||||
this.button5.Name = "button5";
|
this.btn_search.Name = "btn_search";
|
||||||
this.button5.Size = new System.Drawing.Size(75, 23);
|
this.btn_search.Size = new System.Drawing.Size(75, 23);
|
||||||
this.button5.TabIndex = 7;
|
this.btn_search.TabIndex = 7;
|
||||||
this.button5.Text = "구분적용";
|
this.btn_search.Text = "검 색";
|
||||||
this.button5.UseVisualStyleBackColor = true;
|
this.btn_search.UseVisualStyleBackColor = true;
|
||||||
|
this.btn_search.Click += new System.EventHandler(this.btn_search_Click);
|
||||||
//
|
//
|
||||||
// dataGridView1
|
// cb_filter
|
||||||
//
|
//
|
||||||
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
this.cb_filter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
this.cb_filter.FormattingEnabled = true;
|
||||||
this.Column1,
|
this.cb_filter.Location = new System.Drawing.Point(71, 7);
|
||||||
this.Column2,
|
this.cb_filter.Name = "cb_filter";
|
||||||
this.Column3,
|
this.cb_filter.Size = new System.Drawing.Size(161, 20);
|
||||||
this.Column4,
|
this.cb_filter.TabIndex = 50;
|
||||||
this.Column5,
|
|
||||||
this.Column6});
|
|
||||||
this.dataGridView1.Location = new System.Drawing.Point(14, 36);
|
|
||||||
this.dataGridView1.Name = "dataGridView1";
|
|
||||||
this.dataGridView1.RowTemplate.Height = 23;
|
|
||||||
this.dataGridView1.Size = new System.Drawing.Size(819, 617);
|
|
||||||
this.dataGridView1.TabIndex = 49;
|
|
||||||
//
|
//
|
||||||
// Column1
|
// btn_close
|
||||||
//
|
//
|
||||||
this.Column1.HeaderText = "총서명";
|
this.btn_close.Location = new System.Drawing.Point(639, 6);
|
||||||
this.Column1.Name = "Column1";
|
this.btn_close.Name = "btn_close";
|
||||||
|
this.btn_close.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.btn_close.TabIndex = 51;
|
||||||
|
this.btn_close.Text = "닫 기";
|
||||||
|
this.btn_close.UseVisualStyleBackColor = true;
|
||||||
|
this.btn_close.Click += new System.EventHandler(this.btn_close_Click);
|
||||||
//
|
//
|
||||||
// Column2
|
// grade
|
||||||
//
|
//
|
||||||
this.Column2.HeaderText = "저자";
|
this.grade.HeaderText = "등급";
|
||||||
this.Column2.Name = "Column2";
|
this.grade.Name = "grade";
|
||||||
|
this.grade.Width = 50;
|
||||||
//
|
//
|
||||||
// Column3
|
// ISBN
|
||||||
//
|
//
|
||||||
this.Column3.HeaderText = "출판사";
|
this.ISBN.HeaderText = "ISBN";
|
||||||
this.Column3.Name = "Column3";
|
this.ISBN.Name = "ISBN";
|
||||||
//
|
//
|
||||||
// Column4
|
// book_name
|
||||||
//
|
//
|
||||||
this.Column4.HeaderText = "정가";
|
this.book_name.HeaderText = "도서명";
|
||||||
this.Column4.Name = "Column4";
|
this.book_name.Name = "book_name";
|
||||||
|
this.book_name.Width = 250;
|
||||||
//
|
//
|
||||||
// Column5
|
// author
|
||||||
//
|
//
|
||||||
this.Column5.HeaderText = "발행일";
|
this.author.HeaderText = "저자";
|
||||||
this.Column5.Name = "Column5";
|
this.author.Name = "author";
|
||||||
|
this.author.Width = 130;
|
||||||
//
|
//
|
||||||
// Column6
|
// book_comp
|
||||||
//
|
//
|
||||||
this.Column6.HeaderText = "구분";
|
this.book_comp.HeaderText = "출판사";
|
||||||
this.Column6.Name = "Column6";
|
this.book_comp.Name = "book_comp";
|
||||||
|
this.book_comp.Width = 200;
|
||||||
|
//
|
||||||
|
// price
|
||||||
|
//
|
||||||
|
this.price.HeaderText = "정가";
|
||||||
|
this.price.Name = "price";
|
||||||
|
this.price.Width = 80;
|
||||||
|
//
|
||||||
|
// pub_date
|
||||||
|
//
|
||||||
|
this.pub_date.HeaderText = "출판년월";
|
||||||
|
this.pub_date.Name = "pub_date";
|
||||||
|
//
|
||||||
|
// etc1
|
||||||
|
//
|
||||||
|
this.etc1.HeaderText = "비고1";
|
||||||
|
this.etc1.Name = "etc1";
|
||||||
|
this.etc1.Width = 140;
|
||||||
|
//
|
||||||
|
// etc2
|
||||||
|
//
|
||||||
|
this.etc2.HeaderText = "비고2";
|
||||||
|
this.etc2.Name = "etc2";
|
||||||
|
this.etc2.Width = 140;
|
||||||
|
//
|
||||||
|
// Marc
|
||||||
|
//
|
||||||
|
this.Marc.HeaderText = "marc";
|
||||||
|
this.Marc.Name = "Marc";
|
||||||
|
this.Marc.Visible = false;
|
||||||
//
|
//
|
||||||
// Search_Infor
|
// Search_Infor
|
||||||
//
|
//
|
||||||
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;
|
||||||
this.ClientSize = new System.Drawing.Size(868, 733);
|
this.ClientSize = new System.Drawing.Size(1258, 666);
|
||||||
|
this.Controls.Add(this.btn_close);
|
||||||
|
this.Controls.Add(this.cb_filter);
|
||||||
this.Controls.Add(this.dataGridView1);
|
this.Controls.Add(this.dataGridView1);
|
||||||
this.Controls.Add(this.button3);
|
this.Controls.Add(this.btn_search);
|
||||||
this.Controls.Add(this.button2);
|
this.Controls.Add(this.tb_search);
|
||||||
this.Controls.Add(this.button5);
|
|
||||||
this.Controls.Add(this.button4);
|
|
||||||
this.Controls.Add(this.button1);
|
|
||||||
this.Controls.Add(this.textBox2);
|
|
||||||
this.Controls.Add(this.label2);
|
this.Controls.Add(this.label2);
|
||||||
this.Controls.Add(this.textBox1);
|
|
||||||
this.Controls.Add(this.label1);
|
this.Controls.Add(this.label1);
|
||||||
this.Name = "Search_Infor";
|
this.Name = "Search_Infor";
|
||||||
this.Text = "소장자료검색";
|
this.Text = "소장자료검색";
|
||||||
|
this.Load += new System.EventHandler(this.Search_Infor_Load);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
@@ -196,20 +218,21 @@
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.Label label1;
|
private System.Windows.Forms.Label label1;
|
||||||
private System.Windows.Forms.TextBox textBox1;
|
|
||||||
private System.Windows.Forms.Button button1;
|
|
||||||
private System.Windows.Forms.Button button2;
|
|
||||||
private System.Windows.Forms.Button button3;
|
|
||||||
private System.Windows.Forms.Button button4;
|
|
||||||
private System.Windows.Forms.Label label2;
|
|
||||||
private System.Windows.Forms.TextBox textBox2;
|
|
||||||
private System.Windows.Forms.Button button5;
|
|
||||||
private System.Windows.Forms.DataGridView dataGridView1;
|
private System.Windows.Forms.DataGridView dataGridView1;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
|
private System.Windows.Forms.Label label2;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
|
private System.Windows.Forms.TextBox tb_search;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
|
private System.Windows.Forms.Button btn_search;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
|
private System.Windows.Forms.ComboBox cb_filter;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
|
private System.Windows.Forms.Button btn_close;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
|
private System.Windows.Forms.DataGridViewTextBoxColumn grade;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn ISBN;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn book_name;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn author;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn book_comp;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn price;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn pub_date;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn etc1;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn etc2;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn Marc;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -7,16 +7,109 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
using WindowsFormsApp1.마크;
|
||||||
|
|
||||||
namespace WindowsFormsApp1.Mac
|
namespace WindowsFormsApp1.Mac
|
||||||
{
|
{
|
||||||
public partial class Search_Infor : Form
|
public partial class Search_Infor : Form
|
||||||
{
|
{
|
||||||
Main main;
|
Main main;
|
||||||
|
Helper_DB db = new Helper_DB();
|
||||||
|
public string compidx;
|
||||||
public Search_Infor(Main _main)
|
public Search_Infor(Main _main)
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
main = _main;
|
main = _main;
|
||||||
|
compidx = main.com_idx;
|
||||||
|
}
|
||||||
|
private void Search_Infor_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
db.DBcon();
|
||||||
|
|
||||||
|
string[] filter = { "도서명", "저자", "출판사", "ISBN" };
|
||||||
|
cb_filter.Items.AddRange(filter);
|
||||||
|
cb_filter.SelectedIndex = 0;
|
||||||
|
|
||||||
|
for(int a= 0; a < dataGridView1.Columns.Count; a++)
|
||||||
|
{
|
||||||
|
if (a != 7 && a != 8)
|
||||||
|
dataGridView1.Columns[a].ReadOnly = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
private void btn_search_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string target = string.Empty;
|
||||||
|
string Area = "`grade`, `ISBN`, `서명`, `저자`, `출판사`, `출판년월`, `가격`, `비고1`, `비고2`, `marc`";
|
||||||
|
if (cb_filter.SelectedIndex == -1) {
|
||||||
|
MessageBox.Show("검색필터를 선택해주세요!");
|
||||||
|
cb_filter.Focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (cb_filter.SelectedItem.ToString() == "도서명") { target = "서명"; }
|
||||||
|
else { target = cb_filter.SelectedItem.ToString(); }
|
||||||
|
|
||||||
|
string tmp_data = db.DB_Contains("Marc", compidx, target, tb_search.Text, Area);
|
||||||
|
string[] tmp_arr = tmp_data.Split('|');
|
||||||
|
input_grid(tmp_arr);
|
||||||
|
}
|
||||||
|
void input_grid(string[] arr)
|
||||||
|
{
|
||||||
|
string[] grid = { "", "", "", "", "",
|
||||||
|
"", "", "", "", "" };
|
||||||
|
for(int a = 0; a < arr.Length; a++)
|
||||||
|
{
|
||||||
|
if (a % 10 == 0) grid[0] = Change_Grade(arr[a]);
|
||||||
|
if (a % 10 == 1) grid[1] = arr[a];
|
||||||
|
if (a % 10 == 2) grid[2] = arr[a];
|
||||||
|
if (a % 10 == 3) grid[3] = arr[a];
|
||||||
|
if (a % 10 == 4) grid[4] = arr[a];
|
||||||
|
if (a % 10 == 5) grid[5] = arr[a];
|
||||||
|
if (a % 10 == 6) grid[6] = arr[a];
|
||||||
|
if (a % 10 == 7) grid[7] = arr[a];
|
||||||
|
if (a % 10 == 8) grid[8] = arr[a];
|
||||||
|
if (a % 10 == 9) {
|
||||||
|
grid[9] = arr[a];
|
||||||
|
dataGridView1.Rows.Add(grid);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
string Change_Grade(string idx)
|
||||||
|
{
|
||||||
|
string result = string.Empty;
|
||||||
|
switch (idx)
|
||||||
|
{
|
||||||
|
case "0":
|
||||||
|
result = "D";
|
||||||
|
break;
|
||||||
|
case "1":
|
||||||
|
result = "C";
|
||||||
|
break;
|
||||||
|
case "2":
|
||||||
|
result = "B";
|
||||||
|
break;
|
||||||
|
case "3":
|
||||||
|
result = "A";
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
result = "null";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
|
||||||
|
{
|
||||||
|
int row = e.RowIndex;
|
||||||
|
int col = e.ColumnIndex;
|
||||||
|
|
||||||
|
Search_Infor_Sub sis = new Search_Infor_Sub();
|
||||||
|
}
|
||||||
|
private void tb_search_KeyDown(object sender, KeyEventArgs e)
|
||||||
|
{
|
||||||
|
if (e.KeyCode == Keys.Enter) { btn_search_Click(null, null); }
|
||||||
|
}
|
||||||
|
private void btn_close_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.Close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -117,22 +117,34 @@
|
|||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="grade.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="ISBN.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="book_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="author.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="book_comp.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="Column6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="price.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="pub_date.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="etc1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="etc2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Marc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
</root>
|
</root>
|
||||||
246
unimarc/WindowsFormsApp1/마크/Search_Infor_Sub.Designer.cs
generated
Normal file
246
unimarc/WindowsFormsApp1/마크/Search_Infor_Sub.Designer.cs
generated
Normal file
@@ -0,0 +1,246 @@
|
|||||||
|
|
||||||
|
namespace WindowsFormsApp1.마크
|
||||||
|
{
|
||||||
|
partial class Search_Infor_Sub
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
||||||
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
|
this.comboBox2 = new System.Windows.Forms.ComboBox();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.comboBox3 = new System.Windows.Forms.ComboBox();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
|
this.comboBox4 = new System.Windows.Forms.ComboBox();
|
||||||
|
this.label5 = new System.Windows.Forms.Label();
|
||||||
|
this.comboBox5 = new System.Windows.Forms.ComboBox();
|
||||||
|
this.label6 = new System.Windows.Forms.Label();
|
||||||
|
this.comboBox6 = new System.Windows.Forms.ComboBox();
|
||||||
|
this.label7 = new System.Windows.Forms.Label();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||||
|
this.panel1.SuspendLayout();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// pictureBox1
|
||||||
|
//
|
||||||
|
this.pictureBox1.Location = new System.Drawing.Point(13, 13);
|
||||||
|
this.pictureBox1.Name = "pictureBox1";
|
||||||
|
this.pictureBox1.Size = new System.Drawing.Size(161, 222);
|
||||||
|
this.pictureBox1.TabIndex = 0;
|
||||||
|
this.pictureBox1.TabStop = false;
|
||||||
|
//
|
||||||
|
// richTextBox1
|
||||||
|
//
|
||||||
|
this.richTextBox1.Location = new System.Drawing.Point(13, 241);
|
||||||
|
this.richTextBox1.Name = "richTextBox1";
|
||||||
|
this.richTextBox1.Size = new System.Drawing.Size(1169, 310);
|
||||||
|
this.richTextBox1.TabIndex = 1;
|
||||||
|
this.richTextBox1.Text = "";
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(9, 7);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(41, 12);
|
||||||
|
this.label1.TabIndex = 2;
|
||||||
|
this.label1.Text = "이용자";
|
||||||
|
//
|
||||||
|
// comboBox1
|
||||||
|
//
|
||||||
|
this.comboBox1.FormattingEnabled = true;
|
||||||
|
this.comboBox1.Location = new System.Drawing.Point(9, 22);
|
||||||
|
this.comboBox1.Name = "comboBox1";
|
||||||
|
this.comboBox1.Size = new System.Drawing.Size(121, 20);
|
||||||
|
this.comboBox1.TabIndex = 3;
|
||||||
|
//
|
||||||
|
// panel1
|
||||||
|
//
|
||||||
|
this.panel1.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||||
|
this.panel1.Controls.Add(this.textBox1);
|
||||||
|
this.panel1.Controls.Add(this.label3);
|
||||||
|
this.panel1.Controls.Add(this.label7);
|
||||||
|
this.panel1.Controls.Add(this.label6);
|
||||||
|
this.panel1.Controls.Add(this.label5);
|
||||||
|
this.panel1.Controls.Add(this.label2);
|
||||||
|
this.panel1.Controls.Add(this.comboBox6);
|
||||||
|
this.panel1.Controls.Add(this.label4);
|
||||||
|
this.panel1.Controls.Add(this.comboBox5);
|
||||||
|
this.panel1.Controls.Add(this.label1);
|
||||||
|
this.panel1.Controls.Add(this.comboBox4);
|
||||||
|
this.panel1.Controls.Add(this.comboBox3);
|
||||||
|
this.panel1.Controls.Add(this.comboBox2);
|
||||||
|
this.panel1.Controls.Add(this.comboBox1);
|
||||||
|
this.panel1.Location = new System.Drawing.Point(180, 13);
|
||||||
|
this.panel1.Name = "panel1";
|
||||||
|
this.panel1.Size = new System.Drawing.Size(499, 94);
|
||||||
|
this.panel1.TabIndex = 4;
|
||||||
|
//
|
||||||
|
// comboBox2
|
||||||
|
//
|
||||||
|
this.comboBox2.FormattingEnabled = true;
|
||||||
|
this.comboBox2.Location = new System.Drawing.Point(144, 22);
|
||||||
|
this.comboBox2.Name = "comboBox2";
|
||||||
|
this.comboBox2.Size = new System.Drawing.Size(166, 20);
|
||||||
|
this.comboBox2.TabIndex = 3;
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.Location = new System.Drawing.Point(144, 7);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(53, 12);
|
||||||
|
this.label2.TabIndex = 2;
|
||||||
|
this.label2.Text = "자료형식";
|
||||||
|
//
|
||||||
|
// comboBox3
|
||||||
|
//
|
||||||
|
this.comboBox3.FormattingEnabled = true;
|
||||||
|
this.comboBox3.Location = new System.Drawing.Point(322, 22);
|
||||||
|
this.comboBox3.Name = "comboBox3";
|
||||||
|
this.comboBox3.Size = new System.Drawing.Size(166, 20);
|
||||||
|
this.comboBox3.TabIndex = 3;
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.AutoSize = true;
|
||||||
|
this.label3.Location = new System.Drawing.Point(322, 7);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(53, 12);
|
||||||
|
this.label3.TabIndex = 2;
|
||||||
|
this.label3.Text = "내용형식";
|
||||||
|
//
|
||||||
|
// textBox1
|
||||||
|
//
|
||||||
|
this.textBox1.Location = new System.Drawing.Point(9, 68);
|
||||||
|
this.textBox1.Name = "textBox1";
|
||||||
|
this.textBox1.Size = new System.Drawing.Size(121, 21);
|
||||||
|
this.textBox1.TabIndex = 4;
|
||||||
|
//
|
||||||
|
// label4
|
||||||
|
//
|
||||||
|
this.label4.AutoSize = true;
|
||||||
|
this.label4.Location = new System.Drawing.Point(9, 53);
|
||||||
|
this.label4.Name = "label4";
|
||||||
|
this.label4.Size = new System.Drawing.Size(29, 12);
|
||||||
|
this.label4.TabIndex = 2;
|
||||||
|
this.label4.Text = "대학";
|
||||||
|
//
|
||||||
|
// comboBox4
|
||||||
|
//
|
||||||
|
this.comboBox4.FormattingEnabled = true;
|
||||||
|
this.comboBox4.Location = new System.Drawing.Point(142, 68);
|
||||||
|
this.comboBox4.Name = "comboBox4";
|
||||||
|
this.comboBox4.Size = new System.Drawing.Size(102, 20);
|
||||||
|
this.comboBox4.TabIndex = 3;
|
||||||
|
//
|
||||||
|
// label5
|
||||||
|
//
|
||||||
|
this.label5.AutoSize = true;
|
||||||
|
this.label5.Location = new System.Drawing.Point(142, 53);
|
||||||
|
this.label5.Name = "label5";
|
||||||
|
this.label5.Size = new System.Drawing.Size(53, 12);
|
||||||
|
this.label5.TabIndex = 2;
|
||||||
|
this.label5.Text = "문학형식";
|
||||||
|
//
|
||||||
|
// comboBox5
|
||||||
|
//
|
||||||
|
this.comboBox5.FormattingEnabled = true;
|
||||||
|
this.comboBox5.Location = new System.Drawing.Point(260, 68);
|
||||||
|
this.comboBox5.Name = "comboBox5";
|
||||||
|
this.comboBox5.Size = new System.Drawing.Size(102, 20);
|
||||||
|
this.comboBox5.TabIndex = 3;
|
||||||
|
//
|
||||||
|
// label6
|
||||||
|
//
|
||||||
|
this.label6.AutoSize = true;
|
||||||
|
this.label6.Location = new System.Drawing.Point(260, 53);
|
||||||
|
this.label6.Name = "label6";
|
||||||
|
this.label6.Size = new System.Drawing.Size(29, 12);
|
||||||
|
this.label6.TabIndex = 2;
|
||||||
|
this.label6.Text = "전기";
|
||||||
|
//
|
||||||
|
// comboBox6
|
||||||
|
//
|
||||||
|
this.comboBox6.FormattingEnabled = true;
|
||||||
|
this.comboBox6.Location = new System.Drawing.Point(374, 68);
|
||||||
|
this.comboBox6.Name = "comboBox6";
|
||||||
|
this.comboBox6.Size = new System.Drawing.Size(114, 20);
|
||||||
|
this.comboBox6.TabIndex = 3;
|
||||||
|
//
|
||||||
|
// label7
|
||||||
|
//
|
||||||
|
this.label7.AutoSize = true;
|
||||||
|
this.label7.Location = new System.Drawing.Point(374, 53);
|
||||||
|
this.label7.Name = "label7";
|
||||||
|
this.label7.Size = new System.Drawing.Size(29, 12);
|
||||||
|
this.label7.TabIndex = 2;
|
||||||
|
this.label7.Text = "언어";
|
||||||
|
//
|
||||||
|
// Search_Infor_Sub
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(1194, 683);
|
||||||
|
this.Controls.Add(this.panel1);
|
||||||
|
this.Controls.Add(this.richTextBox1);
|
||||||
|
this.Controls.Add(this.pictureBox1);
|
||||||
|
this.Name = "Search_Infor_Sub";
|
||||||
|
this.Text = "Search_Infor_Sub";
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||||
|
this.panel1.ResumeLayout(false);
|
||||||
|
this.panel1.PerformLayout();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox1;
|
||||||
|
private System.Windows.Forms.RichTextBox richTextBox1;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.ComboBox comboBox1;
|
||||||
|
private System.Windows.Forms.Panel panel1;
|
||||||
|
private System.Windows.Forms.TextBox textBox1;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.Label label7;
|
||||||
|
private System.Windows.Forms.Label label6;
|
||||||
|
private System.Windows.Forms.Label label5;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.ComboBox comboBox6;
|
||||||
|
private System.Windows.Forms.Label label4;
|
||||||
|
private System.Windows.Forms.ComboBox comboBox5;
|
||||||
|
private System.Windows.Forms.ComboBox comboBox4;
|
||||||
|
private System.Windows.Forms.ComboBox comboBox3;
|
||||||
|
private System.Windows.Forms.ComboBox comboBox2;
|
||||||
|
}
|
||||||
|
}
|
||||||
20
unimarc/WindowsFormsApp1/마크/Search_Infor_Sub.cs
Normal file
20
unimarc/WindowsFormsApp1/마크/Search_Infor_Sub.cs
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
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 WindowsFormsApp1.마크
|
||||||
|
{
|
||||||
|
public partial class Search_Infor_Sub : Form
|
||||||
|
{
|
||||||
|
public Search_Infor_Sub()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
120
unimarc/WindowsFormsApp1/마크/Search_Infor_Sub.resx
Normal file
120
unimarc/WindowsFormsApp1/마크/Search_Infor_Sub.resx
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
Reference in New Issue
Block a user