=====* UniMarc [0.0179] 버전 업데이트 내용 *=====

** ERP 작업 전면 중단 (마크우선) **

1. 복본 조사
도서관 새창 띄우기 기능 추가

2. 마크 편집
마크 저장시 작성된 마크 내의 ISBN과 사전에 설정된 ISBN을 대조하여 저장여부를 결정하게 추가

3. 마크 정리
별치에 따라 색 부여기능 추가
띠라벨 개수 파악기능 추가
장비작업 엑셀가능 추가

4. 마크 정리 - 마크 편집
글자 뒷 배경이 회색으로 표출되었으나 투명하게 변경

5. 추가된 폼
분류기호 띠라벨 갯수파악
장비작업 엑셀 생성
This commit is contained in:
SeungHo Yang
2022-11-21 10:27:29 +09:00
parent 3731dfa211
commit 412ab3d7ad
33 changed files with 1261 additions and 227 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -294,6 +294,18 @@
<Compile Include="마크\Marc_mkList.Designer.cs"> <Compile Include="마크\Marc_mkList.Designer.cs">
<DependentUpon>Marc_mkList.cs</DependentUpon> <DependentUpon>Marc_mkList.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="마크\Marc_Plan_ClassSymbol.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="마크\Marc_Plan_ClassSymbol.Designer.cs">
<DependentUpon>Marc_Plan_ClassSymbol.cs</DependentUpon>
</Compile>
<Compile Include="마크\Marc_Plan_GearExcel.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="마크\Marc_Plan_GearExcel.Designer.cs">
<DependentUpon>Marc_Plan_GearExcel.cs</DependentUpon>
</Compile>
<Compile Include="마크\Marc_Plan_PrintLabel.cs"> <Compile Include="마크\Marc_Plan_PrintLabel.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@@ -895,6 +907,12 @@
<EmbeddedResource Include="마크\Marc_mkList.resx"> <EmbeddedResource Include="마크\Marc_mkList.resx">
<DependentUpon>Marc_mkList.cs</DependentUpon> <DependentUpon>Marc_mkList.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="마크\Marc_Plan_ClassSymbol.resx">
<DependentUpon>Marc_Plan_ClassSymbol.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\Marc_Plan_GearExcel.resx">
<DependentUpon>Marc_Plan_GearExcel.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\Marc_Plan_PrintLabel.resx"> <EmbeddedResource Include="마크\Marc_Plan_PrintLabel.resx">
<DependentUpon>Marc_Plan_PrintLabel.cs</DependentUpon> <DependentUpon>Marc_Plan_PrintLabel.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>

View File

@@ -1 +1 @@
3fb08793bac57ff34de3ce1e6e1f8ebe38ee44e1 cefd76527107e25f6397322733756fe6454cd5e0

View File

@@ -144,3 +144,5 @@ C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Help_008.resources C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Help_008.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.CD_LP_List.resources C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.CD_LP_List.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.AddMarc_FillBlank.resources C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.AddMarc_FillBlank.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Marc_Plan_ClassSymbol.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Marc_Plan_GearExcel.resources

View File

@@ -58,6 +58,7 @@
this.chk_spChar = new System.Windows.Forms.CheckBox(); this.chk_spChar = new System.Windows.Forms.CheckBox();
this.panel5 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel();
this.webBrowser1 = new System.Windows.Forms.WebBrowser(); this.webBrowser1 = new System.Windows.Forms.WebBrowser();
this.btn_SiteDenote = new System.Windows.Forms.Button();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.SearchCount)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.SearchCount)).BeginInit();
this.panel2.SuspendLayout(); this.panel2.SuspendLayout();
@@ -187,6 +188,7 @@
// panel2 // panel2
// //
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel2.Controls.Add(this.btn_SiteDenote);
this.panel2.Controls.Add(this.lbl_PW); this.panel2.Controls.Add(this.lbl_PW);
this.panel2.Controls.Add(this.lbl_ID); this.panel2.Controls.Add(this.lbl_ID);
this.panel2.Controls.Add(this.SearchCount); this.panel2.Controls.Add(this.SearchCount);
@@ -382,6 +384,16 @@
this.webBrowser1.Size = new System.Drawing.Size(656, 738); this.webBrowser1.Size = new System.Drawing.Size(656, 738);
this.webBrowser1.TabIndex = 2; this.webBrowser1.TabIndex = 2;
// //
// btn_SiteDenote
//
this.btn_SiteDenote.Location = new System.Drawing.Point(322, 5);
this.btn_SiteDenote.Name = "btn_SiteDenote";
this.btn_SiteDenote.Size = new System.Drawing.Size(77, 23);
this.btn_SiteDenote.TabIndex = 4;
this.btn_SiteDenote.Text = "사이트 표출";
this.btn_SiteDenote.UseVisualStyleBackColor = true;
this.btn_SiteDenote.Click += new System.EventHandler(this.btn_SiteDenote_Click);
//
// Check_copy // Check_copy
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
@@ -439,5 +451,6 @@
private System.Windows.Forms.DataGridViewTextBoxColumn Count; private System.Windows.Forms.DataGridViewTextBoxColumn Count;
public System.Windows.Forms.Label lbl_PW; public System.Windows.Forms.Label lbl_PW;
public System.Windows.Forms.Label lbl_ID; public System.Windows.Forms.Label lbl_ID;
private System.Windows.Forms.Button btn_SiteDenote;
} }
} }

