¸¶ũ º¹Á¦ ±â´É ±¸Çö ¹× Dµî±Þ »ö»ó ¼öÁ¤ (Grade E Ã߰¡ Ãë¼Ò)
This commit is contained in:
@@ -444,6 +444,9 @@
|
||||
<DependentUpon>Marc.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="마크\MarcPlanItem.cs" />
|
||||
<Compile Include="마크\Marc_CopyForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="마크\Marc_FillBlank.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
||||
@@ -232,7 +232,7 @@ namespace UniMarc
|
||||
bool isMyData = true;
|
||||
if (Chk_Arr.Length < 2) //마크DB에서 데이터가 없다면?
|
||||
{
|
||||
dr.Grade = "3"; //List_Book.Rows[a].Cells["grade"].Value = "3";
|
||||
dr.Grade = "3"; //D등급으로 조정List_Book.Rows[a].Cells["grade"].Value = "3";
|
||||
dr.Status = MarcRecordStatus.None;
|
||||
continue;
|
||||
}
|
||||
|
||||
452
unimarc/unimarc/마크/Marc2.designer.cs
generated
452
unimarc/unimarc/마크/Marc2.designer.cs
generated
@@ -39,27 +39,12 @@
|
||||
System.Windows.Forms.Label label25;
|
||||
System.Windows.Forms.Label label26;
|
||||
System.Windows.Forms.Label label27;
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Marc2));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.List_Book = new System.Windows.Forms.DataGridView();
|
||||
this.list_idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ISBN13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.num = 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.count = 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();
|
||||
this.colCheck = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.user = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.SaveDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.rb_Sort = new System.Windows.Forms.RadioButton();
|
||||
this.rb_Filter = new System.Windows.Forms.RadioButton();
|
||||
this.comboBox8 = new System.Windows.Forms.ComboBox();
|
||||
@@ -74,9 +59,9 @@
|
||||
this.lbCustIDX = new System.Windows.Forms.Label();
|
||||
this.btCopy = new System.Windows.Forms.Button();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.marcEditorControl1 = new UniMarc.MarcEditorControl();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.btFindISBN = new System.Windows.Forms.Button();
|
||||
this.lbl_BookList = new System.Windows.Forms.Label();
|
||||
this.lbl_BookDate = new System.Windows.Forms.Label();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
@@ -93,7 +78,22 @@
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.lbListIdx = new System.Windows.Forms.ToolStripLabel();
|
||||
this.btFindISBN = new System.Windows.Forms.Button();
|
||||
this.marcEditorControl1 = new UniMarc.MarcEditorControl();
|
||||
this.list_idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ISBN13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.num = 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.count = 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.colCheck = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.user = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.SaveDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.grade = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
label31 = new System.Windows.Forms.Label();
|
||||
label30 = new System.Windows.Forms.Label();
|
||||
label33 = new System.Windows.Forms.Label();
|
||||
@@ -191,14 +191,14 @@
|
||||
this.List_Book.AllowUserToDeleteRows = false;
|
||||
this.List_Book.BackgroundColor = System.Drawing.Color.SkyBlue;
|
||||
this.List_Book.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle5.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.List_Book.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.List_Book.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.List_Book.ColumnHeadersHeight = 29;
|
||||
this.List_Book.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.list_idx,
|
||||
@@ -212,24 +212,24 @@
|
||||
this.url,
|
||||
this.marc_idx,
|
||||
this.db_marc,
|
||||
this.grade,
|
||||
this.colCheck,
|
||||
this.user,
|
||||
this.SaveDate});
|
||||
this.SaveDate,
|
||||
this.grade});
|
||||
this.List_Book.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.List_Book.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
||||
this.List_Book.Location = new System.Drawing.Point(0, 103);
|
||||
this.List_Book.MultiSelect = false;
|
||||
this.List_Book.Name = "List_Book";
|
||||
this.List_Book.ReadOnly = true;
|
||||
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.ControlDark;
|
||||
dataGridViewCellStyle8.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.List_Book.RowHeadersDefaultCellStyle = dataGridViewCellStyle8;
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.ControlDark;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.List_Book.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.List_Book.RowHeadersWidth = 51;
|
||||
this.List_Book.RowTemplate.Height = 23;
|
||||
this.List_Book.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
@@ -243,160 +243,6 @@
|
||||
this.List_Book.MouseDown += new System.Windows.Forms.MouseEventHandler(this.List_Book_MouseDown);
|
||||
this.List_Book.MouseMove += new System.Windows.Forms.MouseEventHandler(this.List_Book_MouseMove);
|
||||
//
|
||||
// list_idx
|
||||
//
|
||||
this.list_idx.DataPropertyName = "ListIdx";
|
||||
this.list_idx.HeaderText = "list_idx";
|
||||
this.list_idx.MinimumWidth = 6;
|
||||
this.list_idx.Name = "list_idx";
|
||||
this.list_idx.ReadOnly = true;
|
||||
this.list_idx.Visible = false;
|
||||
this.list_idx.Width = 30;
|
||||
//
|
||||
// ISBN13
|
||||
//
|
||||
this.ISBN13.DataPropertyName = "ISBN13";
|
||||
this.ISBN13.FillWeight = 136.2398F;
|
||||
this.ISBN13.HeaderText = "ISBN13";
|
||||
this.ISBN13.MinimumWidth = 6;
|
||||
this.ISBN13.Name = "ISBN13";
|
||||
this.ISBN13.ReadOnly = true;
|
||||
this.ISBN13.Visible = false;
|
||||
this.ISBN13.Width = 125;
|
||||
//
|
||||
// num
|
||||
//
|
||||
this.num.DataPropertyName = "Num";
|
||||
this.num.HeaderText = "연번";
|
||||
this.num.MinimumWidth = 6;
|
||||
this.num.Name = "num";
|
||||
this.num.ReadOnly = true;
|
||||
this.num.Width = 50;
|
||||
//
|
||||
// book_name
|
||||
//
|
||||
this.book_name.DataPropertyName = "BookName";
|
||||
this.book_name.FillWeight = 135.5107F;
|
||||
this.book_name.HeaderText = "도서명";
|
||||
this.book_name.MinimumWidth = 6;
|
||||
this.book_name.Name = "book_name";
|
||||
this.book_name.ReadOnly = true;
|
||||
this.book_name.Width = 150;
|
||||
//
|
||||
// author
|
||||
//
|
||||
this.author.DataPropertyName = "Author";
|
||||
this.author.FillWeight = 67.49011F;
|
||||
this.author.HeaderText = "저자";
|
||||
this.author.MinimumWidth = 6;
|
||||
this.author.Name = "author";
|
||||
this.author.ReadOnly = true;
|
||||
this.author.Width = 80;
|
||||
//
|
||||
// book_comp
|
||||
//
|
||||
this.book_comp.DataPropertyName = "BookComp";
|
||||
this.book_comp.FillWeight = 76.49199F;
|
||||
this.book_comp.HeaderText = "출판사";
|
||||
this.book_comp.MinimumWidth = 6;
|
||||
this.book_comp.Name = "book_comp";
|
||||
this.book_comp.ReadOnly = true;
|
||||
this.book_comp.Width = 80;
|
||||
//
|
||||
// count
|
||||
//
|
||||
this.count.DataPropertyName = "Count";
|
||||
this.count.HeaderText = "C";
|
||||
this.count.MinimumWidth = 6;
|
||||
this.count.Name = "count";
|
||||
this.count.ReadOnly = true;
|
||||
this.count.Width = 30;
|
||||
//
|
||||
// pay
|
||||
//
|
||||
this.pay.DataPropertyName = "Pay";
|
||||
this.pay.FillWeight = 84.26746F;
|
||||
this.pay.HeaderText = "정가";
|
||||
this.pay.MinimumWidth = 6;
|
||||
this.pay.Name = "pay";
|
||||
this.pay.ReadOnly = true;
|
||||
this.pay.Width = 62;
|
||||
//
|
||||
// url
|
||||
//
|
||||
this.url.DataPropertyName = "Url";
|
||||
this.url.HeaderText = "url";
|
||||
this.url.MinimumWidth = 6;
|
||||
this.url.Name = "url";
|
||||
this.url.ReadOnly = true;
|
||||
this.url.Visible = false;
|
||||
this.url.Width = 125;
|
||||
//
|
||||
// marc_idx
|
||||
//
|
||||
this.marc_idx.DataPropertyName = "MarcIdx";
|
||||
this.marc_idx.HeaderText = "marc_idx";
|
||||
this.marc_idx.MinimumWidth = 6;
|
||||
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.DataPropertyName = "DbMarc";
|
||||
this.db_marc.HeaderText = "marc";
|
||||
this.db_marc.MinimumWidth = 6;
|
||||
this.db_marc.Name = "db_marc";
|
||||
this.db_marc.ReadOnly = true;
|
||||
this.db_marc.Visible = false;
|
||||
this.db_marc.Width = 125;
|
||||
//
|
||||
// grade
|
||||
//
|
||||
this.grade.DataPropertyName = "Grade";
|
||||
dataGridViewCellStyle6.Format = "N0";
|
||||
dataGridViewCellStyle6.NullValue = null;
|
||||
this.grade.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.grade.HeaderText = "등급";
|
||||
this.grade.MinimumWidth = 6;
|
||||
this.grade.Name = "grade";
|
||||
this.grade.ReadOnly = true;
|
||||
this.grade.Visible = false;
|
||||
this.grade.Width = 50;
|
||||
//
|
||||
// colCheck
|
||||
//
|
||||
this.colCheck.DataPropertyName = "ColCheck";
|
||||
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.colCheck.DefaultCellStyle = dataGridViewCellStyle7;
|
||||
this.colCheck.HeaderText = "V";
|
||||
this.colCheck.MinimumWidth = 6;
|
||||
this.colCheck.Name = "colCheck";
|
||||
this.colCheck.ReadOnly = true;
|
||||
this.colCheck.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colCheck.Width = 30;
|
||||
//
|
||||
// user
|
||||
//
|
||||
this.user.DataPropertyName = "User";
|
||||
this.user.HeaderText = "작업자";
|
||||
this.user.MinimumWidth = 6;
|
||||
this.user.Name = "user";
|
||||
this.user.ReadOnly = true;
|
||||
this.user.Visible = false;
|
||||
this.user.Width = 125;
|
||||
//
|
||||
// SaveDate
|
||||
//
|
||||
this.SaveDate.DataPropertyName = "SaveDate";
|
||||
this.SaveDate.HeaderText = "저장시각";
|
||||
this.SaveDate.MinimumWidth = 6;
|
||||
this.SaveDate.Name = "SaveDate";
|
||||
this.SaveDate.ReadOnly = true;
|
||||
this.SaveDate.Visible = false;
|
||||
this.SaveDate.Width = 125;
|
||||
//
|
||||
// rb_Sort
|
||||
//
|
||||
this.rb_Sort.Location = new System.Drawing.Point(68, 4);
|
||||
@@ -549,16 +395,6 @@
|
||||
this.panel2.Size = new System.Drawing.Size(1083, 658);
|
||||
this.panel2.TabIndex = 325;
|
||||
//
|
||||
// marcEditorControl1
|
||||
//
|
||||
this.marcEditorControl1.BackColor = System.Drawing.Color.Gray;
|
||||
this.marcEditorControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.marcEditorControl1.Font = new System.Drawing.Font("돋움", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.marcEditorControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.marcEditorControl1.Name = "marcEditorControl1";
|
||||
this.marcEditorControl1.Size = new System.Drawing.Size(1083, 658);
|
||||
this.marcEditorControl1.TabIndex = 0;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.BackColor = System.Drawing.Color.White;
|
||||
@@ -589,6 +425,16 @@
|
||||
this.panel4.Size = new System.Drawing.Size(555, 68);
|
||||
this.panel4.TabIndex = 327;
|
||||
//
|
||||
// btFindISBN
|
||||
//
|
||||
this.btFindISBN.Location = new System.Drawing.Point(483, 6);
|
||||
this.btFindISBN.Name = "btFindISBN";
|
||||
this.btFindISBN.Size = new System.Drawing.Size(66, 27);
|
||||
this.btFindISBN.TabIndex = 327;
|
||||
this.btFindISBN.Text = "ISBN조회";
|
||||
this.btFindISBN.UseVisualStyleBackColor = true;
|
||||
this.btFindISBN.Click += new System.EventHandler(this.btFindISBN_Click);
|
||||
//
|
||||
// lbl_BookList
|
||||
//
|
||||
this.lbl_BookList.BackColor = System.Drawing.Color.LightGray;
|
||||
@@ -732,15 +578,169 @@
|
||||
this.lbListIdx.Size = new System.Drawing.Size(14, 24);
|
||||
this.lbListIdx.Text = "0";
|
||||
//
|
||||
// btFindISBN
|
||||
// marcEditorControl1
|
||||
//
|
||||
this.btFindISBN.Location = new System.Drawing.Point(483, 6);
|
||||
this.btFindISBN.Name = "btFindISBN";
|
||||
this.btFindISBN.Size = new System.Drawing.Size(66, 27);
|
||||
this.btFindISBN.TabIndex = 327;
|
||||
this.btFindISBN.Text = "ISBN조회";
|
||||
this.btFindISBN.UseVisualStyleBackColor = true;
|
||||
this.btFindISBN.Click += new System.EventHandler(this.btFindISBN_Click);
|
||||
this.marcEditorControl1.BackColor = System.Drawing.Color.Gray;
|
||||
this.marcEditorControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.marcEditorControl1.Font = new System.Drawing.Font("돋움", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.marcEditorControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.marcEditorControl1.Name = "marcEditorControl1";
|
||||
this.marcEditorControl1.Size = new System.Drawing.Size(1083, 658);
|
||||
this.marcEditorControl1.TabIndex = 0;
|
||||
//
|
||||
// list_idx
|
||||
//
|
||||
this.list_idx.DataPropertyName = "ListIdx";
|
||||
this.list_idx.HeaderText = "list_idx";
|
||||
this.list_idx.MinimumWidth = 6;
|
||||
this.list_idx.Name = "list_idx";
|
||||
this.list_idx.ReadOnly = true;
|
||||
this.list_idx.Visible = false;
|
||||
this.list_idx.Width = 30;
|
||||
//
|
||||
// ISBN13
|
||||
//
|
||||
this.ISBN13.DataPropertyName = "ISBN13";
|
||||
this.ISBN13.FillWeight = 136.2398F;
|
||||
this.ISBN13.HeaderText = "ISBN13";
|
||||
this.ISBN13.MinimumWidth = 6;
|
||||
this.ISBN13.Name = "ISBN13";
|
||||
this.ISBN13.ReadOnly = true;
|
||||
this.ISBN13.Visible = false;
|
||||
this.ISBN13.Width = 125;
|
||||
//
|
||||
// num
|
||||
//
|
||||
this.num.DataPropertyName = "Num";
|
||||
this.num.HeaderText = "연번";
|
||||
this.num.MinimumWidth = 6;
|
||||
this.num.Name = "num";
|
||||
this.num.ReadOnly = true;
|
||||
this.num.Width = 50;
|
||||
//
|
||||
// book_name
|
||||
//
|
||||
this.book_name.DataPropertyName = "BookName";
|
||||
this.book_name.FillWeight = 135.5107F;
|
||||
this.book_name.HeaderText = "도서명";
|
||||
this.book_name.MinimumWidth = 6;
|
||||
this.book_name.Name = "book_name";
|
||||
this.book_name.ReadOnly = true;
|
||||
this.book_name.Width = 150;
|
||||
//
|
||||
// author
|
||||
//
|
||||
this.author.DataPropertyName = "Author";
|
||||
this.author.FillWeight = 67.49011F;
|
||||
this.author.HeaderText = "저자";
|
||||
this.author.MinimumWidth = 6;
|
||||
this.author.Name = "author";
|
||||
this.author.ReadOnly = true;
|
||||
this.author.Width = 80;
|
||||
//
|
||||
// book_comp
|
||||
//
|
||||
this.book_comp.DataPropertyName = "BookComp";
|
||||
this.book_comp.FillWeight = 76.49199F;
|
||||
this.book_comp.HeaderText = "출판사";
|
||||
this.book_comp.MinimumWidth = 6;
|
||||
this.book_comp.Name = "book_comp";
|
||||
this.book_comp.ReadOnly = true;
|
||||
this.book_comp.Width = 80;
|
||||
//
|
||||
// count
|
||||
//
|
||||
this.count.DataPropertyName = "Count";
|
||||
this.count.HeaderText = "C";
|
||||
this.count.MinimumWidth = 6;
|
||||
this.count.Name = "count";
|
||||
this.count.ReadOnly = true;
|
||||
this.count.Width = 30;
|
||||
//
|
||||
// pay
|
||||
//
|
||||
this.pay.DataPropertyName = "Pay";
|
||||
this.pay.FillWeight = 84.26746F;
|
||||
this.pay.HeaderText = "정가";
|
||||
this.pay.MinimumWidth = 6;
|
||||
this.pay.Name = "pay";
|
||||
this.pay.ReadOnly = true;
|
||||
this.pay.Width = 62;
|
||||
//
|
||||
// url
|
||||
//
|
||||
this.url.DataPropertyName = "Url";
|
||||
this.url.HeaderText = "url";
|
||||
this.url.MinimumWidth = 6;
|
||||
this.url.Name = "url";
|
||||
this.url.ReadOnly = true;
|
||||
this.url.Visible = false;
|
||||
this.url.Width = 125;
|
||||
//
|
||||
// marc_idx
|
||||
//
|
||||
this.marc_idx.DataPropertyName = "MarcIdx";
|
||||
this.marc_idx.HeaderText = "marc_idx";
|
||||
this.marc_idx.MinimumWidth = 6;
|
||||
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.DataPropertyName = "DbMarc";
|
||||
this.db_marc.HeaderText = "marc";
|
||||
this.db_marc.MinimumWidth = 6;
|
||||
this.db_marc.Name = "db_marc";
|
||||
this.db_marc.ReadOnly = true;
|
||||
this.db_marc.Visible = false;
|
||||
this.db_marc.Width = 125;
|
||||
//
|
||||
// colCheck
|
||||
//
|
||||
this.colCheck.DataPropertyName = "ColCheck";
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.colCheck.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.colCheck.HeaderText = "V";
|
||||
this.colCheck.MinimumWidth = 6;
|
||||
this.colCheck.Name = "colCheck";
|
||||
this.colCheck.ReadOnly = true;
|
||||
this.colCheck.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colCheck.Width = 30;
|
||||
//
|
||||
// user
|
||||
//
|
||||
this.user.DataPropertyName = "User";
|
||||
this.user.HeaderText = "작업자";
|
||||
this.user.MinimumWidth = 6;
|
||||
this.user.Name = "user";
|
||||
this.user.ReadOnly = true;
|
||||
this.user.Visible = false;
|
||||
this.user.Width = 125;
|
||||
//
|
||||
// SaveDate
|
||||
//
|
||||
this.SaveDate.DataPropertyName = "SaveDate";
|
||||
this.SaveDate.HeaderText = "저장시각";
|
||||
this.SaveDate.MinimumWidth = 6;
|
||||
this.SaveDate.Name = "SaveDate";
|
||||
this.SaveDate.ReadOnly = true;
|
||||
this.SaveDate.Visible = false;
|
||||
this.SaveDate.Width = 125;
|
||||
//
|
||||
// grade
|
||||
//
|
||||
this.grade.DataPropertyName = "Grade";
|
||||
dataGridViewCellStyle3.Format = "N0";
|
||||
dataGridViewCellStyle3.NullValue = null;
|
||||
this.grade.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.grade.HeaderText = "등급";
|
||||
this.grade.MinimumWidth = 6;
|
||||
this.grade.Name = "grade";
|
||||
this.grade.ReadOnly = true;
|
||||
this.grade.Visible = false;
|
||||
this.grade.Width = 50;
|
||||
//
|
||||
// Marc2
|
||||
//
|
||||
@@ -786,21 +786,6 @@
|
||||
|
||||
|
||||
private System.Windows.Forms.Button btn_FilterReturn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn list_idx;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn ISBN13;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn num;
|
||||
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 count;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pay;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn url;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn marc_idx;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn db_marc;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn grade;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colCheck;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn user;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn SaveDate;
|
||||
private System.Windows.Forms.Button btn_CopySelect;
|
||||
public System.Windows.Forms.Button tbCustName;
|
||||
public System.Windows.Forms.Label lbCustIDX;
|
||||
@@ -826,5 +811,20 @@
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
|
||||
private System.Windows.Forms.ToolStripLabel lbListIdx;
|
||||
private System.Windows.Forms.Button btFindISBN;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn list_idx;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn ISBN13;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn num;
|
||||
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 count;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pay;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn url;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn marc_idx;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn db_marc;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colCheck;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn user;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn SaveDate;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn grade;
|
||||
}
|
||||
}
|
||||
@@ -180,9 +180,6 @@
|
||||
<metadata name="db_marc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="grade.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colCheck.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
@@ -192,6 +189,9 @@
|
||||
<metadata name="SaveDate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="grade.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="bn1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>273, 17</value>
|
||||
</metadata>
|
||||
|
||||
@@ -74,11 +74,11 @@ namespace UniMarc
|
||||
case "2": // C
|
||||
ForeColor = System.Drawing.Color.Gray;
|
||||
break;
|
||||
case "3": // D
|
||||
ForeColor = System.Drawing.Color.DarkViolet;
|
||||
break;
|
||||
//case "3": // D
|
||||
// ForeColor = System.Drawing.Color.DarkViolet;
|
||||
// break;
|
||||
default:
|
||||
ForeColor = System.Drawing.Color.Black;
|
||||
ForeColor = System.Drawing.Color.DarkViolet;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
21
unimarc/unimarc/마크/MarcEditorControl.Designer.cs
generated
21
unimarc/unimarc/마크/MarcEditorControl.Designer.cs
generated
@@ -221,6 +221,7 @@
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.btCopy = new System.Windows.Forms.Button();
|
||||
this.btNext = new System.Windows.Forms.Button();
|
||||
this.btPrev = new System.Windows.Forms.Button();
|
||||
this.panel5 = new System.Windows.Forms.Panel();
|
||||
@@ -620,7 +621,7 @@
|
||||
//
|
||||
// Btn_Memo
|
||||
//
|
||||
this.Btn_Memo.Location = new System.Drawing.Point(14, 118);
|
||||
this.Btn_Memo.Location = new System.Drawing.Point(14, 120);
|
||||
this.Btn_Memo.Name = "Btn_Memo";
|
||||
this.Btn_Memo.Size = new System.Drawing.Size(77, 33);
|
||||
this.Btn_Memo.TabIndex = 215;
|
||||
@@ -630,7 +631,7 @@
|
||||
//
|
||||
// btn_Save
|
||||
//
|
||||
this.btn_Save.Location = new System.Drawing.Point(14, 153);
|
||||
this.btn_Save.Location = new System.Drawing.Point(15, 158);
|
||||
this.btn_Save.Name = "btn_Save";
|
||||
this.btn_Save.Size = new System.Drawing.Size(77, 33);
|
||||
this.btn_Save.TabIndex = 215;
|
||||
@@ -689,7 +690,7 @@
|
||||
//
|
||||
// btn_close
|
||||
//
|
||||
this.btn_close.Location = new System.Drawing.Point(14, 223);
|
||||
this.btn_close.Location = new System.Drawing.Point(15, 266);
|
||||
this.btn_close.Name = "btn_close";
|
||||
this.btn_close.Size = new System.Drawing.Size(77, 33);
|
||||
this.btn_close.TabIndex = 215;
|
||||
@@ -713,7 +714,7 @@
|
||||
//
|
||||
// btn_preview
|
||||
//
|
||||
this.btn_preview.Location = new System.Drawing.Point(14, 188);
|
||||
this.btn_preview.Location = new System.Drawing.Point(15, 231);
|
||||
this.btn_preview.Name = "btn_preview";
|
||||
this.btn_preview.Size = new System.Drawing.Size(77, 33);
|
||||
this.btn_preview.TabIndex = 215;
|
||||
@@ -2294,6 +2295,7 @@
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.btCopy);
|
||||
this.panel2.Controls.Add(this.btNext);
|
||||
this.panel2.Controls.Add(this.btPrev);
|
||||
this.panel2.Controls.Add(this.pictureBox1);
|
||||
@@ -2310,6 +2312,16 @@
|
||||
this.panel2.Size = new System.Drawing.Size(392, 308);
|
||||
this.panel2.TabIndex = 1;
|
||||
//
|
||||
// btCopy
|
||||
//
|
||||
this.btCopy.Location = new System.Drawing.Point(15, 191);
|
||||
this.btCopy.Name = "btCopy";
|
||||
this.btCopy.Size = new System.Drawing.Size(77, 33);
|
||||
this.btCopy.TabIndex = 231;
|
||||
this.btCopy.Text = "유사본";
|
||||
this.btCopy.UseVisualStyleBackColor = true;
|
||||
this.btCopy.Click += new System.EventHandler(this.btCopy_Click);
|
||||
//
|
||||
// btNext
|
||||
//
|
||||
this.btNext.Location = new System.Drawing.Point(274, 266);
|
||||
@@ -2680,5 +2692,6 @@
|
||||
private System.Windows.Forms.TextBox lbl_ISBN;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Label label56;
|
||||
private System.Windows.Forms.Button btCopy;
|
||||
}
|
||||
}
|
||||
@@ -167,15 +167,21 @@ namespace UniMarc
|
||||
|
||||
bool check_Marc = click_Marc(dbMarc); //여기안에서 또 008을 설정한다
|
||||
|
||||
|
||||
int gradeNo ;
|
||||
if (!check_Marc)
|
||||
{
|
||||
richTextBox1.Text = Make_Empty();
|
||||
gradeNo = 3; //마크가 없는것은 D등급으로 한다
|
||||
}
|
||||
else
|
||||
{
|
||||
etc1.Text = Param.Remark1;
|
||||
etc2.Text = Param.Remark2;
|
||||
//ReadRemark();
|
||||
|
||||
//자료의 등급 다시 선택
|
||||
if(int.TryParse(this.Param.Grade, out gradeNo) == false)
|
||||
gradeNo = 2;
|
||||
}
|
||||
|
||||
|
||||
@@ -183,9 +189,7 @@ namespace UniMarc
|
||||
st.Color_change("▼", richTextBox1);
|
||||
st.Color_change("▲", richTextBox1);
|
||||
|
||||
//자료의 등급 다시 선택
|
||||
if (int.TryParse(this.Param.Grade, out int gradeNo) == false)
|
||||
gradeNo = 2;
|
||||
|
||||
cb_grade.SelectedIndex = gradeNo;
|
||||
mLoadCompleted = true;
|
||||
}
|
||||
@@ -3205,5 +3209,13 @@ namespace UniMarc
|
||||
ShowImage(Param.ISBN13, Param.URL);
|
||||
}
|
||||
}
|
||||
|
||||
private void btCopy_Click(object sender, EventArgs e)
|
||||
{
|
||||
Tag056(); // 008 태그가 richTextBox1에 포함되도록 갱신
|
||||
var orimarc = st.made_Ori_marc(richTextBox1).Replace(@"\", "₩");
|
||||
var fb = new Marc_CopyForm(this.Param.ISBN13, orimarc, this.Param);
|
||||
fb.ShowDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
97
unimarc/unimarc/마크/Marc_CopyForm.cs
Normal file
97
unimarc/unimarc/마크/Marc_CopyForm.cs
Normal file
@@ -0,0 +1,97 @@
|
||||
using AR;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace UniMarc
|
||||
{
|
||||
public partial class Marc_CopyForm : Form
|
||||
{
|
||||
MarcEditorControl marcEditorControl1;
|
||||
Helper_DB db = new Helper_DB();
|
||||
String_Text st = new String_Text();
|
||||
string baseISBN = "";
|
||||
|
||||
public Marc_CopyForm(string isbn, string marcstring, MacEditorParameter param)
|
||||
{
|
||||
InitializeComponent();
|
||||
db.DBcon();
|
||||
|
||||
this.baseISBN =param.ISBN13;
|
||||
marcEditorControl1 = new MarcEditorControl();
|
||||
marcEditorControl1.db = this.db;
|
||||
marcEditorControl1.Dock = DockStyle.Fill;
|
||||
|
||||
// Wire up events
|
||||
marcEditorControl1.BookSaved += MarcEditorControl_BookSaved;
|
||||
marcEditorControl1.CloseButton += (s, e) => { this.Close(); };
|
||||
|
||||
this.Controls.Add(marcEditorControl1);
|
||||
this.StartPosition = FormStartPosition.CenterScreen;
|
||||
this.Text = $"마크 복제 - {param.BookName}";
|
||||
|
||||
// Load data as NEW (MarcIdx = 0)
|
||||
var cloneParam = new MacEditorParameter
|
||||
{
|
||||
ISBN13 = param.ISBN13,
|
||||
BookName = param.BookName,
|
||||
Author = param.Author,
|
||||
Publisher = param.Publisher,
|
||||
Price = param.Price,
|
||||
URL = param.URL,
|
||||
MarcIdx = "0", // CRITICAL: This makes it an INSERT
|
||||
Grade = param.Grade,
|
||||
Remark1 = param.Remark1,
|
||||
Remark2 = param.Remark2,
|
||||
User = PUB.user.UserName
|
||||
};
|
||||
|
||||
marcEditorControl1.LoadBookData(marcstring, cloneParam);
|
||||
}
|
||||
|
||||
private void MarcEditorControl_BookSaved(object sender, MarcEditorControl.BookSavedEventArgs e)
|
||||
{
|
||||
// The actual saving logic for a NEW record
|
||||
string Table = "Marc";
|
||||
string date = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
string savedMarc = e.DBMarc;
|
||||
|
||||
string[] insert_col = {
|
||||
"ISBN", "compidx", "marc", "marc_chk",
|
||||
"grade", "008tag", "user", "date","비고2"
|
||||
};
|
||||
string[] insert_data = {
|
||||
e.Param.ISBN13, PUB.user.CompanyIdx.ToString(), savedMarc, "1",
|
||||
e.Param.Grade, e.Param.text008, PUB.user.UserName, date,$"복제({baseISBN})"
|
||||
};
|
||||
|
||||
string cmd = db.DB_INSERT(Table, insert_col, insert_data);
|
||||
var rlt = Helper_DB.ExcuteNonQuery(cmd);
|
||||
if ( rlt.applyCount == 1)
|
||||
{
|
||||
UTIL.MsgI("저장되었습니다.");
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Close();
|
||||
}
|
||||
else
|
||||
{
|
||||
UTIL.MsgE(rlt.errorMessage);
|
||||
}
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.SuspendLayout();
|
||||
this.ClientSize = new System.Drawing.Size(1200, 800);
|
||||
this.Name = "Marc_CopyForm";
|
||||
this.Text = "마크 복제";
|
||||
this.ResumeLayout(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -727,6 +727,7 @@ namespace UniMarc
|
||||
string Tag090 = Sample_090();
|
||||
Tag_Create("090", Tag090);
|
||||
}
|
||||
|
||||
}
|
||||
#region KeyDown_Sub
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user