=====* ISBN 조회 *=====

Yes24 - 바뀐 예스 양식에 따라 수정

=====* unimarc *=====
- 목록집계 -
ISBN 검수 작업 수정완료 - 활성화 시킴

- ISBN 조회 -
세트 분할 추가 - INSERT키 입력시 분할을 도와줄 폼이 표출됨. (Check_ISBN_Split.cs)

- 저자기호 -
이재철 / 장일세 / 커터샌본 / 국중저자기호 입력완료
사용자의 요구사항에 맞춰 필수입력값만 입력하면 저자기호가 반환됨.
ㄴ> 추후 저자기호가 빈 목록을 한꺼번에 저자기호를 입력해줄 폼 구상해야함. (소스 수정 가능성있음)
This commit is contained in:
SeungHo Yang
2021-09-03 18:21:34 +09:00
parent e82e75e2a0
commit 0deaacc70e
40 changed files with 2810 additions and 1419 deletions

3
.gitignore vendored
View File

@@ -17,4 +17,5 @@ unimarc/Factory_Client/
ISBN_Client/
Test_Project/
Test_HTML/
AuthorSymbol/
AuthorSymbol/
TestGrid/

Binary file not shown.

View File

@@ -226,49 +226,49 @@
// 물품등록ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "물품등록ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "물품등록";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 목록등록편의ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "목록등록편의ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "목록조회";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 목록집계ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "목록집계ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "목록집계";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 주문입력ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "주문입력ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "주문입력";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 매입ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "매입ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "입고작업";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 재고입력및조회ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "재고입력및조회ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "재고입력 및 조회";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 반품처리ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "반품처리ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "반품처리";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -287,14 +287,14 @@
// 송금내역조회ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "송금내역조회ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(154, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "송금 내역 조회";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 송금등록ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "송금등록ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(154, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "송금 등록";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -305,7 +305,7 @@
this.ToolStripMenuItem1,
this.ToolStripMenuItem});
this.ToolStripMenuItem.Name = "매입장부ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(154, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "매입";
//
// 매입집계ToolStripMenuItem
@@ -338,7 +338,7 @@
this.ToolStripMenuItem,
this.ToolStripMenuItem1});
this.ToolStripMenuItem.Name = "매출입력ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(154, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "매출";
//
// 매출입력ToolStripMenuItem1
@@ -372,7 +372,7 @@
// 파트타임관리ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "파트타임관리ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(154, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "파트타임 관리";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -528,28 +528,28 @@
// 마크수집ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "마크수집ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
this.ToolStripMenuItem.Text = "마크수집";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 전집관리ToolStripMenuItem1
//
this.ToolStripMenuItem1.Name = "전집관리ToolStripMenuItem1";
this.ToolStripMenuItem1.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem1.Size = new System.Drawing.Size(122, 22);
this.ToolStripMenuItem1.Text = "전집관리";
this.ToolStripMenuItem1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
//
// 검수ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "검수ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
this.ToolStripMenuItem.Text = "검수";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 저자기호ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "저자기호ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
this.ToolStripMenuItem.Text = "저자기호";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -565,14 +565,14 @@
// dLS조회ToolStripMenuItem
//
this.dLS조회ToolStripMenuItem.Name = "dLS조회ToolStripMenuItem";
this.dLS조회ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.dLS조회ToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
this.dLS조회ToolStripMenuItem.Text = "DLS 조회";
this.dLS조회ToolStripMenuItem.Click += new System.EventHandler(this.dLS조회ToolStripMenuItem_Click);
//
// dLS입력ToolStripMenuItem
//
this.dLS입력ToolStripMenuItem.Name = "dLS입력ToolStripMenuItem";
this.dLS입력ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.dLS입력ToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
this.dLS입력ToolStripMenuItem.Text = "DLS 입력";
this.dLS입력ToolStripMenuItem.Click += new System.EventHandler(this.dLS입력ToolStripMenuItem_Click_1);
//
@@ -589,21 +589,21 @@
// 서류작성ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "서류작성ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
this.ToolStripMenuItem.Text = "서류작성";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 마크통계ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "마크통계ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
this.ToolStripMenuItem.Text = "마크통계";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 장비관리ToolStripMenuItem1
//
this.ToolStripMenuItem1.Name = "장비관리ToolStripMenuItem1";
this.ToolStripMenuItem1.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem1.Size = new System.Drawing.Size(122, 22);
this.ToolStripMenuItem1.Text = "장비관리";
this.ToolStripMenuItem1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
//

View File

@@ -126,6 +126,12 @@
<Compile Include="마크\All_Book_manage_Edit.Designer.cs">
<DependentUpon>All_Book_manage_Edit.cs</DependentUpon>
</Compile>
<Compile Include="마크\Check_ISBN_Split.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="마크\Check_ISBN_Split.Designer.cs">
<DependentUpon>Check_ISBN_Split.cs</DependentUpon>
</Compile>
<Compile Include="마크\Check_ISBN_Sub.cs">
<SubType>Form</SubType>
</Compile>
@@ -169,11 +175,11 @@
<Compile Include="마크\Mac_List_Merge.Designer.cs">
<DependentUpon>Mac_List_Merge.cs</DependentUpon>
</Compile>
<Compile Include="마크\Mac_Preview.cs">
<Compile Include="마크\Marc_Preview.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="마크\Mac_Preview.Designer.cs">
<DependentUpon>Mac_Preview.cs</DependentUpon>
<Compile Include="마크\Marc_Preview.Designer.cs">
<DependentUpon>Marc_Preview.cs</DependentUpon>
</Compile>
<Compile Include="마크\Make_Document.cs">
<SubType>Form</SubType>
@@ -199,6 +205,7 @@
<Compile Include="마크\Search_Infor_Sub.Designer.cs">
<DependentUpon>Search_Infor_Sub.cs</DependentUpon>
</Compile>
<Compile Include="마크\Symbol_Sub.cs" />
<Compile Include="마크\Zoom_Picture.cs">
<SubType>Form</SubType>
</Compile>
@@ -657,6 +664,9 @@
<EmbeddedResource Include="마크\All_Book_manage_Edit.resx">
<DependentUpon>All_Book_manage_Edit.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\Check_ISBN_Split.resx">
<DependentUpon>Check_ISBN_Split.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\Check_ISBN_Sub.resx">
<DependentUpon>Check_ISBN_Sub.cs</DependentUpon>
</EmbeddedResource>
@@ -678,8 +688,8 @@
<EmbeddedResource Include="마크\Mac_List_Merge.resx">
<DependentUpon>Mac_List_Merge.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\Mac_Preview.resx">
<DependentUpon>Mac_Preview.cs</DependentUpon>
<EmbeddedResource Include="마크\Marc_Preview.resx">
<DependentUpon>Marc_Preview.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\Make_Document.resx">
<DependentUpon>Make_Document.cs</DependentUpon>

View File