View File

@@ -1486,5 +1486,10 @@ namespace WindowsFormsApp1.Mac
webBrowser1.Stop(); webBrowser1.Stop();
webBrowser1.DocumentCompleted -= this.webBrowser1_DocumentCompleted; webBrowser1.DocumentCompleted -= this.webBrowser1_DocumentCompleted;
} }
private void btn_SiteDenote_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start(URL);
}
} }
} }

View File

@@ -473,6 +473,7 @@ namespace ExcelTest
} }
string table_name = "Marc"; string table_name = "Marc";
string BaseText = richTextBox1.Text; string BaseText = richTextBox1.Text;
string lblisbn = lbl_ISBN.Text.Replace("[", "").Replace("]", "");
if (!BaseText.EndsWith("\n")) if (!BaseText.EndsWith("\n"))
BaseText += "\n"; BaseText += "\n";
@@ -481,6 +482,11 @@ namespace ExcelTest
MessageBox.Show("입력된 마크의 상태를 확인해주세요."); MessageBox.Show("입력된 마크의 상태를 확인해주세요.");
return; return;
} }
if (BaseText.IndexOf(lblisbn) < 0) {
MessageBox.Show("ISBN 상태를 확인해주세요.");
return;
}
string tag056 = Tag056(); string tag056 = Tag056();
string[] grid_data = { string[] grid_data = {
List_Book.Rows[SaveRowIdx].Cells["ISBN13"].Value.ToString(), List_Book.Rows[SaveRowIdx].Cells["ISBN13"].Value.ToString(),

View File

@@ -28,14 +28,14 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Marc_Plan)); 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.panel1 = new System.Windows.Forms.Panel();
this.panel4 = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel();
this.btn_ApplyMacro = new System.Windows.Forms.Button(); this.btn_ApplyMacro = new System.Windows.Forms.Button();
@@ -59,9 +59,35 @@
this.label2 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
this.dataGridView1 = new System.Windows.Forms.DataGridView(); 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.checkBox1 = new System.Windows.Forms.CheckBox();
this.panel2 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel();
this.panel5 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel();
this.btn_ClassSymbol = new System.Windows.Forms.Button();
this.btn_InputColorFix = new System.Windows.Forms.Button();
this.btn_InputAutoCopy = new System.Windows.Forms.Button(); this.btn_InputAutoCopy = new System.Windows.Forms.Button();
this.chkBox_AllowDrop = new System.Windows.Forms.CheckBox(); this.chkBox_AllowDrop = new System.Windows.Forms.CheckBox();
this.panel6 = new System.Windows.Forms.Panel(); this.panel6 = new System.Windows.Forms.Panel();
@@ -107,30 +133,7 @@
this.panel7 = new System.Windows.Forms.Panel(); this.panel7 = new System.Windows.Forms.Panel();
this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printDocument1 = new System.Drawing.Printing.PrintDocument();
this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
this.WorkFix = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.btn_GearExcel = new System.Windows.Forms.Button();
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.panel1.SuspendLayout();
this.panel4.SuspendLayout(); this.panel4.SuspendLayout();
this.panel3.SuspendLayout(); this.panel3.SuspendLayout();
@@ -155,6 +158,7 @@
// panel4 // panel4
// //
this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel4.Controls.Add(this.btn_GearExcel);
this.panel4.Controls.Add(this.btn_ApplyMacro); this.panel4.Controls.Add(this.btn_ApplyMacro);
this.panel4.Controls.Add(this.btn_Save); this.panel4.Controls.Add(this.btn_Save);
this.panel4.Controls.Add(this.btn_Excel); this.panel4.Controls.Add(this.btn_Excel);
@@ -162,7 +166,7 @@
this.panel4.Controls.Add(this.btn_Output); this.panel4.Controls.Add(this.btn_Output);
this.panel4.Location = new System.Drawing.Point(402, 3); this.panel4.Location = new System.Drawing.Point(402, 3);
this.panel4.Name = "panel4"; this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(457, 29); this.panel4.Size = new System.Drawing.Size(537, 29);
this.panel4.TabIndex = 9; this.panel4.TabIndex = 9;
// //
// btn_ApplyMacro // btn_ApplyMacro
@@ -216,7 +220,7 @@
// //
// btn_Close // btn_Close
// //
this.btn_Close.Location = new System.Drawing.Point(919, 6); this.btn_Close.Location = new System.Drawing.Point(1104, 6);
this.btn_Close.Name = "btn_Close"; this.btn_Close.Name = "btn_Close";
this.btn_Close.Size = new System.Drawing.Size(86, 23); this.btn_Close.Size = new System.Drawing.Size(86, 23);
this.btn_Close.TabIndex = 5; this.btn_Close.TabIndex = 5;
@@ -370,14 +374,14 @@
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control; this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control;
this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.AppWorkspace; dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.AppWorkspace;
dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); dataGridViewCellStyle15.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle15;
this.dataGridView1.ColumnHeadersHeight = 25; this.dataGridView1.ColumnHeadersHeight = 25;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
@@ -418,6 +422,190 @@
this.dataGridView1.SortCompare += new System.Windows.Forms.DataGridViewSortCompareEventHandler(this.dataGridView1_SortCompare); this.dataGridView1.SortCompare += new System.Windows.Forms.DataGridViewSortCompareEventHandler(this.dataGridView1_SortCompare);
this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown); this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
// //
// idx
//
this.idx.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
//
dataGridViewCellStyle16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.reg_num.DefaultCellStyle = dataGridViewCellStyle16;
this.reg_num.FillWeight = 130.9363F;
this.reg_num.HeaderText = "등록번호";
this.reg_num.Name = "reg_num";
this.reg_num.Width = 102;
//
// class_code
//
dataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.class_code.DefaultCellStyle = dataGridViewCellStyle17;
this.class_code.FillWeight = 76.41504F;
this.class_code.HeaderText = "분류";
this.class_code.Name = "class_code";
this.class_code.Width = 59;
//
// author_code
//
dataGridViewCellStyle18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.author_code.DefaultCellStyle = dataGridViewCellStyle18;
this.author_code.FillWeight = 77.02635F;
this.author_code.HeaderText = "저자기호";
this.author_code.Name = "author_code";
this.author_code.Width = 60;
//
// volume
//
dataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.volume.DefaultCellStyle = dataGridViewCellStyle19;
this.volume.FillWeight = 38.80909F;
this.volume.HeaderText = "V";
this.volume.Name = "volume";
this.volume.ToolTipText = "049v";
this.volume.Width = 30;
//
// copy
//
dataGridViewCellStyle20.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.copy.DefaultCellStyle = dataGridViewCellStyle20;
this.copy.FillWeight = 40.14827F;
this.copy.HeaderText = "C";
this.copy.Name = "copy";
this.copy.ToolTipText = "049c";
this.copy.Width = 31;
//
// prefix
//
dataGridViewCellStyle21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.prefix.DefaultCellStyle = dataGridViewCellStyle21;
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 // checkBox1
// //
this.checkBox1.AutoSize = true; this.checkBox1.AutoSize = true;
@@ -447,6 +635,8 @@
// //
// panel5 // panel5
// //
this.panel5.Controls.Add(this.btn_ClassSymbol);
this.panel5.Controls.Add(this.btn_InputColorFix);
this.panel5.Controls.Add(this.btn_InputAutoCopy); this.panel5.Controls.Add(this.btn_InputAutoCopy);
this.panel5.Controls.Add(this.chkBox_AllowDrop); this.panel5.Controls.Add(this.chkBox_AllowDrop);
this.panel5.Controls.Add(this.panel3); this.panel5.Controls.Add(this.panel3);
@@ -457,6 +647,26 @@
this.panel5.Size = new System.Drawing.Size(1661, 35); this.panel5.Size = new System.Drawing.Size(1661, 35);
this.panel5.TabIndex = 9; this.panel5.TabIndex = 9;
// //
// btn_ClassSymbol
//
this.btn_ClassSymbol.Location = new System.Drawing.Point(1367, 7);
this.btn_ClassSymbol.Name = "btn_ClassSymbol";
this.btn_ClassSymbol.Size = new System.Drawing.Size(89, 23);
this.btn_ClassSymbol.TabIndex = 13;
this.btn_ClassSymbol.Text = "등록번호 확인";
this.btn_ClassSymbol.UseVisualStyleBackColor = true;
this.btn_ClassSymbol.Click += new System.EventHandler(this.btn_ClassSymbol_Click);
//
// btn_InputColorFix
//
this.btn_InputColorFix.Location = new System.Drawing.Point(1272, 7);
this.btn_InputColorFix.Name = "btn_InputColorFix";
this.btn_InputColorFix.Size = new System.Drawing.Size(89, 23);
this.btn_InputColorFix.TabIndex = 12;
this.btn_InputColorFix.Text = "별치 색부여";
this.btn_InputColorFix.UseVisualStyleBackColor = true;
this.btn_InputColorFix.Click += new System.EventHandler(this.btn_InputColorFix_Click);
//
// btn_InputAutoCopy // btn_InputAutoCopy
// //
this.btn_InputAutoCopy.Location = new System.Drawing.Point(1177, 7); this.btn_InputAutoCopy.Location = new System.Drawing.Point(1177, 7);
@@ -928,189 +1138,15 @@
this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Name = "printPreviewDialog1";
this.printPreviewDialog1.Visible = false; this.printPreviewDialog1.Visible = false;
// //
// WorkFix // btn_GearExcel
// //
this.WorkFix.HeaderText = "별치 작업용 열"; this.btn_GearExcel.Location = new System.Drawing.Point(455, 2);
this.WorkFix.Name = "WorkFix"; this.btn_GearExcel.Name = "btn_GearExcel";
// this.btn_GearExcel.Size = new System.Drawing.Size(77, 23);
// WorkCopy this.btn_GearExcel.TabIndex = 12;
// this.btn_GearExcel.Text = "장비용 엑셀";
this.WorkCopy.HeaderText = "복본 작업용 열"; this.btn_GearExcel.UseVisualStyleBackColor = true;
this.WorkCopy.Name = "WorkCopy"; this.btn_GearExcel.Click += new System.EventHandler(this.btn_GearExcel_Click);
//
// 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 // Marc_Plan
// //
@@ -1238,5 +1274,8 @@
private System.Windows.Forms.DataGridViewCheckBoxColumn colCheck; private System.Windows.Forms.DataGridViewCheckBoxColumn colCheck;
private System.Windows.Forms.DataGridViewTextBoxColumn WorkCopy; private System.Windows.Forms.DataGridViewTextBoxColumn WorkCopy;
private System.Windows.Forms.DataGridViewTextBoxColumn WorkFix; private System.Windows.Forms.DataGridViewTextBoxColumn WorkFix;
private System.Windows.Forms.Button btn_InputColorFix;
private System.Windows.Forms.Button btn_ClassSymbol;
private System.Windows.Forms.Button btn_GearExcel;
} }
} }

