=====* UniMarc [0.0178] 버전 업데이트 내용 *=====
** ERP 작업 전면 중단 (마크우선) ** 1. 마크 정리 복본 자동부여 기능 추가. 빈칸으로 수정시 마크에 태그가 그대로 남는 버그 수정.
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1928,7 +1928,6 @@ namespace WindowsFormsApp1
|
||||
|
||||
if (jisi[a] != searchJisi)
|
||||
{
|
||||
MessageBox.Show(tmp);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
459
unimarc/unimarc/마크/Marc_Plan.Designer.cs
generated
459
unimarc/unimarc/마크/Marc_Plan.Designer.cs
generated
@@ -28,14 +28,14 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Marc_Plan));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.btn_ApplyMacro = new System.Windows.Forms.Button();
|
||||
@@ -59,33 +59,10 @@
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.num = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.reg_num = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.class_code = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.author_code = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.volume = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.copy = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.prefix = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.gu = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ISBN = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.s_book_name1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.s_book_num1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.s_book_name2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.s_book_num2 = 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.midx = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.marc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.search_tag = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.WorkCopy = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.WorkFix = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.panel5 = new System.Windows.Forms.Panel();
|
||||
this.btn_InputAutoCopy = new System.Windows.Forms.Button();
|
||||
this.chkBox_AllowDrop = new System.Windows.Forms.CheckBox();
|
||||
this.panel6 = new System.Windows.Forms.Panel();
|
||||
this.chk_Alignment = new System.Windows.Forms.CheckBox();
|
||||
@@ -130,6 +107,30 @@
|
||||
this.panel7 = new System.Windows.Forms.Panel();
|
||||
this.printDocument1 = new System.Drawing.Printing.PrintDocument();
|
||||
this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
|
||||
this.WorkFix = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.WorkCopy = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.search_tag = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.marc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.midx = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.price = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.author = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.s_book_num2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.s_book_name2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.s_book_num1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.s_book_name1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ISBN = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.gu = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.prefix = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.copy = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.volume = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.author_code = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.class_code = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.reg_num = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.num = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
@@ -369,14 +370,14 @@
|
||||
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control;
|
||||
this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
||||
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.AppWorkspace;
|
||||
dataGridViewCellStyle8.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.AppWorkspace;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dataGridView1.ColumnHeadersHeight = 25;
|
||||
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
@@ -417,190 +418,6 @@
|
||||
this.dataGridView1.SortCompare += new System.Windows.Forms.DataGridViewSortCompareEventHandler(this.dataGridView1_SortCompare);
|
||||
this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
|
||||
//
|
||||
// idx
|
||||
//
|
||||
this.idx.HeaderText = "idx";
|
||||
this.idx.Name = "idx";
|
||||
this.idx.ReadOnly = true;
|
||||
this.idx.Visible = false;
|
||||
//
|
||||
// num
|
||||
//
|
||||
this.num.FillWeight = 64.46414F;
|
||||
this.num.HeaderText = "연번";
|
||||
this.num.Name = "num";
|
||||
this.num.ReadOnly = true;
|
||||
this.num.Width = 50;
|
||||
//
|
||||
// reg_num
|
||||
//
|
||||
dataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.reg_num.DefaultCellStyle = dataGridViewCellStyle9;
|
||||
this.reg_num.FillWeight = 130.9363F;
|
||||
this.reg_num.HeaderText = "등록번호";
|
||||
this.reg_num.Name = "reg_num";
|
||||
this.reg_num.Width = 102;
|
||||
//
|
||||
// class_code
|
||||
//
|
||||
dataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.class_code.DefaultCellStyle = dataGridViewCellStyle10;
|
||||
this.class_code.FillWeight = 76.41504F;
|
||||
this.class_code.HeaderText = "분류";
|
||||
this.class_code.Name = "class_code";
|
||||
this.class_code.Width = 59;
|
||||
//
|
||||
// author_code
|
||||
//
|
||||
dataGridViewCellStyle11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.author_code.DefaultCellStyle = dataGridViewCellStyle11;
|
||||
this.author_code.FillWeight = 77.02635F;
|
||||
this.author_code.HeaderText = "저자기호";
|
||||
this.author_code.Name = "author_code";
|
||||
this.author_code.Width = 60;
|
||||
//
|
||||
// volume
|
||||
//
|
||||
dataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.volume.DefaultCellStyle = dataGridViewCellStyle12;
|
||||
this.volume.FillWeight = 38.80909F;
|
||||
this.volume.HeaderText = "V";
|
||||
this.volume.Name = "volume";
|
||||
this.volume.ToolTipText = "049v";
|
||||
this.volume.Width = 30;
|
||||
//
|
||||
// copy
|
||||
//
|
||||
dataGridViewCellStyle13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.copy.DefaultCellStyle = dataGridViewCellStyle13;
|
||||
this.copy.FillWeight = 40.14827F;
|
||||
this.copy.HeaderText = "C";
|
||||
this.copy.Name = "copy";
|
||||
this.copy.ToolTipText = "049c";
|
||||
this.copy.Width = 31;
|
||||
//
|
||||
// prefix
|
||||
//
|
||||
dataGridViewCellStyle14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.prefix.DefaultCellStyle = dataGridViewCellStyle14;
|
||||
this.prefix.FillWeight = 41.51828F;
|
||||
this.prefix.HeaderText = "F";
|
||||
this.prefix.Name = "prefix";
|
||||
this.prefix.ToolTipText = "049f";
|
||||
this.prefix.Width = 32;
|
||||
//
|
||||
// gu
|
||||
//
|
||||
this.gu.FillWeight = 71.64279F;
|
||||
this.gu.HeaderText = "구분";
|
||||
this.gu.Name = "gu";
|
||||
this.gu.ReadOnly = true;
|
||||
this.gu.Width = 56;
|
||||
//
|
||||
// ISBN
|
||||
//
|
||||
this.ISBN.HeaderText = "ISBN";
|
||||
this.ISBN.Name = "ISBN";
|
||||
this.ISBN.Visible = false;
|
||||
//
|
||||
// book_name
|
||||
//
|
||||
this.book_name.FillWeight = 291.9296F;
|
||||
this.book_name.HeaderText = "도서명";
|
||||
this.book_name.Name = "book_name";
|
||||
this.book_name.ReadOnly = true;
|
||||
this.book_name.Width = 226;
|
||||
//
|
||||
// s_book_name1
|
||||
//
|
||||
this.s_book_name1.FillWeight = 129.9903F;
|
||||
this.s_book_name1.HeaderText = "총서명";
|
||||
this.s_book_name1.Name = "s_book_name1";
|
||||
this.s_book_name1.ReadOnly = true;
|
||||
this.s_book_name1.Width = 101;
|
||||
//
|
||||
// s_book_num1
|
||||
//
|
||||
this.s_book_num1.FillWeight = 76.24091F;
|
||||
this.s_book_num1.HeaderText = "총서번호";
|
||||
this.s_book_num1.Name = "s_book_num1";
|
||||
this.s_book_num1.ReadOnly = true;
|
||||
this.s_book_num1.Width = 59;
|
||||
//
|
||||
// s_book_name2
|
||||
//
|
||||
this.s_book_name2.HeaderText = "총서명";
|
||||
this.s_book_name2.Name = "s_book_name2";
|
||||
//
|
||||
// s_book_num2
|
||||
//
|
||||
this.s_book_num2.HeaderText = "총서번호";
|
||||
this.s_book_num2.Name = "s_book_num2";
|
||||
this.s_book_num2.Width = 59;
|
||||
//
|
||||
// author
|
||||
//
|
||||
this.author.FillWeight = 128.5217F;
|
||||
this.author.HeaderText = "저자";
|
||||
this.author.Name = "author";
|
||||
this.author.ReadOnly = true;
|
||||
//
|
||||
// book_comp
|
||||
//
|
||||
this.book_comp.FillWeight = 125.7765F;
|
||||
this.book_comp.HeaderText = "출판사";
|
||||
this.book_comp.Name = "book_comp";
|
||||
this.book_comp.ReadOnly = true;
|
||||
this.book_comp.Width = 97;
|
||||
//
|
||||
// price
|
||||
//
|
||||
this.price.FillWeight = 86.15041F;
|
||||
this.price.HeaderText = "정가";
|
||||
this.price.Name = "price";
|
||||
this.price.ReadOnly = true;
|
||||
this.price.Width = 67;
|
||||
//
|
||||
// midx
|
||||
//
|
||||
this.midx.HeaderText = "midx";
|
||||
this.midx.Name = "midx";
|
||||
this.midx.Visible = false;
|
||||
//
|
||||
// marc
|
||||
//
|
||||
this.marc.HeaderText = "마크";
|
||||
this.marc.Name = "marc";
|
||||
//
|
||||
// search_tag
|
||||
//
|
||||
this.search_tag.FillWeight = 185.6383F;
|
||||
this.search_tag.HeaderText = "검색태그";
|
||||
this.search_tag.Name = "search_tag";
|
||||
this.search_tag.Width = 144;
|
||||
//
|
||||
// colCheck
|
||||
//
|
||||
this.colCheck.FalseValue = "F";
|
||||
this.colCheck.FillWeight = 34.79187F;
|
||||
this.colCheck.HeaderText = "□";
|
||||
this.colCheck.IndeterminateValue = "F";
|
||||
this.colCheck.Name = "colCheck";
|
||||
this.colCheck.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colCheck.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.colCheck.TrueValue = "T";
|
||||
this.colCheck.Width = 27;
|
||||
//
|
||||
// WorkCopy
|
||||
//
|
||||
this.WorkCopy.HeaderText = "복본 작업용 열";
|
||||
this.WorkCopy.Name = "WorkCopy";
|
||||
//
|
||||
// WorkFix
|
||||
//
|
||||
this.WorkFix.HeaderText = "별치 작업용 열";
|
||||
this.WorkFix.Name = "WorkFix";
|
||||
//
|
||||
// checkBox1
|
||||
//
|
||||
this.checkBox1.AutoSize = true;
|
||||
@@ -630,6 +447,7 @@
|
||||
//
|
||||
// panel5
|
||||
//
|
||||
this.panel5.Controls.Add(this.btn_InputAutoCopy);
|
||||
this.panel5.Controls.Add(this.chkBox_AllowDrop);
|
||||
this.panel5.Controls.Add(this.panel3);
|
||||
this.panel5.Controls.Add(this.panel2);
|
||||
@@ -639,6 +457,16 @@
|
||||
this.panel5.Size = new System.Drawing.Size(1661, 35);
|
||||
this.panel5.TabIndex = 9;
|
||||
//
|
||||
// btn_InputAutoCopy
|
||||
//
|
||||
this.btn_InputAutoCopy.Location = new System.Drawing.Point(1177, 7);
|
||||
this.btn_InputAutoCopy.Name = "btn_InputAutoCopy";
|
||||
this.btn_InputAutoCopy.Size = new System.Drawing.Size(89, 23);
|
||||
this.btn_InputAutoCopy.TabIndex = 11;
|
||||
this.btn_InputAutoCopy.Text = "복본 자동부여";
|
||||
this.btn_InputAutoCopy.UseVisualStyleBackColor = true;
|
||||
this.btn_InputAutoCopy.Click += new System.EventHandler(this.btn_InputAutoCopy_Click);
|
||||
//
|
||||
// chkBox_AllowDrop
|
||||
//
|
||||
this.chkBox_AllowDrop.AutoSize = true;
|
||||
@@ -1100,6 +928,190 @@
|
||||
this.printPreviewDialog1.Name = "printPreviewDialog1";
|
||||
this.printPreviewDialog1.Visible = false;
|
||||
//
|
||||
// WorkFix
|
||||
//
|
||||
this.WorkFix.HeaderText = "별치 작업용 열";
|
||||
this.WorkFix.Name = "WorkFix";
|
||||
//
|
||||
// WorkCopy
|
||||
//
|
||||
this.WorkCopy.HeaderText = "복본 작업용 열";
|
||||
this.WorkCopy.Name = "WorkCopy";
|
||||
//
|
||||
// colCheck
|
||||
//
|
||||
this.colCheck.FalseValue = "F";
|
||||
this.colCheck.FillWeight = 34.79187F;
|
||||
this.colCheck.HeaderText = "□";
|
||||
this.colCheck.IndeterminateValue = "F";
|
||||
this.colCheck.Name = "colCheck";
|
||||
this.colCheck.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colCheck.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.colCheck.TrueValue = "T";
|
||||
this.colCheck.Width = 27;
|
||||
//
|
||||
// search_tag
|
||||
//
|
||||
this.search_tag.FillWeight = 185.6383F;
|
||||
this.search_tag.HeaderText = "검색태그";
|
||||
this.search_tag.Name = "search_tag";
|
||||
this.search_tag.Width = 144;
|
||||
//
|
||||
// marc
|
||||
//
|
||||
this.marc.HeaderText = "마크";
|
||||
this.marc.Name = "marc";
|
||||
//
|
||||
// midx
|
||||
//
|
||||
this.midx.HeaderText = "midx";
|
||||
this.midx.Name = "midx";
|
||||
this.midx.Visible = false;
|
||||
//
|
||||
// price
|
||||
//
|
||||
this.price.FillWeight = 86.15041F;
|
||||
this.price.HeaderText = "정가";
|
||||
this.price.Name = "price";
|
||||
this.price.ReadOnly = true;
|
||||
this.price.Width = 67;
|
||||
//
|
||||
// book_comp
|
||||
//
|
||||
this.book_comp.FillWeight = 125.7765F;
|
||||
this.book_comp.HeaderText = "출판사";
|
||||
this.book_comp.Name = "book_comp";
|
||||
this.book_comp.ReadOnly = true;
|
||||
this.book_comp.Width = 97;
|
||||
//
|
||||
// author
|
||||
//
|
||||
this.author.FillWeight = 128.5217F;
|
||||
this.author.HeaderText = "저자";
|
||||
this.author.Name = "author";
|
||||
this.author.ReadOnly = true;
|
||||
//
|
||||
// s_book_num2
|
||||
//
|
||||
this.s_book_num2.HeaderText = "총서번호";
|
||||
this.s_book_num2.Name = "s_book_num2";
|
||||
this.s_book_num2.Width = 59;
|
||||
//
|
||||
// s_book_name2
|
||||
//
|
||||
this.s_book_name2.HeaderText = "총서명";
|
||||
this.s_book_name2.Name = "s_book_name2";
|
||||
//
|
||||
// s_book_num1
|
||||
//
|
||||
this.s_book_num1.FillWeight = 76.24091F;
|
||||
this.s_book_num1.HeaderText = "총서번호";
|
||||
this.s_book_num1.Name = "s_book_num1";
|
||||
this.s_book_num1.ReadOnly = true;
|
||||
this.s_book_num1.Width = 59;
|
||||
//
|
||||
// s_book_name1
|
||||
//
|
||||
this.s_book_name1.FillWeight = 129.9903F;
|
||||
this.s_book_name1.HeaderText = "총서명";
|
||||
this.s_book_name1.Name = "s_book_name1";
|
||||
this.s_book_name1.ReadOnly = true;
|
||||
this.s_book_name1.Width = 101;
|
||||
//
|
||||
// book_name
|
||||
//
|
||||
this.book_name.FillWeight = 291.9296F;
|
||||
this.book_name.HeaderText = "도서명";
|
||||
this.book_name.Name = "book_name";
|
||||
this.book_name.ReadOnly = true;
|
||||
this.book_name.Width = 226;
|
||||
//
|
||||
// ISBN
|
||||
//
|
||||
this.ISBN.HeaderText = "ISBN";
|
||||
this.ISBN.Name = "ISBN";
|
||||
this.ISBN.Visible = false;
|
||||
//
|
||||
// gu
|
||||
//
|
||||
this.gu.FillWeight = 71.64279F;
|
||||
this.gu.HeaderText = "구분";
|
||||
this.gu.Name = "gu";
|
||||
this.gu.ReadOnly = true;
|
||||
this.gu.Width = 56;
|
||||
//
|
||||
// prefix
|
||||
//
|
||||
dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.prefix.DefaultCellStyle = dataGridViewCellStyle7;
|
||||
this.prefix.FillWeight = 41.51828F;
|
||||
this.prefix.HeaderText = "F";
|
||||
this.prefix.Name = "prefix";
|
||||
this.prefix.ToolTipText = "049f";
|
||||
this.prefix.Width = 32;
|
||||
//
|
||||
// copy
|
||||
//
|
||||
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.copy.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.copy.FillWeight = 40.14827F;
|
||||
this.copy.HeaderText = "C";
|
||||
this.copy.Name = "copy";
|
||||
this.copy.ToolTipText = "049c";
|
||||
this.copy.Width = 31;
|
||||
//
|
||||
// volume
|
||||
//
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.volume.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.volume.FillWeight = 38.80909F;
|
||||
this.volume.HeaderText = "V";
|
||||
this.volume.Name = "volume";
|
||||
this.volume.ToolTipText = "049v";
|
||||
this.volume.Width = 30;
|
||||
//
|
||||
// author_code
|
||||
//
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.author_code.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.author_code.FillWeight = 77.02635F;
|
||||
this.author_code.HeaderText = "저자기호";
|
||||
this.author_code.Name = "author_code";
|
||||
this.author_code.Width = 60;
|
||||
//
|
||||
// class_code
|
||||
//
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.class_code.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.class_code.FillWeight = 76.41504F;
|
||||
this.class_code.HeaderText = "분류";
|
||||
this.class_code.Name = "class_code";
|
||||
this.class_code.Width = 59;
|
||||
//
|
||||
// reg_num
|
||||
//
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.reg_num.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.reg_num.FillWeight = 130.9363F;
|
||||
this.reg_num.HeaderText = "등록번호";
|
||||
this.reg_num.Name = "reg_num";
|
||||
this.reg_num.Width = 102;
|
||||
//
|
||||
// num
|
||||
//
|
||||
this.num.FillWeight = 64.46414F;
|
||||
this.num.HeaderText = "연번";
|
||||
this.num.Name = "num";
|
||||
this.num.ReadOnly = true;
|
||||
this.num.Width = 50;
|
||||
//
|
||||
// idx
|
||||
//
|
||||
this.idx.HeaderText = "idx";
|
||||
this.idx.Name = "idx";
|
||||
this.idx.ReadOnly = true;
|
||||
this.idx.Visible = false;
|
||||
//
|
||||
// Marc_Plan
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
@@ -1201,6 +1213,7 @@
|
||||
private System.Windows.Forms.TextBox tb_NumSize;
|
||||
private System.Windows.Forms.Label label24;
|
||||
private System.Windows.Forms.Button btn_ApplyMacro;
|
||||
private System.Windows.Forms.Button btn_InputAutoCopy;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn idx;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn num;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn reg_num;
|
||||
|
||||
@@ -7,6 +7,7 @@ using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using UniMarc.마크;
|
||||
@@ -639,29 +640,43 @@ namespace WindowsFormsApp1.Mac
|
||||
|
||||
if (col == 2 || col == 5 || col == 6 || col == 7)
|
||||
{
|
||||
if (dataGridView1.Rows[row].Cells[2].Value == null) dataGridView1.Rows[row].Cells[2].Value = "";
|
||||
if (dataGridView1.Rows[row].Cells[5].Value == null) dataGridView1.Rows[row].Cells[5].Value = "";
|
||||
if (dataGridView1.Rows[row].Cells[6].Value == null) dataGridView1.Rows[row].Cells[6].Value = "";
|
||||
if (dataGridView1.Rows[row].Cells[7].Value == null) dataGridView1.Rows[row].Cells[7].Value = "";
|
||||
|
||||
string L = dataGridView1.Rows[row].Cells[2].Value.ToString();
|
||||
string V = dataGridView1.Rows[row].Cells[5].Value.ToString();
|
||||
string C = dataGridView1.Rows[row].Cells[6].Value.ToString();
|
||||
string F = dataGridView1.Rows[row].Cells[7].Value.ToString();
|
||||
|
||||
if (L != "")
|
||||
L = string.Format("▼l{0}", L);
|
||||
if (L != "")
|
||||
L = string.Format("▼l{0}", L);
|
||||
|
||||
if (V != "")
|
||||
V = string.Format("▼v{0}", V);
|
||||
if (V != "")
|
||||
V = string.Format("▼v{0}", V);
|
||||
|
||||
if (C != "")
|
||||
C = string.Format("▼c{0}", C);
|
||||
if (C != "")
|
||||
C = string.Format("▼c{0}", C);
|
||||
|
||||
if (F != "")
|
||||
F = string.Format("▼f{0}", F);
|
||||
if (F != "")
|
||||
F = string.Format("▼f{0}", F);
|
||||
|
||||
AddTag = string.Format("049\t \t{0}{1}{2}{3}▲", L, V, C, F);
|
||||
AddTag = string.Format("049\t \t{0}{1}{2}{3}▲", L, V, C, F);
|
||||
|
||||
TypeView = AddTagInMarc(AddTag, TypeView);
|
||||
if (L == "" && V == "" && C == "" && F == "") {
|
||||
TypeView = st.RemoveTagNumber(TypeView, "049");
|
||||
}
|
||||
else {
|
||||
TypeView = AddTagInMarc(AddTag, TypeView);
|
||||
}
|
||||
}
|
||||
if (col == 3 || col == 4 || col == 5)
|
||||
{
|
||||
if (dataGridView1.Rows[row].Cells[3].Value == null) dataGridView1.Rows[row].Cells[3].Value = "";
|
||||
if (dataGridView1.Rows[row].Cells[4].Value == null) dataGridView1.Rows[row].Cells[4].Value = "";
|
||||
if (dataGridView1.Rows[row].Cells[5].Value == null) dataGridView1.Rows[row].Cells[5].Value = "";
|
||||
|
||||
string A = dataGridView1.Rows[row].Cells[3].Value.ToString();
|
||||
string B = dataGridView1.Rows[row].Cells[4].Value.ToString();
|
||||
string V = dataGridView1.Rows[row].Cells[5].Value.ToString();
|
||||
@@ -679,7 +694,12 @@ namespace WindowsFormsApp1.Mac
|
||||
|
||||
AddTag = string.Format("090\t \t{0}{1}{2}▲", A, B, V);
|
||||
|
||||
TypeView = AddTagInMarc(AddTag, TypeView);
|
||||
if (A == "" && B == "" && V == "") {
|
||||
TypeView = st.RemoveTagNumber(TypeView, "090");
|
||||
}
|
||||
else {
|
||||
TypeView = AddTagInMarc(AddTag, TypeView);
|
||||
}
|
||||
}
|
||||
dataGridView1.Rows[row].Cells["marc"].Value = st.made_Ori_marc(TypeView);
|
||||
}
|
||||
@@ -983,5 +1003,45 @@ namespace WindowsFormsApp1.Mac
|
||||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void btn_InputAutoCopy_Click(object sender, EventArgs e)
|
||||
{
|
||||
List<string> Condition = new List<string>();
|
||||
for (int a = 0; a < dataGridView1.RowCount; a++)
|
||||
{
|
||||
string midx = dataGridView1.Rows[a].Cells["midx"].Value.ToString();
|
||||
string reg_num = Regex.Replace(dataGridView1.Rows[a].Cells["reg_num"].Value.ToString(), @"\d", "");
|
||||
|
||||
Condition.Add(midx + reg_num);
|
||||
}
|
||||
|
||||
List<string> Condi = Condition.Distinct().ToList();
|
||||
List<string[]> Count = new List<string[]>();
|
||||
foreach (string s in Condi)
|
||||
{
|
||||
string[] Temp = { s, "1" };
|
||||
Count.Add(Temp);
|
||||
}
|
||||
|
||||
int row = 0;
|
||||
foreach (string s in Condition)
|
||||
{
|
||||
for (int a = 0; a < Count.Count; a++)
|
||||
{
|
||||
if (s == Count[a][0])
|
||||
{
|
||||
int cout = Convert.ToInt32(Count[a][1]);
|
||||
|
||||
if (cout > 1)
|
||||
dataGridView1.Rows[row].Cells["copy"].Value = Count[a][1];
|
||||
|
||||
cout++;
|
||||
Count[a][1] = cout.ToString();
|
||||
}
|
||||
}
|
||||
row++;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user