@@ -1 +1 @@
8a4f9a29f0df4ec86b13dc91b01da745329b5adf
6d59fa7bec6f2ae03aa32507ae678637aa81eb21

View File

@@ -112,10 +112,11 @@ C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.exe
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.pdb
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Marc_memo.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Zoom_Picture.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Mac_Preview.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Check_ISBN_Yes24.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.csproj.AssemblyReference.cache
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.회계.Part_time.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.All_Book_manage_Add.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.All_Book_manage_Edit.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.All_Book_Detail.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Marc_Preview.resources
C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.Check_ISBN_Split.resources

View File

@@ -28,8 +28,8 @@
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = 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();
this.tb_clt = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
@@ -59,6 +59,9 @@
this.btn_chk = new System.Windows.Forms.Button();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.lbl_Count = new System.Windows.Forms.Label();
this.lbl_isbn = new System.Windows.Forms.Label();
this.btn_Save = new System.Windows.Forms.Button();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
@@ -84,6 +87,7 @@
// panel1
//
this.panel1.Controls.Add(this.btn_Close);
this.panel1.Controls.Add(this.btn_Save);
this.panel1.Controls.Add(this.btn_Lookup);
this.panel1.Controls.Add(this.cb_chk_stat);
this.panel1.Controls.Add(this.label4);
@@ -100,7 +104,7 @@
//
// btn_Close
//
this.btn_Close.Location = new System.Drawing.Point(742, 7);
this.btn_Close.Location = new System.Drawing.Point(842, 7);
this.btn_Close.Name = "btn_Close";
this.btn_Close.Size = new System.Drawing.Size(73, 23);
this.btn_Close.TabIndex = 3;
@@ -192,14 +196,14 @@
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToDeleteRows = false;
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle7.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle3.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.header,
this.num,
@@ -213,14 +217,14 @@
this.stat,
this.Column10,
this.date});
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle8.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle8;
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle4.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle4;
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
this.dataGridView1.Location = new System.Drawing.Point(4, 75);
this.dataGridView1.MultiSelect = false;
@@ -331,11 +335,41 @@
this.richTextBox1.TabIndex = 5;
this.richTextBox1.Text = "";
//
// lbl_Count
//
this.lbl_Count.AutoSize = true;
this.lbl_Count.Location = new System.Drawing.Point(513, 52);
this.lbl_Count.Name = "lbl_Count";
this.lbl_Count.Size = new System.Drawing.Size(59, 12);
this.lbl_Count.TabIndex = 6;
this.lbl_Count.Text = "수량 : 0/0";
//
// lbl_isbn
//
this.lbl_isbn.AutoSize = true;
this.lbl_isbn.Location = new System.Drawing.Point(387, 52);
this.lbl_isbn.Name = "lbl_isbn";
this.lbl_isbn.Size = new System.Drawing.Size(83, 12);
this.lbl_isbn.TabIndex = 6;
this.lbl_isbn.Text = "1234567890123";
//
// btn_Save
//
this.btn_Save.Location = new System.Drawing.Point(744, 7);
this.btn_Save.Name = "btn_Save";
this.btn_Save.Size = new System.Drawing.Size(73, 23);
this.btn_Save.TabIndex = 3;
this.btn_Save.Text = "저 장";
this.btn_Save.UseVisualStyleBackColor = true;
this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click);
//
// List_Chk_Work
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1514, 710);
this.Controls.Add(this.lbl_isbn);
this.Controls.Add(this.lbl_Count);
this.Controls.Add(this.richTextBox1);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.dataGridView1);
@@ -386,5 +420,8 @@
private System.Windows.Forms.DataGridViewTextBoxColumn stat;
private System.Windows.Forms.DataGridViewTextBoxColumn Column10;
private System.Windows.Forms.DataGridViewTextBoxColumn date;
private System.Windows.Forms.Label lbl_Count;
private System.Windows.Forms.Label lbl_isbn;
private System.Windows.Forms.Button btn_Save;
}
}

View File

@@ -52,52 +52,56 @@ namespace WindowsFormsApp1.Delivery
searchtable[0], searchdata[0], searchtable[1], searchdata[1]);
Made_Grid(dbdata);
}
public int gridcout = 0;
public int stack = 1;
private void btn_chk_Click(object sender, EventArgs e) // 이미지 따오는거 자료조사 및 수정필요
private void btn_chk_Click(object sender, EventArgs e)
{
for(int a = 0; a < dataGridView1.Rows.Count; a++)
lbl_isbn.Text = tb_ISBN.Text;
for (int a = 0; a < dataGridView1.Rows.Count; a++)
{
if (dataGridView1.Rows[a].Cells["stat"].Value.ToString() == "미검수")
{
gridcout = a;
break;
}
}
if(tb_ISBN.Text == dataGridView1.Rows[gridcout].Cells["isbn"].Value.ToString())
{
string tmpcount = dataGridView1.Rows[gridcout].Cells["vol"].Value.ToString();
int count = Convert.ToInt32(tmpcount);
if(count != stack)
{
MessageBox.Show(stack.ToString() + "/" + tmpcount + " 검수");
stack++;
}
else
{
dataGridView1.Rows[gridcout].Cells["date"].Value = DateTime.Now.ToString("G");
dataGridView1.Rows[gridcout].Cells["stat"].Value = "검수";
if (tb_ISBN.Text == dataGridView1.Rows[a].Cells["isbn"].Value.ToString()) {
int GridCount = Convert.ToInt32(dataGridView1.Rows[a].Cells["vol"].Value.ToString());
lbl_Count.Text = string.Format("수량 : {0}/{1}", stack, GridCount);
if (stack != GridCount) {
stack++;
}
else {
dataGridView1.Rows[a].Cells["date"].Value = DateTime.Now.ToString("G");
dataGridView1.Rows[a].Cells["stat"].Value = "검수";
string[] edit_col = { "chk_date", "stat" };
string[] edit_data = {dataGridView1.Rows[gridcout].Cells["date"].Value.ToString(),
dataGridView1.Rows[gridcout].Cells["stat"].Value.ToString()};
string[] search_col = { "list_name", "compidx", "header", "num", "book_name" };
string[] search_data = { data[0], data[1],
dataGridView1.Rows[gridcout].Cells["header"].Value.ToString(),
dataGridView1.Rows[gridcout].Cells["num"].Value.ToString(),
dataGridView1.Rows[gridcout].Cells["book_name"].Value.ToString() };
stack = 1;
tb_ISBN.Text = "";
db.More_Update("Obj_List_Book", edit_col, edit_data, search_col, search_data);
GridColorChange();
MessageBox.Show("검수완료");
GridColorChange();
stack = 1;
tb_ISBN.Text = "";
}
try
{
string isbn = dataGridView1.Rows[a].Cells["isbn"].Value.ToString();
Show_Image(isbn);
}
catch { }
}
}
/*
string text = textBox5.Text.Replace("\n", "");
pictureBox1.Image = WebImageView("http://image.aladin.co.kr/product/24077/64/letslook/K232639138_f.jpg");
textBox5.Text = "";
*/
}
private void Show_Image(string isbn)
{
string isbn3 = isbn.Substring(isbn.Length - 3, 3);
pictureBox1.ImageLocation = string.Format("http://image.kyobobook.co.kr/images/book/xlarge/{0}/x{1}.jpg", isbn3, isbn);
}
private void btn_Save_Click(object sender, EventArgs e)
{
for (int a = 0; a < dataGridView1.Rows.Count; a++)
{
string[] edit_col = { "chk_date", "stat" };
string[] edit_data = { dataGridView1.Rows[a].Cells["date"].Value.ToString(),
dataGridView1.Rows[a].Cells["stat"].Value.ToString() };
string[] search_col = { "list_name", "compidx", "header", "num", "book_name" };
string[] search_data = { data[0], data[1],
dataGridView1.Rows[a].Cells["header"].Value.ToString(),
dataGridView1.Rows[a].Cells["num"].Value.ToString(),
dataGridView1.Rows[a].Cells["book_name"].Value.ToString() };
db.More_Update("Obj_List_Book", edit_col, edit_data, search_col, search_data);
}
}
/// <summary>
/// 데이터그리드뷰 색상변경
@@ -135,25 +139,6 @@ namespace WindowsFormsApp1.Delivery
}
Made_Grid(dbdata);
}
/// <summary>
/// 받은 URL을 이미지값으로 변환해주는 함수.
/// </summary>
/// <param name="URL"></param>
/// <returns></returns>
private Bitmap WebImageView(string URL)
{
try
{
WebClient Downloader = new WebClient();
Stream ImageStream = Downloader.OpenRead(URL);
Bitmap DownloadImage = Bitmap.FromStream(ImageStream) as Bitmap;
return DownloadImage;
}
catch (Exception)
{
return null;
}
}
private void Made_Grid(String Value)
{
dataGridView1.Rows.Clear();
@@ -170,7 +155,7 @@ namespace WindowsFormsApp1.Delivery
for(int a = 0; a < db_data.Length; a++)
{
if (ea == 11) { grid[ea] = db_data[a]; dataGridView1.Rows.Add(grid); ea = 0; }
if (a%12==ea) { grid[ea] = db_data[a]; ea++; }
if (a % 12 == ea) { grid[ea] = db_data[a]; ea++; }
}
GridColorChange();
}
@@ -194,18 +179,16 @@ namespace WindowsFormsApp1.Delivery
}
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
Show_Image(dataGridView1.Rows[e.RowIndex].Cells["isbn"].Value.ToString());
grididx = e.RowIndex;
}
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
{
if(e.KeyCode == Keys.Up)
{
grididx--;
}
if (e.KeyCode == Keys.Down)
{
grididx++;
}
}
}
}