View File

@@ -6,6 +6,7 @@ using System.Data;
using System.Drawing; using System.Drawing;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Net.Mime;
using System.Text; using System.Text;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.Threading.Tasks; using System.Threading.Tasks;
@@ -1043,5 +1044,130 @@ namespace WindowsFormsApp1.Mac
} }
} }
private void btn_InputColorFix_Click(object sender, EventArgs e)
{
string[,] CheckList = {
{ "부모", "0" }, { "육아", "0" }, { "유아교육", "0" }, { "유아 육아", "0" },
{ "어린이", "1" }, { "초등", "1" },
{ "유아", "2" },
{ "청소년", "3" }, { "고등학", "3" }, { "고등학", "3" },
{ "전집", "4" }, { "컴퓨터", "4" }, { "종교", "4" }, { "문학론", "4" },
{ "소설", "5" }
};
Random r = new Random();
int col = r.Next(10, 17);
Color[] ColorList = { Color.Gray, Color.Orange, Color.Pink, Color.LightGreen, Color.MediumPurple, Color.LightSkyBlue };
for (int a = 0; a < dataGridView1.RowCount; a++)
{
string WorkFix = dataGridView1.Rows[a].Cells["WorkFix"].Value.ToString();
for (int b = 0; b < CheckList.GetLength(0); b++)
{
if (WorkFix.IndexOf(CheckList[b, 0]) > -1) {
dataGridView1.Rows[a].Cells[col].Style.BackColor = ColorList[Convert.ToInt32(CheckList[b, 1])];
break;
}
}
}
}
private void btn_ClassSymbol_Click(object sender, EventArgs e)
{
Marc_Plan_ClassSymbol mpc = new Marc_Plan_ClassSymbol(this);
int[] count100 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
int[] count10 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
for (int a = 0; a < dataGridView1.Rows.Count; a++)
{
if (dataGridView1.Rows[a].Cells["class_code"].Value == null && dataGridView1.Rows[a].Cells["class_code"].Value.ToString() == "")
continue;
string temp = dataGridView1.Rows[a].Cells["class_code"].Value.ToString();
char number = temp[0];
count100 = ReturnCount(count100, number);
number = temp[1];
count10 = ReturnCount(count10, number);
}
string[] Grid = { "", "", "", "" };
for (int a = 0; a < count10.Length + 1; a++)
{
if (a == 10)
{
Grid[0] = "총합";
Grid[1] = TotalCount(count100).ToString();
Grid[2] = "총합";
Grid[3] = TotalCount(count10).ToString();
}
else
{
Grid[0] = String.Format("{0}00", a);
Grid[1] = count100[a].ToString();
Grid[2] = String.Format("{0}0", a);
Grid[3] = count10[a].ToString();
}
mpc.dataGridView1.Rows.Add(Grid);
}
mpc.Show();
}
int TotalCount(int[] Count)
{
int result = 0;
foreach (int a in Count)
{
result += a;
}
return result;
}
int[] ReturnCount(int[] Count, char Target)
{
switch (Target)
{
case '0': Count[0]++; break;
case '1': Count[1]++; break;
case '2': Count[2]++; break;
case '3': Count[3]++; break;
case '4': Count[4]++; break;
case '5': Count[5]++; break;
case '6': Count[6]++; break;
case '7': Count[7]++; break;
case '8': Count[8]++; break;
case '9': Count[9]++; break;
}
return Count;
}
private void btn_GearExcel_Click(object sender, EventArgs e)
{
if (dataGridView1.RowCount <= 0) return;
Excel_text et = new Excel_text();
Marc_Plan_GearExcel gear = new Marc_Plan_GearExcel();
string[,] Content = new string[dataGridView1.RowCount, 6];
for (int a = 0; a < dataGridView1.RowCount; a++)
{
Content[a, 0] = dataGridView1.Rows[a].Cells["num"].Value.ToString();
Content[a, 1] = dataGridView1.Rows[a].Cells["reg_num"].Value.ToString();
Content[a, 2] = dataGridView1.Rows[a].Cells["book_name"].Value.ToString();
Content[a, 3] = dataGridView1.Rows[a].Cells["author"].Value.ToString();
Content[a, 4] = dataGridView1.Rows[a].Cells["book_comp"].Value.ToString();
Content[a, 5] = "";
}
gear.Content = Content;
gear.ListName = btn_Select_List.Text;
gear.Show();
// et.Mk_Excel(Title, Content);
}
} }
} }

