Compare commits
2 Commits
ed9afeab80
...
c44f40a651
| Author | SHA1 | Date | |
|---|---|---|---|
| c44f40a651 | |||
| 4ffbb2fa2e |
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.IO.Ports;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -51,7 +52,8 @@ namespace WindowsFormsApp1
|
||||
connectionInfo.Timeout = TimeSpan.FromSeconds(30);
|
||||
using (var client = new SshClient(connectionInfo))
|
||||
{
|
||||
if (conn != null) {
|
||||
if (conn != null)
|
||||
{
|
||||
conn.Close();
|
||||
conn.Dispose();
|
||||
}
|
||||
@@ -123,8 +125,33 @@ namespace WindowsFormsApp1
|
||||
}
|
||||
}
|
||||
}
|
||||
public DataTable ExecuteQueryData(string cmd)
|
||||
{
|
||||
DataTable dt = new DataTable();
|
||||
try
|
||||
{
|
||||
conn.Open();
|
||||
sqlcmd.CommandText = cmd;
|
||||
sqlcmd.Connection = conn;
|
||||
|
||||
using (MySqlDataAdapter adapter = new MySqlDataAdapter(sqlcmd))
|
||||
{
|
||||
adapter.Fill(dt);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.ToString(), "ExecuteQueryData Error");
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (conn.State == ConnectionState.Open) conn.Close();
|
||||
}
|
||||
return dt;
|
||||
}
|
||||
public string DB_Send_CMD_Search(string cmd)
|
||||
{
|
||||
|
||||
// DB 연결
|
||||
conn.Open();
|
||||
// 쿼리 맵핑
|
||||
@@ -184,7 +211,7 @@ namespace WindowsFormsApp1
|
||||
conn.Close();
|
||||
}
|
||||
|
||||
public void DB_Send_CMD_Search_GetGridData(string cmd,DataGridView pDgv)
|
||||
public void DB_Send_CMD_Search_GetGridData(string cmd, DataGridView pDgv)
|
||||
{
|
||||
// DB 연결
|
||||
conn.Open();
|
||||
@@ -209,7 +236,7 @@ namespace WindowsFormsApp1
|
||||
if (colCount - 1 == AddCol)
|
||||
{
|
||||
AddCol = 0;
|
||||
grid[colCount]="추가";
|
||||
grid[colCount] = "추가";
|
||||
pDgv.Rows.Add(grid);
|
||||
}
|
||||
else
|
||||
@@ -260,7 +287,7 @@ namespace WindowsFormsApp1
|
||||
public string DB_Contains(string DB_Table_Name, string compidx,
|
||||
string DB_Where_Table = "", string DB_Search_Data = "",
|
||||
string Search_col = "",
|
||||
string DB_Where_Table1 = "", string DB_Search_Data1 = "" )
|
||||
string DB_Where_Table1 = "", string DB_Search_Data1 = "")
|
||||
{
|
||||
string cmd = "SELECT ";
|
||||
if (Search_col == "") { cmd += "*"; }
|
||||
@@ -270,16 +297,16 @@ namespace WindowsFormsApp1
|
||||
if (DB_Table_Name == "Obj_List") { cmd += " WHERE `comp_num` = \"" + compidx + "\""; }
|
||||
else if (DB_Table_Name == "Client") { cmd += " WHERE `campanyidx` = \"" + compidx + "\""; }
|
||||
else if (DB_Table_Name == "Purchase") { cmd += " WHERE `comparyidx` = \"" + compidx + "\""; }
|
||||
else if(compidx == "none") { cmd += " WHERE `grade` = \"2\""; }
|
||||
else if (compidx == "none") { cmd += " WHERE `grade` = \"2\""; }
|
||||
else { cmd += " WHERE `compidx` = \"" + compidx + "\""; }
|
||||
|
||||
if(DB_Search_Data != "")
|
||||
if (DB_Search_Data != "")
|
||||
{
|
||||
cmd += " AND `"+ DB_Where_Table + "` LIKE \"%" + DB_Search_Data + "%\"";
|
||||
cmd += " AND `" + DB_Where_Table + "` LIKE \"%" + DB_Search_Data + "%\"";
|
||||
}
|
||||
if(DB_Search_Data1 != "")
|
||||
if (DB_Search_Data1 != "")
|
||||
{
|
||||
cmd += " AND `"+ DB_Where_Table1 + "` LIKE \"%" + DB_Search_Data1 + "%\"";
|
||||
cmd += " AND `" + DB_Where_Table1 + "` LIKE \"%" + DB_Search_Data1 + "%\"";
|
||||
}
|
||||
cmd += ";";
|
||||
return cmd;
|
||||
@@ -298,11 +325,11 @@ namespace WindowsFormsApp1
|
||||
{
|
||||
string cmd = string.Format("SELECT {0} FROM ", Search_Area);
|
||||
cmd += DB_Table_Name;
|
||||
if(DB_Where_Table != "" && DB_Search_Data != "")
|
||||
if (DB_Where_Table != "" && DB_Search_Data != "")
|
||||
{
|
||||
cmd += string.Format(" WHERE `{0}` = \"{1}\"", DB_Where_Table, DB_Search_Data);
|
||||
}
|
||||
if(DB_Where_Table1 != "" && DB_Search_Data1 != "")
|
||||
if (DB_Where_Table1 != "" && DB_Search_Data1 != "")
|
||||
{
|
||||
cmd += string.Format(" AND `{0}` = \"{1}\"", DB_Where_Table1, DB_Search_Data1);
|
||||
}
|
||||
@@ -322,9 +349,9 @@ namespace WindowsFormsApp1
|
||||
{
|
||||
string cmd = "SELECT * FROM ";
|
||||
cmd += DB_Table_Name;// + " where id=\"id\"";
|
||||
if(DB_Search_Data != "")
|
||||
if (DB_Search_Data != "")
|
||||
{
|
||||
cmd += " WHERE "+ DB_Where_Table + "=\"" + DB_Search_Data +"\"";
|
||||
cmd += " WHERE " + DB_Where_Table + "=\"" + DB_Search_Data + "\"";
|
||||
}
|
||||
if (DB_Where_Table1 != "" && DB_Search_Data1 != "")
|
||||
{
|
||||
@@ -344,15 +371,15 @@ namespace WindowsFormsApp1
|
||||
public string More_DB_Search(String DB_Table_Name, String[] DB_Where_Table,
|
||||
String[] DB_Search_Data, String Search_Table = "")
|
||||
{
|
||||
if(DB_Where_Table.Length != DB_Search_Data.Length) { return "오류발생"; }
|
||||
if (DB_Where_Table.Length != DB_Search_Data.Length) { return "오류발생"; }
|
||||
string cmd = "SELECT ";
|
||||
if(Search_Table == "") { cmd += "*"; }
|
||||
if (Search_Table == "") { cmd += "*"; }
|
||||
else { cmd += Search_Table; }
|
||||
cmd += " FROM " + DB_Table_Name + " WHERE ";
|
||||
for(int a = 0; a < DB_Where_Table.Length; a++)
|
||||
for (int a = 0; a < DB_Where_Table.Length; a++)
|
||||
{
|
||||
cmd += "`" + DB_Where_Table[a] + "` = \"" + DB_Search_Data[a] + "\" ";
|
||||
if(a == DB_Where_Table.Length - 1) { cmd += ";"; }
|
||||
if (a == DB_Where_Table.Length - 1) { cmd += ";"; }
|
||||
else { cmd += " AND "; }
|
||||
}
|
||||
return cmd;
|
||||
@@ -375,7 +402,7 @@ namespace WindowsFormsApp1
|
||||
string cmd = "SELECT " + Search_Table + " FROM `" + Table_name + "` " +
|
||||
"WHERE `comp_num` = '" + compidx + "' AND `" +
|
||||
Search_date + "` >= '" + start_date + "'";
|
||||
if(Table_name != "Obj_List") { cmd = cmd.Replace("`comp_num`", "`compidx`"); }
|
||||
if (Table_name != "Obj_List") { cmd = cmd.Replace("`comp_num`", "`compidx`"); }
|
||||
if (end_date != "") { cmd += " AND `" + Search_date + "` <= '" + end_date + "';"; }
|
||||
else { cmd += ";"; }
|
||||
return cmd;
|
||||
@@ -383,13 +410,13 @@ namespace WindowsFormsApp1
|
||||
public string DB_INSERT(String DB_Table_name, String[] DB_col_name, String[] setData)
|
||||
{
|
||||
string cmd = "INSERT INTO " + DB_Table_name + "(";
|
||||
for(int a = 0; a < DB_col_name.Length; a++)
|
||||
for (int a = 0; a < DB_col_name.Length; a++)
|
||||
{
|
||||
if (a == DB_col_name.Length - 1) { cmd += "`" + DB_col_name[a] + "`) "; }
|
||||
else { cmd += "`" + DB_col_name[a] + "`, "; }
|
||||
}
|
||||
cmd += "values(";
|
||||
for(int a = 0; a < setData.Length; a++)
|
||||
for (int a = 0; a < setData.Length; a++)
|
||||
{
|
||||
setData[a] = setData[a].Replace("\"", "\"\"");
|
||||
if (a == setData.Length - 1) { cmd += "\"" + setData[a] + "\")"; }
|
||||
@@ -449,7 +476,7 @@ namespace WindowsFormsApp1
|
||||
string[] target_area, string[] target)
|
||||
{
|
||||
string cmd = string.Format("DELETE FROM {0} WHERE `{1}`= \"{2}\" AND", DB_Table, target_idx, comp_idx);
|
||||
for(int a= 0; a < target_area.Length; a++)
|
||||
for (int a = 0; a < target_area.Length; a++)
|
||||
{
|
||||
cmd += string.Format("`{0}`=\"{1}\"", target_area[a], target[a]);
|
||||
if (a != target_area.Length - 1) { cmd += " AND"; }
|
||||
@@ -466,7 +493,7 @@ namespace WindowsFormsApp1
|
||||
{
|
||||
string cmd = "DELETE FROM " + DB_Table_Name + " WHERE " +
|
||||
"`" + target_idx + "`=\"" + comp_idx + "\" AND";
|
||||
for(int a = 0; a < target_area.Length; a++)
|
||||
for (int a = 0; a < target_area.Length; a++)
|
||||
{
|
||||
cmd += " `" + target_area[a] + "`=\"" + target[a] + "\" ";
|
||||
if (a == target_area.Length - 1) { cmd += "LIMIT 1;"; }
|
||||
@@ -484,7 +511,7 @@ namespace WindowsFormsApp1
|
||||
/// <param name="Search_Data">검색할 데이터</param>
|
||||
public string DB_Update(string DB_Tabel_Name, string Edit_colum, string Edit_Name, string Search_Name, string Search_Data)
|
||||
{
|
||||
string cmd = "UPDATE `" + DB_Tabel_Name + "` SET `" + Edit_colum + "`=\"" + Edit_Name + "\" WHERE `"+Search_Name+"`=\"" + Search_Data + "\";";
|
||||
string cmd = "UPDATE `" + DB_Tabel_Name + "` SET `" + Edit_colum + "`=\"" + Edit_Name + "\" WHERE `" + Search_Name + "`=\"" + Search_Data + "\";";
|
||||
cmd = cmd.Replace("|", "");
|
||||
return cmd;
|
||||
}
|
||||
@@ -501,7 +528,7 @@ namespace WindowsFormsApp1
|
||||
String[] Search_col, String[] Search_Name, int limit = 0)
|
||||
{
|
||||
string cmd = "UPDATE `" + DB_Table_Name + "` SET ";
|
||||
for(int a = 0; a < Edit_col.Length; a++)
|
||||
for (int a = 0; a < Edit_col.Length; a++)
|
||||
{
|
||||
Edit_name[a] = Edit_name[a].Replace("\"", "\"\"");
|
||||
cmd += "`" + Edit_col[a] + "` = \"" + Edit_name[a] + "\"";
|
||||
@@ -509,12 +536,12 @@ namespace WindowsFormsApp1
|
||||
else { cmd += " "; }
|
||||
}
|
||||
cmd += "WHERE ";
|
||||
for(int a = 0; a < Search_col.Length; a++)
|
||||
for (int a = 0; a < Search_col.Length; a++)
|
||||
{
|
||||
cmd += "`" + Search_col[a] + "` = \"" + Search_Name[a] + "\" ";
|
||||
if (a != Search_col.Length - 1) { cmd += "AND "; }
|
||||
}
|
||||
if(limit != 0) { cmd += string.Format("LIMIT {0}", limit); }
|
||||
if (limit != 0) { cmd += string.Format("LIMIT {0}", limit); }
|
||||
cmd += ";";
|
||||
cmd = cmd.Replace("|", "");
|
||||
return cmd;
|
||||
@@ -572,9 +599,9 @@ namespace WindowsFormsApp1
|
||||
}
|
||||
}
|
||||
}
|
||||
catch(Exception e)
|
||||
catch (Exception e)
|
||||
{
|
||||
MessageBox.Show("{0} Exception caught.\n"+ e.ToString());
|
||||
MessageBox.Show("{0} Exception caught.\n" + e.ToString());
|
||||
MessageBox.Show(cmd);
|
||||
}
|
||||
conn.Close();
|
||||
|
||||
288
unimarc/unimarc/Main.Designer.cs
generated
288
unimarc/unimarc/Main.Designer.cs
generated
@@ -139,6 +139,7 @@
|
||||
this.mdiTabControl = new System.Windows.Forms.TabControl();
|
||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||
this.tabPage2 = new System.Windows.Forms.TabPage();
|
||||
this.신규마크작성NewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
@@ -159,8 +160,7 @@
|
||||
this.menu_allclose});
|
||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.menuStrip1.Name = "menuStrip1";
|
||||
this.menuStrip1.Padding = new System.Windows.Forms.Padding(7, 2, 0, 2);
|
||||
this.menuStrip1.Size = new System.Drawing.Size(1902, 30);
|
||||
this.menuStrip1.Size = new System.Drawing.Size(1664, 24);
|
||||
this.menuStrip1.TabIndex = 0;
|
||||
this.menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
@@ -175,34 +175,34 @@
|
||||
this.도서정보관리,
|
||||
this.사용대장});
|
||||
this.홈ToolStripMenuItem.Name = "홈ToolStripMenuItem";
|
||||
this.홈ToolStripMenuItem.Size = new System.Drawing.Size(38, 26);
|
||||
this.홈ToolStripMenuItem.Size = new System.Drawing.Size(31, 20);
|
||||
this.홈ToolStripMenuItem.Text = "홈";
|
||||
//
|
||||
// 사업체정보
|
||||
//
|
||||
this.사업체정보.Name = "사업체정보";
|
||||
this.사업체정보.Size = new System.Drawing.Size(218, 26);
|
||||
this.사업체정보.Size = new System.Drawing.Size(175, 22);
|
||||
this.사업체정보.Text = "사업체 정보";
|
||||
this.사업체정보.Click += new System.EventHandler(this.사용자정보ToolStripMenuItem_Click);
|
||||
//
|
||||
// 사용자관리
|
||||
//
|
||||
this.사용자관리.Name = "사용자관리";
|
||||
this.사용자관리.Size = new System.Drawing.Size(218, 26);
|
||||
this.사용자관리.Size = new System.Drawing.Size(175, 22);
|
||||
this.사용자관리.Text = "사용자 관리";
|
||||
this.사용자관리.Click += new System.EventHandler(this.사용자관리ToolStripMenuItem_Click);
|
||||
//
|
||||
// 납품거래처관리
|
||||
//
|
||||
this.납품거래처관리.Name = "납품거래처관리";
|
||||
this.납품거래처관리.Size = new System.Drawing.Size(218, 26);
|
||||
this.납품거래처관리.Size = new System.Drawing.Size(175, 22);
|
||||
this.납품거래처관리.Text = "납품 / 거래처 관리";
|
||||
this.납품거래처관리.Click += new System.EventHandler(this.납품거래처관리ToolStripMenuItem_Click);
|
||||
//
|
||||
// 주문처관리
|
||||
//
|
||||
this.주문처관리.Name = "주문처관리";
|
||||
this.주문처관리.Size = new System.Drawing.Size(218, 26);
|
||||
this.주문처관리.Size = new System.Drawing.Size(175, 22);
|
||||
this.주문처관리.Text = "주문처 관리";
|
||||
this.주문처관리.Click += new System.EventHandler(this.주문처관리ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -210,14 +210,14 @@
|
||||
//
|
||||
this.비밀번호변경.Enabled = false;
|
||||
this.비밀번호변경.Name = "비밀번호변경";
|
||||
this.비밀번호변경.Size = new System.Drawing.Size(218, 26);
|
||||
this.비밀번호변경.Size = new System.Drawing.Size(175, 22);
|
||||
this.비밀번호변경.Text = "비밀번호 변경";
|
||||
this.비밀번호변경.Click += new System.EventHandler(this.비밀번호변경ToolStripMenuItem_Click);
|
||||
//
|
||||
// 도서정보관리
|
||||
//
|
||||
this.도서정보관리.Name = "도서정보관리";
|
||||
this.도서정보관리.Size = new System.Drawing.Size(218, 26);
|
||||
this.도서정보관리.Size = new System.Drawing.Size(175, 22);
|
||||
this.도서정보관리.Text = "도서정보 관리";
|
||||
this.도서정보관리.Click += new System.EventHandler(this.도서정보관리ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -225,7 +225,7 @@
|
||||
//
|
||||
this.사용대장.Enabled = false;
|
||||
this.사용대장.Name = "사용대장";
|
||||
this.사용대장.Size = new System.Drawing.Size(218, 26);
|
||||
this.사용대장.Size = new System.Drawing.Size(175, 22);
|
||||
this.사용대장.Text = "사용대장";
|
||||
this.사용대장.Click += new System.EventHandler(this.사용대장ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -240,55 +240,55 @@
|
||||
this.재고입력및조회,
|
||||
this.반품처리});
|
||||
this.납품관리ToolStripMenuItem.Name = "납품관리ToolStripMenuItem";
|
||||
this.납품관리ToolStripMenuItem.Size = new System.Drawing.Size(83, 26);
|
||||
this.납품관리ToolStripMenuItem.Size = new System.Drawing.Size(67, 20);
|
||||
this.납품관리ToolStripMenuItem.Text = "납품관리";
|
||||
//
|
||||
// 목록등록
|
||||
//
|
||||
this.목록등록.Name = "목록등록";
|
||||
this.목록등록.Size = new System.Drawing.Size(207, 26);
|
||||
this.목록등록.Size = new System.Drawing.Size(166, 22);
|
||||
this.목록등록.Text = "물품등록";
|
||||
this.목록등록.Click += new System.EventHandler(this.물품등록ToolStripMenuItem_Click);
|
||||
//
|
||||
// 목록조회
|
||||
//
|
||||
this.목록조회.Name = "목록조회";
|
||||
this.목록조회.Size = new System.Drawing.Size(207, 26);
|
||||
this.목록조회.Size = new System.Drawing.Size(166, 22);
|
||||
this.목록조회.Text = "목록조회";
|
||||
this.목록조회.Click += new System.EventHandler(this.목록등록편의ToolStripMenuItem_Click);
|
||||
//
|
||||
// 목록집계
|
||||
//
|
||||
this.목록집계.Name = "목록집계";
|
||||
this.목록집계.Size = new System.Drawing.Size(207, 26);
|
||||
this.목록집계.Size = new System.Drawing.Size(166, 22);
|
||||
this.목록집계.Text = "목록집계";
|
||||
this.목록집계.Click += new System.EventHandler(this.목록집계ToolStripMenuItem_Click);
|
||||
//
|
||||
// 주문입력
|
||||
//
|
||||
this.주문입력.Name = "주문입력";
|
||||
this.주문입력.Size = new System.Drawing.Size(207, 26);
|
||||
this.주문입력.Size = new System.Drawing.Size(166, 22);
|
||||
this.주문입력.Text = "주문입력";
|
||||
this.주문입력.Click += new System.EventHandler(this.주문입력ToolStripMenuItem_Click);
|
||||
//
|
||||
// 입고작업
|
||||
//
|
||||
this.입고작업.Name = "입고작업";
|
||||
this.입고작업.Size = new System.Drawing.Size(207, 26);
|
||||
this.입고작업.Size = new System.Drawing.Size(166, 22);
|
||||
this.입고작업.Text = "입고작업";
|
||||
this.입고작업.Click += new System.EventHandler(this.매입ToolStripMenuItem_Click);
|
||||
//
|
||||
// 재고입력및조회
|
||||
//
|
||||
this.재고입력및조회.Name = "재고입력및조회";
|
||||
this.재고입력및조회.Size = new System.Drawing.Size(207, 26);
|
||||
this.재고입력및조회.Size = new System.Drawing.Size(166, 22);
|
||||
this.재고입력및조회.Text = "재고입력 및 조회";
|
||||
this.재고입력및조회.Click += new System.EventHandler(this.재고입력및조회ToolStripMenuItem_Click);
|
||||
//
|
||||
// 반품처리
|
||||
//
|
||||
this.반품처리.Name = "반품처리";
|
||||
this.반품처리.Size = new System.Drawing.Size(207, 26);
|
||||
this.반품처리.Size = new System.Drawing.Size(166, 22);
|
||||
this.반품처리.Text = "반품처리";
|
||||
this.반품처리.Click += new System.EventHandler(this.반품처리ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -301,20 +301,20 @@
|
||||
this.매출,
|
||||
this.파트타임관리});
|
||||
this.회계ToolStripMenuItem.Name = "회계ToolStripMenuItem";
|
||||
this.회계ToolStripMenuItem.Size = new System.Drawing.Size(53, 26);
|
||||
this.회계ToolStripMenuItem.Size = new System.Drawing.Size(43, 20);
|
||||
this.회계ToolStripMenuItem.Text = "회계";
|
||||
//
|
||||
// 송금내역조회
|
||||
//
|
||||
this.송금내역조회.Name = "송금내역조회";
|
||||
this.송금내역조회.Size = new System.Drawing.Size(192, 26);
|
||||
this.송금내역조회.Size = new System.Drawing.Size(154, 22);
|
||||
this.송금내역조회.Text = "송금 내역 조회";
|
||||
this.송금내역조회.Click += new System.EventHandler(this.송금내역조회ToolStripMenuItem_Click);
|
||||
//
|
||||
// 송금등록
|
||||
//
|
||||
this.송금등록.Name = "송금등록";
|
||||
this.송금등록.Size = new System.Drawing.Size(192, 26);
|
||||
this.송금등록.Size = new System.Drawing.Size(154, 22);
|
||||
this.송금등록.Text = "송금 등록";
|
||||
this.송금등록.Click += new System.EventHandler(this.송금등록ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -325,20 +325,20 @@
|
||||
this.매입장부,
|
||||
this.매입미결제ToolStripMenuItem});
|
||||
this.매입.Name = "매입";
|
||||
this.매입.Size = new System.Drawing.Size(192, 26);
|
||||
this.매입.Size = new System.Drawing.Size(154, 22);
|
||||
this.매입.Text = "매입";
|
||||
//
|
||||
// 매입집계
|
||||
//
|
||||
this.매입집계.Name = "매입집계";
|
||||
this.매입집계.Size = new System.Drawing.Size(172, 26);
|
||||
this.매입집계.Size = new System.Drawing.Size(138, 22);
|
||||
this.매입집계.Text = "매입 집계";
|
||||
this.매입집계.Click += new System.EventHandler(this.매입집계ToolStripMenuItem_Click);
|
||||
//
|
||||
// 매입장부
|
||||
//
|
||||
this.매입장부.Name = "매입장부";
|
||||
this.매입장부.Size = new System.Drawing.Size(172, 26);
|
||||
this.매입장부.Size = new System.Drawing.Size(138, 22);
|
||||
this.매입장부.Text = "매입 장부";
|
||||
this.매입장부.Click += new System.EventHandler(this.매입장부ToolStripMenuItem1_Click);
|
||||
//
|
||||
@@ -346,7 +346,7 @@
|
||||
//
|
||||
this.매입미결제ToolStripMenuItem.Enabled = false;
|
||||
this.매입미결제ToolStripMenuItem.Name = "매입미결제ToolStripMenuItem";
|
||||
this.매입미결제ToolStripMenuItem.Size = new System.Drawing.Size(172, 26);
|
||||
this.매입미결제ToolStripMenuItem.Size = new System.Drawing.Size(138, 22);
|
||||
this.매입미결제ToolStripMenuItem.Text = "매입 미결제";
|
||||
this.매입미결제ToolStripMenuItem.Click += new System.EventHandler(this.매입미결제ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -358,41 +358,41 @@
|
||||
this.매출조회,
|
||||
this.매출집계});
|
||||
this.매출.Name = "매출";
|
||||
this.매출.Size = new System.Drawing.Size(192, 26);
|
||||
this.매출.Size = new System.Drawing.Size(154, 22);
|
||||
this.매출.Text = "매출";
|
||||
//
|
||||
// 매출입력
|
||||
//
|
||||
this.매출입력.Name = "매출입력";
|
||||
this.매출입력.Size = new System.Drawing.Size(157, 26);
|
||||
this.매출입력.Size = new System.Drawing.Size(126, 22);
|
||||
this.매출입력.Text = "매출 입력";
|
||||
this.매출입력.Click += new System.EventHandler(this.매출입력ToolStripMenuItem1_Click);
|
||||
//
|
||||
// 매출입금
|
||||
//
|
||||
this.매출입금.Name = "매출입금";
|
||||
this.매출입금.Size = new System.Drawing.Size(157, 26);
|
||||
this.매출입금.Size = new System.Drawing.Size(126, 22);
|
||||
this.매출입금.Text = "매출 입금";
|
||||
this.매출입금.Click += new System.EventHandler(this.매출입금toolStripMenuItem1_Click_1);
|
||||
//
|
||||
// 매출조회
|
||||
//
|
||||
this.매출조회.Name = "매출조회";
|
||||
this.매출조회.Size = new System.Drawing.Size(157, 26);
|
||||
this.매출조회.Size = new System.Drawing.Size(126, 22);
|
||||
this.매출조회.Text = "매출 조회";
|
||||
this.매출조회.Click += new System.EventHandler(this.매출장부ToolStripMenuItem_Click);
|
||||
//
|
||||
// 매출집계
|
||||
//
|
||||
this.매출집계.Name = "매출집계";
|
||||
this.매출집계.Size = new System.Drawing.Size(157, 26);
|
||||
this.매출집계.Size = new System.Drawing.Size(126, 22);
|
||||
this.매출집계.Text = "매출 집계";
|
||||
this.매출집계.Click += new System.EventHandler(this.매출입금ToolStripMenuItem1_Click);
|
||||
//
|
||||
// 파트타임관리
|
||||
//
|
||||
this.파트타임관리.Name = "파트타임관리";
|
||||
this.파트타임관리.Size = new System.Drawing.Size(192, 26);
|
||||
this.파트타임관리.Size = new System.Drawing.Size(154, 22);
|
||||
this.파트타임관리.Text = "파트타임 관리";
|
||||
this.파트타임관리.Click += new System.EventHandler(this.파트타임관리ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -407,7 +407,7 @@
|
||||
this.DLS,
|
||||
this.마크기타});
|
||||
this.마크ToolStripMenuItem.Name = "마크ToolStripMenuItem";
|
||||
this.마크ToolStripMenuItem.Size = new System.Drawing.Size(53, 26);
|
||||
this.마크ToolStripMenuItem.Size = new System.Drawing.Size(43, 20);
|
||||
this.마크ToolStripMenuItem.Text = "마크";
|
||||
//
|
||||
// 마크설정
|
||||
@@ -418,13 +418,13 @@
|
||||
this.불용어,
|
||||
this.작업지시서});
|
||||
this.마크설정.Name = "마크설정";
|
||||
this.마크설정.Size = new System.Drawing.Size(193, 26);
|
||||
this.마크설정.Size = new System.Drawing.Size(180, 22);
|
||||
this.마크설정.Text = "설정";
|
||||
//
|
||||
// 단축키설정
|
||||
//
|
||||
this.단축키설정.Name = "단축키설정";
|
||||
this.단축키설정.Size = new System.Drawing.Size(172, 26);
|
||||
this.단축키설정.Size = new System.Drawing.Size(138, 22);
|
||||
this.단축키설정.Text = "단축키";
|
||||
this.단축키설정.Visible = false;
|
||||
this.단축키설정.Click += new System.EventHandler(this.단축키설정ToolStripMenuItem_Click);
|
||||
@@ -432,14 +432,14 @@
|
||||
// 매크로문구
|
||||
//
|
||||
this.매크로문구.Name = "매크로문구";
|
||||
this.매크로문구.Size = new System.Drawing.Size(172, 26);
|
||||
this.매크로문구.Size = new System.Drawing.Size(138, 22);
|
||||
this.매크로문구.Text = "매크로 문구";
|
||||
this.매크로문구.Click += new System.EventHandler(this.매크로문구설정ToolStripMenuItem_Click);
|
||||
//
|
||||
// 불용어
|
||||
//
|
||||
this.불용어.Name = "불용어";
|
||||
this.불용어.Size = new System.Drawing.Size(172, 26);
|
||||
this.불용어.Size = new System.Drawing.Size(138, 22);
|
||||
this.불용어.Text = "불용어";
|
||||
this.불용어.Visible = false;
|
||||
this.불용어.Click += new System.EventHandler(this.불용어ToolStripMenuItem_Click);
|
||||
@@ -447,7 +447,7 @@
|
||||
// 작업지시서
|
||||
//
|
||||
this.작업지시서.Name = "작업지시서";
|
||||
this.작업지시서.Size = new System.Drawing.Size(172, 26);
|
||||
this.작업지시서.Size = new System.Drawing.Size(138, 22);
|
||||
this.작업지시서.Text = "작업지시서";
|
||||
this.작업지시서.Visible = false;
|
||||
this.작업지시서.Click += new System.EventHandler(this.작업지시서ToolStripMenuItem_Click);
|
||||
@@ -456,6 +456,7 @@
|
||||
//
|
||||
this.마크작업.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.마크작성,
|
||||
this.신규마크작성NewToolStripMenuItem,
|
||||
this.마크목록,
|
||||
this.소장자료검색,
|
||||
this.마크정리,
|
||||
@@ -463,13 +464,13 @@
|
||||
this.복본조사2,
|
||||
this.iSBN조회});
|
||||
this.마크작업.Name = "마크작업";
|
||||
this.마크작업.Size = new System.Drawing.Size(193, 26);
|
||||
this.마크작업.Size = new System.Drawing.Size(180, 22);
|
||||
this.마크작업.Text = "마크 작업";
|
||||
//
|
||||
// 마크작성
|
||||
//
|
||||
this.마크작성.Name = "마크작성";
|
||||
this.마크작성.Size = new System.Drawing.Size(192, 26);
|
||||
this.마크작성.Size = new System.Drawing.Size(182, 22);
|
||||
this.마크작성.Text = "신규마크 작성";
|
||||
this.마크작성.ToolTipText = "마크 작성(2)";
|
||||
this.마크작성.Click += new System.EventHandler(this.마크작성ToolStripMenuItem_Click);
|
||||
@@ -477,42 +478,42 @@
|
||||
// 마크목록
|
||||
//
|
||||
this.마크목록.Name = "마크목록";
|
||||
this.마크목록.Size = new System.Drawing.Size(192, 26);
|
||||
this.마크목록.Size = new System.Drawing.Size(182, 22);
|
||||
this.마크목록.Text = "마크 목록";
|
||||
this.마크목록.Click += new System.EventHandler(this.마크목록ToolStripMenuItem_Click);
|
||||
//
|
||||
// 소장자료검색
|
||||
//
|
||||
this.소장자료검색.Name = "소장자료검색";
|
||||
this.소장자료검색.Size = new System.Drawing.Size(192, 26);
|
||||
this.소장자료검색.Size = new System.Drawing.Size(182, 22);
|
||||
this.소장자료검색.Text = "소장자료검색";
|
||||
this.소장자료검색.Click += new System.EventHandler(this.소장자료검색ToolStripMenuItem_Click);
|
||||
//
|
||||
// 마크정리
|
||||
//
|
||||
this.마크정리.Name = "마크정리";
|
||||
this.마크정리.Size = new System.Drawing.Size(192, 26);
|
||||
this.마크정리.Size = new System.Drawing.Size(182, 22);
|
||||
this.마크정리.Text = "마크 정리";
|
||||
this.마크정리.Click += new System.EventHandler(this.마크정리ToolStripMenuItem_Click);
|
||||
//
|
||||
// 복본조사1
|
||||
//
|
||||
this.복본조사1.Name = "복본조사1";
|
||||
this.복본조사1.Size = new System.Drawing.Size(192, 26);
|
||||
this.복본조사1.Size = new System.Drawing.Size(182, 22);
|
||||
this.복본조사1.Text = "복본조사";
|
||||
this.복본조사1.Click += new System.EventHandler(this.복본조사ToolStripMenuItem1_Click);
|
||||
//
|
||||
// 복본조사2
|
||||
//
|
||||
this.복본조사2.Name = "복본조사2";
|
||||
this.복본조사2.Size = new System.Drawing.Size(192, 26);
|
||||
this.복본조사2.Size = new System.Drawing.Size(182, 22);
|
||||
this.복본조사2.Text = "복본조사(New)";
|
||||
this.복본조사2.Click += new System.EventHandler(this.복본조사2_Click);
|
||||
//
|
||||
// iSBN조회
|
||||
//
|
||||
this.iSBN조회.Name = "iSBN조회";
|
||||
this.iSBN조회.Size = new System.Drawing.Size(192, 26);
|
||||
this.iSBN조회.Size = new System.Drawing.Size(182, 22);
|
||||
this.iSBN조회.Text = "ISBN 조회";
|
||||
this.iSBN조회.Click += new System.EventHandler(this.iSBN조회ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -522,21 +523,21 @@
|
||||
this.목록,
|
||||
this.편목});
|
||||
this.dVDCDLPToolStripMenuItem.Name = "dVDCDLPToolStripMenuItem";
|
||||
this.dVDCDLPToolStripMenuItem.Size = new System.Drawing.Size(193, 26);
|
||||
this.dVDCDLPToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.dVDCDLPToolStripMenuItem.Text = "DVD / CD / LP";
|
||||
//
|
||||
// 목록
|
||||
//
|
||||
this.목록.Enabled = false;
|
||||
this.목록.Name = "목록";
|
||||
this.목록.Size = new System.Drawing.Size(122, 26);
|
||||
this.목록.Size = new System.Drawing.Size(98, 22);
|
||||
this.목록.Text = "목록";
|
||||
this.목록.Click += new System.EventHandler(this.목록_Click);
|
||||
//
|
||||
// 편목
|
||||
//
|
||||
this.편목.Name = "편목";
|
||||
this.편목.Size = new System.Drawing.Size(122, 26);
|
||||
this.편목.Size = new System.Drawing.Size(98, 22);
|
||||
this.편목.Text = "편목";
|
||||
this.편목.Click += new System.EventHandler(this.편목ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -546,20 +547,20 @@
|
||||
this.마크반입,
|
||||
this.마크반출});
|
||||
this.반입및반출.Name = "반입및반출";
|
||||
this.반입및반출.Size = new System.Drawing.Size(193, 26);
|
||||
this.반입및반출.Size = new System.Drawing.Size(180, 22);
|
||||
this.반입및반출.Text = "반입 및 반출";
|
||||
//
|
||||
// 마크반입
|
||||
//
|
||||
this.마크반입.Name = "마크반입";
|
||||
this.마크반입.Size = new System.Drawing.Size(122, 26);
|
||||
this.마크반입.Size = new System.Drawing.Size(98, 22);
|
||||
this.마크반입.Text = "반입";
|
||||
this.마크반입.Click += new System.EventHandler(this.반입ToolStripMenuItem_Click);
|
||||
//
|
||||
// 마크반출
|
||||
//
|
||||
this.마크반출.Name = "마크반출";
|
||||
this.마크반출.Size = new System.Drawing.Size(122, 26);
|
||||
this.마크반출.Size = new System.Drawing.Size(98, 22);
|
||||
this.마크반출.Text = "반출";
|
||||
this.마크반출.Click += new System.EventHandler(this.반출ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -571,14 +572,14 @@
|
||||
this.검수,
|
||||
this.저자기호});
|
||||
this.부가기능.Name = "부가기능";
|
||||
this.부가기능.Size = new System.Drawing.Size(193, 26);
|
||||
this.부가기능.Size = new System.Drawing.Size(180, 22);
|
||||
this.부가기능.Text = "부가기능";
|
||||
//
|
||||
// 마크수집
|
||||
//
|
||||
this.마크수집.Enabled = false;
|
||||
this.마크수집.Name = "마크수집";
|
||||
this.마크수집.Size = new System.Drawing.Size(152, 26);
|
||||
this.마크수집.Size = new System.Drawing.Size(122, 22);
|
||||
this.마크수집.Text = "마크수집";
|
||||
this.마크수집.Visible = false;
|
||||
this.마크수집.Click += new System.EventHandler(this.마크수집ToolStripMenuItem_Click);
|
||||
@@ -586,7 +587,7 @@
|
||||
// 전집관리
|
||||
//
|
||||
this.전집관리.Name = "전집관리";
|
||||
this.전집관리.Size = new System.Drawing.Size(152, 26);
|
||||
this.전집관리.Size = new System.Drawing.Size(122, 22);
|
||||
this.전집관리.Text = "전집관리";
|
||||
this.전집관리.Click += new System.EventHandler(this.전집관리ToolStripMenuItem1_Click);
|
||||
//
|
||||
@@ -594,7 +595,7 @@
|
||||
//
|
||||
this.검수.Enabled = false;
|
||||
this.검수.Name = "검수";
|
||||
this.검수.Size = new System.Drawing.Size(152, 26);
|
||||
this.검수.Size = new System.Drawing.Size(122, 22);
|
||||
this.검수.Text = "검수";
|
||||
this.검수.Visible = false;
|
||||
this.검수.Click += new System.EventHandler(this.검수ToolStripMenuItem_Click);
|
||||
@@ -602,7 +603,7 @@
|
||||
// 저자기호
|
||||
//
|
||||
this.저자기호.Name = "저자기호";
|
||||
this.저자기호.Size = new System.Drawing.Size(152, 26);
|
||||
this.저자기호.Size = new System.Drawing.Size(122, 22);
|
||||
this.저자기호.Text = "저자기호";
|
||||
this.저자기호.Click += new System.EventHandler(this.저자기호ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -612,20 +613,20 @@
|
||||
this.DLS조회,
|
||||
this.dLS복본조사});
|
||||
this.DLS.Name = "DLS";
|
||||
this.DLS.Size = new System.Drawing.Size(193, 26);
|
||||
this.DLS.Size = new System.Drawing.Size(180, 22);
|
||||
this.DLS.Text = "DLS";
|
||||
//
|
||||
// DLS조회
|
||||
//
|
||||
this.DLS조회.Name = "DLS조회";
|
||||
this.DLS조회.Size = new System.Drawing.Size(190, 26);
|
||||
this.DLS조회.Size = new System.Drawing.Size(154, 22);
|
||||
this.DLS조회.Text = "DLS_조회/입력";
|
||||
this.DLS조회.Click += new System.EventHandler(this.dLS조회ToolStripMenuItem_Click);
|
||||
//
|
||||
// dLS복본조사
|
||||
//
|
||||
this.dLS복본조사.Name = "dLS복본조사";
|
||||
this.dLS복본조사.Size = new System.Drawing.Size(190, 26);
|
||||
this.dLS복본조사.Size = new System.Drawing.Size(154, 22);
|
||||
this.dLS복본조사.Text = "DLS 복본조사";
|
||||
this.dLS복본조사.Click += new System.EventHandler(this.dLS복본조사ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -636,14 +637,14 @@
|
||||
this.마크통계,
|
||||
this.장비관리});
|
||||
this.마크기타.Name = "마크기타";
|
||||
this.마크기타.Size = new System.Drawing.Size(193, 26);
|
||||
this.마크기타.Size = new System.Drawing.Size(180, 22);
|
||||
this.마크기타.Text = "기타";
|
||||
//
|
||||
// 서류작성
|
||||
//
|
||||
this.서류작성.Enabled = false;
|
||||
this.서류작성.Name = "서류작성";
|
||||
this.서류작성.Size = new System.Drawing.Size(152, 26);
|
||||
this.서류작성.Size = new System.Drawing.Size(122, 22);
|
||||
this.서류작성.Text = "서류작성";
|
||||
this.서류작성.Visible = false;
|
||||
this.서류작성.Click += new System.EventHandler(this.서류작성ToolStripMenuItem_Click);
|
||||
@@ -651,7 +652,7 @@
|
||||
// 마크통계
|
||||
//
|
||||
this.마크통계.Name = "마크통계";
|
||||
this.마크통계.Size = new System.Drawing.Size(152, 26);
|
||||
this.마크통계.Size = new System.Drawing.Size(122, 22);
|
||||
this.마크통계.Text = "마크통계";
|
||||
this.마크통계.Click += new System.EventHandler(this.마크통계ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -659,7 +660,7 @@
|
||||
//
|
||||
this.장비관리.Enabled = false;
|
||||
this.장비관리.Name = "장비관리";
|
||||
this.장비관리.Size = new System.Drawing.Size(152, 26);
|
||||
this.장비관리.Size = new System.Drawing.Size(122, 22);
|
||||
this.장비관리.Text = "장비관리";
|
||||
this.장비관리.Visible = false;
|
||||
this.장비관리.Click += new System.EventHandler(this.장비관리ToolStripMenuItem1_Click);
|
||||
@@ -668,7 +669,7 @@
|
||||
//
|
||||
this.작업일지ToolStripMenuItem.Enabled = false;
|
||||
this.작업일지ToolStripMenuItem.Name = "작업일지ToolStripMenuItem";
|
||||
this.작업일지ToolStripMenuItem.Size = new System.Drawing.Size(83, 26);
|
||||
this.작업일지ToolStripMenuItem.Size = new System.Drawing.Size(67, 20);
|
||||
this.작업일지ToolStripMenuItem.Text = "작업일지";
|
||||
this.작업일지ToolStripMenuItem.Click += new System.EventHandler(this.작업일지ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -682,20 +683,20 @@
|
||||
this.공지발송,
|
||||
this.판매});
|
||||
this.편의기능ToolStripMenuItem.Name = "편의기능ToolStripMenuItem";
|
||||
this.편의기능ToolStripMenuItem.Size = new System.Drawing.Size(83, 26);
|
||||
this.편의기능ToolStripMenuItem.Size = new System.Drawing.Size(67, 20);
|
||||
this.편의기능ToolStripMenuItem.Text = "편의기능";
|
||||
//
|
||||
// 캘린더
|
||||
//
|
||||
this.캘린더.Name = "캘린더";
|
||||
this.캘린더.Size = new System.Drawing.Size(152, 26);
|
||||
this.캘린더.Size = new System.Drawing.Size(122, 22);
|
||||
this.캘린더.Text = "캘린더";
|
||||
this.캘린더.Click += new System.EventHandler(this.캘린더ToolStripMenuItem_Click);
|
||||
//
|
||||
// 채팅
|
||||
//
|
||||
this.채팅.Name = "채팅";
|
||||
this.채팅.Size = new System.Drawing.Size(152, 26);
|
||||
this.채팅.Size = new System.Drawing.Size(122, 22);
|
||||
this.채팅.Text = "채팅";
|
||||
this.채팅.Visible = false;
|
||||
this.채팅.Click += new System.EventHandler(this.채팅ToolStripMenuItem_Click);
|
||||
@@ -703,14 +704,14 @@
|
||||
// 퀵메뉴
|
||||
//
|
||||
this.퀵메뉴.Name = "퀵메뉴";
|
||||
this.퀵메뉴.Size = new System.Drawing.Size(152, 26);
|
||||
this.퀵메뉴.Size = new System.Drawing.Size(122, 22);
|
||||
this.퀵메뉴.Text = "퀵메뉴";
|
||||
this.퀵메뉴.Click += new System.EventHandler(this.퀵메뉴ToolStripMenuItem_Click);
|
||||
//
|
||||
// 게시판
|
||||
//
|
||||
this.게시판.Name = "게시판";
|
||||
this.게시판.Size = new System.Drawing.Size(152, 26);
|
||||
this.게시판.Size = new System.Drawing.Size(122, 22);
|
||||
this.게시판.Text = "게시판";
|
||||
this.게시판.Visible = false;
|
||||
this.게시판.Click += new System.EventHandler(this.게시판ToolStripMenuItem_Click);
|
||||
@@ -718,7 +719,7 @@
|
||||
// 공지발송
|
||||
//
|
||||
this.공지발송.Name = "공지발송";
|
||||
this.공지발송.Size = new System.Drawing.Size(152, 26);
|
||||
this.공지발송.Size = new System.Drawing.Size(122, 22);
|
||||
this.공지발송.Text = "공지발송";
|
||||
this.공지발송.Visible = false;
|
||||
this.공지발송.Click += new System.EventHandler(this.공지발송ToolStripMenuItem_Click);
|
||||
@@ -731,35 +732,35 @@
|
||||
this.판매마감,
|
||||
this.회원관리});
|
||||
this.판매.Name = "판매";
|
||||
this.판매.Size = new System.Drawing.Size(152, 26);
|
||||
this.판매.Size = new System.Drawing.Size(122, 22);
|
||||
this.판매.Text = "판매";
|
||||
this.판매.Visible = false;
|
||||
//
|
||||
// 판매1
|
||||
//
|
||||
this.판매1.Name = "판매1";
|
||||
this.판매1.Size = new System.Drawing.Size(152, 26);
|
||||
this.판매1.Size = new System.Drawing.Size(122, 22);
|
||||
this.판매1.Text = "판매";
|
||||
this.판매1.Click += new System.EventHandler(this.판매ToolStripMenuItem1_Click);
|
||||
//
|
||||
// 정산
|
||||
//
|
||||
this.정산.Name = "정산";
|
||||
this.정산.Size = new System.Drawing.Size(152, 26);
|
||||
this.정산.Size = new System.Drawing.Size(122, 22);
|
||||
this.정산.Text = "정산";
|
||||
this.정산.Click += new System.EventHandler(this.정산ToolStripMenuItem_Click);
|
||||
//
|
||||
// 판매마감
|
||||
//
|
||||
this.판매마감.Name = "판매마감";
|
||||
this.판매마감.Size = new System.Drawing.Size(152, 26);
|
||||
this.판매마감.Size = new System.Drawing.Size(122, 22);
|
||||
this.판매마감.Text = "판매마감";
|
||||
this.판매마감.Click += new System.EventHandler(this.판매마감ToolStripMenuItem_Click);
|
||||
//
|
||||
// 회원관리
|
||||
//
|
||||
this.회원관리.Name = "회원관리";
|
||||
this.회원관리.Size = new System.Drawing.Size(152, 26);
|
||||
this.회원관리.Size = new System.Drawing.Size(122, 22);
|
||||
this.회원관리.Text = "회원관리";
|
||||
this.회원관리.Click += new System.EventHandler(this.회원관리ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -774,7 +775,7 @@
|
||||
this.일괄처리관리ToolStripMenuItem,
|
||||
this.btDevDb});
|
||||
this.마스터ToolStripMenuItem.Name = "마스터ToolStripMenuItem";
|
||||
this.마스터ToolStripMenuItem.Size = new System.Drawing.Size(68, 26);
|
||||
this.마스터ToolStripMenuItem.Size = new System.Drawing.Size(55, 20);
|
||||
this.마스터ToolStripMenuItem.Text = "마스터";
|
||||
//
|
||||
// 이용자관리ToolStripMenuItem
|
||||
@@ -782,48 +783,48 @@
|
||||
this.이용자관리ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.신규사업자등록ToolStripMenuItem});
|
||||
this.이용자관리ToolStripMenuItem.Name = "이용자관리ToolStripMenuItem";
|
||||
this.이용자관리ToolStripMenuItem.Size = new System.Drawing.Size(252, 26);
|
||||
this.이용자관리ToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
|
||||
this.이용자관리ToolStripMenuItem.Text = "이용자 관리";
|
||||
//
|
||||
// 신규사업자등록ToolStripMenuItem
|
||||
//
|
||||
this.신규사업자등록ToolStripMenuItem.Name = "신규사업자등록ToolStripMenuItem";
|
||||
this.신규사업자등록ToolStripMenuItem.Size = new System.Drawing.Size(172, 26);
|
||||
this.신규사업자등록ToolStripMenuItem.Size = new System.Drawing.Size(138, 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(252, 26);
|
||||
this.공지발송ToolStripMenuItem1.Size = new System.Drawing.Size(202, 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(252, 26);
|
||||
this.매출내역ToolStripMenuItem.Size = new System.Drawing.Size(202, 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(252, 26);
|
||||
this.이용자거래처조회ToolStripMenuItem.Size = new System.Drawing.Size(202, 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(252, 26);
|
||||
this.마크설정ToolStripMenuItem.Size = new System.Drawing.Size(202, 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(252, 26);
|
||||
this.일괄처리관리ToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
|
||||
this.일괄처리관리ToolStripMenuItem.Text = "일괄처리 관리";
|
||||
this.일괄처리관리ToolStripMenuItem.Click += new System.EventHandler(this.일괄처리관리ToolStripMenuItem_Click);
|
||||
//
|
||||
@@ -831,7 +832,7 @@
|
||||
//
|
||||
this.btDevDb.ForeColor = System.Drawing.Color.Blue;
|
||||
this.btDevDb.Name = "btDevDb";
|
||||
this.btDevDb.Size = new System.Drawing.Size(252, 26);
|
||||
this.btDevDb.Size = new System.Drawing.Size(202, 22);
|
||||
this.btDevDb.Text = "데이터베이스편집(개발)";
|
||||
this.btDevDb.Visible = false;
|
||||
this.btDevDb.Click += new System.EventHandler(this.btDevDb_Click);
|
||||
@@ -840,7 +841,7 @@
|
||||
//
|
||||
this.menu_allclose.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.menu_allclose.Name = "menu_allclose";
|
||||
this.menu_allclose.Size = new System.Drawing.Size(108, 26);
|
||||
this.menu_allclose.Size = new System.Drawing.Size(87, 20);
|
||||
this.menu_allclose.Text = "전체 창 닫기";
|
||||
this.menu_allclose.Click += new System.EventHandler(this.menu_allclose_Click);
|
||||
//
|
||||
@@ -861,10 +862,9 @@
|
||||
this.panel1.Controls.Add(this.ShortCut2);
|
||||
this.panel1.Controls.Add(this.ShortCut1);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 30);
|
||||
this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.panel1.Location = new System.Drawing.Point(0, 24);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(1902, 80);
|
||||
this.panel1.Size = new System.Drawing.Size(1664, 64);
|
||||
this.panel1.TabIndex = 2;
|
||||
//
|
||||
// ShortCut12
|
||||
@@ -873,10 +873,9 @@
|
||||
this.ShortCut12.Enabled = false;
|
||||
this.ShortCut12.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut12.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut12.Location = new System.Drawing.Point(982, 1);
|
||||
this.ShortCut12.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.ShortCut12.Location = new System.Drawing.Point(859, 1);
|
||||
this.ShortCut12.Name = "ShortCut12";
|
||||
this.ShortCut12.Size = new System.Drawing.Size(69, 75);
|
||||
this.ShortCut12.Size = new System.Drawing.Size(60, 60);
|
||||
this.ShortCut12.TabIndex = 2;
|
||||
this.ShortCut12.Text = "즐겨찾기12";
|
||||
this.ShortCut12.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
@@ -888,10 +887,9 @@
|
||||
this.ShortCut11.Enabled = false;
|
||||
this.ShortCut11.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut11.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut11.Location = new System.Drawing.Point(894, 1);
|
||||
this.ShortCut11.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.ShortCut11.Location = new System.Drawing.Point(782, 1);
|
||||
this.ShortCut11.Name = "ShortCut11";
|
||||
this.ShortCut11.Size = new System.Drawing.Size(69, 75);
|
||||
this.ShortCut11.Size = new System.Drawing.Size(60, 60);
|
||||
this.ShortCut11.TabIndex = 2;
|
||||
this.ShortCut11.Text = "즐겨찾기11";
|
||||
this.ShortCut11.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
@@ -903,10 +901,9 @@
|
||||
this.ShortCut10.Enabled = false;
|
||||
this.ShortCut10.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut10.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut10.Location = new System.Drawing.Point(806, 1);
|
||||
this.ShortCut10.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.ShortCut10.Location = new System.Drawing.Point(705, 1);
|
||||
this.ShortCut10.Name = "ShortCut10";
|
||||
this.ShortCut10.Size = new System.Drawing.Size(69, 75);
|
||||
this.ShortCut10.Size = new System.Drawing.Size(60, 60);
|
||||
this.ShortCut10.TabIndex = 2;
|
||||
this.ShortCut10.Text = "즐겨찾기10";
|
||||
this.ShortCut10.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
@@ -918,10 +915,9 @@
|
||||
this.ShortCut9.Enabled = false;
|
||||
this.ShortCut9.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut9.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut9.Location = new System.Drawing.Point(718, 1);
|
||||
this.ShortCut9.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.ShortCut9.Location = new System.Drawing.Point(628, 1);
|
||||
this.ShortCut9.Name = "ShortCut9";
|
||||
this.ShortCut9.Size = new System.Drawing.Size(69, 75);
|
||||
this.ShortCut9.Size = new System.Drawing.Size(60, 60);
|
||||
this.ShortCut9.TabIndex = 2;
|
||||
this.ShortCut9.Text = "즐겨찾기9";
|
||||
this.ShortCut9.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
@@ -933,10 +929,9 @@
|
||||
this.ShortCut8.Enabled = false;
|
||||
this.ShortCut8.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut8.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut8.Location = new System.Drawing.Point(630, 1);
|
||||
this.ShortCut8.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.ShortCut8.Location = new System.Drawing.Point(551, 1);
|
||||
this.ShortCut8.Name = "ShortCut8";
|
||||
this.ShortCut8.Size = new System.Drawing.Size(69, 75);
|
||||
this.ShortCut8.Size = new System.Drawing.Size(60, 60);
|
||||
this.ShortCut8.TabIndex = 1;
|
||||
this.ShortCut8.Text = "즐겨찾기8";
|
||||
this.ShortCut8.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
@@ -948,10 +943,9 @@
|
||||
this.ShortCut6.Enabled = false;
|
||||
this.ShortCut6.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut6.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut6.Location = new System.Drawing.Point(454, 1);
|
||||
this.ShortCut6.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.ShortCut6.Location = new System.Drawing.Point(397, 1);
|
||||
this.ShortCut6.Name = "ShortCut6";
|
||||
this.ShortCut6.Size = new System.Drawing.Size(69, 75);
|
||||
this.ShortCut6.Size = new System.Drawing.Size(60, 60);
|
||||
this.ShortCut6.TabIndex = 2;
|
||||
this.ShortCut6.Text = "즐겨찾기6";
|
||||
this.ShortCut6.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
@@ -963,10 +957,9 @@
|
||||
this.ShortCut5.Enabled = false;
|
||||
this.ShortCut5.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut5.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut5.Location = new System.Drawing.Point(366, 1);
|
||||
this.ShortCut5.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.ShortCut5.Location = new System.Drawing.Point(320, 1);
|
||||
this.ShortCut5.Name = "ShortCut5";
|
||||
this.ShortCut5.Size = new System.Drawing.Size(69, 75);
|
||||
this.ShortCut5.Size = new System.Drawing.Size(60, 60);
|
||||
this.ShortCut5.TabIndex = 1;
|
||||
this.ShortCut5.Text = "즐겨찾기5";
|
||||
this.ShortCut5.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
@@ -978,10 +971,9 @@
|
||||
this.ShortCut7.Enabled = false;
|
||||
this.ShortCut7.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut7.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut7.Location = new System.Drawing.Point(542, 1);
|
||||
this.ShortCut7.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.ShortCut7.Location = new System.Drawing.Point(474, 1);
|
||||
this.ShortCut7.Name = "ShortCut7";
|
||||
this.ShortCut7.Size = new System.Drawing.Size(69, 75);
|
||||
this.ShortCut7.Size = new System.Drawing.Size(60, 60);
|
||||
this.ShortCut7.TabIndex = 0;
|
||||
this.ShortCut7.Text = "즐겨찾기7";
|
||||
this.ShortCut7.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
@@ -993,10 +985,9 @@
|
||||
this.ShortCut3.Enabled = false;
|
||||
this.ShortCut3.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut3.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut3.Location = new System.Drawing.Point(190, 1);
|
||||
this.ShortCut3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.ShortCut3.Location = new System.Drawing.Point(166, 1);
|
||||
this.ShortCut3.Name = "ShortCut3";
|
||||
this.ShortCut3.Size = new System.Drawing.Size(69, 75);
|
||||
this.ShortCut3.Size = new System.Drawing.Size(60, 60);
|
||||
this.ShortCut3.TabIndex = 2;
|
||||
this.ShortCut3.Text = "즐겨찾기3";
|
||||
this.ShortCut3.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
@@ -1008,10 +999,9 @@
|
||||
this.ShortCut4.Enabled = false;
|
||||
this.ShortCut4.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut4.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut4.Location = new System.Drawing.Point(278, 1);
|
||||
this.ShortCut4.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.ShortCut4.Location = new System.Drawing.Point(243, 1);
|
||||
this.ShortCut4.Name = "ShortCut4";
|
||||
this.ShortCut4.Size = new System.Drawing.Size(69, 75);
|
||||
this.ShortCut4.Size = new System.Drawing.Size(60, 60);
|
||||
this.ShortCut4.TabIndex = 0;
|
||||
this.ShortCut4.Text = "즐겨찾기4";
|
||||
this.ShortCut4.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
@@ -1023,10 +1013,9 @@
|
||||
this.ShortCut2.Enabled = false;
|
||||
this.ShortCut2.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut2.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut2.Location = new System.Drawing.Point(102, 1);
|
||||
this.ShortCut2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.ShortCut2.Location = new System.Drawing.Point(89, 1);
|
||||
this.ShortCut2.Name = "ShortCut2";
|
||||
this.ShortCut2.Size = new System.Drawing.Size(69, 75);
|
||||
this.ShortCut2.Size = new System.Drawing.Size(60, 60);
|
||||
this.ShortCut2.TabIndex = 1;
|
||||
this.ShortCut2.Text = "즐겨찾기2";
|
||||
this.ShortCut2.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
@@ -1038,10 +1027,9 @@
|
||||
this.ShortCut1.Enabled = false;
|
||||
this.ShortCut1.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ShortCut1.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.ShortCut1.Location = new System.Drawing.Point(14, 1);
|
||||
this.ShortCut1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.ShortCut1.Location = new System.Drawing.Point(12, 1);
|
||||
this.ShortCut1.Name = "ShortCut1";
|
||||
this.ShortCut1.Size = new System.Drawing.Size(69, 75);
|
||||
this.ShortCut1.Size = new System.Drawing.Size(60, 60);
|
||||
this.ShortCut1.TabIndex = 0;
|
||||
this.ShortCut1.Text = "즐겨찾기1";
|
||||
this.ShortCut1.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
@@ -1062,58 +1050,58 @@
|
||||
this.toolStripSeparator3,
|
||||
this.IPText,
|
||||
this.lblStatus});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 1002);
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 801);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(1902, 31);
|
||||
this.toolStrip1.Size = new System.Drawing.Size(1664, 25);
|
||||
this.toolStrip1.TabIndex = 4;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
// toolStripLabel2
|
||||
//
|
||||
this.toolStripLabel2.Name = "toolStripLabel2";
|
||||
this.toolStripLabel2.Size = new System.Drawing.Size(54, 28);
|
||||
this.toolStripLabel2.Size = new System.Drawing.Size(43, 22);
|
||||
this.toolStripLabel2.Text = "회사명";
|
||||
//
|
||||
// VersionText
|
||||
//
|
||||
this.VersionText.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.VersionText.Name = "VersionText";
|
||||
this.VersionText.Size = new System.Drawing.Size(143, 28);
|
||||
this.VersionText.Size = new System.Drawing.Size(116, 22);
|
||||
this.VersionText.Text = "UniMarc Ver 0.0000";
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 31);
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// botUserLabel
|
||||
//
|
||||
this.botUserLabel.Name = "botUserLabel";
|
||||
this.botUserLabel.Size = new System.Drawing.Size(54, 28);
|
||||
this.botUserLabel.Size = new System.Drawing.Size(43, 22);
|
||||
this.botUserLabel.Text = "이용자";
|
||||
//
|
||||
// toolStripSeparator2
|
||||
//
|
||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 31);
|
||||
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// toolStripSeparator3
|
||||
//
|
||||
this.toolStripSeparator3.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
||||
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 31);
|
||||
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// IPText
|
||||
//
|
||||
this.IPText.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.IPText.Name = "IPText";
|
||||
this.IPText.Size = new System.Drawing.Size(183, 28);
|
||||
this.IPText.Size = new System.Drawing.Size(154, 22);
|
||||
this.IPText.Text = "접속 아이피 : 0.000.00.000";
|
||||
//
|
||||
// lblStatus
|
||||
//
|
||||
this.lblStatus.Name = "lblStatus";
|
||||
this.lblStatus.Size = new System.Drawing.Size(34, 28);
|
||||
this.lblStatus.Size = new System.Drawing.Size(27, 22);
|
||||
this.lblStatus.Text = "WD";
|
||||
//
|
||||
// mdiTabControl
|
||||
@@ -1121,40 +1109,44 @@
|
||||
this.mdiTabControl.Controls.Add(this.tabPage1);
|
||||
this.mdiTabControl.Controls.Add(this.tabPage2);
|
||||
this.mdiTabControl.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.mdiTabControl.Location = new System.Drawing.Point(0, 110);
|
||||
this.mdiTabControl.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.mdiTabControl.Location = new System.Drawing.Point(0, 88);
|
||||
this.mdiTabControl.Name = "mdiTabControl";
|
||||
this.mdiTabControl.SelectedIndex = 0;
|
||||
this.mdiTabControl.Size = new System.Drawing.Size(1902, 892);
|
||||
this.mdiTabControl.Size = new System.Drawing.Size(1664, 713);
|
||||
this.mdiTabControl.TabIndex = 5;
|
||||
//
|
||||
// tabPage1
|
||||
//
|
||||
this.tabPage1.Location = new System.Drawing.Point(4, 25);
|
||||
this.tabPage1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.tabPage1.Location = new System.Drawing.Point(4, 22);
|
||||
this.tabPage1.Name = "tabPage1";
|
||||
this.tabPage1.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.tabPage1.Size = new System.Drawing.Size(1894, 863);
|
||||
this.tabPage1.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
||||
this.tabPage1.Size = new System.Drawing.Size(1656, 687);
|
||||
this.tabPage1.TabIndex = 0;
|
||||
this.tabPage1.Text = "tabPage1";
|
||||
this.tabPage1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// tabPage2
|
||||
//
|
||||
this.tabPage2.Location = new System.Drawing.Point(4, 25);
|
||||
this.tabPage2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.tabPage2.Location = new System.Drawing.Point(4, 22);
|
||||
this.tabPage2.Name = "tabPage2";
|
||||
this.tabPage2.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.tabPage2.Size = new System.Drawing.Size(1894, 871);
|
||||
this.tabPage2.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
||||
this.tabPage2.Size = new System.Drawing.Size(1656, 688);
|
||||
this.tabPage2.TabIndex = 1;
|
||||
this.tabPage2.Text = "tabPage2";
|
||||
this.tabPage2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// 신규마크작성NewToolStripMenuItem
|
||||
//
|
||||
this.신규마크작성NewToolStripMenuItem.Name = "신규마크작성NewToolStripMenuItem";
|
||||
this.신규마크작성NewToolStripMenuItem.Size = new System.Drawing.Size(182, 22);
|
||||
this.신규마크작성NewToolStripMenuItem.Text = "신규마크 작성(New)";
|
||||
this.신규마크작성NewToolStripMenuItem.Click += new System.EventHandler(this.신규마크작성NewToolStripMenuItem_Click);
|
||||
//
|
||||
// Main
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1902, 1033);
|
||||
this.ClientSize = new System.Drawing.Size(1664, 826);
|
||||
this.Controls.Add(this.mdiTabControl);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this.panel1);
|
||||
@@ -1162,7 +1154,6 @@
|
||||
this.HelpButton = true;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MainMenuStrip = this.menuStrip1;
|
||||
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.Name = "Main";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "메인";
|
||||
@@ -1291,5 +1282,6 @@
|
||||
private System.Windows.Forms.TabPage tabPage1;
|
||||
private System.Windows.Forms.TabPage tabPage2;
|
||||
private System.Windows.Forms.ToolStripMenuItem menu_allclose;
|
||||
private System.Windows.Forms.ToolStripMenuItem 신규마크작성NewToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
@@ -889,5 +889,10 @@ namespace WindowsFormsApp1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void 신규마크작성NewToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
OpenFormInTab<AddMarc2>(() => new AddMarc2(this));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -280,6 +280,12 @@
|
||||
<Compile Include="마스터\From_User_manage_List.Designer.cs">
|
||||
<DependentUpon>From_User_manage_List.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="마크\AddMarc2.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="마크\AddMarc2.Designer.cs">
|
||||
<DependentUpon>AddMarc2.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="마크\AddMarc.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -340,6 +346,7 @@
|
||||
<Compile Include="마크\Check_Copy_Sub_Selector.Designer.cs">
|
||||
<DependentUpon>Check_Copy_Sub_Selector.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="마크\FillBlankItem.cs" />
|
||||
<Compile Include="마크\Help_007.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -1034,6 +1041,9 @@
|
||||
<EmbeddedResource Include="마스터\From_User_manage_List.resx">
|
||||
<DependentUpon>From_User_manage_List.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="마크\AddMarc2.resx">
|
||||
<DependentUpon>AddMarc2.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="마크\AddMarc.resx">
|
||||
<DependentUpon>AddMarc.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<ErrorReportUrlHistory />
|
||||
<FallbackCulture>ko-KR</FallbackCulture>
|
||||
<VerifyUploadedFiles>false</VerifyUploadedFiles>
|
||||
<ProjectView>ShowAllFiles</ProjectView>
|
||||
<ProjectView>ProjectFiles</ProjectView>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<EnableSecurityDebugging>false</EnableSecurityDebugging>
|
||||
|
||||
@@ -30,10 +30,6 @@ namespace UniMarc.마크
|
||||
mUserName = m.User;
|
||||
mCompidx = m.com_idx;
|
||||
}
|
||||
public AddMarc()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void AddMarc_Load(object sender, EventArgs e)
|
||||
{
|
||||
@@ -338,28 +334,7 @@ namespace UniMarc.마크
|
||||
PUB.log.Add("ADDMarcUPDATE", string.Format("{0}({1}) : {2}", mUserName, mCompidx, UpCMD.Replace("\r", " ").Replace("\n", " ")));
|
||||
db.DB_Send_CMD_reVoid(UpCMD);
|
||||
}
|
||||
#region UpdateSub
|
||||
/// <summary>
|
||||
/// 어느곳이 최근 저장인지 확인
|
||||
/// </summary>
|
||||
/// <param name="table">테이블명</param>
|
||||
/// <param name="midx">idx</param>
|
||||
/// <returns>marcChk 번호</returns>
|
||||
private int subMarcChk(string table, string midx)
|
||||
{
|
||||
string Area = "`marc_chk`, `marc_chk1`, `marc_chk2`";
|
||||
string cmd = db.DB_Select_Search(Area, table, "idx", midx);
|
||||
string db_res = db.DB_Send_CMD_Search(cmd);
|
||||
string[] chk_ary = db_res.Split('|');
|
||||
|
||||
for (int a = 0; a < chk_ary.Length; a++)
|
||||
{
|
||||
if (chk_ary[a] == "1")
|
||||
return a;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 마크DB에 INSERT해주는 함수
|
||||
|
||||
157
unimarc/unimarc/마크/AddMarc2.Designer.cs
generated
Normal file
157
unimarc/unimarc/마크/AddMarc2.Designer.cs
generated
Normal file
@@ -0,0 +1,157 @@
|
||||
|
||||
namespace UniMarc.마크
|
||||
{
|
||||
partial class AddMarc2
|
||||
{
|
||||
/// <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.btn_close = new System.Windows.Forms.Button();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.cb_SearchCol = new System.Windows.Forms.ComboBox();
|
||||
this.tb_Search = new System.Windows.Forms.TextBox();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.Btn_SearchKolis = new System.Windows.Forms.Button();
|
||||
this.btn_Empty = new System.Windows.Forms.Button();
|
||||
this.marcEditorControl1 = new ExcelTest.MarcEditorControl();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// btn_close
|
||||
//
|
||||
this.btn_close.Location = new System.Drawing.Point(1168, 3);
|
||||
this.btn_close.Name = "btn_close";
|
||||
this.btn_close.Size = new System.Drawing.Size(77, 23);
|
||||
this.btn_close.TabIndex = 381;
|
||||
this.btn_close.Text = "닫 기";
|
||||
this.btn_close.UseVisualStyleBackColor = true;
|
||||
this.btn_close.Click += new System.EventHandler(this.btn_close_Click);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel1.Controls.Add(this.Btn_SearchKolis);
|
||||
this.panel1.Controls.Add(this.cb_SearchCol);
|
||||
this.panel1.Controls.Add(this.btn_Empty);
|
||||
this.panel1.Controls.Add(this.tb_Search);
|
||||
this.panel1.Controls.Add(this.btn_close);
|
||||
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(1324, 32);
|
||||
this.panel1.TabIndex = 393;
|
||||
//
|
||||
// cb_SearchCol
|
||||
//
|
||||
this.cb_SearchCol.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_SearchCol.FormattingEnabled = true;
|
||||
this.cb_SearchCol.Items.AddRange(new object[] {
|
||||
"ISBN",
|
||||
"서명",
|
||||
"저자",
|
||||
"출판사"});
|
||||
this.cb_SearchCol.Location = new System.Drawing.Point(8, 5);
|
||||
this.cb_SearchCol.Name = "cb_SearchCol";
|
||||
this.cb_SearchCol.Size = new System.Drawing.Size(121, 20);
|
||||
this.cb_SearchCol.TabIndex = 395;
|
||||
//
|
||||
// tb_Search
|
||||
//
|
||||
this.tb_Search.Location = new System.Drawing.Point(135, 5);
|
||||
this.tb_Search.Name = "tb_Search";
|
||||
this.tb_Search.Size = new System.Drawing.Size(205, 21);
|
||||
this.tb_Search.TabIndex = 0;
|
||||
this.tb_Search.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_ISBN_KeyDown);
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.marcEditorControl1);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 32);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(1324, 907);
|
||||
this.panel2.TabIndex = 394;
|
||||
//
|
||||
// Btn_SearchKolis
|
||||
//
|
||||
this.Btn_SearchKolis.Location = new System.Drawing.Point(1002, 3);
|
||||
this.Btn_SearchKolis.Name = "Btn_SearchKolis";
|
||||
this.Btn_SearchKolis.Size = new System.Drawing.Size(77, 23);
|
||||
this.Btn_SearchKolis.TabIndex = 397;
|
||||
this.Btn_SearchKolis.Text = "코리스 검색";
|
||||
this.Btn_SearchKolis.UseVisualStyleBackColor = true;
|
||||
this.Btn_SearchKolis.Click += new System.EventHandler(this.Btn_SearchKolis_Click);
|
||||
//
|
||||
// btn_Empty
|
||||
//
|
||||
this.btn_Empty.Location = new System.Drawing.Point(1085, 3);
|
||||
this.btn_Empty.Name = "btn_Empty";
|
||||
this.btn_Empty.Size = new System.Drawing.Size(77, 23);
|
||||
this.btn_Empty.TabIndex = 396;
|
||||
this.btn_Empty.Text = "비 우 기";
|
||||
this.btn_Empty.UseVisualStyleBackColor = true;
|
||||
this.btn_Empty.Click += new System.EventHandler(this.btn_Empty_Click);
|
||||
//
|
||||
// marcEditorControl1
|
||||
//
|
||||
this.marcEditorControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.marcEditorControl1.Font = new System.Drawing.Font("돋움", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.marcEditorControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.marcEditorControl1.Name = "marcEditorControl1";
|
||||
this.marcEditorControl1.Size = new System.Drawing.Size(1324, 907);
|
||||
this.marcEditorControl1.TabIndex = 394;
|
||||
//
|
||||
// AddMarc2
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.Gray;
|
||||
this.ClientSize = new System.Drawing.Size(1324, 939);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "AddMarc2";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "마크 작성(2-New)";
|
||||
this.Load += new System.EventHandler(this.AddMarc_Load);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.Button btn_close;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.TextBox tb_Search;
|
||||
private System.Windows.Forms.ComboBox cb_SearchCol;
|
||||
private System.Windows.Forms.Button btn_Empty;
|
||||
private System.Windows.Forms.Button Btn_SearchKolis;
|
||||
private ExcelTest.MarcEditorControl marcEditorControl1;
|
||||
}
|
||||
}
|
||||
573
unimarc/unimarc/마크/AddMarc2.cs
Normal file
573
unimarc/unimarc/마크/AddMarc2.cs
Normal file
@@ -0,0 +1,573 @@
|
||||
using ExcelTest;
|
||||
using SHDocVw;
|
||||
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;
|
||||
|
||||
namespace UniMarc.마크
|
||||
{
|
||||
public partial class AddMarc2 : Form
|
||||
{
|
||||
Helper_DB db = new Helper_DB();
|
||||
String_Text st = new String_Text();
|
||||
Help008Tag tag008 = new Help008Tag();
|
||||
public string mUserName;
|
||||
public string mCompidx;
|
||||
private string mOldMarc = string.Empty;
|
||||
Main m;
|
||||
public AddMarc2(Main _m)
|
||||
{
|
||||
InitializeComponent();
|
||||
m = _m;
|
||||
mUserName = m.User;
|
||||
mCompidx = m.com_idx;
|
||||
}
|
||||
|
||||
private void AddMarc_Load(object sender, EventArgs e)
|
||||
{
|
||||
cb_SearchCol.SelectedIndex = 0;
|
||||
db.DBcon();
|
||||
TextReset();
|
||||
|
||||
marcEditorControl1.db = this.db;
|
||||
marcEditorControl1.BookSaved += MarcEditorControl1_BookSaved;
|
||||
marcEditorControl1.CloseButton += (s1,e1)=> { this.Close(); };
|
||||
marcEditorControl1.SetButtonKolist(false);
|
||||
marcEditorControl1.SetButtonNext(false);
|
||||
marcEditorControl1.SetButtonPrev(false);
|
||||
}
|
||||
public void SetKolisValueApply(string marc)
|
||||
{
|
||||
this.marcEditorControl1.SetMarcString(marc);
|
||||
}
|
||||
private void MarcEditorControl1_BookSaved(object sender, MarcEditorControl.BookSavedEventArgs e)
|
||||
{
|
||||
string tag056 = Tag056(e.DBMarc, e.griddata);
|
||||
string date = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
string orimarc = st.made_Ori_marc(e.DBMarc).Replace(@"\", "₩");
|
||||
|
||||
if (!isMustTag(orimarc))
|
||||
{
|
||||
|
||||
return;
|
||||
}
|
||||
var MarcText = e.DBMarc;
|
||||
string midx = this.lbl_Midx;
|
||||
string[] BookData = GetBookData(MarcText);
|
||||
bool IsCoverDate = false;
|
||||
|
||||
if (e.griddata.SaveDate != "")
|
||||
{
|
||||
// 마지막 수정일로부터 2일이 지났는지, 마지막 저장자가 사용자인지 확인
|
||||
TimeSpan sp = CheckDate(e.griddata.SaveDate, date);
|
||||
IsCoverDate = IsCoverData(sp.Days, e.griddata.User);
|
||||
//if (IsCoverDate)
|
||||
// etc2.Text = etc2.Text.Replace(SaveData[0], date);
|
||||
}
|
||||
//else
|
||||
// etc2.Text += string.Format("{0}\t{1}\n", date, mUserName);
|
||||
string Table = "Marc";
|
||||
bool isUpdate;
|
||||
if (lbl_Midx != "")
|
||||
isUpdate = true;
|
||||
else
|
||||
isUpdate = false;
|
||||
|
||||
var grade = int.Parse(e.griddata.Grade);
|
||||
|
||||
if (isUpdate)
|
||||
UpdateMarc(Table, midx, orimarc, grade, tag056, date, IsCoverDate,e.griddata);
|
||||
else
|
||||
InsertMarc(Table, BookData, orimarc, grade, tag056, date, e.griddata);
|
||||
|
||||
MessageBox.Show("저장되었습니다.", "저장");
|
||||
}
|
||||
|
||||
|
||||
private void tb_ISBN_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode != Keys.Enter)
|
||||
return;
|
||||
|
||||
TextReset();
|
||||
|
||||
string SearchText = tb_Search.Text;
|
||||
string SearchCol = cb_SearchCol.SelectedItem.ToString();
|
||||
MarcCopySelect mcs = new MarcCopySelect(this);
|
||||
mcs.Init(SearchCol, SearchText);
|
||||
mcs.Show();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// ISBN 검색후 특정 마크 선택시 현재폼에 적용시키는 폼
|
||||
/// </summary>
|
||||
/// <param name="Marc">뷰형태 마크데이터</param>
|
||||
/// <param name="ISBN">ISBN</param>
|
||||
/// <param name="GridData">
|
||||
/// 0:idx <br></br>
|
||||
/// 1:compidx <br></br>
|
||||
/// 2:user <br></br>
|
||||
/// 3:date <br></br>
|
||||
/// 4:grade <br></br>
|
||||
/// 5:tag008 <br></br>
|
||||
/// 6:LineMarc</param>
|
||||
public void SelectMarc_Sub(string Marc, string ISBN, string[] GridData)
|
||||
{
|
||||
this.marcEditorControl1.LoadBookData(Marc, new MacEditorParameter
|
||||
{
|
||||
ISBN13 = ISBN,
|
||||
SaveDate = string.Format("[{0}] [{1}]", GridData[2], GridData[3]),
|
||||
Grade = GridData[4],
|
||||
Remark1 = string.Empty,
|
||||
Remark2 = string.Empty,
|
||||
NewMake = true
|
||||
});
|
||||
mOldMarc = GridData[6];
|
||||
lbl_Midx = GridData[0];
|
||||
}
|
||||
string lbl_Midx = "";
|
||||
|
||||
|
||||
private void btn_close_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void btn_Empty_Click(object sender, EventArgs e)
|
||||
{
|
||||
TextReset();
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 전체 초기화
|
||||
/// </summary>
|
||||
/// <param name="isDelete">탭 컨트롤에서 사용할 경우 false</param>
|
||||
public void TextReset(bool isDelete = true)
|
||||
{
|
||||
if (isDelete)
|
||||
{
|
||||
marcEditorControl1.LoadBookData(string.Empty, new MacEditorParameter
|
||||
{
|
||||
ISBN13 = string.Empty,
|
||||
SaveDate = string.Empty,
|
||||
Remark1 = string.Empty,
|
||||
Remark2 = string.Empty,
|
||||
NewMake=true,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
string TextResetSub()
|
||||
{
|
||||
// 입력일자 (00-05)
|
||||
// 발행년유형 (6)
|
||||
// 발행년1 (07-10)
|
||||
// 발행년2 (11-14)
|
||||
// 발행국 (15-17)
|
||||
|
||||
// 삽화표시 (18-21)
|
||||
// 이용대상자수준 (22) v
|
||||
// 개별자료형태 (23) v
|
||||
// 내용형식1 (24) v
|
||||
// 내용형식2 (25) v
|
||||
|
||||
// 한국대학부호 (26-27)
|
||||
// 수정레코드 (28)
|
||||
// 회의간행물 (29) c
|
||||
// 기념논문집 (30) c
|
||||
// 색인 (31)
|
||||
|
||||
// 목록전거 (32)
|
||||
// 문학형식 (33) v
|
||||
// 전기 (34) v
|
||||
// 언어 (35-37) v
|
||||
// 한국정부기관부호 (38-39)
|
||||
string yyMMdd = DateTime.Now.ToString("yyMMdd");
|
||||
string yyyy = DateTime.Now.ToString("yyyy");
|
||||
string Empty_008 = yyMMdd + "s" + yyyy + " 000 kor ▲";
|
||||
string Empty_text = string.Format(
|
||||
$"008\t {Empty_008.Replace("▲", "")}" +
|
||||
"020\t \t▼a▼c▲\n" +
|
||||
"056\t \t▼a▼2▲\n" +
|
||||
"100\t \t▼a▲\n" +
|
||||
"245\t \t▼a▼d▲\n" +
|
||||
"260\t \t▼b▲\n" +
|
||||
"300\t \t▼a▼c▲\n" +
|
||||
"653\t \t▼a▲\n" +
|
||||
"700\t \t▼a▲\n" +
|
||||
"950\t \t▼b▲\n");
|
||||
|
||||
this.marcEditorControl1.SetRemark(string.Empty, string.Empty);
|
||||
return Empty_text;
|
||||
}
|
||||
|
||||
|
||||
#region SaveSub
|
||||
|
||||
/// <summary>
|
||||
/// 마크DB에 UPDATE해주는 함수
|
||||
/// </summary>
|
||||
/// <param name="Table">테이블 이름</param>
|
||||
/// <param name="MarcIndex">마크 인덱스 번호</param>
|
||||
/// <param name="oriMarc">한줄짜리 마크</param>
|
||||
/// <param name="grade">마크 등급</param>
|
||||
/// <param name="tag056">분류기호</param>
|
||||
/// <param name="date">저장시각 yyyy-MM-dd HH:mm:ss</param>
|
||||
/// <param name="IsCovertDate">덮어씌울지 유무</param>
|
||||
void UpdateMarc(string Table, string MarcIndex, string oriMarc, int grade, string tag056, string date, bool IsCovertDate, MacEditorParameter param)
|
||||
{
|
||||
string[] EditTable =
|
||||
{
|
||||
"compidx", "marc", "marc_chk","marc1", "marc_chk1", "비고1",
|
||||
"비고2", "division", "008tag", "date", "user",
|
||||
"grade"
|
||||
};
|
||||
string[] EditColumn =
|
||||
{
|
||||
mCompidx, oriMarc, "1",mOldMarc, "0", param.Remark1,
|
||||
param.Remark2, tag056, param.text008, date, mUserName,
|
||||
grade.ToString()
|
||||
};
|
||||
string[] SearchTable = { "idx", "compidx" };
|
||||
string[] SearchColumn = { MarcIndex, mCompidx };
|
||||
|
||||
//int marcChk = subMarcChk(Table, MarcIndex);
|
||||
//if (IsCovertDate)
|
||||
// marcChk--;
|
||||
|
||||
//switch (marcChk)
|
||||
//{
|
||||
// case 0:
|
||||
// EditTable[1] = "marc1";
|
||||
// EditTable[2] = "marc_chk1";
|
||||
// EditTable[3] = "marc_chk";
|
||||
// break;
|
||||
// case 1:
|
||||
// EditTable[1] = "marc2";
|
||||
// EditTable[2] = "marc_chk2";
|
||||
// EditTable[3] = "marc_chk1";
|
||||
// break;
|
||||
// case 2:
|
||||
// EditTable[1] = "marc";
|
||||
// EditTable[2] = "marc_chk";
|
||||
// EditTable[3] = "marc_chk2";
|
||||
// break;
|
||||
// default:
|
||||
// EditTable[1] = "marc";
|
||||
// EditTable[2] = "marc_chk";
|
||||
// EditTable[3] = "marc_chk2";
|
||||
// break;
|
||||
//}
|
||||
string UpCMD = db.More_Update(Table, EditTable, EditColumn, SearchTable, SearchColumn);
|
||||
PUB.log.Add("ADDMarcUPDATE", string.Format("{0}({1}) : {2}", mUserName, mCompidx, UpCMD.Replace("\r", " ").Replace("\n", " ")));
|
||||
db.DB_Send_CMD_reVoid(UpCMD);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 마크DB에 INSERT해주는 함수
|
||||
/// </summary>
|
||||
/// <param name="Table">테이블 이름</param>
|
||||
/// <param name="BookData">0:ISBN 1:서명 2:저자 3:출판사 4:정가</param>
|
||||
/// <param name="oriMarc">한줄짜리 마크</param>
|
||||
/// <param name="grade">마크 등급</param>
|
||||
/// <param name="tag056">분류기호</param>
|
||||
/// <param name="date">저장시각 yyyy-MM-dd HH:mm:ss</param>
|
||||
void InsertMarc(string Table, string[] BookData, string oriMarc, int grade, string tag056, string date, MacEditorParameter param)
|
||||
{
|
||||
string[] InsertTable =
|
||||
{
|
||||
"ISBN", "서명", "저자", "출판사", "가격",
|
||||
"marc", "비고1", "비고2", "grade", "marc_chk",
|
||||
"user", "division", "008tag", "date", "compidx"
|
||||
};
|
||||
string[] InsertColumn =
|
||||
{
|
||||
BookData[0], BookData[1], BookData[2], BookData[3], BookData[4],
|
||||
oriMarc, param.Remark1, param.Remark2, grade.ToString(), "1",
|
||||
mUserName, tag056, param.text008, date, mCompidx
|
||||
};
|
||||
|
||||
string InCMD = db.DB_INSERT(Table, InsertTable, InsertColumn);
|
||||
PUB.log.Add("ADDMarcINSERT", string.Format("{0}({1}) : {2}", mUserName, mCompidx, InCMD.Replace("\r", " ").Replace("\n", " ")));
|
||||
db.DB_Send_CMD_reVoid(InCMD);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 마크 저장시 사용하며, 마지막 수정일과 수정자를 가져와 덮어씌울지 백업데이터를 만들지 구분
|
||||
/// </summary>
|
||||
/// <param name="TimeSpanDaysValue">저장할 마크의 마지막 수정일</param>
|
||||
/// <param name="user">저장할 마크의 마지막 수정자</param>
|
||||
/// <returns>마지막 수정일로부터 2일이 지나지 않고, 마지막 수정자와 해당 유저가 동일 할 경우 True 반환</returns>
|
||||
private bool IsCoverData(int TimeSpanDaysValue, string user)
|
||||
{
|
||||
if (TimeSpanDaysValue < -1)
|
||||
return false;
|
||||
if (user != mUserName)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
private TimeSpan CheckDate(string LastDate, string SaveDate)
|
||||
{
|
||||
DateTime Last = Convert.ToDateTime(LastDate);
|
||||
DateTime Save = Convert.ToDateTime(SaveDate);
|
||||
|
||||
return Last - Save;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 필수태그 검사
|
||||
/// </summary>
|
||||
/// <param name="orimarc">한줄짜리 마크</param>
|
||||
/// <returns>필수태그 없을시 false 반환</returns>
|
||||
private bool isMustTag(string orimarc)
|
||||
{
|
||||
string[] SearchTag = { "056a", "0562", "245a", "245d", "260a", "260c", "300a", "300c", "653a" };
|
||||
string[] Tag = st.Take_Tag(orimarc, SearchTag);
|
||||
|
||||
int count = 0;
|
||||
string msg = "";
|
||||
bool isTag = true;
|
||||
foreach (string tag in Tag)
|
||||
{
|
||||
if (tag == "")
|
||||
{
|
||||
msg += SearchTag[count] + " ";
|
||||
isTag = false;
|
||||
}
|
||||
count++;
|
||||
}
|
||||
if (!isTag)
|
||||
{
|
||||
MessageBox.Show(msg + "태그가 없습니다.");
|
||||
return false;
|
||||
}
|
||||
|
||||
bool is1XX = false;
|
||||
string[] AuthorTag = { "100a", "110a", "111a" };
|
||||
Tag = st.Take_Tag(orimarc, AuthorTag);
|
||||
foreach (string author in Tag)
|
||||
{
|
||||
if (author != "")
|
||||
is1XX = true;
|
||||
}
|
||||
if (!is1XX)
|
||||
{
|
||||
MessageBox.Show("기본표목이 존재하지않습니다.");
|
||||
return false;
|
||||
}
|
||||
|
||||
bool is7XX = false;
|
||||
AuthorTag[0] = "700a";
|
||||
AuthorTag[1] = "710a";
|
||||
AuthorTag[2] = "711a";
|
||||
Tag = st.Take_Tag(orimarc, AuthorTag);
|
||||
|
||||
foreach (string author in Tag)
|
||||
{
|
||||
if (author != "")
|
||||
is7XX = true;
|
||||
}
|
||||
|
||||
if (!is7XX)
|
||||
{
|
||||
MessageBox.Show("부출표목이 존재하지않습니다.");
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 관련 도서 정보를 가져옴
|
||||
/// </summary>
|
||||
/// <param name="ViewMarc">뷰형태의 마크</param>
|
||||
/// <returns>0:ISBN 1:서명 2:저자 3:출판사 4:정가</returns>
|
||||
string[] GetBookData(string ViewMarc)
|
||||
{
|
||||
// ISBN, BookName, Author, BookComp, Price
|
||||
string[] result = { "", "", "", "", "" };
|
||||
bool IsISBN = false;
|
||||
string[] TargetArr = ViewMarc.Split('\n');
|
||||
foreach (string Target in TargetArr)
|
||||
{
|
||||
string[] tmp = Target.Replace("▲", "").Split('\t');
|
||||
// 0:ISBN 4:Price
|
||||
if (tmp[0] == "020" && !IsISBN)
|
||||
{
|
||||
IsISBN = true;
|
||||
result[0] = GetMiddelString(tmp[2], "▼a", "▼");
|
||||
result[4] = GetMiddelString(tmp[2], "▼c", "▼");
|
||||
}
|
||||
|
||||
// 2:Author
|
||||
if (tmp[0] == "100")
|
||||
result[2] = GetMiddelString(tmp[2], "▼a", "▼");
|
||||
else if (tmp[0] == "110")
|
||||
result[2] = GetMiddelString(tmp[2], "▼a", "▼");
|
||||
else if (tmp[0] == "111")
|
||||
result[2] = GetMiddelString(tmp[2], "▼a", "▼");
|
||||
|
||||
// 1:BookName
|
||||
if (tmp[0] == "245")
|
||||
result[1] = GetMiddelString(tmp[2], "▼a", "▼");
|
||||
|
||||
// 3:BookComp
|
||||
if (tmp[0] == "300")
|
||||
result[3] = GetMiddelString(tmp[2], "▼b", "▼");
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
string Tag056(string marc,MacEditorParameter param)
|
||||
{
|
||||
// string marc = richTextBox1.Text;
|
||||
string[] temp = marc.Split('\n');
|
||||
List<string> target = temp.ToList();
|
||||
bool isEight = false;
|
||||
bool eight_chk = false;
|
||||
string tag056 = string.Empty;
|
||||
int count = 0;
|
||||
|
||||
for (int a = 0; a < target.Count - 1; a++)
|
||||
{
|
||||
string[] tmp = target[a].Split('\t');
|
||||
string tag = tmp[0];
|
||||
if (tag == "") break;
|
||||
int eight = Convert.ToInt32(tag.Substring(0, 3));
|
||||
if (eight == 008)
|
||||
{
|
||||
count = a;
|
||||
eight_chk = true;
|
||||
isEight = true;
|
||||
}
|
||||
else if (eight > 008 && !eight_chk)
|
||||
{
|
||||
count = a;
|
||||
eight_chk = true;
|
||||
}
|
||||
if (tag == "056")
|
||||
tag056 = GetMiddelString(tmp[2], "▼a", "▼");
|
||||
}
|
||||
if (!isEight)
|
||||
target.Insert(count, string.Format("{0}\t{1}\t{2}▲", "008", " ", param.text008));
|
||||
|
||||
//richTextBox1.Text = string.Join("\n", target.ToArray());
|
||||
return tag056;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 문자와 문자사이의 값 가져오기
|
||||
/// </summary>
|
||||
/// <param name="str">대상 문자열</param>
|
||||
/// <param name="begin">시작 문자열</param>
|
||||
/// <param name="end">마지막 문자열</param>
|
||||
/// <param name="TagNum">불러올 태그 번호</param>
|
||||
/// <returns>문자 사이값</returns>
|
||||
public string GetMiddelString(string str, string begin, string end, string TagNum = "")
|
||||
{
|
||||
string result = "";
|
||||
|
||||
if (string.IsNullOrEmpty(str) || str == "")
|
||||
return result;
|
||||
|
||||
int count = 0;
|
||||
bool loop = false;
|
||||
|
||||
for (int a = count; a < str.Length; a++)
|
||||
{
|
||||
count = str.IndexOf(begin);
|
||||
if (count > -1)
|
||||
{
|
||||
str = str.Substring(count + begin.Length);
|
||||
if (loop)
|
||||
// 여러 태그들 구분을 지어줌.
|
||||
result += "▽";
|
||||
|
||||
if (str.IndexOf(end) > -1)
|
||||
result += str.Substring(0, str.IndexOf(end));
|
||||
else
|
||||
result += str;
|
||||
|
||||
result = TrimEndGubun(result, TagNum);
|
||||
}
|
||||
else
|
||||
break;
|
||||
|
||||
loop = true;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
string TrimEndGubun(string str, string TagNum)
|
||||
{
|
||||
char[] gu = { '.', ',', ':', ';', '/', ' ' };
|
||||
if (TagNum == "300" || TagNum == "300a")
|
||||
{
|
||||
str = str.Trim();
|
||||
if (TagNum == "300a")
|
||||
{
|
||||
gu = new char[] { '.', ',', '=', ':', ';', '/', '+', ' ' };
|
||||
for (int i = 0; i < gu.Length; i++)
|
||||
{
|
||||
str = str.TrimEnd(gu[i]);
|
||||
}
|
||||
}
|
||||
|
||||
if (str.Contains("ill."))
|
||||
return str;
|
||||
if (str.Contains("p."))
|
||||
return str;
|
||||
}
|
||||
|
||||
if (TagNum == "710" || TagNum == "910")
|
||||
return str;
|
||||
|
||||
|
||||
if (TagNum == "245") gu = new char[] { '.', ':', ';', '/', ' ' };
|
||||
if (TagNum == "245a") gu = new char[] { '.', ',', '=', ':', ';', '/', ' ' };
|
||||
for (int i = 0; i < gu.Length; i++)
|
||||
{
|
||||
str = str.TrimEnd(gu[i]);
|
||||
}
|
||||
//foreach (char gubun in gu)
|
||||
//{
|
||||
// if (str.Length < 1) continue;
|
||||
// if (str[str.Length - 1] == gubun)
|
||||
// {
|
||||
// str = str.Remove(str.Length - 1);
|
||||
// str = str.Trim();
|
||||
// }
|
||||
//}
|
||||
|
||||
return str;
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
private void Btn_SearchKolis_Click(object sender, EventArgs e)
|
||||
{
|
||||
AddMarc_FillBlank af = new AddMarc_FillBlank(this);
|
||||
af.Show();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
123
unimarc/unimarc/마크/AddMarc2.resx
Normal file
123
unimarc/unimarc/마크/AddMarc2.resx
Normal file
@@ -0,0 +1,123 @@
|
||||
<?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="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>32</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -13,14 +13,20 @@ namespace UniMarc.마크
|
||||
public partial class AddMarc_FillBlank : Form
|
||||
{
|
||||
AddMarc am;
|
||||
AddMarc2 am2;
|
||||
public AddMarc_FillBlank(AddMarc _am)
|
||||
{
|
||||
InitializeComponent();
|
||||
am = _am;
|
||||
}
|
||||
|
||||
public AddMarc_FillBlank(AddMarc2 _am)
|
||||
{
|
||||
InitializeComponent();
|
||||
am2 = _am;
|
||||
}
|
||||
private void AddMarc_FillBlank_Load(object sender, EventArgs e)
|
||||
{
|
||||
webBrowser1.ScriptErrorsSuppressed = true;
|
||||
webBrowser1.Navigate("https://nl.go.kr/kolisnet/search/searchResultAllList.do?");
|
||||
}
|
||||
|
||||
@@ -108,7 +114,10 @@ namespace UniMarc.마크
|
||||
if (ary[1].Length != 2) ary[1].PadRight(2);
|
||||
tmp += String.Join("\t", ary) + "\n";
|
||||
}
|
||||
if(am != null)
|
||||
am.richTextBox1.Text = tmp;
|
||||
if(am2 != null)
|
||||
am2.SetKolisValueApply(tmp);
|
||||
}
|
||||
|
||||
private void Btn_Close_Click(object sender, EventArgs e)
|
||||
|
||||
19
unimarc/unimarc/마크/FillBlankItem.cs
Normal file
19
unimarc/unimarc/마크/FillBlankItem.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ExcelTest
|
||||
{
|
||||
public class FillBlankItem
|
||||
{
|
||||
public string Idx { get; set; }
|
||||
public string Isbn { get; set; }
|
||||
public string BookName { get; set; }
|
||||
public string Author { get; set; }
|
||||
public string Publisher { get; set; }
|
||||
public string Price { get; set; }
|
||||
public string BookMarc { get; set; } = ""; // Hidden column likely
|
||||
}
|
||||
}
|
||||
@@ -20,6 +20,9 @@ namespace ExcelTest
|
||||
public string Remark1 { get; set; }
|
||||
public string Remark2 { get; set; }
|
||||
|
||||
public string text008 { get; set; }
|
||||
public string tag056 { get; set; }
|
||||
public bool NewMake { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1574,17 +1574,16 @@ namespace ExcelTest
|
||||
{
|
||||
if (List_Book.Rows[a].DefaultCellStyle.ForeColor == Color.Red)
|
||||
{
|
||||
string[] GridData =
|
||||
var item = new ExcelTest.FillBlankItem
|
||||
{
|
||||
a.ToString(),
|
||||
List_Book.Rows[a].Cells["ISBN13"].Value.ToString(),
|
||||
List_Book.Rows[a].Cells["book_name"].Value.ToString(),
|
||||
List_Book.Rows[a].Cells["author"].Value.ToString(),
|
||||
List_Book.Rows[a].Cells["book_comp"].Value.ToString(),
|
||||
List_Book.Rows[a].Cells["pay"].Value.ToString(),
|
||||
""
|
||||
Idx = a.ToString(),
|
||||
Isbn = List_Book.Rows[a].Cells["ISBN13"].Value.ToString(),
|
||||
BookName = List_Book.Rows[a].Cells["book_name"].Value.ToString(),
|
||||
Author = List_Book.Rows[a].Cells["author"].Value.ToString(),
|
||||
Publisher = List_Book.Rows[a].Cells["book_comp"].Value.ToString(),
|
||||
Price = List_Book.Rows[a].Cells["pay"].Value.ToString()
|
||||
};
|
||||
fb.InitFillBlank(GridData);
|
||||
fb.InitFillBlank(item);
|
||||
}
|
||||
}
|
||||
fb.ISBN = ISBN;
|
||||
|
||||
@@ -52,17 +52,7 @@ namespace ExcelTest
|
||||
string p_cust = "";
|
||||
string p_name = "";
|
||||
|
||||
public Marc2()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.ml = null;
|
||||
mUserName = string.Empty;
|
||||
marcEditorControl1.db = this.db;
|
||||
marcEditorControl1.BookSaved += MarcEditorControl_BookSaved;
|
||||
marcEditorControl1.FillBlankClicked += MarcEditorControl_FillBlankClicked;
|
||||
marcEditorControl1.PrevButton += MarcEditorControl1_PrevButton;
|
||||
marcEditorControl1.NextButton += MarcEditorControl1_NextButton;
|
||||
}
|
||||
|
||||
|
||||
private void MarcEditorControl1_NextButton(object sender, EventArgs e)
|
||||
{
|
||||
@@ -84,6 +74,7 @@ namespace ExcelTest
|
||||
marcEditorControl1.FillBlankClicked += MarcEditorControl_FillBlankClicked;
|
||||
marcEditorControl1.PrevButton += MarcEditorControl1_PrevButton;
|
||||
marcEditorControl1.NextButton += MarcEditorControl1_NextButton;
|
||||
marcEditorControl1.CloseButton += (s1, e1) => { this.Close(); };
|
||||
}
|
||||
|
||||
string l_idx = string.Empty;
|
||||
@@ -171,7 +162,7 @@ namespace ExcelTest
|
||||
MarcBookItem item = new MarcBookItem();
|
||||
item.ListIdx = db_data[a]; // 0: idx
|
||||
item.ISBN13 = db_data[a + 1]; // 1: isbn
|
||||
item.Num= db_data[a + 2] + db_data[a + 3]; // 2: header + num
|
||||
item.Num = db_data[a + 2] + db_data[a + 3]; // 2: header + num
|
||||
item.BookName = db_data[a + 4]; // 3: book_num
|
||||
item.Author = db_data[a + 5]; // 4: author
|
||||
item.BookComp = db_data[a + 6]; // 5: book_comp
|
||||
@@ -253,7 +244,8 @@ namespace ExcelTest
|
||||
if (item != null) item.ForeColor = gradeColor;
|
||||
List_Book.Rows[a].DefaultCellStyle.ForeColor = gradeColor;
|
||||
|
||||
if (isMyData) {
|
||||
if (isMyData)
|
||||
{
|
||||
Color saveColor = GetSaveDateColor(Chk_Arr[11]);
|
||||
if (item != null) item.BackColor = saveColor;
|
||||
List_Book.Rows[a].DefaultCellStyle.BackColor = saveColor;
|
||||
@@ -593,7 +585,7 @@ namespace ExcelTest
|
||||
string[] Insert_col = {
|
||||
e.griddata.ISBN13, e.griddata.BookName, e.griddata.Author, e.griddata.Publisher,
|
||||
e.griddata.Price, orimarc, e.griddata.Remark1, e.griddata.Remark2, e.griddata.URL,
|
||||
e.griddata.Grade, "1", mUserName, e.tag056, e.text008,
|
||||
e.griddata.Grade, "1", mUserName, e.griddata.tag056, e.griddata.text008,
|
||||
date, mCompidx };
|
||||
|
||||
string Incmd = db.DB_INSERT(table_name, Insert_tbl, Insert_col);
|
||||
@@ -609,7 +601,7 @@ namespace ExcelTest
|
||||
"user", "grade" };
|
||||
string[] Edit_col = {
|
||||
mCompidx, orimarc, "1", mOldMarc , "0", e.griddata.Remark1,
|
||||
e.griddata.Remark2, e.griddata.URL, e.tag056,e.text008, date,
|
||||
e.griddata.Remark2, e.griddata.URL, e.griddata.tag056,e.griddata.text008, date,
|
||||
mUserName, e.griddata.Grade };
|
||||
string[] Sear_tbl = { "idx", "compidx" };
|
||||
string[] Sear_col = { Midx, mCompidx };
|
||||
@@ -697,17 +689,16 @@ namespace ExcelTest
|
||||
{
|
||||
if (List_Book.Rows[a].DefaultCellStyle.ForeColor == Color.Red)
|
||||
{
|
||||
string[] GridData =
|
||||
var item = new ExcelTest.FillBlankItem
|
||||
{
|
||||
a.ToString(),
|
||||
List_Book.Rows[a].Cells["ISBN13"].Value?.ToString() ?? "",
|
||||
List_Book.Rows[a].Cells["book_name"].Value?.ToString() ?? "",
|
||||
List_Book.Rows[a].Cells["author"].Value?.ToString() ?? "",
|
||||
List_Book.Rows[a].Cells["book_comp"].Value?.ToString() ?? "",
|
||||
List_Book.Rows[a].Cells["pay"].Value?.ToString() ?? "",
|
||||
""
|
||||
Idx = a.ToString(),
|
||||
Isbn = List_Book.Rows[a].Cells["ISBN13"].Value?.ToString() ?? "",
|
||||
BookName = List_Book.Rows[a].Cells["book_name"].Value?.ToString() ?? "",
|
||||
Author = List_Book.Rows[a].Cells["author"].Value?.ToString() ?? "",
|
||||
Publisher = List_Book.Rows[a].Cells["book_comp"].Value?.ToString() ?? "",
|
||||
Price = List_Book.Rows[a].Cells["pay"].Value?.ToString() ?? ""
|
||||
};
|
||||
fb.InitFillBlank(GridData);
|
||||
fb.InitFillBlank(item);
|
||||
}
|
||||
}
|
||||
fb.ISBN = ISBN;
|
||||
@@ -716,7 +707,7 @@ namespace ExcelTest
|
||||
String_Text st = new String_Text();
|
||||
if (fb.BulkMarcResults.Count > 0)
|
||||
{
|
||||
foreach(var kvp in fb.BulkMarcResults)
|
||||
foreach (var kvp in fb.BulkMarcResults)
|
||||
{
|
||||
// Use list_idx to find row? Or assume key matches?
|
||||
// Marc_FillBlank used 'idx' from 'List_idx' column.
|
||||
@@ -725,16 +716,16 @@ namespace ExcelTest
|
||||
// Key = List_idx.
|
||||
int targetListIdx = kvp.Key;
|
||||
// Find row with this list_idx
|
||||
foreach(DataGridViewRow r in List_Book.Rows)
|
||||
foreach (DataGridViewRow r in List_Book.Rows)
|
||||
{
|
||||
if(r.Cells["List_idx"].Value != null && Convert.ToInt32(r.Cells["List_idx"].Value) == targetListIdx)
|
||||
if (r.Cells["List_idx"].Value != null && Convert.ToInt32(r.Cells["List_idx"].Value) == targetListIdx)
|
||||
{
|
||||
r.Cells["db_marc"].Value = kvp.Value;
|
||||
// Update color etc?
|
||||
r.DefaultCellStyle.ForeColor = Color.Blue;
|
||||
// Need to update 'item' too if bound
|
||||
var item = r.DataBoundItem as MarcBookItem;
|
||||
if(item != null) item.ForeColor = Color.Blue;
|
||||
if (item != null) item.ForeColor = Color.Blue;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@ namespace UniMarc.마크
|
||||
Marc m;
|
||||
Marc2 m2;
|
||||
AddMarc am;
|
||||
AddMarc2 am2;
|
||||
CD_LP cp;
|
||||
public int MarcFormRowIndex;
|
||||
|
||||
@@ -26,6 +27,12 @@ namespace UniMarc.마크
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public MarcCopySelect(AddMarc2 cD)
|
||||
{
|
||||
InitializeComponent();
|
||||
am2 = cD;
|
||||
db.DBcon();
|
||||
}
|
||||
public MarcCopySelect(CD_LP cD)
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -426,7 +433,12 @@ namespace UniMarc.마크
|
||||
string isbn = dataGridView1.Rows[row].Cells["isbn"].Value.ToString();
|
||||
am.SelectMarc_Sub(Marc, isbn, GridData);
|
||||
}
|
||||
|
||||
if (am2 != null)
|
||||
{
|
||||
string Marc = richTextBox1.Text;
|
||||
string isbn = dataGridView1.Rows[row].Cells["isbn"].Value.ToString();
|
||||
am2.SelectMarc_Sub(Marc, isbn, GridData);
|
||||
}
|
||||
this.Close();
|
||||
}
|
||||
|
||||
|
||||
@@ -40,21 +40,27 @@ namespace ExcelTest
|
||||
string l_idx = string.Empty;
|
||||
string c_idx = string.Empty;
|
||||
MacEditorParameter Param = null;
|
||||
//public string CurrentISBN13 { get; set; }
|
||||
|
||||
|
||||
|
||||
//public string CurrentMarcIdx { get; set; }
|
||||
|
||||
//public string CurrentUser { get; set; }
|
||||
//public string CurrentSaveDate { get; set; }
|
||||
//public string CurrentListIdx { get; set; }
|
||||
|
||||
|
||||
public event EventHandler FillBlankClicked;
|
||||
|
||||
public event EventHandler PrevButton;
|
||||
public event EventHandler NextButton;
|
||||
public event EventHandler CloseButton;
|
||||
public void SetButtonKolist(bool enable)
|
||||
{
|
||||
btn_FillBlank.Enabled = enable;
|
||||
btn_FillBlank.ForeColor = enable ? Color.Black : Color.DimGray;
|
||||
|
||||
}
|
||||
public void SetButtonPrev(bool enable)
|
||||
{
|
||||
btPrev.Enabled = enable;
|
||||
btPrev.ForeColor = enable ? Color.Black : Color.DimGray;
|
||||
}
|
||||
public void SetButtonNext(bool enable)
|
||||
{
|
||||
btNext.Enabled = enable;
|
||||
btNext.ForeColor = enable ? Color.Black : Color.DimGray;
|
||||
}
|
||||
|
||||
public MarcEditorControl()
|
||||
{
|
||||
@@ -274,19 +280,31 @@ namespace ExcelTest
|
||||
memo.Location = new Point(1018, 8);
|
||||
memo.Show();
|
||||
}
|
||||
public void SetMarcString(string text)
|
||||
{
|
||||
richTextBox1.Text = text;
|
||||
// Sync with internal data structures (008, etc)
|
||||
//string orimarc = st.made_Ori_marc(richTextBox1).Replace(@"\", "₩");
|
||||
//LoadMarc(orimarc);
|
||||
}
|
||||
|
||||
private void Btn_preview_Click(object sender, EventArgs e)
|
||||
{
|
||||
Marc_Preview mp = new Marc_Preview();
|
||||
var mp = new Marc_Preview();
|
||||
mp.isbn = Param.ISBN13;
|
||||
mp.richTextBox1.Text = richTextBox1.Text;
|
||||
mp.ButtonSave += (s, ev) =>
|
||||
{
|
||||
SetMarcString(ev);
|
||||
btn_Reflesh008_Click(this, null);
|
||||
};
|
||||
mp.Show();
|
||||
}
|
||||
public class BookSavedEventArgs : EventArgs
|
||||
{
|
||||
public string SaveDate { get; set; }
|
||||
public string DBMarc { get; set; }
|
||||
public string tag056 { get; set; }
|
||||
public string text008 { get; set; }
|
||||
|
||||
public MacEditorParameter griddata { get; set; }
|
||||
}
|
||||
|
||||
@@ -294,7 +312,7 @@ namespace ExcelTest
|
||||
|
||||
private void Btn_Save_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(Param.ISBN13))
|
||||
if (Param.NewMake ==false && string.IsNullOrEmpty(Param.ISBN13))
|
||||
{
|
||||
MessageBox.Show("마크가 선택되지않았습니다.");
|
||||
return;
|
||||
@@ -339,13 +357,13 @@ namespace ExcelTest
|
||||
this.Param.Grade = cb_grade.SelectedIndex.ToString();
|
||||
this.Param.Remark1 = etc1.Text;
|
||||
this.Param.Remark2 = etc2.Text;
|
||||
this.Param.text008 = this.text008.Text.Trim();
|
||||
this.Param.tag056 = tag056;
|
||||
// Raise Event to Update List_Book in Parent
|
||||
BookSaved?.Invoke(this, new BookSavedEventArgs
|
||||
{
|
||||
SaveDate = date,
|
||||
DBMarc = orimarc,
|
||||
tag056 = tag056,
|
||||
text008 = text008.Text,
|
||||
griddata = this.Param
|
||||
});
|
||||
}
|
||||
@@ -628,6 +646,11 @@ namespace ExcelTest
|
||||
richTextBox1.Text = result;
|
||||
return true;
|
||||
}
|
||||
public void SetRemark(string remark1, string remark2)
|
||||
{
|
||||
etc1.Text = remark1;
|
||||
etc2.Text = remark2;
|
||||
}
|
||||
|
||||
void ReadRemark()
|
||||
{
|
||||
@@ -659,7 +682,7 @@ namespace ExcelTest
|
||||
/// </summary>
|
||||
/// <param name="row">해당 데이터의 row값</param>
|
||||
/// <returns></returns>
|
||||
bool LoadMarc(string Marc_data)
|
||||
public bool LoadMarc(string Marc_data)
|
||||
{
|
||||
// Removed accessing List_Book
|
||||
// string Marc_data = List_Book.Rows[row].Cells["db_marc"].Value.ToString();
|
||||
@@ -1069,15 +1092,15 @@ namespace ExcelTest
|
||||
richTextBox1.Text = richTextBox1.Text.Replace(data008, text);
|
||||
data008 = text;
|
||||
}
|
||||
public void SetMarcString(string marcstr)
|
||||
{
|
||||
this.richTextBox1.Text = marcstr;
|
||||
}
|
||||
//public void SetMarcString(string marcstr)
|
||||
//{
|
||||
// this.richTextBox1.Text = marcstr;
|
||||
//}
|
||||
#endregion
|
||||
|
||||
private void Btn_Close_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
CloseButton?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
|
||||
private void pictureBox1_DoubleClick(object sender, EventArgs e)
|
||||
@@ -1145,7 +1168,7 @@ namespace ExcelTest
|
||||
TextReset();
|
||||
foreach (string Line in SplitLine)
|
||||
{
|
||||
if (Line == "") break;
|
||||
if (string.IsNullOrWhiteSpace(Line)) break;
|
||||
|
||||
// [0]:태그번호, [1]:지시기호, [2]:마크내용
|
||||
string[] SplitTag = Line.Split('\t');
|
||||
|
||||
@@ -2,15 +2,38 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace UniMarc.마크
|
||||
namespace WindowsFormsApp1.Mac
|
||||
{
|
||||
public class MarcPlanItem
|
||||
{
|
||||
public string Idx { get; set; }
|
||||
public string Num { get; set; }
|
||||
public string RegNum { get; set; }
|
||||
public string ClassCode { get; set; }
|
||||
public string AuthorCode { get; set; }
|
||||
public string Volume { get; set; }
|
||||
public string Copy { get; set; }
|
||||
public string Prefix { get; set; }
|
||||
public string Gu { get; set; }
|
||||
public string Isbn { get; set; }
|
||||
public string BookName { get; set; }
|
||||
public string SBookName1 { get; set; }
|
||||
public string SBookNum1 { get; set; }
|
||||
public string SBookName2 { get; set; }
|
||||
public string SBookNum2 { get; set; }
|
||||
public string Author { get; set; }
|
||||
public string BookComp { get; set; }
|
||||
public string Price { get; set; }
|
||||
public string Midx { get; set; }
|
||||
public string Marc { get; set; }
|
||||
public string SearchTag2 { get; set; }
|
||||
public string ColCheck { get; set; } = "F";
|
||||
|
||||
// Properties used in SelectList specific loading (if needed, or mapped to above)
|
||||
public string ListName { get; set; }
|
||||
public string Date { get; set; }
|
||||
public string User { get; set; }
|
||||
public string ColCheck { get; set; } = "F";
|
||||
}
|
||||
}
|
||||
|
||||
155
unimarc/unimarc/마크/Marc_FillBlank.Designer.cs
generated
155
unimarc/unimarc/마크/Marc_FillBlank.Designer.cs
generated
@@ -29,6 +29,8 @@ namespace UniMarc
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Marc_FillBlank));
|
||||
this.panel6 = new System.Windows.Forms.Panel();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
||||
@@ -53,6 +55,19 @@ namespace UniMarc
|
||||
this.Price = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.BookMarc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.bs1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.bn1 = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.panel6.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
@@ -60,6 +75,9 @@ namespace UniMarc
|
||||
this.panel5.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.panel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn1)).BeginInit();
|
||||
this.bn1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel6
|
||||
@@ -206,6 +224,7 @@ namespace UniMarc
|
||||
// panel5
|
||||
//
|
||||
this.panel5.Controls.Add(this.dataGridView1);
|
||||
this.panel5.Controls.Add(this.bn1);
|
||||
this.panel5.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.panel5.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel5.Name = "panel5";
|
||||
@@ -230,7 +249,7 @@ namespace UniMarc
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.ReadOnly = true;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(531, 702);
|
||||
this.dataGridView1.Size = new System.Drawing.Size(531, 677);
|
||||
this.dataGridView1.TabIndex = 0;
|
||||
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
|
||||
//
|
||||
@@ -293,6 +312,122 @@ namespace UniMarc
|
||||
this.panel2.Size = new System.Drawing.Size(1316, 733);
|
||||
this.panel2.TabIndex = 311;
|
||||
//
|
||||
// bn1
|
||||
//
|
||||
this.bn1.AddNewItem = this.bindingNavigatorAddNewItem;
|
||||
this.bn1.BindingSource = this.bs1;
|
||||
this.bn1.CountItem = this.bindingNavigatorCountItem;
|
||||
this.bn1.DeleteItem = this.bindingNavigatorDeleteItem;
|
||||
this.bn1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.bn1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.bindingNavigatorMoveFirstItem,
|
||||
this.bindingNavigatorMovePreviousItem,
|
||||
this.bindingNavigatorSeparator,
|
||||
this.bindingNavigatorPositionItem,
|
||||
this.bindingNavigatorCountItem,
|
||||
this.bindingNavigatorSeparator1,
|
||||
this.bindingNavigatorMoveNextItem,
|
||||
this.bindingNavigatorMoveLastItem,
|
||||
this.bindingNavigatorSeparator2,
|
||||
this.bindingNavigatorAddNewItem,
|
||||
this.bindingNavigatorDeleteItem});
|
||||
this.bn1.Location = new System.Drawing.Point(0, 677);
|
||||
this.bn1.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||
this.bn1.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||
this.bn1.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||
this.bn1.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||
this.bn1.Name = "bn1";
|
||||
this.bn1.PositionItem = this.bindingNavigatorPositionItem;
|
||||
this.bn1.Size = new System.Drawing.Size(531, 25);
|
||||
this.bn1.TabIndex = 312;
|
||||
this.bn1.Text = "bindingNavigator1";
|
||||
//
|
||||
// bindingNavigatorAddNewItem
|
||||
//
|
||||
this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
||||
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
||||
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorAddNewItem.Text = "새로 추가";
|
||||
//
|
||||
// bindingNavigatorCountItem
|
||||
//
|
||||
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// bindingNavigatorDeleteItem
|
||||
//
|
||||
this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
||||
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
||||
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorDeleteItem.Text = "삭제";
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem
|
||||
//
|
||||
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMovePreviousItem
|
||||
//
|
||||
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator
|
||||
//
|
||||
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorPositionItem
|
||||
//
|
||||
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||
//
|
||||
// bindingNavigatorSeparator1
|
||||
//
|
||||
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
||||
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorMoveNextItem
|
||||
//
|
||||
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMoveLastItem
|
||||
//
|
||||
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator2
|
||||
//
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// Marc_FillBlank
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
@@ -309,8 +444,13 @@ namespace UniMarc
|
||||
this.panel4.ResumeLayout(false);
|
||||
this.panel7.ResumeLayout(false);
|
||||
this.panel5.ResumeLayout(false);
|
||||
this.panel5.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn1)).EndInit();
|
||||
this.bn1.ResumeLayout(false);
|
||||
this.bn1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -341,5 +481,18 @@ namespace UniMarc
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn BookComp;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Price;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn BookMarc;
|
||||
private System.Windows.Forms.BindingNavigator bn1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
||||
private System.Windows.Forms.BindingSource bs1;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
}
|
||||
}
|
||||
@@ -20,10 +20,30 @@ namespace UniMarc
|
||||
public Dictionary<int, string> BulkMarcResults { get; private set; } = new Dictionary<int, string>();
|
||||
bool isAll;
|
||||
bool isBreak;
|
||||
List<FillBlankItem> _items = new List<FillBlankItem>();
|
||||
|
||||
public Marc_FillBlank()
|
||||
{
|
||||
InitializeComponent();
|
||||
bs1.DataSource = _items;
|
||||
dataGridView1.AutoGenerateColumns = false;
|
||||
dataGridView1.DataSource = bs1;
|
||||
|
||||
// Map columns manually if not done in designer, but assuming designer has columns
|
||||
// We need to map DataPropertyName.
|
||||
if (dataGridView1.Columns["List_idx"] != null) dataGridView1.Columns["List_idx"].DataPropertyName = "Idx";
|
||||
if (dataGridView1.Columns["ISBN13"] != null) dataGridView1.Columns["ISBN13"].DataPropertyName = "Isbn";
|
||||
if (dataGridView1.Columns["BookName"] != null) dataGridView1.Columns["BookName"].DataPropertyName = "BookName";
|
||||
// Check other column names?
|
||||
// "BookMarc" was accessed by name.
|
||||
if (dataGridView1.Columns["BookMarc"] != null) dataGridView1.Columns["BookMarc"].DataPropertyName = "BookMarc";
|
||||
// Author, Publisher, Price?
|
||||
// InitFillBlank accepts: [3]저자 [4]출판사 [5]가격
|
||||
// We should guess column names if not visible or just assume they are bound if user set them up or I set them.
|
||||
// Let's assume standard names or index binding is replaced by name binding.
|
||||
// But wait, user said "bs1 is pre-made" (meaning in designer possibly?). If so, I shouldn't 'new' it if it's protected?
|
||||
// "bs1은 미리 만들어뒀어" implies I might access it.
|
||||
// In my previous step I saw NO bs1 in the file. So I adding it is safe if I make it matching.
|
||||
}
|
||||
|
||||
private void Marc_FillBlank_Load(object sender, EventArgs e)
|
||||
@@ -55,10 +75,11 @@ namespace UniMarc
|
||||
/// <summary>
|
||||
/// 옆 그리드에 채울 정보를 입력
|
||||
/// </summary>
|
||||
/// <param name="GridData">[0]idx [1]ISBN [2]도서명 [3]저자 [4]출판사 [5]가격</param>
|
||||
public void InitFillBlank(string[] GridData)
|
||||
/// <param name="item">FillBlankItem 객체</param>
|
||||
public void InitFillBlank(FillBlankItem item)
|
||||
{
|
||||
dataGridView1.Rows.Add(GridData);
|
||||
_items.Add(item);
|
||||
bs1.ResetBindings(false);
|
||||
}
|
||||
|
||||
private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
|
||||
@@ -181,13 +202,15 @@ namespace UniMarc
|
||||
else
|
||||
{
|
||||
String_Text st = new String_Text();
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
for (int a = 0; a < bs1.Count; a++)
|
||||
{
|
||||
string isbn = dataGridView1.Rows[a].Cells["ISBN13"].Value.ToString();
|
||||
var item = (FillBlankItem)bs1.List[a];
|
||||
string isbn = item.Isbn;
|
||||
|
||||
if (tb_URL.Text.Contains(isbn))
|
||||
{
|
||||
dataGridView1.Rows[a].Cells["BookMarc"].Value = SplitText(Text);
|
||||
item.BookMarc = SplitText(Text);
|
||||
bs1.ResetBindings(false); // Update grid view
|
||||
isBreak = true;
|
||||
}
|
||||
}
|
||||
@@ -260,28 +283,22 @@ namespace UniMarc
|
||||
isAll = true;
|
||||
BulkMarcResults.Clear();
|
||||
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
for (int a = 0; a < bs1.Count; a++)
|
||||
{
|
||||
for (int b = 0; b < dataGridView1.RowCount; b++)
|
||||
{
|
||||
dataGridView1.Rows[b].DefaultCellStyle.BackColor = Color.White;
|
||||
}
|
||||
isBreak = false;
|
||||
// Highlight row logic - might need direct grid access for style
|
||||
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Yellow;
|
||||
// Assuming List_idx is stored as a cell value? Or should we trust the 'a' index?
|
||||
// The original code used "List_idx" cell.
|
||||
int idx = -1;
|
||||
if (dataGridView1.Rows[a].Cells["List_idx"].Value != null)
|
||||
idx = Convert.ToInt32(dataGridView1.Rows[a].Cells["List_idx"].Value.ToString());
|
||||
else
|
||||
idx = Convert.ToInt32(dataGridView1.Rows[a].Cells[0].Value.ToString()); // Fallback to column 0 if List_idx not guaranteed
|
||||
|
||||
string isbn = dataGridView1.Rows[a].Cells["ISBN13"].Value.ToString();
|
||||
isBreak = false;
|
||||
|
||||
if (isbn == "")
|
||||
var item = (FillBlankItem)bs1.List[a];
|
||||
int idx = int.Parse(item.Idx);
|
||||
string isbn = item.Isbn;
|
||||
|
||||
if (string.IsNullOrEmpty(isbn))
|
||||
{
|
||||
dataGridView1.Rows[a].DefaultCellStyle.ForeColor = Color.Red;
|
||||
progressBar1.Value += 1;
|
||||
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.White; // Reset bg
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -294,8 +311,8 @@ namespace UniMarc
|
||||
Delay(300);
|
||||
}
|
||||
|
||||
string marc = dataGridView1.Rows[a].Cells["BookMarc"].Value.ToString();
|
||||
if (marc == "")
|
||||
string marc = item.BookMarc;
|
||||
if (string.IsNullOrEmpty(marc))
|
||||
dataGridView1.Rows[a].DefaultCellStyle.ForeColor = Color.Red;
|
||||
else
|
||||
{
|
||||
@@ -305,6 +322,7 @@ namespace UniMarc
|
||||
BulkMarcResults.Add(idx, processedMarc);
|
||||
}
|
||||
|
||||
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.White;
|
||||
progressBar1.Value += 1;
|
||||
}
|
||||
|
||||
@@ -316,7 +334,6 @@ namespace UniMarc
|
||||
string MakeMarc(string text)
|
||||
{
|
||||
string[] SplitLine = text.Split('\n');
|
||||
|
||||
string result = "";
|
||||
foreach (string line in SplitLine)
|
||||
{
|
||||
@@ -358,7 +375,8 @@ namespace UniMarc
|
||||
|
||||
int row = e.RowIndex;
|
||||
|
||||
richTextBox1.Text = dataGridView1.Rows[row].Cells["BookMarc"].Value.ToString();
|
||||
var item = (FillBlankItem)bs1.Current;
|
||||
richTextBox1.Text = item.BookMarc;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -138,4 +138,75 @@
|
||||
<metadata name="BookMarc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="bn1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>663, 10</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wAAADsABataJCQAAAVdJREFUOE/Nz0tLAmEUBmB3kWRoCUVEISFUJGb1OywiKrDsIpZdkJAkDUvDQkij
|
||||
UKSbVIvatKhNi9oERRAGEQXhjJdp7Hd83/eGs2jhLGQ20QtndTgP71Gp/m0KZ1XInlTjM6XG+4EG5fuK
|
||||
yaTUIN8bIMUQ0gmtcuBtX/MLPMT0yoHnuA6kuA4iruI20lAZ+DiswWuyFum4Dk+7dbiP6kHEFVDBg+tQ
|
||||
My4DLbjwG3DqbcORxygHXxJakGIQRFwDEf0gwjKI4AYtzIHmHaA5Oxg/CsYPIb7YIQced+qluvTLCyIs
|
||||
gRYWQPNO0NwkWNYGxg+DcYNgGSu2Z0xy4C7SiJtwE66kuq049xlAs2Ng/AiS7nbszXci6jIh4jQjPGWR
|
||||
A+U59hiluowbQMzVVfmgPKU/GdcPxlmx5TArB6KzJunf0gTtPcqBzeluhCYsCIz3wm/rUw78WX4AJCPY
|
||||
nlwVm9EAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="bs1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>590, 10</value>
|
||||
</metadata>
|
||||
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wAAADsABataJCQAAAWtJREFUOE+1kE0ow2Ecx/9X5a2UiwtKOSCTmJBMhuQlMo3IvCUHDouEXHZwIOVC
|
||||
DrhIDiQl5USy07zNa2tKf2laaRf84/J8xBCetab4XL/f76fn+SnKX4DrGLqrwbHDzywkWJlHdJYjLEbY
|
||||
Wg8q4eYKlma+d1hbgF4TotWIaC+FuYmAktcXCksx2HrknBOHX1KbiTDngrXhW0kMdSBM2TA5Io+/wuI0
|
||||
oiz5TcRwB7hPYazfLx3rDz7+gCsXNBb4v1SdgajTQ19TaOMP2NtFmPSIilSo0v1y7FHBnAdZMWi6aO51
|
||||
kVCTGZoEzzWYciA/Dl9bBZwfvh3XmxIJy7PBJdx5odnAQ2E87qJUfPbtzwGjVpxJEWjH+4ElPD/BYBsY
|
||||
EjhKicW3sSoVb0vSUFsq0W6upUxhdxMtOxZnYhhqVz1oj3JJUZSdpCg0p0POmLKhJofjNqaDeikX3tFG
|
||||
uuHsQM65cML4ABzY5fA/eQGKIwMcVjm2bAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wAAADsABataJCQAAATFJREFUOE9jYBg0oHDW8/9NC57/z5z4+D+6HAyEtz/AKceQO/PZ/1VH3v/HpSi+
|
||||
+8H/4IZrWOXAIGPK0/8L933Aqii+5+H/pfv///evvoAhBwcJPU/+T9vyHkNRRPt9sObMWf//e5WewG1A
|
||||
ZNej/72rP6AoCm29B9bcuu7/f//Ov/9d8g/gNiCw+eH/uvnv4IqCW+7+X7T3//+Odf//Z8z5+d+u7ud/
|
||||
+4ztuA3wqLr/P3/aGxRFdsW3/6fP+f3fv+vbf53Cd/8tEtbjNsC+9O7/7MmvMRTpp5z/b1L04r9K1qf/
|
||||
xpHLcBtgkXfnf2r/a6yKDJJO/JdN+/pfN3gehhwcGGbd/h/W8hKnIv3Uy/81fKdhlQMDnbQb//2qH+JV
|
||||
pOIxAaccg1Pulf8gBXgVDUoAAPB2wKtYlLYeAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wAAADsABataJCQAAALtJREFUOE9jYBgyILz9wX90MaJBfPeD/8EN18gzIL7n4f+l+///96++QLoBEe33
|
||||
wZozZ/3/71V6gjQDQlvvgTW3rvv/37/z73+X/APEGxDccvf/or3//3es+/8/Y87P/3Z1P//bZ2wn3gAQ
|
||||
sCu+/T99zu///l3f/usUvvtvkbCeNANAQD/l/H+Tohf/VbI+/TeOXEa6ASBgkHTiv2za1/+6wfPIMwAE
|
||||
9FMv/9fwnUa+ASCg4jGBMgMGLwAA0BRgmCws/7cAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wAAADsABataJCQAAAKRJREFUOE9jYBh0oHDW8//oYiSB3JnP/id03yPfkIwpT//P2//7f0LXHfIMSeh5
|
||||
8n/2vl//O7f+/e9Wepl0QyK7Hv2fsu3X/5Klf/8nTP/73yb3LGmGBDY//N+69j1Ys3HJl//S0df+G0cu
|
||||
I94Qj6r7/0vmvoNrVnTpIV4zCNiX3v0f2PKMPM0gYJF3579NwRXyNIOAYdZt8jWDgE7aDfI1D00AAKB+
|
||||
X6Bjq5qXAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wAAADsABataJCQAAAStJREFUOE9jYBhUoHDW8//oYjAAkmta8Px/5sTHONUw5M589j+h+x5WBSC5VUfe
|
||||
/w9vf4BVHgwypjz9P2//7/8JXXcwFIHkFu778D+44RqGHBwk9Dz5P3vfr/+dW//+dyu9jKIQJDdty/v/
|
||||
/tUXcBsQ2fXo/5Rtv/6XLP37P2H63/82uWfhikFyvas//PcqPYHbgMDmh/9b174HazYu+fJfOvraf+PI
|
||||
ZWANILm6+e/+u+QfwG2AR9X9/yVz38E1K7r0wBWD5PKnvflvn7EdtwH2pXf/B7Y8w9AMk8ue/Pq/RcJ6
|
||||
3AZY5N35b1NwBUMzTC61/zXcS1iBYdZtrJpBACQX1vLyv27wPKzyYKCTdgOnJEjOr/rhfw3faTjV4AVO
|
||||
uVf+q3hMAGN0uYEFAL7Rv7NmXVYYAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
252
unimarc/unimarc/마크/Marc_Plan.Designer.cs
generated
252
unimarc/unimarc/마크/Marc_Plan.Designer.cs
generated
@@ -28,14 +28,15 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = 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();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Marc_Plan));
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
@@ -71,6 +72,7 @@
|
||||
this.btn_ChangeColor = new System.Windows.Forms.Button();
|
||||
this.tb_SearchChangeColor = new System.Windows.Forms.TextBox();
|
||||
this.panel5 = new System.Windows.Forms.Panel();
|
||||
this.chkEditorTest = new System.Windows.Forms.CheckBox();
|
||||
this.cbTag008_32 = new System.Windows.Forms.ComboBox();
|
||||
this.btnTag008 = new System.Windows.Forms.Button();
|
||||
this.btnTag040 = new System.Windows.Forms.Button();
|
||||
@@ -141,11 +143,20 @@
|
||||
this.marc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.search_tag2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.bn1 = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bs1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.btDelete = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.printDocument1 = new System.Drawing.Printing.PrintDocument();
|
||||
this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
|
||||
this.chkEditorTest = new System.Windows.Forms.CheckBox();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
@@ -154,7 +165,9 @@
|
||||
this.panel6.SuspendLayout();
|
||||
this.panel7.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn1)).BeginInit();
|
||||
this.bn1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
@@ -522,6 +535,18 @@
|
||||
this.panel5.Size = new System.Drawing.Size(1730, 55);
|
||||
this.panel5.TabIndex = 9;
|
||||
//
|
||||
// chkEditorTest
|
||||
//
|
||||
this.chkEditorTest.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.chkEditorTest.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.chkEditorTest.ForeColor = System.Drawing.Color.Blue;
|
||||
this.chkEditorTest.Location = new System.Drawing.Point(596, 32);
|
||||
this.chkEditorTest.Name = "chkEditorTest";
|
||||
this.chkEditorTest.Size = new System.Drawing.Size(159, 27);
|
||||
this.chkEditorTest.TabIndex = 53;
|
||||
this.chkEditorTest.Text = "Editor (Old)";
|
||||
this.chkEditorTest.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// cbTag008_32
|
||||
//
|
||||
this.cbTag008_32.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
@@ -1012,7 +1037,7 @@
|
||||
// panel7
|
||||
//
|
||||
this.panel7.Controls.Add(this.dataGridView1);
|
||||
this.panel7.Controls.Add(this.toolStrip1);
|
||||
this.panel7.Controls.Add(this.bn1);
|
||||
this.panel7.Controls.Add(this.checkBox1);
|
||||
this.panel7.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel7.Location = new System.Drawing.Point(0, 90);
|
||||
@@ -1027,14 +1052,14 @@
|
||||
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control;
|
||||
this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.AppWorkspace;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||||
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.AppWorkspace;
|
||||
dataGridViewCellStyle9.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9;
|
||||
this.dataGridView1.ColumnHeadersHeight = 25;
|
||||
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
@@ -1090,8 +1115,8 @@
|
||||
//
|
||||
// reg_num
|
||||
//
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.reg_num.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
dataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.reg_num.DefaultCellStyle = dataGridViewCellStyle10;
|
||||
this.reg_num.FillWeight = 130.9363F;
|
||||
this.reg_num.HeaderText = "등록번호";
|
||||
this.reg_num.Name = "reg_num";
|
||||
@@ -1099,8 +1124,8 @@
|
||||
//
|
||||
// class_code
|
||||
//
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.class_code.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
dataGridViewCellStyle11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.class_code.DefaultCellStyle = dataGridViewCellStyle11;
|
||||
this.class_code.FillWeight = 76.41504F;
|
||||
this.class_code.HeaderText = "분류";
|
||||
this.class_code.Name = "class_code";
|
||||
@@ -1108,8 +1133,8 @@
|
||||
//
|
||||
// author_code
|
||||
//
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.author_code.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
dataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.author_code.DefaultCellStyle = dataGridViewCellStyle12;
|
||||
this.author_code.FillWeight = 77.02635F;
|
||||
this.author_code.HeaderText = "저자기호";
|
||||
this.author_code.Name = "author_code";
|
||||
@@ -1117,8 +1142,8 @@
|
||||
//
|
||||
// volume
|
||||
//
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.volume.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
dataGridViewCellStyle13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.volume.DefaultCellStyle = dataGridViewCellStyle13;
|
||||
this.volume.FillWeight = 38.80909F;
|
||||
this.volume.HeaderText = "V";
|
||||
this.volume.Name = "volume";
|
||||
@@ -1127,8 +1152,8 @@
|
||||
//
|
||||
// copy
|
||||
//
|
||||
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.copy.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
dataGridViewCellStyle14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.copy.DefaultCellStyle = dataGridViewCellStyle14;
|
||||
this.copy.FillWeight = 40.14827F;
|
||||
this.copy.HeaderText = "C";
|
||||
this.copy.Name = "copy";
|
||||
@@ -1137,8 +1162,8 @@
|
||||
//
|
||||
// prefix
|
||||
//
|
||||
dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.prefix.DefaultCellStyle = dataGridViewCellStyle7;
|
||||
dataGridViewCellStyle15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.prefix.DefaultCellStyle = dataGridViewCellStyle15;
|
||||
this.prefix.FillWeight = 41.51828F;
|
||||
this.prefix.HeaderText = "F";
|
||||
this.prefix.Name = "prefix";
|
||||
@@ -1210,8 +1235,8 @@
|
||||
//
|
||||
// price
|
||||
//
|
||||
dataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.price.DefaultCellStyle = dataGridViewCellStyle8;
|
||||
dataGridViewCellStyle16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.price.DefaultCellStyle = dataGridViewCellStyle16;
|
||||
this.price.FillWeight = 86.15041F;
|
||||
this.price.HeaderText = "정가";
|
||||
this.price.Name = "price";
|
||||
@@ -1247,16 +1272,112 @@
|
||||
this.colCheck.TrueValue = "T";
|
||||
this.colCheck.Width = 27;
|
||||
//
|
||||
// toolStrip1
|
||||
// bn1
|
||||
//
|
||||
this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.toolStripButton1});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 738);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(1730, 25);
|
||||
this.toolStrip1.TabIndex = 3;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
this.bn1.AddNewItem = null;
|
||||
this.bn1.BindingSource = this.bs1;
|
||||
this.bn1.CountItem = this.bindingNavigatorCountItem;
|
||||
this.bn1.DeleteItem = null;
|
||||
this.bn1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.bn1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.bindingNavigatorMoveFirstItem,
|
||||
this.bindingNavigatorMovePreviousItem,
|
||||
this.bindingNavigatorSeparator,
|
||||
this.bindingNavigatorPositionItem,
|
||||
this.bindingNavigatorCountItem,
|
||||
this.bindingNavigatorSeparator1,
|
||||
this.bindingNavigatorMoveNextItem,
|
||||
this.bindingNavigatorMoveLastItem,
|
||||
this.bindingNavigatorSeparator2,
|
||||
this.btDelete});
|
||||
this.bn1.Location = new System.Drawing.Point(0, 738);
|
||||
this.bn1.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||
this.bn1.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||
this.bn1.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||
this.bn1.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||
this.bn1.Name = "bn1";
|
||||
this.bn1.PositionItem = this.bindingNavigatorPositionItem;
|
||||
this.bn1.Size = new System.Drawing.Size(1730, 25);
|
||||
this.bn1.TabIndex = 12;
|
||||
this.bn1.Text = "bindingNavigator1";
|
||||
//
|
||||
// bindingNavigatorCountItem
|
||||
//
|
||||
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
||||
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// btDelete
|
||||
//
|
||||
this.btDelete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.btDelete.Image = ((System.Drawing.Image)(resources.GetObject("btDelete.Image")));
|
||||
this.btDelete.Name = "btDelete";
|
||||
this.btDelete.RightToLeftAutoMirrorImage = true;
|
||||
this.btDelete.Size = new System.Drawing.Size(23, 22);
|
||||
this.btDelete.Text = "삭제";
|
||||
this.btDelete.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click);
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem
|
||||
//
|
||||
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
||||
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
||||
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMovePreviousItem
|
||||
//
|
||||
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
||||
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
||||
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator
|
||||
//
|
||||
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
||||
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorPositionItem
|
||||
//
|
||||
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
||||
//
|
||||
// bindingNavigatorSeparator1
|
||||
//
|
||||
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
||||
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// bindingNavigatorMoveNextItem
|
||||
//
|
||||
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
||||
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
||||
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||
//
|
||||
// bindingNavigatorMoveLastItem
|
||||
//
|
||||
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
||||
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
||||
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
||||
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||
//
|
||||
// bindingNavigatorSeparator2
|
||||
//
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// printDocument1
|
||||
//
|
||||
@@ -1273,29 +1394,6 @@
|
||||
this.printPreviewDialog1.Name = "printPreviewDialog1";
|
||||
this.printPreviewDialog1.Visible = false;
|
||||
//
|
||||
// chkEditorTest
|
||||
//
|
||||
this.chkEditorTest.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.chkEditorTest.Checked = true;
|
||||
this.chkEditorTest.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkEditorTest.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.chkEditorTest.ForeColor = System.Drawing.Color.Blue;
|
||||
this.chkEditorTest.Location = new System.Drawing.Point(596, 32);
|
||||
this.chkEditorTest.Name = "chkEditorTest";
|
||||
this.chkEditorTest.Size = new System.Drawing.Size(106, 27);
|
||||
this.chkEditorTest.TabIndex = 53;
|
||||
this.chkEditorTest.Text = "Editor (OLD)";
|
||||
this.chkEditorTest.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// toolStripButton1
|
||||
//
|
||||
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
|
||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(59, 22);
|
||||
this.toolStripButton1.Text = "delete";
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||
//
|
||||
// Marc_Plan
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
@@ -1322,8 +1420,10 @@
|
||||
this.panel7.ResumeLayout(false);
|
||||
this.panel7.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn1)).EndInit();
|
||||
this.bn1.ResumeLayout(false);
|
||||
this.bn1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -1437,9 +1537,19 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn marc;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn search_tag2;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colCheck;
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.ComboBox cb_authorTypeE;
|
||||
private System.Windows.Forms.CheckBox chkEditorTest;
|
||||
private System.Windows.Forms.BindingNavigator bn1;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
private System.Windows.Forms.ToolStripButton btDelete;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.BindingSource bs1;
|
||||
}
|
||||
}
|
||||
@@ -29,7 +29,43 @@ namespace WindowsFormsApp1.Mac
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
this.toolStrip1.Visible = System.Diagnostics.Debugger.IsAttached;
|
||||
this.btDelete.Visible = System.Diagnostics.Debugger.IsAttached;
|
||||
|
||||
// Configure Binding
|
||||
dataGridView1.AutoGenerateColumns = false;
|
||||
// Map columns
|
||||
dataGridView1.Columns["idx"].DataPropertyName = "Idx";
|
||||
dataGridView1.Columns["num"].DataPropertyName = "Num";
|
||||
dataGridView1.Columns["reg_num"].DataPropertyName = "RegNum";
|
||||
dataGridView1.Columns["class_code"].DataPropertyName = "ClassCode";
|
||||
dataGridView1.Columns["author_code"].DataPropertyName = "AuthorCode";
|
||||
dataGridView1.Columns["volume"].DataPropertyName = "Volume";
|
||||
dataGridView1.Columns["copy"].DataPropertyName = "Copy";
|
||||
dataGridView1.Columns["prefix"].DataPropertyName = "Prefix";
|
||||
dataGridView1.Columns["gu"].DataPropertyName = "Gu";
|
||||
dataGridView1.Columns["ISBN"].DataPropertyName = "Isbn";
|
||||
dataGridView1.Columns["book_name"].DataPropertyName = "BookName";
|
||||
dataGridView1.Columns["s_book_name1"].DataPropertyName = "SBookName1";
|
||||
dataGridView1.Columns["s_book_num1"].DataPropertyName = "SBookNum1";
|
||||
dataGridView1.Columns["s_book_name2"].DataPropertyName = "SBookName2";
|
||||
dataGridView1.Columns["s_book_num2"].DataPropertyName = "SBookNum2";
|
||||
dataGridView1.Columns["author"].DataPropertyName = "Author";
|
||||
dataGridView1.Columns["book_comp"].DataPropertyName = "BookComp";
|
||||
dataGridView1.Columns["price"].DataPropertyName = "Price";
|
||||
dataGridView1.Columns["midx"].DataPropertyName = "Midx";
|
||||
dataGridView1.Columns["marc"].DataPropertyName = "Marc";
|
||||
dataGridView1.Columns["search_tag2"].DataPropertyName = "SearchTag2";
|
||||
dataGridView1.Columns["colCheck"].DataPropertyName = "ColCheck";
|
||||
// CheckBox column value mapping is usually handled automatically for True/False value types if configured,
|
||||
// but since we using string "T"/"F", we might need cell formatting or just stick to using a helper property if grid supports it.
|
||||
// The existing code uses "T"/"F". The DataGridViewCheckBoxColumn TrueValue/FalseValue defaults are usually bool.
|
||||
// I should set TrueValue/FalseValue for the column to "T"/"F" in Designer or code.
|
||||
// Assuming default is bool, let's try to stick to logic.
|
||||
((DataGridViewCheckBoxColumn)dataGridView1.Columns["colCheck"]).TrueValue = "T";
|
||||
((DataGridViewCheckBoxColumn)dataGridView1.Columns["colCheck"]).FalseValue = "F";
|
||||
|
||||
this.bs1.DataSource = typeof(MarcPlanItem);
|
||||
this.dataGridView1.DataSource = this.bs1;
|
||||
}
|
||||
|
||||
private void Marc_Plan_Load(object sender, EventArgs e)
|
||||
@@ -66,13 +102,10 @@ namespace WindowsFormsApp1.Mac
|
||||
sub.TopMost = true;
|
||||
if (sub.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (sub.ResultFileRows != null && sub.ResultFileRows.Count > 0)
|
||||
//데이터가 있다면?
|
||||
if (sub.ResultItems != null && sub.ResultItems.Any())
|
||||
{
|
||||
this.dataGridView1.Rows.Clear();
|
||||
foreach (var row in sub.ResultFileRows)
|
||||
{
|
||||
this.dataGridView1.Rows.Add(row);
|
||||
}
|
||||
bs1.DataSource = sub.ResultItems;
|
||||
}
|
||||
else if (!string.IsNullOrEmpty(sub.ResultIdx))
|
||||
{
|
||||
@@ -85,7 +118,7 @@ namespace WindowsFormsApp1.Mac
|
||||
|
||||
#region SelectList_Sub
|
||||
|
||||
public void mk_Grid(string ListName, string date, string[] Grid)
|
||||
public void mk_Grid(string ListName, string date)
|
||||
{
|
||||
btn_Select_List.Text = ListName;
|
||||
this.date = date;
|
||||
@@ -114,74 +147,69 @@ namespace WindowsFormsApp1.Mac
|
||||
|
||||
string[] Search_col = { "work_list", "date" };
|
||||
string[] Search_data = { ListName, date };
|
||||
|
||||
string cmd = db.More_DB_Search(Table, Search_col, Search_data, Area);
|
||||
string res = db.DB_Send_CMD_Search(cmd);
|
||||
|
||||
string[] ary = res.Split('|');
|
||||
var res = db.ExecuteQueryData(cmd); // Assumed called above
|
||||
var list = new List<MarcPlanItem>();
|
||||
int tCnt = 1;
|
||||
for (int a = 0; a < ary.Length; a++)
|
||||
|
||||
foreach (DataRow dr in res.Rows)
|
||||
{
|
||||
if (a % 16 == 00) { Grid[00] = ary[a]; } // idx
|
||||
if (a % 16 == 01)
|
||||
MarcPlanItem item = new MarcPlanItem();
|
||||
item.Idx = dr["idx"].ToString();
|
||||
item.Num = dr["num"].ToString();
|
||||
if (string.IsNullOrEmpty(item.Num))
|
||||
{
|
||||
Grid[01] = ary[a];
|
||||
if (ary[a] == "") Grid[02] = tCnt.ToString();
|
||||
item.Num = tCnt.ToString();
|
||||
}
|
||||
tCnt++;
|
||||
} // num
|
||||
if (a % 16 == 02) { Grid[02] = ary[a]; } // r_num
|
||||
if (a % 16 == 03) { Grid[03] = ary[a]; } // class_symbol
|
||||
if (a % 16 == 04) { Grid[04] = ary[a]; } // author_symbol
|
||||
if (a % 16 == 05) { Grid[09] = ary[a]; } // ISBN
|
||||
if (a % 16 == 06) { Grid[10] = ary[a]; } // book_name
|
||||
if (a % 16 == 07) { Grid[11] = ary[a]; } // s_book_name1
|
||||
if (a % 16 == 08) { Grid[12] = ary[a]; } // s_book_num1
|
||||
if (a % 16 == 09) { Grid[13] = ary[a]; } // s_book_name2
|
||||
if (a % 16 == 10) { Grid[14] = ary[a]; } // s_book_num2
|
||||
if (a % 16 == 11) { Grid[15] = ary[a]; } // author
|
||||
if (a % 16 == 12) { Grid[16] = ary[a]; } // book_comp
|
||||
if (a % 16 == 13) { Grid[17] = ary[a]; } // price
|
||||
if (a % 16 == 14) { Grid[18] = ary[a]; } // midx
|
||||
if (a % 16 == 15)
|
||||
{
|
||||
Grid[19] = ary[a]; // marc
|
||||
|
||||
string[] vcf = st.Take_Tag(ary[a], GetTag);
|
||||
Grid[5] = vcf[0];
|
||||
Grid[6] = vcf[1];
|
||||
Grid[7] = vcf[2];
|
||||
item.RegNum = dr["r_num"].ToString();
|
||||
item.ClassCode = dr["class_symbol"].ToString();
|
||||
item.AuthorCode = dr["author_symbol"].ToString();
|
||||
item.Isbn = dr["ISBN"].ToString();
|
||||
item.BookName = dr["book_name"].ToString();
|
||||
item.SBookName1 = dr["s_book_name1"].ToString();
|
||||
item.SBookNum1 = dr["s_book_num1"].ToString();
|
||||
item.SBookName2 = dr["s_book_name2"].ToString();
|
||||
item.SBookNum2 = dr["s_book_num2"].ToString();
|
||||
item.Author = dr["author"].ToString();
|
||||
item.BookComp = dr["book_comp"].ToString();
|
||||
item.Price = dr["price"].ToString();
|
||||
item.Midx = dr["midx"].ToString();
|
||||
|
||||
string[] ab = st.Take_Tag(ary[a], GetTag2);
|
||||
string rawMarc = dr["marc"].ToString();
|
||||
|
||||
// Logic for MARC tag processing
|
||||
string[] vcf = st.Take_Tag(rawMarc, GetTag);
|
||||
item.Volume = vcf[0];
|
||||
item.Copy = vcf[1];
|
||||
item.Prefix = vcf[2];
|
||||
|
||||
string[] ab = st.Take_Tag(rawMarc, GetTag2);
|
||||
if (ab[0] != "")
|
||||
Grid[19] = Grid[19].Replace(ab[0], Grid[3]);
|
||||
rawMarc = rawMarc.Replace(ab[0], item.ClassCode);
|
||||
if (ab[1] != "")
|
||||
Grid[19] = Grid[19].Replace(ab[1], Grid[4]);
|
||||
rawMarc = rawMarc.Replace(ab[1], item.AuthorCode);
|
||||
|
||||
vcf = new string[] { "", "", "" };
|
||||
vcf[0] = string.Format("▼a{0}", Grid[3]);
|
||||
vcf[1] = string.Format("▼b{0}", Grid[4]);
|
||||
if (Grid[5] != "")
|
||||
vcf[2] = string.Format("▼c{0}", Grid[5]);
|
||||
string AddTag = string.Format("090\t \t{0}{1}{2}▲", vcf[0], vcf[1], vcf[2]);
|
||||
string TypeView = ConvertMarcType(Grid[19]);
|
||||
Grid[19] = st.made_Ori_marc(AddTagInMarc(AddTag, TypeView));
|
||||
string[] vcf_marc = new string[] { "", "", "" };
|
||||
vcf_marc[0] = string.Format("▼a{0}", item.ClassCode);
|
||||
vcf_marc[1] = string.Format("▼b{0}", item.AuthorCode);
|
||||
if (!string.IsNullOrEmpty(item.Volume))
|
||||
vcf_marc[2] = string.Format("▼c{0}", item.Volume);
|
||||
|
||||
dataGridView1.Rows.Add(Grid);
|
||||
}
|
||||
}
|
||||
}
|
||||
public void mk_Grid(string ListName, string date)
|
||||
{
|
||||
string[] grid = {
|
||||
"", "", "", "", "",
|
||||
"", "", "", "", "",
|
||||
"", "", "", "", "",
|
||||
"", "", "", "", "",
|
||||
"", "T", "", ""
|
||||
};
|
||||
string AddTag = string.Format("090\t \t{0}{1}{2}▲", vcf_marc[0], vcf_marc[1], vcf_marc[2]);
|
||||
string TypeView = ConvertMarcType(rawMarc);
|
||||
item.Marc = st.made_Ori_marc(AddTagInMarc(AddTag, TypeView));
|
||||
|
||||
mk_Grid(ListName, date, grid);
|
||||
item.ColCheck = "F";
|
||||
|
||||
list.Add(item);
|
||||
}
|
||||
bs1.DataSource = list;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public void mk_Panel(string idx, string ListName, string date)
|
||||
{
|
||||
string Table = "Specs_List";
|
||||
@@ -222,14 +250,26 @@ namespace WindowsFormsApp1.Mac
|
||||
|
||||
private (string marc, MacEditorParameter p) GetBookData(int row)
|
||||
{
|
||||
string bookName = dataGridView1.Rows[row].Cells["book_name"].Value.ToString();
|
||||
string author = dataGridView1.Rows[row].Cells["author"].Value.ToString();
|
||||
string publisher = dataGridView1.Rows[row].Cells["book_comp"].Value.ToString();
|
||||
string price = dataGridView1.Rows[row].Cells["price"].Value.ToString();
|
||||
string isbn = dataGridView1.Rows[row].Cells["ISBN"].Value.ToString();
|
||||
string idx = dataGridView1.Rows[row].Cells["idx"].Value.ToString();
|
||||
string midx = dataGridView1.Rows[row].Cells["midx"].Value.ToString();
|
||||
string marc = dataGridView1.Rows[row].Cells["marc"].Value.ToString();
|
||||
// Fallback or deprecated, ideally redirect to item based or remove if possible.
|
||||
// BUT existing non-bound usage calls might exist? No, this is private and used in editor opening.
|
||||
// Let's keep for safety but implement new one.
|
||||
if (row >= 0 && row < bs1.Count)
|
||||
{
|
||||
return GetBookData((MarcPlanItem)bs1.List[row]);
|
||||
}
|
||||
return ("", new MacEditorParameter());
|
||||
}
|
||||
|
||||
private (string marc, MacEditorParameter p) GetBookData(MarcPlanItem item)
|
||||
{
|
||||
string bookName = item.BookName;
|
||||
string author = item.Author;
|
||||
string publisher = item.BookComp;
|
||||
string price = item.Price;
|
||||
string isbn = item.Isbn;
|
||||
string idx = item.Idx;
|
||||
string midx = item.Midx;
|
||||
string marc = item.Marc;
|
||||
|
||||
string cmd = string.Format("SELECT `user`, `editDate`, `etc1`, `etc2` FROM `Specs_Marc` WHERE `idx` = \"{0}\"", midx);
|
||||
string res = db.DB_Send_CMD_Search(cmd);
|
||||
@@ -270,7 +310,7 @@ namespace WindowsFormsApp1.Mac
|
||||
|
||||
if (dataGridView1.Rows[row].Cells[col].ReadOnly)
|
||||
{
|
||||
if (chkEditorTest.Checked == false)
|
||||
if (chkEditorTest.Checked == true)
|
||||
{
|
||||
string[] Marc = {
|
||||
dataGridView1.Rows[row].Cells["marc"].Value.ToString(),
|
||||
@@ -292,77 +332,85 @@ namespace WindowsFormsApp1.Mac
|
||||
}
|
||||
else
|
||||
{
|
||||
int currentEditorRow = row;
|
||||
string isbn = dataGridView1.Rows[row].Cells["ISBN"].Value.ToString();
|
||||
string marcData = dataGridView1.Rows[row].Cells["marc"].Value.ToString();
|
||||
// Sync BindingSource position
|
||||
bs1.Position = row;
|
||||
|
||||
var currentItem = (MarcPlanItem)bs1.Current;
|
||||
string isbn = currentItem.Isbn;
|
||||
string marcData = currentItem.Marc;
|
||||
|
||||
var f = new Marc_Plan_Sub_MarcEdit2(isbn, marcData);
|
||||
var data = GetBookData(currentEditorRow);
|
||||
var data = GetBookData(currentItem);
|
||||
f.LoadBook(data.marc, data.p);
|
||||
|
||||
f.RequestNext += (s, args) =>
|
||||
{
|
||||
if (currentEditorRow < dataGridView1.RowCount - 1)
|
||||
if (bs1.Position < bs1.Count - 1)
|
||||
{
|
||||
currentEditorRow++;
|
||||
var nextData = GetBookData(currentEditorRow);
|
||||
bs1.MoveNext();
|
||||
var nextItem = (MarcPlanItem)bs1.Current;
|
||||
var nextData = GetBookData(nextItem);
|
||||
f.LoadBook(nextData.marc, nextData.p);
|
||||
|
||||
// Optional: Sync grid selection
|
||||
dataGridView1.ClearSelection();
|
||||
dataGridView1.Rows[currentEditorRow].Selected = true;
|
||||
// Ensure visible
|
||||
dataGridView1.FirstDisplayedScrollingRowIndex = currentEditorRow;
|
||||
// Optional: Ensure visible
|
||||
if (dataGridView1.CurrentRow != null)
|
||||
dataGridView1.FirstDisplayedScrollingRowIndex = dataGridView1.CurrentRow.Index;
|
||||
}
|
||||
};
|
||||
|
||||
f.RequestPrev += (s, args) =>
|
||||
{
|
||||
if (currentEditorRow > 0)
|
||||
if (bs1.Position > 0)
|
||||
{
|
||||
currentEditorRow--;
|
||||
var prevData = GetBookData(currentEditorRow);
|
||||
bs1.MovePrevious();
|
||||
var prevItem = (MarcPlanItem)bs1.Current;
|
||||
var prevData = GetBookData(prevItem);
|
||||
f.LoadBook(prevData.marc, prevData.p);
|
||||
|
||||
// Optional: Sync grid selection
|
||||
dataGridView1.ClearSelection();
|
||||
dataGridView1.Rows[currentEditorRow].Selected = true;
|
||||
// Ensure visible
|
||||
dataGridView1.FirstDisplayedScrollingRowIndex = currentEditorRow;
|
||||
// Optional: Ensure visible
|
||||
if (dataGridView1.CurrentRow != null)
|
||||
dataGridView1.FirstDisplayedScrollingRowIndex = dataGridView1.CurrentRow.Index;
|
||||
}
|
||||
};
|
||||
|
||||
f.BookUpdated += (s, args) =>
|
||||
{
|
||||
dataGridView1.Rows[currentEditorRow].Cells["book_name"].Value = args.BookName;
|
||||
dataGridView1.Rows[currentEditorRow].Cells["marc"].Value = args.Marc;
|
||||
var item = (MarcPlanItem)bs1.Current;
|
||||
item.BookName = args.BookName;
|
||||
item.Marc = args.Marc;
|
||||
bs1.ResetCurrentItem(); // Refresh grid
|
||||
};
|
||||
|
||||
f.RequestFillBlankData += (s, args) =>
|
||||
{
|
||||
var dataList = new List<string[]>();
|
||||
string currentIsbn = dataGridView1.Rows[currentEditorRow].Cells["ISBN"].Value.ToString();
|
||||
var dataList = new List<FillBlankItem>();
|
||||
var currentBoundItem = (MarcPlanItem)bs1.Current;
|
||||
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
for (int a = 0; a < bs1.Count; a++)
|
||||
{
|
||||
// Criteria for "Fill Blank" candidates.
|
||||
// Original legacy logic used Red color. Here we check if db_marc (marc column) is empty or too short.
|
||||
string mData = dataGridView1.Rows[a].Cells["marc"].Value?.ToString() ?? "";
|
||||
if (mData.Length < 10) // Assuming usage of "Red" roughly equates to invalid/missing MARC
|
||||
// Check if MARC is empty or short
|
||||
var mItem = (MarcPlanItem)bs1.List[a];
|
||||
string mData = mItem.Marc ?? "";
|
||||
if (mData.Length < 10)
|
||||
{
|
||||
string[] rowData = {
|
||||
a.ToString(),
|
||||
dataGridView1.Rows[a].Cells["ISBN"].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["price"].Value?.ToString() ?? "", // 'pay' in Marc2 might be 'price' here? Checked GetBookData: yes, price.
|
||||
""
|
||||
var item = new FillBlankItem
|
||||
{
|
||||
Idx = a.ToString(),
|
||||
Isbn = mItem.Isbn ?? "",
|
||||
BookName = mItem.BookName ?? "",
|
||||
Author = mItem.Author ?? "",
|
||||
Publisher = mItem.BookComp ?? "",
|
||||
Price = mItem.Price ?? ""
|
||||
};
|
||||
dataList.Add(rowData);
|
||||
dataList.Add(item);
|
||||
}
|
||||
}
|
||||
f.OpenFillBlank(dataList, currentIsbn);
|
||||
if(dataList.Any()==false)
|
||||
{
|
||||
UTIL.MsgE("비마크 데이터가 존재하지 않아 기능을 사용할 수 없습니다");
|
||||
}
|
||||
else f.OpenFillBlank(dataList, currentBoundItem.Isbn);
|
||||
};
|
||||
|
||||
f.BulkBooksUpdated += (s, args) =>
|
||||
@@ -372,14 +420,15 @@ namespace WindowsFormsApp1.Mac
|
||||
int rowIdx = kvp.Key;
|
||||
string newMarc = kvp.Value;
|
||||
|
||||
// Ensure rowIdx is valid (it should be, as it came from 'a' loop index)
|
||||
if (rowIdx >= 0 && rowIdx < dataGridView1.Rows.Count)
|
||||
// Ensure rowIdx is valid
|
||||
if (rowIdx >= 0 && rowIdx < bs1.Count)
|
||||
{
|
||||
dataGridView1.Rows[rowIdx].Cells["marc"].Value = newMarc;
|
||||
// Optional: Update color or status to indicate filled?
|
||||
// Legacy code updated color. Marc_Plan might not enforce color rules yet, but setting value is key.
|
||||
var mItem = (MarcPlanItem)bs1.List[rowIdx];
|
||||
mItem.Marc = newMarc;
|
||||
// We might want to refresh specific rows or all, simpler to reset item or all
|
||||
}
|
||||
}
|
||||
bs1.ResetBindings(false); // Refresh all to reflect changes
|
||||
};
|
||||
|
||||
f.Show();
|
||||
@@ -1556,6 +1605,11 @@ namespace WindowsFormsApp1.Mac
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
// 범위 입력받기
|
||||
string input = Microsoft.VisualBasic.Interaction.InputBox(
|
||||
@@ -1598,10 +1652,10 @@ namespace WindowsFormsApp1.Mac
|
||||
int startIndex = startRow - 1;
|
||||
int endIndex = endRow - 1;
|
||||
|
||||
// 범위가 그리드 범위를 벗어나는지 확인
|
||||
if (endIndex >= dataGridView1.Rows.Count)
|
||||
// 범위가 데이터 범위를 벗어나는지 확인
|
||||
if (endIndex >= bs1.Count)
|
||||
{
|
||||
MessageBox.Show($"입력한 범위가 전체 행 수({dataGridView1.Rows.Count})를 초과합니다.", "입력 오류", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||
MessageBox.Show($"입력한 범위가 전체 데이터 수({bs1.Count})를 초과합니다.", "입력 오류", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1614,9 +1668,9 @@ namespace WindowsFormsApp1.Mac
|
||||
// 뒤에서부터 삭제 (인덱스가 꼬이지 않도록)
|
||||
for (int i = endIndex; i >= startIndex; i--)
|
||||
{
|
||||
if (i < dataGridView1.Rows.Count && !dataGridView1.Rows[i].IsNewRow)
|
||||
if (i < bs1.Count)
|
||||
{
|
||||
dataGridView1.Rows.RemoveAt(i);
|
||||
bs1.RemoveAt(i);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -117,33 +117,76 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="bn1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>437, 11</value>
|
||||
</metadata>
|
||||
<metadata name="search_tag2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>300, 6</value>
|
||||
<metadata name="bn1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>437, 11</value>
|
||||
</metadata>
|
||||
<metadata name="bs1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>517, 10</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
|
||||
YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X
|
||||
/aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t
|
||||
I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM
|
||||
cX79DFKrHHD5d9D26hvicx4pABt2lpg10zYzU0zr7+e3xXGcrkEB2O2TNec9nJFwB3alZn5jZorfeDZh
|
||||
6Q3g8s06BeCoKF4MRURoH1+BY2oNCbeb0TIclIYxOhzf8frTOuo7FxCbbVIAzpni0iceEc8vhzEwGkJD
|
||||
lx83ymxifejdKjRNk/8PWnyIyTQqAJek0jqHwfEVscu31baIu8+90sTE4nY025dQ2/5FIPpnXlzKuK8A
|
||||
HBUzHot52djqQ6HZhfR7IwK4mKpHtvEDMqvfCiQ6zaAAXM8x94aIWTNrLLG4kVUzgaTSPlzLtyJOZxbb
|
||||
1wtfyg4Q+AfA3aZlButjSfxGcUJBk4g5tuP3haQKRKXcUQDOmbvNTpPOJeFFjordZmbWTNvMTHFUcpUC
|
||||
nOccAdABIDXXE1nzAAAAAElFTkSuQmCC
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAATFJREFUOE9jYBg0oHDW8/9NC57/z5z4+D+6HAyEtz/AKceQO/PZ/1VH3v/HpSi+
|
||||
+8H/4IZrWOXAIGPK0/8L933Aqii+5+H/pfv///evvoAhBwcJPU/+T9vyHkNRRPt9sObMWf//e5WewG1A
|
||||
ZNej/72rP6AoCm29B9bcuu7/f//Ov/9d8g/gNiCw+eH/uvnv4IqCW+7+X7T3//+Odf//Z8z5+d+u7ud/
|
||||
+4ztuA3wqLr/P3/aGxRFdsW3/6fP+f3fv+vbf53Cd/8tEtbjNsC+9O7/7MmvMRTpp5z/b1L04r9K1qf/
|
||||
xpHLcBtgkXfnf2r/a6yKDJJO/JdN+/pfN3gehhwcGGbd/h/W8hKnIv3Uy/81fKdhlQMDnbQb//2qH+JV
|
||||
pOIxAaccg1Pulf8gBXgVDUoAAPB2wKtYlLYeAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAALtJREFUOE9jYBgyILz9wX90MaJBfPeD/8EN18gzIL7n4f+l+///96++QLoBEe33
|
||||
wZozZ/3/71V6gjQDQlvvgTW3rvv/37/z73+X/APEGxDccvf/or3//3es+/8/Y87P/3Z1P//bZ2wn3gAQ
|
||||
sCu+/T99zu///l3f/usUvvtvkbCeNANAQD/l/H+Tohf/VbI+/TeOXEa6ASBgkHTiv2za1/+6wfPIMwAE
|
||||
9FMv/9fwnUa+ASCg4jGBMgMGLwAA0BRgmCws/7cAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAAKRJREFUOE9jYBh0oHDW8//oYiSB3JnP/id03yPfkIwpT//P2//7f0LXHfIMSeh5
|
||||
8n/2vl//O7f+/e9Wepl0QyK7Hv2fsu3X/5Klf/8nTP/73yb3LGmGBDY//N+69j1Ys3HJl//S0df+G0cu
|
||||
I94Qj6r7/0vmvoNrVnTpIV4zCNiX3v0f2PKMPM0gYJF3579NwRXyNIOAYdZt8jWDgE7aDfI1D00AAKB+
|
||||
X6Bjq5qXAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAAStJREFUOE9jYBhUoHDW8//oYjAAkmta8Px/5sTHONUw5M589j+h+x5WBSC5VUfe
|
||||
/w9vf4BVHgwypjz9P2//7/8JXXcwFIHkFu778D+44RqGHBwk9Dz5P3vfr/+dW//+dyu9jKIQJDdty/v/
|
||||
/tUXcBsQ2fXo/5Rtv/6XLP37P2H63/82uWfhikFyvas//PcqPYHbgMDmh/9b174HazYu+fJfOvraf+PI
|
||||
ZWANILm6+e/+u+QfwG2AR9X9/yVz38E1K7r0wBWD5PKnvflvn7EdtwH2pXf/B7Y8w9AMk8ue/Pq/RcJ6
|
||||
3AZY5N35b1NwBUMzTC61/zXcS1iBYdZtrJpBACQX1vLyv27wPKzyYKCTdgOnJEjOr/rhfw3faTjV4AVO
|
||||
uVf+q3hMAGN0uYEFAL7Rv7NmXVYYAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="btDelete.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAAWtJREFUOE+1kE0ow2Ecx/9X5a2UiwtKOSCTmJBMhuQlMo3IvCUHDouEXHZwIOVC
|
||||
DrhIDiQl5USy07zNa2tKf2laaRf84/J8xBCetab4XL/f76fn+SnKX4DrGLqrwbHDzywkWJlHdJYjLEbY
|
||||
Wg8q4eYKlma+d1hbgF4TotWIaC+FuYmAktcXCksx2HrknBOHX1KbiTDngrXhW0kMdSBM2TA5Io+/wuI0
|
||||
oiz5TcRwB7hPYazfLx3rDz7+gCsXNBb4v1SdgajTQ19TaOMP2NtFmPSIilSo0v1y7FHBnAdZMWi6aO51
|
||||
kVCTGZoEzzWYciA/Dl9bBZwfvh3XmxIJy7PBJdx5odnAQ2E87qJUfPbtzwGjVpxJEWjH+4ElPD/BYBsY
|
||||
EjhKicW3sSoVb0vSUFsq0W6upUxhdxMtOxZnYhhqVz1oj3JJUZSdpCg0p0POmLKhJofjNqaDeikX3tFG
|
||||
uuHsQM65cML4ABzY5fA/eQGKIwMcVjm2bAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="printDocument1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>6, 7</value>
|
||||
<value>18, 17</value>
|
||||
</metadata>
|
||||
<metadata name="printPreviewDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>138, 6</value>
|
||||
<value>193, 17</value>
|
||||
</metadata>
|
||||
<data name="printPreviewDialog1.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
@@ -319,6 +362,6 @@
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>40</value>
|
||||
<value>84</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -35,6 +35,7 @@ namespace UniMarc.마크
|
||||
marcEditorControl1.BookSaved += MarcEditorControl_BookSaved;
|
||||
marcEditorControl1.NextButton += MarcEditorControl1_NextButton;
|
||||
marcEditorControl1.PrevButton += MarcEditorControl1_PrevButton;
|
||||
marcEditorControl1.CloseButton += (s1, e1) => { this.Close(); };
|
||||
marcEditorControl1.Dock = DockStyle.Fill;
|
||||
this.StartPosition = FormStartPosition.CenterScreen;
|
||||
this.Controls.Add(marcEditorControl1);
|
||||
@@ -58,12 +59,12 @@ namespace UniMarc.마크
|
||||
|
||||
public event EventHandler RequestFillBlankData;
|
||||
|
||||
public void OpenFillBlank(List<string[]> gridData, string currentIsbn)
|
||||
public void OpenFillBlank(List<FillBlankItem> gridData, string currentIsbn)
|
||||
{
|
||||
var fb = new UniMarc.Marc_FillBlank();
|
||||
foreach (var rowData in gridData)
|
||||
foreach (var item in gridData)
|
||||
{
|
||||
fb.InitFillBlank(rowData);
|
||||
fb.InitFillBlank(item);
|
||||
}
|
||||
fb.ISBN = currentIsbn;
|
||||
|
||||
@@ -105,7 +106,7 @@ namespace UniMarc.마크
|
||||
string oriMarc = e.DBMarc;
|
||||
string etc1 = e.griddata.Remark1 ?? "";
|
||||
string etc2 = e.griddata.Remark2 ?? "";
|
||||
string tag008 = e.text008;
|
||||
string tag008 = e.griddata.text008;
|
||||
|
||||
// 등록번호 분류기호 저자기호 볼륨 복본
|
||||
// 별치 총서명 총서번호 저자 출판사
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace UniMarc.마크
|
||||
public string ResultIdx { get; private set; }
|
||||
public string ResultListName { get; private set; }
|
||||
public string ResultDate { get; private set; }
|
||||
public List<string[]> ResultFileRows { get; private set; }
|
||||
public List<MarcPlanItem> ResultItems { get; private set; }
|
||||
|
||||
public Marc_Plan_Sub_SelectList()
|
||||
{
|
||||
@@ -247,27 +247,27 @@ namespace UniMarc.마크
|
||||
private void btn_OpenFile_Click(object sender, EventArgs e)
|
||||
{
|
||||
OpenFileDialog OpenFileDialog = new OpenFileDialog();
|
||||
if (OpenFileDialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (OpenFileDialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
//mp.dataGridView1.Rows.Clear(); // Decoupled
|
||||
string filePath = OpenFileDialog.FileName;
|
||||
if (OpenFileDialog.ShowDialog() != DialogResult.OK) return;
|
||||
|
||||
var filePath = OpenFileDialog.FileName;
|
||||
|
||||
try
|
||||
{
|
||||
System.IO.StreamReader r = new System.IO.StreamReader(filePath, Encoding.Default);
|
||||
InputGridByFileData(r.ReadToEnd());
|
||||
r.Close();
|
||||
var filedata = System.IO.File.ReadAllText(filePath, System.Text.Encoding.Default);
|
||||
InputGridByFileData(filedata);
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#region OpenFileSub
|
||||
|
||||
/// <summary>
|
||||
/// 파일로부터 목록을 가져온다
|
||||
/// </summary>
|
||||
/// <param name="text"></param>
|
||||
void InputGridByFileData(string text)
|
||||
{
|
||||
String_Text st = new String_Text();
|
||||
@@ -280,9 +280,8 @@ namespace UniMarc.마크
|
||||
"049l", "090a", "090b", "049v", "049c", "049f",
|
||||
// ISBN, 도서명, 총서명1, 총서번호1, 총서명2, 총서번호2, 출판사, 정가, 저자
|
||||
"020a", "245a", "440a", "440v", "490a", "490v", "260b", "950b", "245d" };
|
||||
|
||||
string[] Search_Res = st.Take_Tag(grid[a], Search);
|
||||
|
||||
|
||||
string[] Author_Search = { "100a", "110a", "111a" };
|
||||
string[] Author_Res = st.Take_Tag(grid[a], Author_Search);
|
||||
string author_Fin = Search_Res[14];
|
||||
@@ -295,22 +294,41 @@ namespace UniMarc.마크
|
||||
}
|
||||
}
|
||||
|
||||
string[] AddGrid = {
|
||||
// idx, 연번, 등록번호, 분류, 저자기호
|
||||
"", "", Search_Res[0], Search_Res[1], Search_Res[2],
|
||||
// "", "", Search_Res[0], Search_Res[1], Search_Res[2],
|
||||
// 볼륨v, 복본c, 별치f, 구분, isbn
|
||||
Search_Res[3], Search_Res[4], Search_Res[5], "", Search_Res[6],
|
||||
// Search_Res[3], Search_Res[4], Search_Res[5], "", Search_Res[6],
|
||||
// 도서명, 총서명1, 총서번호1, 총서명1, 총서번호2
|
||||
Search_Res[7], Search_Res[8], Search_Res[9], Search_Res[10], Search_Res[11],
|
||||
// Search_Res[7], Search_Res[8], Search_Res[9], Search_Res[10], Search_Res[11],
|
||||
// 저자, 출판사, 정가, midx, 마크
|
||||
author_Fin, Search_Res[12], Search_Res[13], "", grid[a],
|
||||
// author_Fin, Search_Res[12], Search_Res[13], "", grid[a],
|
||||
// 검색태그
|
||||
"", "T" };
|
||||
if (ResultFileRows == null) ResultFileRows = new List<string[]>();
|
||||
ResultFileRows.Add(AddGrid);
|
||||
//mp.dataGridView1.Rows.Add(AddGrid);
|
||||
// "", "T"
|
||||
|
||||
var item = new MarcPlanItem
|
||||
{
|
||||
RegNum = Search_Res[0],
|
||||
ClassCode = Search_Res[1],
|
||||
AuthorCode = Search_Res[2],
|
||||
Volume = Search_Res[3],
|
||||
Copy = Search_Res[4],
|
||||
Prefix = Search_Res[5],
|
||||
Isbn = Search_Res[6],
|
||||
BookName = Search_Res[7],
|
||||
SBookName1 = Search_Res[8],
|
||||
SBookNum1 = Search_Res[9],
|
||||
SBookName2 = Search_Res[10],
|
||||
SBookNum2 = Search_Res[11],
|
||||
Author = author_Fin,
|
||||
BookComp = Search_Res[12],
|
||||
Price = Search_Res[13],
|
||||
Marc = grid[a],
|
||||
ColCheck = "T"
|
||||
};
|
||||
|
||||
if (ResultItems == null) ResultItems = new List<MarcPlanItem>();
|
||||
ResultItems.Add(item);
|
||||
}
|
||||
this.DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
#endregion
|
||||
@@ -344,18 +362,11 @@ namespace UniMarc.마크
|
||||
if (dataGridView1.Columns[col].Name == "colCheck")
|
||||
return;
|
||||
|
||||
string idx = dataGridView1.Rows[row].Cells["idx"].Value.ToString();
|
||||
string list_name = dataGridView1.Rows[row].Cells["list_name"].Value.ToString();
|
||||
string date = dataGridView1.Rows[row].Cells["date"].Value.ToString();
|
||||
|
||||
ResultIdx = idx;
|
||||
ResultListName = list_name;
|
||||
ResultDate = date;
|
||||
var drow = dataGridView1.Rows[row].DataBoundItem as MarcPlanItem;
|
||||
ResultIdx = drow.Idx;//idx;
|
||||
ResultListName = drow.ListName;// list_name;
|
||||
ResultDate = drow.Date;//date;
|
||||
this.DialogResult = DialogResult.OK;
|
||||
|
||||
//mp.mk_Grid(list_name, date);
|
||||
//mp.mk_Panel(idx, list_name, date);
|
||||
|
||||
this.Close();
|
||||
}
|
||||
|
||||
|
||||
8
unimarc/unimarc/마크/Marc_Preview.Designer.cs
generated
8
unimarc/unimarc/마크/Marc_Preview.Designer.cs
generated
@@ -103,9 +103,9 @@ namespace UniMarc.마크
|
||||
//
|
||||
// btn_Search
|
||||
//
|
||||
this.btn_Search.Location = new System.Drawing.Point(172, 12);
|
||||
this.btn_Search.Location = new System.Drawing.Point(270, 7);
|
||||
this.btn_Search.Name = "btn_Search";
|
||||
this.btn_Search.Size = new System.Drawing.Size(75, 23);
|
||||
this.btn_Search.Size = new System.Drawing.Size(75, 31);
|
||||
this.btn_Search.TabIndex = 0;
|
||||
this.btn_Search.Text = "검 색";
|
||||
this.btn_Search.UseVisualStyleBackColor = true;
|
||||
@@ -113,9 +113,9 @@ namespace UniMarc.마크
|
||||
//
|
||||
// btn_Save
|
||||
//
|
||||
this.btn_Save.Location = new System.Drawing.Point(253, 12);
|
||||
this.btn_Save.Location = new System.Drawing.Point(351, 7);
|
||||
this.btn_Save.Name = "btn_Save";
|
||||
this.btn_Save.Size = new System.Drawing.Size(75, 23);
|
||||
this.btn_Save.Size = new System.Drawing.Size(75, 31);
|
||||
this.btn_Save.TabIndex = 0;
|
||||
this.btn_Save.Text = "마크 저장";
|
||||
this.btn_Save.UseVisualStyleBackColor = true;
|
||||
|
||||
@@ -14,9 +14,11 @@ namespace UniMarc.마크
|
||||
public partial class Marc_Preview : Form
|
||||
{
|
||||
public string isbn;
|
||||
AddMarc am;
|
||||
Marc mac;
|
||||
//AddMarc am;
|
||||
//Marc mac;
|
||||
|
||||
|
||||
public EventHandler<string> ButtonSave;
|
||||
public Marc_Preview()
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -103,10 +105,11 @@ namespace UniMarc.마크
|
||||
|
||||
private void btn_Save_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (mac != null)
|
||||
mac.richTextBox1.Text = richTextBox1.Text;
|
||||
else if (am != null)
|
||||
am.richTextBox1.Text = richTextBox1.Text;
|
||||
//if (mac != null)
|
||||
// mac.richTextBox1.Text = richTextBox1.Text;
|
||||
//else if (am != null)
|
||||
// am.richTextBox1.Text = richTextBox1.Text;
|
||||
ButtonSave?.Invoke(this, richTextBox1.Text);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace UniMarc.마크
|
||||
AddMarc am;
|
||||
Marc2 mae;
|
||||
MarcEditorControl mae2;
|
||||
|
||||
AddMarc2 am2;
|
||||
public Marc_memo(MarcEditorControl _mae)
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -38,7 +38,11 @@ namespace UniMarc.마크
|
||||
InitializeComponent();
|
||||
am = _am;
|
||||
}
|
||||
|
||||
public Marc_memo(AddMarc2 _am)
|
||||
{
|
||||
InitializeComponent();
|
||||
am2 = _am;
|
||||
}
|
||||
private void Marc_memo_Load(object sender, EventArgs e)
|
||||
{
|
||||
string[] com_List =
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace ExcelTest
|
||||
string find = "";
|
||||
string change = "";
|
||||
String_Text st = new String_Text();
|
||||
AddMarc am;
|
||||
AddMarc am; AddMarc2 am2;
|
||||
Marc mac;
|
||||
Marc_memo mmm;
|
||||
Marc2 mae;
|
||||
@@ -37,6 +37,11 @@ namespace ExcelTest
|
||||
InitializeComponent();
|
||||
mae = _mae;
|
||||
}
|
||||
public findNchange(AddMarc2 _am)
|
||||
{
|
||||
InitializeComponent();
|
||||
am2 = _am;
|
||||
}
|
||||
public findNchange(AddMarc _am)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
Reference in New Issue
Block a user