View File

@@ -392,7 +392,6 @@
//
// btn_checkup
//
this.btn_checkup.Enabled = false;
this.btn_checkup.Location = new System.Drawing.Point(95, 5);
this.btn_checkup.Name = "btn_checkup";
this.btn_checkup.Size = new System.Drawing.Size(65, 23);

View File

@@ -30,8 +30,13 @@ namespace UniMarc.마크
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.series_title = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.sub_title = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.series_num = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.author = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.isbn = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -53,7 +58,11 @@ namespace UniMarc.마크
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.idx,
this.book_name,
this.series_title,
this.sub_title,
this.series_num,
this.author,
this.book_comp,
this.isbn,
@@ -61,16 +70,39 @@ namespace UniMarc.마크
this.dataGridView1.Location = new System.Drawing.Point(12, 12);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(776, 426);
this.dataGridView1.Size = new System.Drawing.Size(1094, 426);
this.dataGridView1.TabIndex = 0;
this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
//
// idx
//
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.idx.DefaultCellStyle = dataGridViewCellStyle2;
this.idx.HeaderText = "idx";
this.idx.Name = "idx";
this.idx.Width = 50;
//
// book_name
//
this.book_name.HeaderText = "도서명";
this.book_name.Name = "book_name";
this.book_name.Width = 250;
//
// series_title
//
this.series_title.HeaderText = "총서명";
this.series_title.Name = "series_title";
//
// sub_title
//
this.sub_title.HeaderText = "부서명";
this.sub_title.Name = "sub_title";
//
// series_num
//
this.series_num.HeaderText = "총서번호";
this.series_num.Name = "series_num";
//
// author
//
this.author.HeaderText = "저자";
@@ -91,12 +123,13 @@ namespace UniMarc.마크
//
this.price.HeaderText = "정가";
this.price.Name = "price";
this.price.Width = 80;
//
// All_Book_Detail
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.ClientSize = new System.Drawing.Size(1118, 450);
this.Controls.Add(this.dataGridView1);
this.Name = "All_Book_Detail";
this.Text = "전집 세부";
@@ -109,7 +142,11 @@ namespace UniMarc.마크
#endregion
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.DataGridViewTextBoxColumn idx;
private System.Windows.Forms.DataGridViewTextBoxColumn book_name;
private System.Windows.Forms.DataGridViewTextBoxColumn series_title;
private System.Windows.Forms.DataGridViewTextBoxColumn sub_title;
private System.Windows.Forms.DataGridViewTextBoxColumn series_num;
private System.Windows.Forms.DataGridViewTextBoxColumn author;
private System.Windows.Forms.DataGridViewTextBoxColumn book_comp;
private System.Windows.Forms.DataGridViewTextBoxColumn isbn;

View File