View File

@@ -0,0 +1,130 @@
namespace UniMarc.
{
partial class Marc_Plan_ClassSymbol
{
/// <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()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.num100 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Count100 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.num10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Count10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
// dataGridView1
//
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.num100,
this.Count100,
this.num10,
this.Count10});
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle6.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle6;
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowHeadersVisible = false;
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(403, 313);
this.dataGridView1.TabIndex = 0;
//
// num100
//
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
dataGridViewCellStyle2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.num100.DefaultCellStyle = dataGridViewCellStyle2;
this.num100.HeaderText = "100단위";
this.num100.Name = "num100";
//
// Count100
//
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
dataGridViewCellStyle3.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.Count100.DefaultCellStyle = dataGridViewCellStyle3;
this.Count100.HeaderText = "갯수";
this.Count100.Name = "Count100";
//
// num10
//
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
dataGridViewCellStyle4.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.num10.DefaultCellStyle = dataGridViewCellStyle4;
this.num10.HeaderText = "10단위";
this.num10.Name = "num10";
//
// Count10
//
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
dataGridViewCellStyle5.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.Count10.DefaultCellStyle = dataGridViewCellStyle5;
this.Count10.HeaderText = "갯수";
this.Count10.Name = "Count10";
//
// Marc_Plan_ClassSymbol
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(403, 313);
this.Controls.Add(this.dataGridView1);
this.Name = "Marc_Plan_ClassSymbol";
this.Text = "분류번호 확인";
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
}
#endregion
public System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.DataGridViewTextBoxColumn num100;
private System.Windows.Forms.DataGridViewTextBoxColumn Count100;
private System.Windows.Forms.DataGridViewTextBoxColumn num10;
private System.Windows.Forms.DataGridViewTextBoxColumn Count10;
}
}