@@ -38,16 +38,18 @@ namespace UniMarc.마크
db.DBcon();
string table = "Set_Book";
string Area = "`book_name`, `author`, `book_comp`, `isbn`, `price`";
string Area = "`idx`, `book_name`, `series_title`, `sub_title`, `series_num`, `author`, `book_comp`, `isbn`, `price`";
string[] search_table = { "set_name", "set_isbn", "set_count", "set_price" };
string db_tmp = db.More_DB_Search(table, search_table, data, Area);
string[] db_data = db_tmp.Split('|');
input_grid(db_data);
}
#region Load_Sub
private void input_grid(string[] data)
{
string[] grid = { "", "", "", "", "" };
string[] grid = { "", "", "", "", "",
"", "", "", "" };
for(int a = 0; a < data.Length; a++)
{
switch (a % grid.Length)
@@ -66,6 +68,18 @@ namespace UniMarc.마크
break;
case 4:
grid[4] = data[a];
break;
case 5:
grid[5] = data[a];
break;
case 6:
grid[6] = data[a];
break;
case 7:
grid[7] = data[a];
break;
case 8:
grid[8] = data[a];
dataGridView1.Rows.Add(grid);
break;
}

View File

@@ -117,9 +117,21 @@
<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="book_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="series_title.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="sub_title.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="series_num.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="author.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>

View File

@@ -38,14 +38,14 @@
this.btn_Edit = new System.Windows.Forms.Button();
this.btn_Delete = new System.Windows.Forms.Button();
this.btn_Close = new System.Windows.Forms.Button();
this.set_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.set_isbn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.set_count = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.set_price = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.author = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.maker = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.chk_V = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.maker = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.author = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.set_price = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.set_count = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.set_isbn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.set_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
@@ -75,7 +75,7 @@
this.dataGridView1.Location = new System.Drawing.Point(12, 40);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(924, 398);
this.dataGridView1.Size = new System.Drawing.Size(923, 398);
this.dataGridView1.TabIndex = 6;
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
@@ -147,43 +147,6 @@
this.btn_Close.UseVisualStyleBackColor = true;
this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click);
//
// set_name
//
this.set_name.HeaderText = "세트명";
this.set_name.Name = "set_name";
this.set_name.Width = 250;
//
// set_isbn
//
this.set_isbn.HeaderText = "세트 ISBN";
this.set_isbn.Name = "set_isbn";
//
// set_count
//
this.set_count.HeaderText = "총 수량";
this.set_count.Name = "set_count";
this.set_count.Width = 80;
//
// set_price
//
this.set_price.HeaderText = "세트 정가";
this.set_price.Name = "set_price";
//
// author
//
this.author.HeaderText = "저자";
this.author.Name = "author";
//
// book_comp
//
this.book_comp.HeaderText = "출판사";
this.book_comp.Name = "book_comp";
//
// maker
//
this.maker.HeaderText = "자료 생성자";
this.maker.Name = "maker";
//
// chk_V
//
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
@@ -192,11 +155,48 @@
this.chk_V.Name = "chk_V";
this.chk_V.Width = 30;
//
// maker
//
this.maker.HeaderText = "자료 생성자";
this.maker.Name = "maker";
//
// book_comp
//
this.book_comp.HeaderText = "출판사";
this.book_comp.Name = "book_comp";
//
// author
//
this.author.HeaderText = "저자";
this.author.Name = "author";
//
// set_price
//
this.set_price.HeaderText = "세트 정가";
this.set_price.Name = "set_price";
//
// set_count
//
this.set_count.HeaderText = "총 수량";
this.set_count.Name = "set_count";
this.set_count.Width = 80;
//
// set_isbn
//
this.set_isbn.HeaderText = "세트 ISBN";
this.set_isbn.Name = "set_isbn";
//
// set_name
//
this.set_name.HeaderText = "세트명";
this.set_name.Name = "set_name";
this.set_name.Width = 250;
//
// All_Book_manage
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(948, 450);
this.ClientSize = new System.Drawing.Size(947, 450);
this.Controls.Add(this.btn_Close);
this.Controls.Add(this.btn_Delete);
this.Controls.Add(this.btn_Edit);

View File

@@ -41,13 +41,16 @@ namespace UniMarc.마크
this.tb_setISBN = new System.Windows.Forms.TextBox();
this.tb_setPrice = new System.Windows.Forms.TextBox();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.btn_Save = new System.Windows.Forms.Button();
this.btn_Close = new System.Windows.Forms.Button();
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.series_title = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.sub_title = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.series_num = 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.ISBN = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.btn_Save = new System.Windows.Forms.Button();
this.btn_Close = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
@@ -144,6 +147,9 @@ namespace UniMarc.마크
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.book_name,
this.series_title,
this.sub_title,
this.series_num,
this.author,
this.book_comp,
this.price,
@@ -151,17 +157,52 @@ namespace UniMarc.마크
this.dataGridView1.Location = new System.Drawing.Point(12, 93);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(665, 222);
this.dataGridView1.Size = new System.Drawing.Size(966, 222);
this.dataGridView1.TabIndex = 2;
this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
//
// btn_Save
//
this.btn_Save.Location = new System.Drawing.Point(160, 321);
this.btn_Save.Name = "btn_Save";
this.btn_Save.Size = new System.Drawing.Size(100, 30);
this.btn_Save.TabIndex = 3;
this.btn_Save.Text = "저 장";
this.btn_Save.UseVisualStyleBackColor = true;
this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click);
//
// btn_Close
//
this.btn_Close.Location = new System.Drawing.Point(425, 321);
this.btn_Close.Name = "btn_Close";
this.btn_Close.Size = new System.Drawing.Size(100, 30);
this.btn_Close.TabIndex = 3;
this.btn_Close.Text = "닫 기";
this.btn_Close.UseVisualStyleBackColor = true;
this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click);
//
// book_name
//
this.book_name.HeaderText = "* 도서명";
this.book_name.Name = "book_name";
this.book_name.Width = 150;
//
// series_title
//
this.series_title.HeaderText = "총서명";
this.series_title.Name = "series_title";
//
// sub_title
//
this.sub_title.HeaderText = "부서명";
this.sub_title.Name = "sub_title";
//
// series_num
//
this.series_num.HeaderText = "총서번호";
this.series_num.Name = "series_num";
//
// author
//
this.author.HeaderText = "* 저자";
@@ -183,31 +224,11 @@ namespace UniMarc.마크
this.ISBN.HeaderText = "ISBN";
this.ISBN.Name = "ISBN";
//
// btn_Save
//
this.btn_Save.Location = new System.Drawing.Point(160, 321);
this.btn_Save.Name = "btn_Save";
this.btn_Save.Size = new System.Drawing.Size(100, 30);
this.btn_Save.TabIndex = 3;
this.btn_Save.Text = "저 장";
this.btn_Save.UseVisualStyleBackColor = true;
this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click);
//
// btn_Close
//
this.btn_Close.Location = new System.Drawing.Point(425, 321);
this.btn_Close.Name = "btn_Close";
this.btn_Close.Size = new System.Drawing.Size(100, 30);
this.btn_Close.TabIndex = 3;
this.btn_Close.Text = "닫 기";
this.btn_Close.UseVisualStyleBackColor = true;
this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click);
//
// All_Book_manage_Add
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(689, 358);
this.ClientSize = new System.Drawing.Size(990, 358);
this.Controls.Add(this.btn_Close);
this.Controls.Add(this.btn_Save);
this.Controls.Add(this.dataGridView1);
@@ -246,6 +267,9 @@ namespace UniMarc.마크
private System.Windows.Forms.Button btn_Save;
private System.Windows.Forms.Button btn_Close;
private System.Windows.Forms.DataGridViewTextBoxColumn book_name;
private System.Windows.Forms.DataGridViewTextBoxColumn series_title;
private System.Windows.Forms.DataGridViewTextBoxColumn sub_title;
private System.Windows.Forms.DataGridViewTextBoxColumn series_num;
private System.Windows.Forms.DataGridViewTextBoxColumn author;
private System.Windows.Forms.DataGridViewTextBoxColumn book_comp;
private System.Windows.Forms.DataGridViewTextBoxColumn price;

View File

@@ -36,8 +36,8 @@ namespace UniMarc.마크
private void btn_Save_Click(object sender, EventArgs e)
{
bool grid_chk = true;
for(int a = 0; a < dataGridView1.Rows.Count; a++)
/// book_name, series_title, sub_title, series_num, author, book_comp, price, isbn
for (int a = 0; a < dataGridView1.Rows.Count; a++)
{
if (dataGridView1.Rows[a].Cells["book_name"].Value == null ||
dataGridView1.Rows[a].Cells["author"].Value == null ||
@@ -72,11 +72,15 @@ namespace UniMarc.마크
for(int a= 0; a < dataGridView1.Rows.Count; a++)
{
string[] insert_tbl = { "compidx",
"set_name", "set_count", "set_isbn", "set_price", "set_pubyear",
"book_name", "author", "book_comp", "isbn", "price", "charge" };
"set_name", "set_count", "set_isbn", "set_price", "set_pubyear",
"book_name", "series_title", "sub_title", "series_num", "author", "book_comp", "isbn", "price",
"charge" };
string[] insert_col = { manage.compidx,
tb_setName.Text, tb_setCount.Text, tb_setISBN.Text, tb_setPrice.Text, tb_setYear.Text,
dataGridView1.Rows[a].Cells["book_name"].Value.ToString(),
dataGridView1.Rows[a].Cells["series_title"].Value.ToString(),
dataGridView1.Rows[a].Cells["sub_title"].Value.ToString(),
dataGridView1.Rows[a].Cells["series_num"].Value.ToString(),
dataGridView1.Rows[a].Cells["author"].Value.ToString(),
dataGridView1.Rows[a].Cells["book_comp"].Value.ToString(),
dataGridView1.Rows[a].Cells["ISBN"].Value.ToString(),

View File

@@ -120,6 +120,15 @@
<metadata name="book_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="series_title.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="sub_title.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="series_num.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="author.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>

View File

@@ -557,6 +557,22 @@ namespace WindowsFormsApp1.Mac
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter) { dataGridView1_CellDoubleClick(null, null); rowidx++; }
if(e.KeyCode== Keys.Insert)
{
Check_ISBN_Split split = new Check_ISBN_Split(this);
split.book_data[0] = dataGridView1.Rows[rowidx].Cells["num"].Value.ToString();
split.book_data[1] = dataGridView1.Rows[rowidx].Cells["book_name"].Value.ToString();
split.book_data[2] = dataGridView1.Rows[rowidx].Cells["author"].Value.ToString();
split.book_data[3] = dataGridView1.Rows[rowidx].Cells["book_comp"].Value.ToString();
split.book_data[4] = dataGridView1.Rows[rowidx].Cells["unit"].Value.ToString();
split.book_data[5] = dataGridView1.Rows[rowidx].Cells["count"].Value.ToString();
split.row_idx = rowidx;
split.Show();
}
if (e.KeyCode == Keys.F12)
{
// 도서정보
}
if (e.KeyCode == Keys.Up)
{
rowidx--;

View File

@@ -0,0 +1,439 @@

namespace UniMarc.
{
partial class Check_ISBN_Split
{
/// <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();
this.panel1 = new System.Windows.Forms.Panel();
this.tb_book_name = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.tb_price = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.tb_count = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.tb_book_comp = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.tb_author = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.tb_num = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.tb_c_book_name = new System.Windows.Forms.TextBox();
this.label7 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.num_Start = new System.Windows.Forms.NumericUpDown();
this.num_Line = new System.Windows.Forms.NumericUpDown();
this.label9 = new System.Windows.Forms.Label();
this.num_Count = new System.Windows.Forms.NumericUpDown();
this.btn_Split = new System.Windows.Forms.Button();
this.btn_Save = new System.Windows.Forms.Button();
this.btn_Clear = new System.Windows.Forms.Button();
this.btn_Close = new System.Windows.Forms.Button();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.num = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.author = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.price = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.count = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.total = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.num_Start)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.num_Line)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.num_Count)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
// panel1
//
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Controls.Add(this.tb_book_name);
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.tb_price);
this.panel1.Controls.Add(this.label6);
this.panel1.Controls.Add(this.tb_count);
this.panel1.Controls.Add(this.label5);
this.panel1.Controls.Add(this.tb_book_comp);
this.panel1.Controls.Add(this.label4);
this.panel1.Controls.Add(this.tb_author);
this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.tb_num);
this.panel1.Controls.Add(this.label1);
this.panel1.Location = new System.Drawing.Point(13, 13);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(975, 32);
this.panel1.TabIndex = 0;
//
// tb_book_name
//
this.tb_book_name.Location = new System.Drawing.Point(147, 5);
this.tb_book_name.Name = "tb_book_name";
this.tb_book_name.Size = new System.Drawing.Size(256, 21);
this.tb_book_name.TabIndex = 1;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(104, 9);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(41, 12);
this.label2.TabIndex = 0;
this.label2.Text = "도서명";
//
// tb_price
//
this.tb_price.Location = new System.Drawing.Point(789, 5);
this.tb_price.Name = "tb_price";
this.tb_price.Size = new System.Drawing.Size(76, 21);
this.tb_price.TabIndex = 1;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(758, 9);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(29, 12);
this.label6.TabIndex = 0;
this.label6.Text = "정가";
//
// tb_count
//
this.tb_count.Location = new System.Drawing.Point(912, 5);
this.tb_count.Name = "tb_count";
this.tb_count.Size = new System.Drawing.Size(52, 21);
this.tb_count.TabIndex = 1;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(881, 9);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(29, 12);
this.label5.TabIndex = 0;
this.label5.Text = "수량";
//
// tb_book_comp
//
this.tb_book_comp.Location = new System.Drawing.Point(599, 5);
this.tb_book_comp.Name = "tb_book_comp";
this.tb_book_comp.Size = new System.Drawing.Size(152, 21);
this.tb_book_comp.TabIndex = 1;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(556, 9);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(41, 12);
this.label4.TabIndex = 0;
this.label4.Text = "출판사";
//
// tb_author
//
this.tb_author.Location = new System.Drawing.Point(443, 5);
this.tb_author.Name = "tb_author";
this.tb_author.Size = new System.Drawing.Size(104, 21);
this.tb_author.TabIndex = 1;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(412, 9);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(29, 12);
this.label3.TabIndex = 0;
this.label3.Text = "저자";
//
// tb_num
//
this.tb_num.Location = new System.Drawing.Point(44, 5);
this.tb_num.Name = "tb_num";
this.tb_num.Size = new System.Drawing.Size(52, 21);
this.tb_num.TabIndex = 1;
//
// 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(29, 12);
this.label1.TabIndex = 0;
this.label1.Text = "번호";
//
// tb_c_book_name
//
this.tb_c_book_name.Location = new System.Drawing.Point(12, 51);
this.tb_c_book_name.Name = "tb_c_book_name";
this.tb_c_book_name.Size = new System.Drawing.Size(256, 21);
this.tb_c_book_name.TabIndex = 1;
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(277, 55);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(53, 12);
this.label7.TabIndex = 0;
this.label7.Text = "시작번호";
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(394, 55);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(45, 12);
this.label8.TabIndex = 0;
this.label8.Text = "라인 수";
//
// num_Start
//
this.num_Start.Location = new System.Drawing.Point(332, 51);
this.num_Start.Name = "num_Start";
this.num_Start.Size = new System.Drawing.Size(45, 21);
this.num_Start.TabIndex = 2;
this.num_Start.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.num_Start.Value = new decimal(new int[] {
1,
0,
0,
0});
//
// num_Line
//
this.num_Line.Location = new System.Drawing.Point(441, 51);
this.num_Line.Name = "num_Line";
this.num_Line.Size = new System.Drawing.Size(45, 21);
this.num_Line.TabIndex = 2;
this.num_Line.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.num_Line.Value = new decimal(new int[] {
1,
0,
0,
0});
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(497, 56);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(57, 12);
this.label9.TabIndex = 0;
this.label9.Text = "적용 수량";
//
// num_Count
//
this.num_Count.Location = new System.Drawing.Point(556, 52);
this.num_Count.Name = "num_Count";
this.num_Count.Size = new System.Drawing.Size(45, 21);
this.num_Count.TabIndex = 2;
this.num_Count.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.num_Count.Value = new decimal(new int[] {
1,
0,
0,
0});
//
// btn_Split
//
this.btn_Split.Location = new System.Drawing.Point(617, 51);
this.btn_Split.Name = "btn_Split";
this.btn_Split.Size = new System.Drawing.Size(75, 23);
this.btn_Split.TabIndex = 3;
this.btn_Split.Text = "분 리";
this.btn_Split.UseVisualStyleBackColor = true;
this.btn_Split.Click += new System.EventHandler(this.btn_Split_Click);
//
// btn_Save
//
this.btn_Save.Location = new System.Drawing.Point(708, 51);
this.btn_Save.Name = "btn_Save";
this.btn_Save.Size = new System.Drawing.Size(75, 23);
this.btn_Save.TabIndex = 3;
this.btn_Save.Text = "적 용";
this.btn_Save.UseVisualStyleBackColor = true;
this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click);
//
// btn_Clear
//
this.btn_Clear.Location = new System.Drawing.Point(799, 51);
this.btn_Clear.Name = "btn_Clear";
this.btn_Clear.Size = new System.Drawing.Size(75, 23);
this.btn_Clear.TabIndex = 3;
this.btn_Clear.Text = "초 기 화";
this.btn_Clear.UseVisualStyleBackColor = true;
this.btn_Clear.Click += new System.EventHandler(this.btn_Clear_Click);
//
// btn_Close
//
this.btn_Close.Location = new System.Drawing.Point(890, 51);
this.btn_Close.Name = "btn_Close";
this.btn_Close.Size = new System.Drawing.Size(75, 23);
this.btn_Close.TabIndex = 3;
this.btn_Close.Text = "닫 기";
this.btn_Close.UseVisualStyleBackColor = true;
this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click);
//
// 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.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.num,
this.book_name,
this.author,
this.book_comp,
this.price,
this.count,
this.total});
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
this.dataGridView1.Location = new System.Drawing.Point(12, 79);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(976, 359);
this.dataGridView1.TabIndex = 4;
this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
//
// num
//
this.num.HeaderText = "번호";
this.num.Name = "num";
this.num.Width = 60;
//
// book_name
//
this.book_name.HeaderText = "도서명";
this.book_name.Name = "book_name";
this.book_name.Width = 300;
//
// author
//
this.author.HeaderText = "저자";
this.author.Name = "author";
this.author.Width = 120;
//
// book_comp
//
this.book_comp.HeaderText = "출판사";
this.book_comp.Name = "book_comp";
this.book_comp.Width = 150;
//
// price
//
this.price.HeaderText = "정가";
this.price.Name = "price";
this.price.Width = 110;
//
// count
//
this.count.HeaderText = "수량";
this.count.Name = "count";
this.count.Width = 60;
//
// total
//
this.total.HeaderText = "금액";
this.total.Name = "total";
this.total.Width = 110;
//
// Check_ISBN_Split
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1000, 450);
this.Controls.Add(this.dataGridView1);
this.Controls.Add(this.btn_Close);
this.Controls.Add(this.btn_Clear);
this.Controls.Add(this.btn_Save);
this.Controls.Add(this.btn_Split);
this.Controls.Add(this.num_Line);
this.Controls.Add(this.num_Count);
this.Controls.Add(this.num_Start);
this.Controls.Add(this.tb_c_book_name);
this.Controls.Add(this.label9);
this.Controls.Add(this.panel1);
this.Controls.Add(this.label7);
this.Controls.Add(this.label8);
this.Name = "Check_ISBN_Split";
this.Text = "목록분리";
this.Load += new System.EventHandler(this.Check_ISBN_Split_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.num_Start)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.num_Line)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.num_Count)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.TextBox tb_num;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox tb_book_name;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox tb_price;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox tb_book_comp;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox tb_author;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox tb_c_book_name;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.NumericUpDown num_Start;
private System.Windows.Forms.NumericUpDown num_Line;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.NumericUpDown num_Count;
private System.Windows.Forms.TextBox tb_count;
private System.Windows.Forms.Button btn_Split;
private System.Windows.Forms.Button btn_Save;
private System.Windows.Forms.Button btn_Clear;
private System.Windows.Forms.Button btn_Close;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.DataGridViewTextBoxColumn num;
private System.Windows.Forms.DataGridViewTextBoxColumn book_name;
private System.Windows.Forms.DataGridViewTextBoxColumn author;
private System.Windows.Forms.DataGridViewTextBoxColumn book_comp;
private System.Windows.Forms.DataGridViewTextBoxColumn price;
private System.Windows.Forms.DataGridViewTextBoxColumn count;
private System.Windows.Forms.DataGridViewTextBoxColumn total;
}
}