View File

@@ -0,0 +1,23 @@
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;
using WindowsFormsApp1.Mac;
namespace UniMarc.
{
public partial class Marc_Plan_ClassSymbol : Form
{
Marc_Plan mp;
public Marc_Plan_ClassSymbol(Marc_Plan _mp)
{
InitializeComponent();
mp = _mp;
}
}
}

View File

@@ -0,0 +1,132 @@
<?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>
<metadata name="num100.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Count100.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="num10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Count10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

View File

@@ -0,0 +1,218 @@
namespace UniMarc.
{
partial class Marc_Plan_GearExcel
{
/// <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.panel1 = new System.Windows.Forms.Panel();
this.btn_Close = new System.Windows.Forms.Button();
this.btn_Search = new System.Windows.Forms.Button();
this.tb_SearchBox = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.panel2 = new System.Windows.Forms.Panel();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.panel3 = new System.Windows.Forms.Panel();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.sangho = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.man = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.mentel = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.btn_MakeExcel = new System.Windows.Forms.Button();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.panel3.SuspendLayout();
this.SuspendLayout();
//
// panel1
//
this.panel1.Controls.Add(this.btn_Close);
this.panel1.Controls.Add(this.btn_MakeExcel);
this.panel1.Controls.Add(this.btn_Search);
this.panel1.Controls.Add(this.tb_SearchBox);
this.panel1.Controls.Add(this.label1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(612, 31);
this.panel1.TabIndex = 0;
//
// btn_Close
//
this.btn_Close.Location = new System.Drawing.Point(525, 4);
this.btn_Close.Name = "btn_Close";
this.btn_Close.Size = new System.Drawing.Size(75, 23);
this.btn_Close.TabIndex = 2;
this.btn_Close.Text = "닫 기";
this.btn_Close.UseVisualStyleBackColor = true;
this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click);
//
// btn_Search
//
this.btn_Search.Location = new System.Drawing.Point(267, 4);
this.btn_Search.Name = "btn_Search";
this.btn_Search.Size = new System.Drawing.Size(75, 23);
this.btn_Search.TabIndex = 2;
this.btn_Search.Text = "검 색";
this.btn_Search.UseVisualStyleBackColor = true;
this.btn_Search.Click += new System.EventHandler(this.btn_Search_Click);
//
// tb_SearchBox
//
this.tb_SearchBox.BackColor = System.Drawing.SystemColors.Info;
this.tb_SearchBox.Location = new System.Drawing.Point(85, 5);
this.tb_SearchBox.Name = "tb_SearchBox";
this.tb_SearchBox.Size = new System.Drawing.Size(176, 21);
this.tb_SearchBox.TabIndex = 1;
this.tb_SearchBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_SearchBox_KeyDown);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(13, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(69, 12);
this.label1.TabIndex = 0;
this.label1.Text = "납품처 검색";
//
// panel2
//
this.panel2.Controls.Add(this.dataGridView1);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(0, 31);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(612, 447);
this.panel2.TabIndex = 1;
//
// dataGridView1
//
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToDeleteRows = false;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.idx,
this.sangho,
this.man,
this.mentel});
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(612, 447);
this.dataGridView1.TabIndex = 0;
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
//
// panel3
//
this.panel3.Controls.Add(this.richTextBox1);
this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel3.Location = new System.Drawing.Point(0, 478);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(612, 221);
this.panel3.TabIndex = 1;
//
// richTextBox1
//
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBox1.Location = new System.Drawing.Point(0, 0);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(612, 221);
this.richTextBox1.TabIndex = 0;
this.richTextBox1.Text = "";
//
// idx
//
this.idx.HeaderText = "idx";
this.idx.Name = "idx";
this.idx.Visible = false;
//
// sangho
//
this.sangho.HeaderText = "상호명";
this.sangho.Name = "sangho";
this.sangho.Width = 250;
//
// man
//
this.man.HeaderText = "담당자";
this.man.Name = "man";
this.man.Width = 150;
//
// mentel
//
this.mentel.HeaderText = "연락처";
this.mentel.Name = "mentel";
this.mentel.Width = 150;
//
// btn_MakeExcel
//
this.btn_MakeExcel.Location = new System.Drawing.Point(348, 4);
this.btn_MakeExcel.Name = "btn_MakeExcel";
this.btn_MakeExcel.Size = new System.Drawing.Size(75, 23);
this.btn_MakeExcel.TabIndex = 2;
this.btn_MakeExcel.Text = "엑셀 생성";
this.btn_MakeExcel.UseVisualStyleBackColor = true;
this.btn_MakeExcel.Click += new System.EventHandler(this.btn_MakeExcel_Click);
//
// Marc_Plan_GearExcel
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(612, 699);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel3);
this.Controls.Add(this.panel1);
this.Name = "Marc_Plan_GearExcel";
this.Text = "장비용 엑셀";
this.Load += new System.EventHandler(this.Marc_Plan_GearExcel_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.panel3.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.RichTextBox richTextBox1;
private System.Windows.Forms.Button btn_Close;
private System.Windows.Forms.Button btn_Search;
private System.Windows.Forms.TextBox tb_SearchBox;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.DataGridViewTextBoxColumn idx;
private System.Windows.Forms.DataGridViewTextBoxColumn sangho;
private System.Windows.Forms.DataGridViewTextBoxColumn man;
private System.Windows.Forms.DataGridViewTextBoxColumn mentel;
private System.Windows.Forms.Button btn_MakeExcel;
}
}