View File

@@ -0,0 +1,117 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Forms;
using WindowsFormsApp1;
using WindowsFormsApp1.Mac;
namespace UniMarc.
{
public partial class Check_ISBN_Split : Form
{
/// <summary>
/// 번호 / 도서명 / 저자 / 출판사 / 정가 / 수량
/// </summary>
public string[] book_data = { "", "", "", "", "", "" };
public int row_idx;
Check_ISBN isbn;
public Check_ISBN_Split()
{
InitializeComponent();
}
public Check_ISBN_Split(Check_ISBN _isbn)
{
InitializeComponent();
isbn = _isbn;
}
private void Check_ISBN_Split_Load(object sender, EventArgs e)
{
TextBox[] tb = { tb_num, tb_book_name, tb_author, tb_book_comp, tb_price, tb_count };
for (int a = 0; a < tb.Length; a++)
{
tb[a].Text = book_data[a];
}
tb_c_book_name.Text = tb_book_name.Text;
}
private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
{
Skill_Grid sg = new Skill_Grid();
sg.Print_Grid_Num(sender, e);
}
private void btn_Split_Click(object sender, EventArgs e)
{
dataGridView1.Rows.Clear();
int start = Convert.ToInt32(num_Start.Value);
string[] grid = { book_data[0], book_data[1], book_data[2], book_data[3], book_data[4], book_data[5], "" };
for (int a = 0; a < num_Line.Value; a++)
{
grid[1] = string.Format("{0} {1}", book_data[1], start);
grid[5] = num_Count.Value.ToString();
grid[6] = Total(grid[4], grid[5]);
start += 1;
dataGridView1.Rows.Add(grid);
}
}
#region btn_Split_Sub
private string Total(string str_count, string str_price)
{
int count = Convert.ToInt32(Regex.Replace(str_count, @"[^0-9]", ""));
int price = Convert.ToInt32(Regex.Replace(str_price, @"[^0-9]", ""));
int result = count * price;
return result.ToString();
}
#endregion
private void btn_Save_Click(object sender, EventArgs e)
{
int count = Convert.ToInt32(num_Line.Value) - 1;
for (int a = count; a >= 0; a--)
{
string[] grid_data = {
dataGridView1.Rows[a].Cells["num"].Value.ToString(), // 번호
dataGridView1.Rows[a].Cells["book_name"].Value.ToString(), // 도서명
dataGridView1.Rows[a].Cells["author"].Value.ToString(), // 저자
dataGridView1.Rows[a].Cells["book_comp"].Value.ToString(), // 출판사
dataGridView1.Rows[a].Cells["count"].Value.ToString(), // 수량
dataGridView1.Rows[a].Cells["price"].Value.ToString(), // 가격
dataGridView1.Rows[a].Cells["total"].Value.ToString() // 합계
};
string[] grid = {
grid_data[0], "", grid_data[1], "", grid_data[2],
"", grid_data[3], "", grid_data[4], grid_data[5],
grid_data[6], "", "", "", "",
"", "", "", "", ""
};
isbn.dataGridView1.Rows.Insert(row_idx + 1, grid);
}
btn_Close_Click(null, null);
}
private void btn_Clear_Click(object sender, EventArgs e)
{
dataGridView1.Rows.Clear();
tb_c_book_name.Text = tb_book_name.Text;
num_Start.Value = 1;
num_Line.Value = 1;
num_Count.Value = 1;
}
private void btn_Close_Click(object sender, EventArgs e)
{
this.Close();
}
}
}