View File

@@ -0,0 +1,171 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WindowsFormsApp1;
using Excel = Microsoft.Office.Interop.Excel;
namespace UniMarc.
{
public partial class Marc_Plan_GearExcel : Form
{
Helper_DB db= new Helper_DB();
public string[,] Content;
public string ListName;
public Marc_Plan_GearExcel()
{
InitializeComponent();
}
private void Marc_Plan_GearExcel_Load(object sender, EventArgs e)
{
db.DBcon();
}
private void btn_Search_Click(object sender, EventArgs e)
{
string SearchText = tb_SearchBox.Text;
string Area = "`idx`, `c_sangho`, `c_man`, `c_mantel`";
string Table = "Client";
string CMD = string.Format("SELECT {0} FROM {1} WHERE `c_sangho` LIKE \"%{2}%\";", Area, Table, SearchText);
string[] ARY = db.DB_Send_CMD_Search(CMD).Split('|');
string[] Grid = { "", "", "", "" };
for (int a = 0; a < ARY.Length; a++)
{
if (a % 4 == 0) Grid[0] = ARY[a];
if (a % 4 == 1) Grid[1] = ARY[a];
if (a % 4 == 2) Grid[2] = ARY[a];
if (a % 4 == 3) {
Grid[3] = ARY[a];
dataGridView1.Rows.Add(Grid);
}
}
}
private void tb_SearchBox_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();
}
private void btn_MakeExcel_Click(object sender, EventArgs e)
{
string[] Title = {
"연번", "등록번호", "도서명", "저자", "출판사", "비고" };
string etc = richTextBox1.Text;
Mk_Excel(Title, Content, etc);
}
#region MakeExcel SUB
/// <summary>
/// 엑셀 내보내기
/// </summary>
/// <param name="data">사용할 데이터</param>
public void Mk_Excel(string[] title, string[,] data, string etc)
{
try
{
Excel.Application app = new Excel.Application();
app.Visible = true; // true 일때 엑셀이 작업되는 내용이 보임
app.Interactive = false; // false 일때 유저의 조작에 방해받지않음.
Excel._Workbook wb = (Excel._Workbook)(app.Workbooks.Add(Missing.Value)); // 워크북 생성
Excel._Worksheet ws = (Excel._Worksheet)app.ActiveSheet; // 시트 가져옴
Excel.PageSetup ps = ws.PageSetup;
Excel.Range rng = null; // 셀 처리 변수
rng = ws.Range["A1", Excel_Sub(title) + "1"];
rng.MergeCells = true;
rng.Value2 = ListName;
rng.Font.Size = 20;
rng.HorizontalAlignment = Excel.XlHAlign.xlHAlignCenter;
rng = ws.Range["A2", Excel_Sub(title) + "2"];
rng.MergeCells = true;
rng.Value2 = etc;
rng.RowHeight = 24;
rng.HorizontalAlignment = Excel.XlHAlign.xlHAlignCenter;
rng = ws.Range["A3", Excel_Sub(title) + "3"];
rng.Font.Color = Color.Blue;
rng.HorizontalAlignment = 3;
rng.Value2 = title;
int length = data.GetLength(0) + 1;
rng = ws.Range["A4", Excel_Sub(title) + length];
rng.Value2 = data;
ws.Columns.AutoFit();
app.Interactive = true;
app.Quit();
}
catch (Exception e)
{
MessageBox.Show(e.ToString());
}
}
#region MK_Excel_Sub
private string Excel_Sub(string[] data)
{
string[] length = {
"1", "2", "3", "4", "5",
"6", "7", "8", "9", "10",
"11", "12", "13", "14", "15",
"16", "17", "18", "19", "20",
"21", "22", "23", "24", "25", "26"
};
string[] Alpha = {
"A", "B", "C", "D", "E",
"F", "G", "H", "I", "J",
"K", "L", "M", "N", "O",
"P", "Q", "R", "S", "T",
"U", "V", "W", "X", "Y", "Z"
};
string count = data.Length.ToString();
string res = string.Empty;
for (int a = 0; a < length.Length; a++)
{
if (length[a] == count)
{
res = Alpha[a];
}
}
return res;
}
#endregion
#endregion
private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
{
if (e.RowIndex < 0)
return;
string idx = dataGridView1.Rows[e.RowIndex].Cells["idx"].Value.ToString();
string cmd = string.Format("SELECT `c_etc` FROM `Client` WHERE `idx` = {0};", idx);
richTextBox1.Text = db.DB_Send_CMD_Search(cmd).Replace("|", "");
}
}
}

View File

@@ -0,0 +1,144 @@
<?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>
<metadata name="idx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="sangho.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="man.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="mentel.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="idx.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="sangho.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="man.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="mentel.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

View File

@@ -629,12 +629,13 @@ namespace UniMarc.마크
this.richTextBox1.AcceptsTab = true; this.richTextBox1.AcceptsTab = true;
this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBox1.Font = new System.Drawing.Font("굴림체", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.richTextBox1.Font = new System.Drawing.Font("굴림체", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.richTextBox1.Location = new System.Drawing.Point(0, 0); this.richTextBox1.Location = new System.Drawing.Point(0, 0);
this.richTextBox1.Name = "richTextBox1"; this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(838, 456); this.richTextBox1.Size = new System.Drawing.Size(838, 456);
this.richTextBox1.TabIndex = 0; this.richTextBox1.TabIndex = 0;
this.richTextBox1.Text = ""; this.richTextBox1.Text = "ㅇㅁㄴ먄륨\'ㄴ륨\nㅔㄴ륨레ㅏㅠㅁㄴ\n;라ㅠㅁㄴ;라뮨라;뮨리ㅏㅓ뮨라ㅣ뮨라ㅣㅁ뉾ㄴㄻㄴㄹ\nㅁㄴ ㄹ\nㅁ\nㄴㄻㄴㄻㄴㄻㄴㄻㄴㄻㄴㄻㄴㄻ\nㄴㄻㄴㄻㄴㅅㅎ 무에ㅐㅎ ㅜ" +
"네후 ㅈㄷ\\ㅈㄷ\nㅅㅎㅈㅇㅎㄴㅇㅎ모로\n";
this.richTextBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.richTextBox1_KeyDown); this.richTextBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.richTextBox1_KeyDown);
// //
// panel2 // panel2