View File

@@ -0,0 +1,141 @@
<?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="num.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="book_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="author.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="book_comp.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="price.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="count.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="total.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

View File

@@ -1159,7 +1159,7 @@ namespace ExcelTest
}
private void Btn_preview_Click(object sender, EventArgs e)
{
Mac_Preview mp = new Mac_Preview();
Marc_Preview mp = new Marc_Preview();
mp.url_isbn = data_book[0];
mp.TopMost = true;
mp.Show();

View File

@@ -1,7 +1,7 @@

namespace UniMarc.
{
partial class Mac_Preview
partial class Marc_Preview
{
/// <summary>
/// Required designer variable.

View File

@@ -10,10 +10,10 @@ using System.Windows.Forms;
namespace UniMarc.
{
public partial class Mac_Preview : Form
public partial class Marc_Preview : Form
{
public string url_isbn = "";
public Mac_Preview()
public Marc_Preview()
{
InitializeComponent();
}

View File

@@ -52,7 +52,7 @@
this.rb_book1 = new System.Windows.Forms.RadioButton();
this.label5 = new System.Windows.Forms.Label();
this.rb_book2 = new System.Windows.Forms.RadioButton();
this.button1 = new System.Windows.Forms.Button();
this.btn_close = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.panel1.SuspendLayout();
this.panel7.SuspendLayout();
@@ -76,10 +76,11 @@
//
this.cb_symbol.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_symbol.FormattingEnabled = true;
this.cb_symbol.Location = new System.Drawing.Point(129, 7);
this.cb_symbol.Location = new System.Drawing.Point(180, 7);
this.cb_symbol.Name = "cb_symbol";
this.cb_symbol.Size = new System.Drawing.Size(254, 20);
this.cb_symbol.Size = new System.Drawing.Size(366, 20);
this.cb_symbol.TabIndex = 6;
this.cb_symbol.SelectedIndexChanged += new System.EventHandler(this.cb_symbol_SelectedIndexChanged);
//
// panel1
//
@@ -94,14 +95,14 @@
this.panel1.Controls.Add(this.panel2);
this.panel1.Location = new System.Drawing.Point(12, 12);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(400, 253);
this.panel1.Size = new System.Drawing.Size(578, 253);
this.panel1.TabIndex = 7;
//
// tb_result
//
this.tb_result.Location = new System.Drawing.Point(129, 223);
this.tb_result.Location = new System.Drawing.Point(180, 223);
this.tb_result.Name = "tb_result";
this.tb_result.Size = new System.Drawing.Size(254, 21);
this.tb_result.Size = new System.Drawing.Size(366, 21);
this.tb_result.TabIndex = 7;
//
// panel7
@@ -111,7 +112,7 @@
this.panel7.Controls.Add(this.label1);
this.panel7.Location = new System.Drawing.Point(-1, -1);
this.panel7.Name = "panel7";
this.panel7.Size = new System.Drawing.Size(400, 37);
this.panel7.Size = new System.Drawing.Size(578, 37);
this.panel7.TabIndex = 9;
//
// label7
@@ -130,14 +131,14 @@
this.panel6.Controls.Add(this.label2);
this.panel6.Location = new System.Drawing.Point(-1, 35);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(400, 37);
this.panel6.Size = new System.Drawing.Size(578, 37);
this.panel6.TabIndex = 9;
//
// tb_author
//
this.tb_author.Location = new System.Drawing.Point(129, 7);
this.tb_author.Location = new System.Drawing.Point(180, 7);
this.tb_author.Name = "tb_author";
this.tb_author.Size = new System.Drawing.Size(254, 21);
this.tb_author.Size = new System.Drawing.Size(366, 21);
this.tb_author.TabIndex = 7;
//
// label2
@@ -156,14 +157,14 @@
this.panel5.Controls.Add(this.label3);
this.panel5.Location = new System.Drawing.Point(-1, 71);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(400, 37);
this.panel5.Size = new System.Drawing.Size(578, 37);
this.panel5.TabIndex = 9;
//
// tb_book
//
this.tb_book.Location = new System.Drawing.Point(129, 7);
this.tb_book.Location = new System.Drawing.Point(180, 7);
this.tb_book.Name = "tb_book";
this.tb_book.Size = new System.Drawing.Size(254, 21);
this.tb_book.Size = new System.Drawing.Size(366, 21);
this.tb_book.TabIndex = 7;
//
// label3
@@ -183,19 +184,20 @@
this.panel3.Controls.Add(this.rb_author2);
this.panel3.Location = new System.Drawing.Point(-1, 107);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(400, 37);
this.panel3.Size = new System.Drawing.Size(578, 37);
this.panel3.TabIndex = 9;
//
// rb_author1
//
this.rb_author1.AutoSize = true;
this.rb_author1.Location = new System.Drawing.Point(133, 9);
this.rb_author1.Location = new System.Drawing.Point(184, 9);
this.rb_author1.Name = "rb_author1";
this.rb_author1.Size = new System.Drawing.Size(95, 16);
this.rb_author1.TabIndex = 8;
this.rb_author1.TabStop = true;
this.rb_author1.Text = "저자음절표시";
this.rb_author1.UseVisualStyleBackColor = true;
this.rb_author1.Click += new System.EventHandler(this.RadioBtn_Click);
//
// label4
//
@@ -209,13 +211,14 @@
// rb_author2
//
this.rb_author2.AutoSize = true;
this.rb_author2.Location = new System.Drawing.Point(272, 9);
this.rb_author2.Location = new System.Drawing.Point(417, 9);
this.rb_author2.Name = "rb_author2";
this.rb_author2.Size = new System.Drawing.Size(95, 16);
this.rb_author2.TabIndex = 8;
this.rb_author2.TabStop = true;
this.rb_author2.Text = "저자초성표시";
this.rb_author2.UseVisualStyleBackColor = true;
this.rb_author2.Click += new System.EventHandler(this.RadioBtn_Click);
//
// panel4
//
@@ -225,19 +228,20 @@
this.panel4.Controls.Add(this.rb_moum2);
this.panel4.Location = new System.Drawing.Point(-1, 179);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(400, 37);
this.panel4.Size = new System.Drawing.Size(578, 37);
this.panel4.TabIndex = 9;
//
// rb_moum1
//
this.rb_moum1.AutoSize = true;
this.rb_moum1.Location = new System.Drawing.Point(133, 9);
this.rb_moum1.Location = new System.Drawing.Point(184, 9);
this.rb_moum1.Name = "rb_moum1";
this.rb_moum1.Size = new System.Drawing.Size(129, 16);
this.rb_moum1.TabIndex = 8;
this.rb_moum1.TabStop = true;
this.rb_moum1.Text = "모음기호보류(원칙)";
this.rb_moum1.UseVisualStyleBackColor = true;
this.rb_moum1.Click += new System.EventHandler(this.RadioBtn_Click);
//
// label6
//
@@ -251,13 +255,14 @@
// rb_moum2
//
this.rb_moum2.AutoSize = true;
this.rb_moum2.Location = new System.Drawing.Point(272, 9);
this.rb_moum2.Location = new System.Drawing.Point(417, 9);
this.rb_moum2.Name = "rb_moum2";
this.rb_moum2.Size = new System.Drawing.Size(95, 16);
this.rb_moum2.TabIndex = 8;
this.rb_moum2.TabStop = true;
this.rb_moum2.Text = "모음기호표시";
this.rb_moum2.UseVisualStyleBackColor = true;
this.rb_moum2.Click += new System.EventHandler(this.RadioBtn_Click);
//
// panel2
//
@@ -267,19 +272,20 @@
this.panel2.Controls.Add(this.rb_book2);
this.panel2.Location = new System.Drawing.Point(-1, 143);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(400, 37);
this.panel2.Size = new System.Drawing.Size(578, 37);
this.panel2.TabIndex = 9;
//
// rb_book1
//
this.rb_book1.AutoSize = true;
this.rb_book1.Location = new System.Drawing.Point(133, 9);
this.rb_book1.Location = new System.Drawing.Point(184, 9);
this.rb_book1.Name = "rb_book1";
this.rb_book1.Size = new System.Drawing.Size(95, 16);
this.rb_book1.TabIndex = 8;
this.rb_book1.TabStop = true;
this.rb_book1.Text = "서명음절표시";
this.rb_book1.UseVisualStyleBackColor = true;
this.rb_book1.Click += new System.EventHandler(this.RadioBtn_Click);
//
// label5
//
@@ -293,30 +299,32 @@
// rb_book2
//
this.rb_book2.AutoSize = true;
this.rb_book2.Location = new System.Drawing.Point(272, 3);
this.rb_book2.Location = new System.Drawing.Point(417, 3);
this.rb_book2.Name = "rb_book2";
this.rb_book2.Size = new System.Drawing.Size(129, 28);
this.rb_book2.TabIndex = 8;
this.rb_book2.TabStop = true;
this.rb_book2.Text = "서명초성표시\r\n(한글이 아닐경우X)";
this.rb_book2.UseVisualStyleBackColor = true;
this.rb_book2.Click += new System.EventHandler(this.RadioBtn_Click);
//
// button1
// btn_close
//
this.button1.Location = new System.Drawing.Point(285, 271);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 11;
this.button1.Text = "button1";
this.button1.UseVisualStyleBackColor = true;
this.btn_close.Location = new System.Drawing.Point(363, 274);
this.btn_close.Name = "btn_close";
this.btn_close.Size = new System.Drawing.Size(75, 23);
this.btn_close.TabIndex = 11;
this.btn_close.Text = "닫 기";
this.btn_close.UseVisualStyleBackColor = true;
this.btn_close.Click += new System.EventHandler(this.btn_close_Click);
//
// button2
//
this.button2.Location = new System.Drawing.Point(84, 271);
this.button2.Location = new System.Drawing.Point(162, 274);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 23);
this.button2.TabIndex = 11;
this.button2.Text = "button1";
this.button2.Text = "변 환";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
@@ -326,7 +334,7 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Controls.Add(this.btn_close);
this.Controls.Add(this.panel1);
this.Name = "Symbol_Add";
this.Text = "저자기호 생성";
@@ -375,7 +383,7 @@
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox tb_result;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button btn_close;
private System.Windows.Forms.Button button2;
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -201,8 +201,8 @@ namespace WindowsFormsApp1.Home
if (tmp_man.Length > 1)
{
if(tmp_man[0] != "") { tb_man.Text = tmp_man[0]; }
if(tmp_man[1] != "") { tb_man1.Text = tmp_man[1]; }
if (tmp_man[0] != "") { tb_man.Text = tmp_man[0]; }
if (tmp_man[1] != "") { tb_man1.Text = tmp_man[1]; }
}
tb_addr.Text = dataGridView1.Rows[grididx].Cells["addr"].Value.ToString();