View File

@@ -70,6 +70,9 @@ namespace UniMarc.마크
tb_num.Text = Marc[2]; tb_num.Text = Marc[2];
idx = Marc[3]; idx = Marc[3];
richTextBox1.Select(0, richTextBox1.Text.Length);
richTextBox1.SelectionBackColor = Color.Transparent;
input_picture(Marc[4]); input_picture(Marc[4]);
SetHistory(); SetHistory();

View File

@@ -158,7 +158,10 @@ namespace UniMarc.마크
insert_marc_data[14] = marc.List_Book.Rows[row[a]].Cells["db_marc"].Value.ToString(); insert_marc_data[14] = marc.List_Book.Rows[row[a]].Cells["db_marc"].Value.ToString();
insert_marc_data[15] = marc.List_Book.Rows[row[a]].Cells["url"].Value.ToString(); insert_marc_data[15] = marc.List_Book.Rows[row[a]].Cells["url"].Value.ToString();
insert_marc_data[16] = addCount.ToString(); insert_marc_data[16] = addCount.ToString();
insert_marc_data[17] = num.ToString(); if (rb_basicNum.Checked)
insert_marc_data[17] = marc.List_Book.Rows[row[a]].Cells["num"].Value.ToString();
else
insert_marc_data[17] = num.ToString();
insert_marc_data[18] = outnum; insert_marc_data[18] = outnum;
insert_marc_data[19] = marc.List_Book.Rows[row[a]].Cells["marc_idx"].Value.ToString(); insert_marc_data[19] = marc.List_Book.Rows[row[a]].Cells["marc_idx"].Value.ToString();
insert_marc_data[20] = marc.List_Book.Rows[row[a]].Cells["SaveDate"].Value.ToString(); insert_marc_data[20] = marc.List_Book.Rows[row[a]].Cells["SaveDate"].Value.ToString();