Compare commits

7 Commits

Author SHA1 Message Date
eee6aeb514 prev, next 기능 활성화 2026-01-21 23:55:00 +09:00
23cf444cba 마크편집화면 : 색인, 등급 업데이트 오류 수정 및 불필요 코드 정리 작업, 중복실행코드 제거 2026-01-21 23:20:16 +09:00
aa5f33eedb Marc2 화면에서 저장시 사용자 이름이 저장되도록 함
미소장 마크 코리스 창 채우기 기능 오류 수정 완료
마크정리화면에 에디터창 붙이기 작업시작(컨트롤 정리작업 중)
2026-01-20 22:13:56 +09:00
d5aa0fe59d [NewEditor] 저장기능 확인, 목록다시불러오기 기능추가
[2601152030] v- 마크편집 마크칸 채우기를 왔다갔다 하면 300 p.에 .이 없어져서 p로만 남음 (300 p. <-> 300) ,  p. 에 공백없게
[2601152030] v- 미소장마크 불러오기 할때 코리스에서 보이는 창 넓게(부차적)
[2601152030] v- D등급 저장이 필요 -> 그냥 저장할 수 있게 -> 데이터가 부족하더라도 저장이 되게
[2601152030] v- db에 저장된 isbn과 마크에 저장된 이 다를 경우 저장을 하면 저장 전에 오류표시 및 저장 가능하게
[2601152030] v- 사진 더블클릭시 미리보기 나오게, 오류창 제거요망
2026-01-15 21:28:17 +09:00
66e4392d7c 정렬필터기능복원(23:10~23:40) 2026-01-14 23:44:11 +09:00
6574a84c24 마크편집기 폼입력 화면에ㅓㅅ dpi auto scale 해제 후 크기 조정 작업 2026-01-09 22:15:46 +09:00
2bc502d7db 닫기버튼 추가 2026-01-09 20:11:23 +09:00
26 changed files with 2768 additions and 1771 deletions

View File

@@ -112,6 +112,7 @@
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.btDevDb = new System.Windows.Forms.ToolStripMenuItem(); this.btDevDb = new System.Windows.Forms.ToolStripMenuItem();
this.menu_allclose = new System.Windows.Forms.ToolStripMenuItem();
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
this.ShortCut12 = new System.Windows.Forms.Button(); this.ShortCut12 = new System.Windows.Forms.Button();
this.ShortCut11 = new System.Windows.Forms.Button(); this.ShortCut11 = new System.Windows.Forms.Button();
@@ -138,7 +139,6 @@
this.mdiTabControl = new System.Windows.Forms.TabControl(); this.mdiTabControl = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage(); this.tabPage1 = new System.Windows.Forms.TabPage();
this.tabPage2 = new System.Windows.Forms.TabPage(); this.tabPage2 = new System.Windows.Forms.TabPage();
this.menu_allclose = new System.Windows.Forms.ToolStripMenuItem();
this.menuStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.toolStrip1.SuspendLayout(); this.toolStrip1.SuspendLayout();
@@ -147,6 +147,7 @@
// //
// menuStrip1 // menuStrip1
// //
this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem, this.ToolStripMenuItem,
this.ToolStripMenuItem, this.ToolStripMenuItem,
@@ -158,7 +159,8 @@
this.menu_allclose}); this.menu_allclose});
this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(1259, 24); this.menuStrip1.Padding = new System.Windows.Forms.Padding(7, 2, 0, 2);
this.menuStrip1.Size = new System.Drawing.Size(1902, 30);
this.menuStrip1.TabIndex = 0; this.menuStrip1.TabIndex = 0;
this.menuStrip1.Text = "menuStrip1"; this.menuStrip1.Text = "menuStrip1";
// //
@@ -173,34 +175,34 @@
this., this.,
this.}); this.});
this.ToolStripMenuItem.Name = "홈ToolStripMenuItem"; this.ToolStripMenuItem.Name = "홈ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(31, 20); this.ToolStripMenuItem.Size = new System.Drawing.Size(38, 26);
this.ToolStripMenuItem.Text = "홈"; this.ToolStripMenuItem.Text = "홈";
// //
// 사업체정보 // 사업체정보
// //
this..Name = "사업체정보"; this..Name = "사업체정보";
this..Size = new System.Drawing.Size(175, 22); this..Size = new System.Drawing.Size(218, 26);
this..Text = "사업체 정보"; this..Text = "사업체 정보";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 사용자관리 // 사용자관리
// //
this..Name = "사용자관리"; this..Name = "사용자관리";
this..Size = new System.Drawing.Size(175, 22); this..Size = new System.Drawing.Size(218, 26);
this..Text = "사용자 관리"; this..Text = "사용자 관리";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 납품거래처관리 // 납품거래처관리
// //
this..Name = "납품거래처관리"; this..Name = "납품거래처관리";
this..Size = new System.Drawing.Size(175, 22); this..Size = new System.Drawing.Size(218, 26);
this..Text = "납품 / 거래처 관리"; this..Text = "납품 / 거래처 관리";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 주문처관리 // 주문처관리
// //
this..Name = "주문처관리"; this..Name = "주문처관리";
this..Size = new System.Drawing.Size(175, 22); this..Size = new System.Drawing.Size(218, 26);
this..Text = "주문처 관리"; this..Text = "주문처 관리";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -208,14 +210,14 @@
// //
this..Enabled = false; this..Enabled = false;
this..Name = "비밀번호변경"; this..Name = "비밀번호변경";
this..Size = new System.Drawing.Size(175, 22); this..Size = new System.Drawing.Size(218, 26);
this..Text = "비밀번호 변경"; this..Text = "비밀번호 변경";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 도서정보관리 // 도서정보관리
// //
this..Name = "도서정보관리"; this..Name = "도서정보관리";
this..Size = new System.Drawing.Size(175, 22); this..Size = new System.Drawing.Size(218, 26);
this..Text = "도서정보 관리"; this..Text = "도서정보 관리";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -223,7 +225,7 @@
// //
this..Enabled = false; this..Enabled = false;
this..Name = "사용대장"; this..Name = "사용대장";
this..Size = new System.Drawing.Size(175, 22); this..Size = new System.Drawing.Size(218, 26);
this..Text = "사용대장"; this..Text = "사용대장";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -238,55 +240,55 @@
this., this.,
this.}); this.});
this.ToolStripMenuItem.Name = "납품관리ToolStripMenuItem"; this.ToolStripMenuItem.Name = "납품관리ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(67, 20); this.ToolStripMenuItem.Size = new System.Drawing.Size(83, 26);
this.ToolStripMenuItem.Text = "납품관리"; this.ToolStripMenuItem.Text = "납품관리";
// //
// 목록등록 // 목록등록
// //
this..Name = "목록등록"; this..Name = "목록등록";
this..Size = new System.Drawing.Size(166, 22); this..Size = new System.Drawing.Size(207, 26);
this..Text = "물품등록"; this..Text = "물품등록";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 목록조회 // 목록조회
// //
this..Name = "목록조회"; this..Name = "목록조회";
this..Size = new System.Drawing.Size(166, 22); this..Size = new System.Drawing.Size(207, 26);
this..Text = "목록조회"; this..Text = "목록조회";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 목록집계 // 목록집계
// //
this..Name = "목록집계"; this..Name = "목록집계";
this..Size = new System.Drawing.Size(166, 22); this..Size = new System.Drawing.Size(207, 26);
this..Text = "목록집계"; this..Text = "목록집계";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 주문입력 // 주문입력
// //
this..Name = "주문입력"; this..Name = "주문입력";
this..Size = new System.Drawing.Size(166, 22); this..Size = new System.Drawing.Size(207, 26);
this..Text = "주문입력"; this..Text = "주문입력";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 입고작업 // 입고작업
// //
this..Name = "입고작업"; this..Name = "입고작업";
this..Size = new System.Drawing.Size(166, 22); this..Size = new System.Drawing.Size(207, 26);
this..Text = "입고작업"; this..Text = "입고작업";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 재고입력및조회 // 재고입력및조회
// //
this..Name = "재고입력및조회"; this..Name = "재고입력및조회";
this..Size = new System.Drawing.Size(166, 22); this..Size = new System.Drawing.Size(207, 26);
this..Text = "재고입력 및 조회"; this..Text = "재고입력 및 조회";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 반품처리 // 반품처리
// //
this..Name = "반품처리"; this..Name = "반품처리";
this..Size = new System.Drawing.Size(166, 22); this..Size = new System.Drawing.Size(207, 26);
this..Text = "반품처리"; this..Text = "반품처리";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -299,20 +301,20 @@
this., this.,
this.}); this.});
this.ToolStripMenuItem.Name = "회계ToolStripMenuItem"; this.ToolStripMenuItem.Name = "회계ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(43, 20); this.ToolStripMenuItem.Size = new System.Drawing.Size(53, 26);
this.ToolStripMenuItem.Text = "회계"; this.ToolStripMenuItem.Text = "회계";
// //
// 송금내역조회 // 송금내역조회
// //
this..Name = "송금내역조회"; this..Name = "송금내역조회";
this..Size = new System.Drawing.Size(154, 22); this..Size = new System.Drawing.Size(192, 26);
this..Text = "송금 내역 조회"; this..Text = "송금 내역 조회";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 송금등록 // 송금등록
// //
this..Name = "송금등록"; this..Name = "송금등록";
this..Size = new System.Drawing.Size(154, 22); this..Size = new System.Drawing.Size(192, 26);
this..Text = "송금 등록"; this..Text = "송금 등록";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -323,20 +325,20 @@
this., this.,
this.ToolStripMenuItem}); this.ToolStripMenuItem});
this..Name = "매입"; this..Name = "매입";
this..Size = new System.Drawing.Size(154, 22); this..Size = new System.Drawing.Size(192, 26);
this..Text = "매입"; this..Text = "매입";
// //
// 매입집계 // 매입집계
// //
this..Name = "매입집계"; this..Name = "매입집계";
this..Size = new System.Drawing.Size(138, 22); this..Size = new System.Drawing.Size(172, 26);
this..Text = "매입 집계"; this..Text = "매입 집계";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 매입장부 // 매입장부
// //
this..Name = "매입장부"; this..Name = "매입장부";
this..Size = new System.Drawing.Size(138, 22); this..Size = new System.Drawing.Size(172, 26);
this..Text = "매입 장부"; this..Text = "매입 장부";
this..Click += new System.EventHandler(this.ToolStripMenuItem1_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
// //
@@ -344,7 +346,7 @@
// //
this.ToolStripMenuItem.Enabled = false; this.ToolStripMenuItem.Enabled = false;
this.ToolStripMenuItem.Name = "매입미결제ToolStripMenuItem"; this.ToolStripMenuItem.Name = "매입미결제ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(138, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(172, 26);
this.ToolStripMenuItem.Text = "매입 미결제"; this.ToolStripMenuItem.Text = "매입 미결제";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -356,41 +358,41 @@
this., this.,
this.}); this.});
this..Name = "매출"; this..Name = "매출";
this..Size = new System.Drawing.Size(154, 22); this..Size = new System.Drawing.Size(192, 26);
this..Text = "매출"; this..Text = "매출";
// //
// 매출입력 // 매출입력
// //
this..Name = "매출입력"; this..Name = "매출입력";
this..Size = new System.Drawing.Size(126, 22); this..Size = new System.Drawing.Size(157, 26);
this..Text = "매출 입력"; this..Text = "매출 입력";
this..Click += new System.EventHandler(this.ToolStripMenuItem1_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
// //
// 매출입금 // 매출입금
// //
this..Name = "매출입금"; this..Name = "매출입금";
this..Size = new System.Drawing.Size(126, 22); this..Size = new System.Drawing.Size(157, 26);
this..Text = "매출 입금"; this..Text = "매출 입금";
this..Click += new System.EventHandler(this.toolStripMenuItem1_Click_1); this..Click += new System.EventHandler(this.toolStripMenuItem1_Click_1);
// //
// 매출조회 // 매출조회
// //
this..Name = "매출조회"; this..Name = "매출조회";
this..Size = new System.Drawing.Size(126, 22); this..Size = new System.Drawing.Size(157, 26);
this..Text = "매출 조회"; this..Text = "매출 조회";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 매출집계 // 매출집계
// //
this..Name = "매출집계"; this..Name = "매출집계";
this..Size = new System.Drawing.Size(126, 22); this..Size = new System.Drawing.Size(157, 26);
this..Text = "매출 집계"; this..Text = "매출 집계";
this..Click += new System.EventHandler(this.ToolStripMenuItem1_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
// //
// 파트타임관리 // 파트타임관리
// //
this..Name = "파트타임관리"; this..Name = "파트타임관리";
this..Size = new System.Drawing.Size(154, 22); this..Size = new System.Drawing.Size(192, 26);
this..Text = "파트타임 관리"; this..Text = "파트타임 관리";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -405,7 +407,7 @@
this.DLS, this.DLS,
this.}); this.});
this.ToolStripMenuItem.Name = "마크ToolStripMenuItem"; this.ToolStripMenuItem.Name = "마크ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(43, 20); this.ToolStripMenuItem.Size = new System.Drawing.Size(53, 26);
this.ToolStripMenuItem.Text = "마크"; this.ToolStripMenuItem.Text = "마크";
// //
// 마크설정 // 마크설정
@@ -416,13 +418,13 @@
this., this.,
this.}); this.});
this..Name = "마크설정"; this..Name = "마크설정";
this..Size = new System.Drawing.Size(180, 22); this..Size = new System.Drawing.Size(193, 26);
this..Text = "설정"; this..Text = "설정";
// //
// 단축키설정 // 단축키설정
// //
this..Name = "단축키설정"; this..Name = "단축키설정";
this..Size = new System.Drawing.Size(138, 22); this..Size = new System.Drawing.Size(172, 26);
this..Text = "단축키"; this..Text = "단축키";
this..Visible = false; this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -430,14 +432,14 @@
// 매크로문구 // 매크로문구
// //
this..Name = "매크로문구"; this..Name = "매크로문구";
this..Size = new System.Drawing.Size(138, 22); this..Size = new System.Drawing.Size(172, 26);
this..Text = "매크로 문구"; this..Text = "매크로 문구";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 불용어 // 불용어
// //
this..Name = "불용어"; this..Name = "불용어";
this..Size = new System.Drawing.Size(138, 22); this..Size = new System.Drawing.Size(172, 26);
this..Text = "불용어"; this..Text = "불용어";
this..Visible = false; this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -445,7 +447,7 @@
// 작업지시서 // 작업지시서
// //
this..Name = "작업지시서"; this..Name = "작업지시서";
this..Size = new System.Drawing.Size(138, 22); this..Size = new System.Drawing.Size(172, 26);
this..Text = "작업지시서"; this..Text = "작업지시서";
this..Visible = false; this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -461,13 +463,13 @@
this.2, this.2,
this.iSBN조회}); this.iSBN조회});
this..Name = "마크작업"; this..Name = "마크작업";
this..Size = new System.Drawing.Size(180, 22); this..Size = new System.Drawing.Size(193, 26);
this..Text = "마크 작업"; this..Text = "마크 작업";
// //
// 마크작성 // 마크작성
// //
this..Name = "마크작성"; this..Name = "마크작성";
this..Size = new System.Drawing.Size(180, 22); this..Size = new System.Drawing.Size(192, 26);
this..Text = "신규마크 작성"; this..Text = "신규마크 작성";
this..ToolTipText = "마크 작성(2)"; this..ToolTipText = "마크 작성(2)";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -475,42 +477,42 @@
// 마크목록 // 마크목록
// //
this..Name = "마크목록"; this..Name = "마크목록";
this..Size = new System.Drawing.Size(180, 22); this..Size = new System.Drawing.Size(192, 26);
this..Text = "마크 목록"; this..Text = "마크 목록";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 소장자료검색 // 소장자료검색
// //
this..Name = "소장자료검색"; this..Name = "소장자료검색";
this..Size = new System.Drawing.Size(180, 22); this..Size = new System.Drawing.Size(192, 26);
this..Text = "소장자료검색"; this..Text = "소장자료검색";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 마크정리 // 마크정리
// //
this..Name = "마크정리"; this..Name = "마크정리";
this..Size = new System.Drawing.Size(180, 22); this..Size = new System.Drawing.Size(192, 26);
this..Text = "마크 정리"; this..Text = "마크 정리";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 복본조사1 // 복본조사1
// //
this.1.Name = "복본조사1"; this.1.Name = "복본조사1";
this.1.Size = new System.Drawing.Size(180, 22); this.1.Size = new System.Drawing.Size(192, 26);
this.1.Text = "복본조사"; this.1.Text = "복본조사";
this.1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click); this.1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
// //
// 복본조사2 // 복본조사2
// //
this.2.Name = "복본조사2"; this.2.Name = "복본조사2";
this.2.Size = new System.Drawing.Size(180, 22); this.2.Size = new System.Drawing.Size(192, 26);
this.2.Text = "복본조사(New)"; this.2.Text = "복본조사(New)";
this.2.Click += new System.EventHandler(this.2_Click); this.2.Click += new System.EventHandler(this.2_Click);
// //
// iSBN조회 // iSBN조회
// //
this.iSBN조회.Name = "iSBN조회"; this.iSBN조회.Name = "iSBN조회";
this.iSBN조회.Size = new System.Drawing.Size(180, 22); this.iSBN조회.Size = new System.Drawing.Size(192, 26);
this.iSBN조회.Text = "ISBN 조회"; this.iSBN조회.Text = "ISBN 조회";
this.iSBN조회.Click += new System.EventHandler(this.iSBN조회ToolStripMenuItem_Click); this.iSBN조회.Click += new System.EventHandler(this.iSBN조회ToolStripMenuItem_Click);
// //
@@ -520,21 +522,21 @@
this., this.,
this.}); this.});
this.dVDCDLPToolStripMenuItem.Name = "dVDCDLPToolStripMenuItem"; this.dVDCDLPToolStripMenuItem.Name = "dVDCDLPToolStripMenuItem";
this.dVDCDLPToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.dVDCDLPToolStripMenuItem.Size = new System.Drawing.Size(193, 26);
this.dVDCDLPToolStripMenuItem.Text = "DVD / CD / LP"; this.dVDCDLPToolStripMenuItem.Text = "DVD / CD / LP";
// //
// 목록 // 목록
// //
this..Enabled = false; this..Enabled = false;
this..Name = "목록"; this..Name = "목록";
this..Size = new System.Drawing.Size(180, 22); this..Size = new System.Drawing.Size(122, 26);
this..Text = "목록"; this..Text = "목록";
this..Click += new System.EventHandler(this._Click); this..Click += new System.EventHandler(this._Click);
// //
// 편목 // 편목
// //
this..Name = "편목"; this..Name = "편목";
this..Size = new System.Drawing.Size(180, 22); this..Size = new System.Drawing.Size(122, 26);
this..Text = "편목"; this..Text = "편목";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -544,20 +546,20 @@
this., this.,
this.}); this.});
this..Name = "반입및반출"; this..Name = "반입및반출";
this..Size = new System.Drawing.Size(180, 22); this..Size = new System.Drawing.Size(193, 26);
this..Text = "반입 및 반출"; this..Text = "반입 및 반출";
// //
// 마크반입 // 마크반입
// //
this..Name = "마크반입"; this..Name = "마크반입";
this..Size = new System.Drawing.Size(98, 22); this..Size = new System.Drawing.Size(122, 26);
this..Text = "반입"; this..Text = "반입";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 마크반출 // 마크반출
// //
this..Name = "마크반출"; this..Name = "마크반출";
this..Size = new System.Drawing.Size(98, 22); this..Size = new System.Drawing.Size(122, 26);
this..Text = "반출"; this..Text = "반출";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -569,14 +571,14 @@
this., this.,
this.}); this.});
this..Name = "부가기능"; this..Name = "부가기능";
this..Size = new System.Drawing.Size(180, 22); this..Size = new System.Drawing.Size(193, 26);
this..Text = "부가기능"; this..Text = "부가기능";
// //
// 마크수집 // 마크수집
// //
this..Enabled = false; this..Enabled = false;
this..Name = "마크수집"; this..Name = "마크수집";
this..Size = new System.Drawing.Size(122, 22); this..Size = new System.Drawing.Size(152, 26);
this..Text = "마크수집"; this..Text = "마크수집";
this..Visible = false; this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -584,7 +586,7 @@
// 전집관리 // 전집관리
// //
this..Name = "전집관리"; this..Name = "전집관리";
this..Size = new System.Drawing.Size(122, 22); this..Size = new System.Drawing.Size(152, 26);
this..Text = "전집관리"; this..Text = "전집관리";
this..Click += new System.EventHandler(this.ToolStripMenuItem1_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
// //
@@ -592,7 +594,7 @@
// //
this..Enabled = false; this..Enabled = false;
this..Name = "검수"; this..Name = "검수";
this..Size = new System.Drawing.Size(122, 22); this..Size = new System.Drawing.Size(152, 26);
this..Text = "검수"; this..Text = "검수";
this..Visible = false; this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -600,7 +602,7 @@
// 저자기호 // 저자기호
// //
this..Name = "저자기호"; this..Name = "저자기호";
this..Size = new System.Drawing.Size(122, 22); this..Size = new System.Drawing.Size(152, 26);
this..Text = "저자기호"; this..Text = "저자기호";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -610,20 +612,20 @@
this.DLS조회, this.DLS조회,
this.dLS복본조사}); this.dLS복본조사});
this.DLS.Name = "DLS"; this.DLS.Name = "DLS";
this.DLS.Size = new System.Drawing.Size(180, 22); this.DLS.Size = new System.Drawing.Size(193, 26);
this.DLS.Text = "DLS"; this.DLS.Text = "DLS";
// //
// DLS조회 // DLS조회
// //
this.DLS조회.Name = "DLS조회"; this.DLS조회.Name = "DLS조회";
this.DLS조회.Size = new System.Drawing.Size(180, 22); this.DLS조회.Size = new System.Drawing.Size(190, 26);
this.DLS조회.Text = "DLS_조회/입력"; this.DLS조회.Text = "DLS_조회/입력";
this.DLS조회.Click += new System.EventHandler(this.dLS조회ToolStripMenuItem_Click); this.DLS조회.Click += new System.EventHandler(this.dLS조회ToolStripMenuItem_Click);
// //
// dLS복본조사 // dLS복본조사
// //
this.dLS복본조사.Name = "dLS복본조사"; this.dLS복본조사.Name = "dLS복본조사";
this.dLS복본조사.Size = new System.Drawing.Size(180, 22); this.dLS복본조사.Size = new System.Drawing.Size(190, 26);
this.dLS복본조사.Text = "DLS 복본조사"; this.dLS복본조사.Text = "DLS 복본조사";
this.dLS복본조사.Click += new System.EventHandler(this.dLS복본조사ToolStripMenuItem_Click); this.dLS복본조사.Click += new System.EventHandler(this.dLS복본조사ToolStripMenuItem_Click);
// //
@@ -634,14 +636,14 @@
this., this.,
this.}); this.});
this..Name = "마크기타"; this..Name = "마크기타";
this..Size = new System.Drawing.Size(180, 22); this..Size = new System.Drawing.Size(193, 26);
this..Text = "기타"; this..Text = "기타";
// //
// 서류작성 // 서류작성
// //
this..Enabled = false; this..Enabled = false;
this..Name = "서류작성"; this..Name = "서류작성";
this..Size = new System.Drawing.Size(122, 22); this..Size = new System.Drawing.Size(152, 26);
this..Text = "서류작성"; this..Text = "서류작성";
this..Visible = false; this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -649,7 +651,7 @@
// 마크통계 // 마크통계
// //
this..Name = "마크통계"; this..Name = "마크통계";
this..Size = new System.Drawing.Size(122, 22); this..Size = new System.Drawing.Size(152, 26);
this..Text = "마크통계"; this..Text = "마크통계";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -657,7 +659,7 @@
// //
this..Enabled = false; this..Enabled = false;
this..Name = "장비관리"; this..Name = "장비관리";
this..Size = new System.Drawing.Size(122, 22); this..Size = new System.Drawing.Size(152, 26);
this..Text = "장비관리"; this..Text = "장비관리";
this..Visible = false; this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem1_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
@@ -666,7 +668,7 @@
// //
this.ToolStripMenuItem.Enabled = false; this.ToolStripMenuItem.Enabled = false;
this.ToolStripMenuItem.Name = "작업일지ToolStripMenuItem"; this.ToolStripMenuItem.Name = "작업일지ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(67, 20); this.ToolStripMenuItem.Size = new System.Drawing.Size(83, 26);
this.ToolStripMenuItem.Text = "작업일지"; this.ToolStripMenuItem.Text = "작업일지";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -680,20 +682,20 @@
this., this.,
this.}); this.});
this.ToolStripMenuItem.Name = "편의기능ToolStripMenuItem"; this.ToolStripMenuItem.Name = "편의기능ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(67, 20); this.ToolStripMenuItem.Size = new System.Drawing.Size(83, 26);
this.ToolStripMenuItem.Text = "편의기능"; this.ToolStripMenuItem.Text = "편의기능";
// //
// 캘린더 // 캘린더
// //
this..Name = "캘린더"; this..Name = "캘린더";
this..Size = new System.Drawing.Size(122, 22); this..Size = new System.Drawing.Size(152, 26);
this..Text = "캘린더"; this..Text = "캘린더";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 채팅 // 채팅
// //
this..Name = "채팅"; this..Name = "채팅";
this..Size = new System.Drawing.Size(122, 22); this..Size = new System.Drawing.Size(152, 26);
this..Text = "채팅"; this..Text = "채팅";
this..Visible = false; this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -701,14 +703,14 @@
// 퀵메뉴 // 퀵메뉴
// //
this..Name = "퀵메뉴"; this..Name = "퀵메뉴";
this..Size = new System.Drawing.Size(122, 22); this..Size = new System.Drawing.Size(152, 26);
this..Text = "퀵메뉴"; this..Text = "퀵메뉴";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 게시판 // 게시판
// //
this..Name = "게시판"; this..Name = "게시판";
this..Size = new System.Drawing.Size(122, 22); this..Size = new System.Drawing.Size(152, 26);
this..Text = "게시판"; this..Text = "게시판";
this..Visible = false; this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -716,7 +718,7 @@
// 공지발송 // 공지발송
// //
this..Name = "공지발송"; this..Name = "공지발송";
this..Size = new System.Drawing.Size(122, 22); this..Size = new System.Drawing.Size(152, 26);
this..Text = "공지발송"; this..Text = "공지발송";
this..Visible = false; this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -729,35 +731,35 @@
this., this.,
this.}); this.});
this..Name = "판매"; this..Name = "판매";
this..Size = new System.Drawing.Size(122, 22); this..Size = new System.Drawing.Size(152, 26);
this..Text = "판매"; this..Text = "판매";
this..Visible = false; this..Visible = false;
// //
// 판매1 // 판매1
// //
this.1.Name = "판매1"; this.1.Name = "판매1";
this.1.Size = new System.Drawing.Size(122, 22); this.1.Size = new System.Drawing.Size(152, 26);
this.1.Text = "판매"; this.1.Text = "판매";
this.1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click); this.1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
// //
// 정산 // 정산
// //
this..Name = "정산"; this..Name = "정산";
this..Size = new System.Drawing.Size(122, 22); this..Size = new System.Drawing.Size(152, 26);
this..Text = "정산"; this..Text = "정산";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 판매마감 // 판매마감
// //
this..Name = "판매마감"; this..Name = "판매마감";
this..Size = new System.Drawing.Size(122, 22); this..Size = new System.Drawing.Size(152, 26);
this..Text = "판매마감"; this..Text = "판매마감";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 회원관리 // 회원관리
// //
this..Name = "회원관리"; this..Name = "회원관리";
this..Size = new System.Drawing.Size(122, 22); this..Size = new System.Drawing.Size(152, 26);
this..Text = "회원관리"; this..Text = "회원관리";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click); this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -772,7 +774,7 @@
this.ToolStripMenuItem, this.ToolStripMenuItem,
this.btDevDb}); this.btDevDb});
this.ToolStripMenuItem.Name = "마스터ToolStripMenuItem"; this.ToolStripMenuItem.Name = "마스터ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(55, 20); this.ToolStripMenuItem.Size = new System.Drawing.Size(68, 26);
this.ToolStripMenuItem.Text = "마스터"; this.ToolStripMenuItem.Text = "마스터";
// //
// 이용자관리ToolStripMenuItem // 이용자관리ToolStripMenuItem
@@ -780,48 +782,48 @@
this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem}); this.ToolStripMenuItem});
this.ToolStripMenuItem.Name = "이용자관리ToolStripMenuItem"; this.ToolStripMenuItem.Name = "이용자관리ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(202, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(252, 26);
this.ToolStripMenuItem.Text = "이용자 관리"; this.ToolStripMenuItem.Text = "이용자 관리";
// //
// 신규사업자등록ToolStripMenuItem // 신규사업자등록ToolStripMenuItem
// //
this.ToolStripMenuItem.Name = "신규사업자등록ToolStripMenuItem"; this.ToolStripMenuItem.Name = "신규사업자등록ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(138, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(172, 26);
this.ToolStripMenuItem.Text = "사업자 관리"; this.ToolStripMenuItem.Text = "사업자 관리";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 공지발송ToolStripMenuItem1 // 공지발송ToolStripMenuItem1
// //
this.ToolStripMenuItem1.Name = "공지발송ToolStripMenuItem1"; this.ToolStripMenuItem1.Name = "공지발송ToolStripMenuItem1";
this.ToolStripMenuItem1.Size = new System.Drawing.Size(202, 22); this.ToolStripMenuItem1.Size = new System.Drawing.Size(252, 26);
this.ToolStripMenuItem1.Text = "공지 발송"; this.ToolStripMenuItem1.Text = "공지 발송";
this.ToolStripMenuItem1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click); this.ToolStripMenuItem1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
// //
// 매출내역ToolStripMenuItem // 매출내역ToolStripMenuItem
// //
this.ToolStripMenuItem.Name = "매출내역ToolStripMenuItem"; this.ToolStripMenuItem.Name = "매출내역ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(202, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(252, 26);
this.ToolStripMenuItem.Text = "매출내역"; this.ToolStripMenuItem.Text = "매출내역";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 이용자거래처조회ToolStripMenuItem // 이용자거래처조회ToolStripMenuItem
// //
this.ToolStripMenuItem.Name = "이용자거래처조회ToolStripMenuItem"; this.ToolStripMenuItem.Name = "이용자거래처조회ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(202, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(252, 26);
this.ToolStripMenuItem.Text = "이용자 거래처 조회"; this.ToolStripMenuItem.Text = "이용자 거래처 조회";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 마크설정ToolStripMenuItem // 마크설정ToolStripMenuItem
// //
this.ToolStripMenuItem.Name = "마크설정ToolStripMenuItem"; this.ToolStripMenuItem.Name = "마크설정ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(202, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(252, 26);
this.ToolStripMenuItem.Text = "마크설정"; this.ToolStripMenuItem.Text = "마크설정";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
// 일괄처리관리ToolStripMenuItem // 일괄처리관리ToolStripMenuItem
// //
this.ToolStripMenuItem.Name = "일괄처리관리ToolStripMenuItem"; this.ToolStripMenuItem.Name = "일괄처리관리ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(202, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(252, 26);
this.ToolStripMenuItem.Text = "일괄처리 관리"; this.ToolStripMenuItem.Text = "일괄처리 관리";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -829,11 +831,19 @@
// //
this.btDevDb.ForeColor = System.Drawing.Color.Blue; this.btDevDb.ForeColor = System.Drawing.Color.Blue;
this.btDevDb.Name = "btDevDb"; this.btDevDb.Name = "btDevDb";
this.btDevDb.Size = new System.Drawing.Size(202, 22); this.btDevDb.Size = new System.Drawing.Size(252, 26);
this.btDevDb.Text = "데이터베이스편집(개발)"; this.btDevDb.Text = "데이터베이스편집(개발)";
this.btDevDb.Visible = false; this.btDevDb.Visible = false;
this.btDevDb.Click += new System.EventHandler(this.btDevDb_Click); this.btDevDb.Click += new System.EventHandler(this.btDevDb_Click);
// //
// menu_allclose
//
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.Text = "전체 창 닫기";
this.menu_allclose.Click += new System.EventHandler(this.menu_allclose_Click);
//
// panel1 // panel1
// //
this.panel1.BackColor = System.Drawing.SystemColors.ControlDark; this.panel1.BackColor = System.Drawing.SystemColors.ControlDark;
@@ -851,9 +861,10 @@
this.panel1.Controls.Add(this.ShortCut2); this.panel1.Controls.Add(this.ShortCut2);
this.panel1.Controls.Add(this.ShortCut1); this.panel1.Controls.Add(this.ShortCut1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 24); this.panel1.Location = new System.Drawing.Point(0, 30);
this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel1.Name = "panel1"; this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1259, 64); this.panel1.Size = new System.Drawing.Size(1902, 80);
this.panel1.TabIndex = 2; this.panel1.TabIndex = 2;
// //
// ShortCut12 // ShortCut12
@@ -862,9 +873,10 @@
this.ShortCut12.Enabled = false; 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.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.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut12.Location = new System.Drawing.Point(859, 1); this.ShortCut12.Location = new System.Drawing.Point(982, 1);
this.ShortCut12.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut12.Name = "ShortCut12"; this.ShortCut12.Name = "ShortCut12";
this.ShortCut12.Size = new System.Drawing.Size(60, 60); this.ShortCut12.Size = new System.Drawing.Size(69, 75);
this.ShortCut12.TabIndex = 2; this.ShortCut12.TabIndex = 2;
this.ShortCut12.Text = "즐겨찾기12"; this.ShortCut12.Text = "즐겨찾기12";
this.ShortCut12.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.ShortCut12.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -876,9 +888,10 @@
this.ShortCut11.Enabled = false; 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.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.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut11.Location = new System.Drawing.Point(782, 1); this.ShortCut11.Location = new System.Drawing.Point(894, 1);
this.ShortCut11.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut11.Name = "ShortCut11"; this.ShortCut11.Name = "ShortCut11";
this.ShortCut11.Size = new System.Drawing.Size(60, 60); this.ShortCut11.Size = new System.Drawing.Size(69, 75);
this.ShortCut11.TabIndex = 2; this.ShortCut11.TabIndex = 2;
this.ShortCut11.Text = "즐겨찾기11"; this.ShortCut11.Text = "즐겨찾기11";
this.ShortCut11.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.ShortCut11.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -890,9 +903,10 @@
this.ShortCut10.Enabled = false; 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.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.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut10.Location = new System.Drawing.Point(705, 1); this.ShortCut10.Location = new System.Drawing.Point(806, 1);
this.ShortCut10.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut10.Name = "ShortCut10"; this.ShortCut10.Name = "ShortCut10";
this.ShortCut10.Size = new System.Drawing.Size(60, 60); this.ShortCut10.Size = new System.Drawing.Size(69, 75);
this.ShortCut10.TabIndex = 2; this.ShortCut10.TabIndex = 2;
this.ShortCut10.Text = "즐겨찾기10"; this.ShortCut10.Text = "즐겨찾기10";
this.ShortCut10.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.ShortCut10.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -904,9 +918,10 @@
this.ShortCut9.Enabled = false; 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.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.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut9.Location = new System.Drawing.Point(628, 1); this.ShortCut9.Location = new System.Drawing.Point(718, 1);
this.ShortCut9.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut9.Name = "ShortCut9"; this.ShortCut9.Name = "ShortCut9";
this.ShortCut9.Size = new System.Drawing.Size(60, 60); this.ShortCut9.Size = new System.Drawing.Size(69, 75);
this.ShortCut9.TabIndex = 2; this.ShortCut9.TabIndex = 2;
this.ShortCut9.Text = "즐겨찾기9"; this.ShortCut9.Text = "즐겨찾기9";
this.ShortCut9.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.ShortCut9.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -918,9 +933,10 @@
this.ShortCut8.Enabled = false; 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.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.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut8.Location = new System.Drawing.Point(551, 1); this.ShortCut8.Location = new System.Drawing.Point(630, 1);
this.ShortCut8.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut8.Name = "ShortCut8"; this.ShortCut8.Name = "ShortCut8";
this.ShortCut8.Size = new System.Drawing.Size(60, 60); this.ShortCut8.Size = new System.Drawing.Size(69, 75);
this.ShortCut8.TabIndex = 1; this.ShortCut8.TabIndex = 1;
this.ShortCut8.Text = "즐겨찾기8"; this.ShortCut8.Text = "즐겨찾기8";
this.ShortCut8.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.ShortCut8.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -932,9 +948,10 @@
this.ShortCut6.Enabled = false; 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.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.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut6.Location = new System.Drawing.Point(397, 1); this.ShortCut6.Location = new System.Drawing.Point(454, 1);
this.ShortCut6.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut6.Name = "ShortCut6"; this.ShortCut6.Name = "ShortCut6";
this.ShortCut6.Size = new System.Drawing.Size(60, 60); this.ShortCut6.Size = new System.Drawing.Size(69, 75);
this.ShortCut6.TabIndex = 2; this.ShortCut6.TabIndex = 2;
this.ShortCut6.Text = "즐겨찾기6"; this.ShortCut6.Text = "즐겨찾기6";
this.ShortCut6.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.ShortCut6.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -946,9 +963,10 @@
this.ShortCut5.Enabled = false; 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.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.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut5.Location = new System.Drawing.Point(320, 1); this.ShortCut5.Location = new System.Drawing.Point(366, 1);
this.ShortCut5.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut5.Name = "ShortCut5"; this.ShortCut5.Name = "ShortCut5";
this.ShortCut5.Size = new System.Drawing.Size(60, 60); this.ShortCut5.Size = new System.Drawing.Size(69, 75);
this.ShortCut5.TabIndex = 1; this.ShortCut5.TabIndex = 1;
this.ShortCut5.Text = "즐겨찾기5"; this.ShortCut5.Text = "즐겨찾기5";
this.ShortCut5.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.ShortCut5.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -960,9 +978,10 @@
this.ShortCut7.Enabled = false; 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.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.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut7.Location = new System.Drawing.Point(474, 1); this.ShortCut7.Location = new System.Drawing.Point(542, 1);
this.ShortCut7.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut7.Name = "ShortCut7"; this.ShortCut7.Name = "ShortCut7";
this.ShortCut7.Size = new System.Drawing.Size(60, 60); this.ShortCut7.Size = new System.Drawing.Size(69, 75);
this.ShortCut7.TabIndex = 0; this.ShortCut7.TabIndex = 0;
this.ShortCut7.Text = "즐겨찾기7"; this.ShortCut7.Text = "즐겨찾기7";
this.ShortCut7.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.ShortCut7.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -974,9 +993,10 @@
this.ShortCut3.Enabled = false; 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.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.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut3.Location = new System.Drawing.Point(166, 1); this.ShortCut3.Location = new System.Drawing.Point(190, 1);
this.ShortCut3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut3.Name = "ShortCut3"; this.ShortCut3.Name = "ShortCut3";
this.ShortCut3.Size = new System.Drawing.Size(60, 60); this.ShortCut3.Size = new System.Drawing.Size(69, 75);
this.ShortCut3.TabIndex = 2; this.ShortCut3.TabIndex = 2;
this.ShortCut3.Text = "즐겨찾기3"; this.ShortCut3.Text = "즐겨찾기3";
this.ShortCut3.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.ShortCut3.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -988,9 +1008,10 @@
this.ShortCut4.Enabled = false; 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.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.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut4.Location = new System.Drawing.Point(243, 1); this.ShortCut4.Location = new System.Drawing.Point(278, 1);
this.ShortCut4.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut4.Name = "ShortCut4"; this.ShortCut4.Name = "ShortCut4";
this.ShortCut4.Size = new System.Drawing.Size(60, 60); this.ShortCut4.Size = new System.Drawing.Size(69, 75);
this.ShortCut4.TabIndex = 0; this.ShortCut4.TabIndex = 0;
this.ShortCut4.Text = "즐겨찾기4"; this.ShortCut4.Text = "즐겨찾기4";
this.ShortCut4.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.ShortCut4.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -1002,9 +1023,10 @@
this.ShortCut2.Enabled = false; 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.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.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut2.Location = new System.Drawing.Point(89, 1); this.ShortCut2.Location = new System.Drawing.Point(102, 1);
this.ShortCut2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut2.Name = "ShortCut2"; this.ShortCut2.Name = "ShortCut2";
this.ShortCut2.Size = new System.Drawing.Size(60, 60); this.ShortCut2.Size = new System.Drawing.Size(69, 75);
this.ShortCut2.TabIndex = 1; this.ShortCut2.TabIndex = 1;
this.ShortCut2.Text = "즐겨찾기2"; this.ShortCut2.Text = "즐겨찾기2";
this.ShortCut2.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.ShortCut2.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -1016,9 +1038,10 @@
this.ShortCut1.Enabled = false; 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.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.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut1.Location = new System.Drawing.Point(12, 1); this.ShortCut1.Location = new System.Drawing.Point(14, 1);
this.ShortCut1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut1.Name = "ShortCut1"; this.ShortCut1.Name = "ShortCut1";
this.ShortCut1.Size = new System.Drawing.Size(60, 60); this.ShortCut1.Size = new System.Drawing.Size(69, 75);
this.ShortCut1.TabIndex = 0; this.ShortCut1.TabIndex = 0;
this.ShortCut1.Text = "즐겨찾기1"; this.ShortCut1.Text = "즐겨찾기1";
this.ShortCut1.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.ShortCut1.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -1029,6 +1052,7 @@
// //
this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom; this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripLabel2, this.toolStripLabel2,
this.VersionText, this.VersionText,
@@ -1038,58 +1062,58 @@
this.toolStripSeparator3, this.toolStripSeparator3,
this.IPText, this.IPText,
this.lblStatus}); this.lblStatus});
this.toolStrip1.Location = new System.Drawing.Point(0, 681); this.toolStrip1.Location = new System.Drawing.Point(0, 1002);
this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1259, 25); this.toolStrip1.Size = new System.Drawing.Size(1902, 31);
this.toolStrip1.TabIndex = 4; this.toolStrip1.TabIndex = 4;
this.toolStrip1.Text = "toolStrip1"; this.toolStrip1.Text = "toolStrip1";
// //
// toolStripLabel2 // toolStripLabel2
// //
this.toolStripLabel2.Name = "toolStripLabel2"; this.toolStripLabel2.Name = "toolStripLabel2";
this.toolStripLabel2.Size = new System.Drawing.Size(43, 22); this.toolStripLabel2.Size = new System.Drawing.Size(54, 28);
this.toolStripLabel2.Text = "회사명"; this.toolStripLabel2.Text = "회사명";
// //
// VersionText // VersionText
// //
this.VersionText.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.VersionText.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.VersionText.Name = "VersionText"; this.VersionText.Name = "VersionText";
this.VersionText.Size = new System.Drawing.Size(116, 22); this.VersionText.Size = new System.Drawing.Size(143, 28);
this.VersionText.Text = "UniMarc Ver 0.0000"; this.VersionText.Text = "UniMarc Ver 0.0000";
// //
// toolStripSeparator1 // toolStripSeparator1
// //
this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); this.toolStripSeparator1.Size = new System.Drawing.Size(6, 31);
// //
// botUserLabel // botUserLabel
// //
this.botUserLabel.Name = "botUserLabel"; this.botUserLabel.Name = "botUserLabel";
this.botUserLabel.Size = new System.Drawing.Size(43, 22); this.botUserLabel.Size = new System.Drawing.Size(54, 28);
this.botUserLabel.Text = "이용자"; this.botUserLabel.Text = "이용자";
// //
// toolStripSeparator2 // toolStripSeparator2
// //
this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); this.toolStripSeparator2.Size = new System.Drawing.Size(6, 31);
// //
// toolStripSeparator3 // toolStripSeparator3
// //
this.toolStripSeparator3.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.toolStripSeparator3.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); this.toolStripSeparator3.Size = new System.Drawing.Size(6, 31);
// //
// IPText // IPText
// //
this.IPText.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.IPText.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.IPText.Name = "IPText"; this.IPText.Name = "IPText";
this.IPText.Size = new System.Drawing.Size(154, 22); this.IPText.Size = new System.Drawing.Size(183, 28);
this.IPText.Text = "접속 아이피 : 0.000.00.000"; this.IPText.Text = "접속 아이피 : 0.000.00.000";
// //
// lblStatus // lblStatus
// //
this.lblStatus.Name = "lblStatus"; this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(27, 22); this.lblStatus.Size = new System.Drawing.Size(34, 28);
this.lblStatus.Text = "WD"; this.lblStatus.Text = "WD";
// //
// mdiTabControl // mdiTabControl
@@ -1097,45 +1121,40 @@
this.mdiTabControl.Controls.Add(this.tabPage1); this.mdiTabControl.Controls.Add(this.tabPage1);
this.mdiTabControl.Controls.Add(this.tabPage2); this.mdiTabControl.Controls.Add(this.tabPage2);
this.mdiTabControl.Dock = System.Windows.Forms.DockStyle.Fill; this.mdiTabControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.mdiTabControl.Location = new System.Drawing.Point(0, 88); this.mdiTabControl.Location = new System.Drawing.Point(0, 110);
this.mdiTabControl.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.mdiTabControl.Name = "mdiTabControl"; this.mdiTabControl.Name = "mdiTabControl";
this.mdiTabControl.SelectedIndex = 0; this.mdiTabControl.SelectedIndex = 0;
this.mdiTabControl.Size = new System.Drawing.Size(1259, 593); this.mdiTabControl.Size = new System.Drawing.Size(1902, 892);
this.mdiTabControl.TabIndex = 5; this.mdiTabControl.TabIndex = 5;
// //
// tabPage1 // tabPage1
// //
this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Location = new System.Drawing.Point(4, 25);
this.tabPage1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tabPage1.Name = "tabPage1"; this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tabPage1.Size = new System.Drawing.Size(1251, 567); this.tabPage1.Size = new System.Drawing.Size(1894, 863);
this.tabPage1.TabIndex = 0; this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "tabPage1"; this.tabPage1.Text = "tabPage1";
this.tabPage1.UseVisualStyleBackColor = true; this.tabPage1.UseVisualStyleBackColor = true;
// //
// tabPage2 // tabPage2
// //
this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Location = new System.Drawing.Point(4, 25);
this.tabPage2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tabPage2.Name = "tabPage2"; this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3); this.tabPage2.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tabPage2.Size = new System.Drawing.Size(1251, 567); this.tabPage2.Size = new System.Drawing.Size(1894, 871);
this.tabPage2.TabIndex = 1; this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "tabPage2"; this.tabPage2.Text = "tabPage2";
this.tabPage2.UseVisualStyleBackColor = true; this.tabPage2.UseVisualStyleBackColor = true;
// //
// menu_allclose
//
this.menu_allclose.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.menu_allclose.Name = "menu_allclose";
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);
//
// Main // Main
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1259, 706); this.ClientSize = new System.Drawing.Size(1902, 1033);
this.Controls.Add(this.mdiTabControl); this.Controls.Add(this.mdiTabControl);
this.Controls.Add(this.toolStrip1); this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.panel1); this.Controls.Add(this.panel1);
@@ -1143,7 +1162,9 @@
this.HelpButton = true; this.HelpButton = true;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.menuStrip1; this.MainMenuStrip = this.menuStrip1;
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.Name = "Main"; this.Name = "Main";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "메인"; this.Text = "메인";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.Load += new System.EventHandler(this.Main_Load); this.Load += new System.EventHandler(this.Main_Load);

View File

@@ -47,6 +47,11 @@ namespace WindowsFormsApp1
this.mdiTabControl.DrawItem += MdiTabControl_DrawItem; this.mdiTabControl.DrawItem += MdiTabControl_DrawItem;
PUB.Init(); PUB.Init();
this.btDevDb.Visible = System.Diagnostics.Debugger.IsAttached; this.btDevDb.Visible = System.Diagnostics.Debugger.IsAttached;
if(System.Diagnostics.Debugger.IsAttached)
{
this.Size = new Size(1920, 1080);
this.WindowState = FormWindowState.Normal;
}
} }
public string User_Name { get; internal set; } public string User_Name { get; internal set; }

View File

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를 // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
// 기본값으로 할 수 있습니다. // 기본값으로 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2025.12.29.2200")] [assembly: AssemblyVersion("2026.01.21.2318")]
[assembly: AssemblyFileVersion("2025.12.29.2200")] [assembly: AssemblyFileVersion("2026.01.21.2318")]

View File

@@ -352,6 +352,7 @@
<Compile Include="마크\Help_008.Designer.cs"> <Compile Include="마크\Help_008.Designer.cs">
<DependentUpon>Help_008.cs</DependentUpon> <DependentUpon>Help_008.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="마크\MacEditorParameter.cs" />
<Compile Include="마크\Mac_List_Add.cs"> <Compile Include="마크\Mac_List_Add.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@@ -511,6 +512,12 @@
<Compile Include="마크\Marc_Plan_PrintLabel.Designer.cs"> <Compile Include="마크\Marc_Plan_PrintLabel.Designer.cs">
<DependentUpon>Marc_Plan_PrintLabel.cs</DependentUpon> <DependentUpon>Marc_Plan_PrintLabel.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="마크\Marc_Plan_Sub_MarcEdit2.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="마크\Marc_Plan_Sub_MarcEdit2.Designer.cs">
<DependentUpon>Marc_Plan_Sub_MarcEdit2.cs</DependentUpon>
</Compile>
<Compile Include="마크\Marc_Plan_Sub_MarcEdit.cs"> <Compile Include="마크\Marc_Plan_Sub_MarcEdit.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@@ -1070,6 +1077,9 @@
<EmbeddedResource Include="마크\Marc.resx"> <EmbeddedResource Include="마크\Marc.resx">
<DependentUpon>Marc.cs</DependentUpon> <DependentUpon>Marc.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="마크\MarcEditorControl.resx">
<DependentUpon>MarcEditorControl.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\Marc_FillBlank.resx"> <EmbeddedResource Include="마크\Marc_FillBlank.resx">
<DependentUpon>Marc_FillBlank.cs</DependentUpon> <DependentUpon>Marc_FillBlank.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
@@ -1136,6 +1146,9 @@
<EmbeddedResource Include="마크\Marc_Plan_PrintLabel.resx"> <EmbeddedResource Include="마크\Marc_Plan_PrintLabel.resx">
<DependentUpon>Marc_Plan_PrintLabel.cs</DependentUpon> <DependentUpon>Marc_Plan_PrintLabel.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="마크\Marc_Plan_Sub_MarcEdit2.resx">
<DependentUpon>Marc_Plan_Sub_MarcEdit2.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\Marc_Plan_Sub_MarcEdit.resx"> <EmbeddedResource Include="마크\Marc_Plan_Sub_MarcEdit.resx">
<DependentUpon>Marc_Plan_Sub_MarcEdit.cs</DependentUpon> <DependentUpon>Marc_Plan_Sub_MarcEdit.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>

View File

@@ -9,7 +9,7 @@
<ErrorReportUrlHistory /> <ErrorReportUrlHistory />
<FallbackCulture>ko-KR</FallbackCulture> <FallbackCulture>ko-KR</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles> <VerifyUploadedFiles>false</VerifyUploadedFiles>
<ProjectView>ShowAllFiles</ProjectView> <ProjectView>ProjectFiles</ProjectView>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<EnableSecurityDebugging>false</EnableSecurityDebugging> <EnableSecurityDebugging>false</EnableSecurityDebugging>

View File

@@ -0,0 +1,25 @@
//using Microsoft.Office.Interop.Excel;
namespace ExcelTest
{
public class MacEditorParameter
{
public string ISBN13 { get; set; }
public string URL { get; set; }
public string MarcIdx { get; set; }
public string Grade { get; set; }
public string User { get; set; }
public string SaveDate { get; set; }
public string ListIdx { get; set; }
public string BookName { get; set; }
public string Author { get; set; }
public string Publisher { get; set; }
public string Price { get; set; }
public string Remark1 { get; set; }
public string Remark2 { get; set; }
}
}

View File

@@ -60,9 +60,20 @@
this.btn_Delete = new System.Windows.Forms.Button(); this.btn_Delete = new System.Windows.Forms.Button();
this.btn_AddList = new System.Windows.Forms.Button(); this.btn_AddList = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
this.btnSearchISBN = new System.Windows.Forms.Button(); this.panel12 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
this.chkEditorTest = new System.Windows.Forms.CheckBox(); this.chkEditorTest = new System.Windows.Forms.CheckBox();
this.panel13 = new System.Windows.Forms.Panel();
this.panel11 = new System.Windows.Forms.Panel();
this.btnSearchISBN = new System.Windows.Forms.Button();
this.panel10 = new System.Windows.Forms.Panel();
this.panel9 = new System.Windows.Forms.Panel();
this.panel8 = new System.Windows.Forms.Panel();
this.panel7 = new System.Windows.Forms.Panel();
this.panel6 = new System.Windows.Forms.Panel();
this.panel5 = new System.Windows.Forms.Panel();
this.panel4 = new System.Windows.Forms.Panel();
this.panel3 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.panel2.SuspendLayout(); this.panel2.SuspendLayout();
@@ -70,18 +81,21 @@
// //
// label1 // label1
// //
this.label1.AutoSize = true; this.label1.Dock = System.Windows.Forms.DockStyle.Left;
this.label1.Location = new System.Drawing.Point(14, 13); this.label1.Location = new System.Drawing.Point(0, 5);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(57, 12); this.label1.Size = new System.Drawing.Size(63, 27);
this.label1.TabIndex = 5; this.label1.TabIndex = 5;
this.label1.Text = "목록 검색"; this.label1.Text = "목록 검색";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// tb_Search // tb_Search
// //
this.tb_Search.Location = new System.Drawing.Point(73, 9); this.tb_Search.Dock = System.Windows.Forms.DockStyle.Left;
this.tb_Search.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.tb_Search.Location = new System.Drawing.Point(63, 5);
this.tb_Search.Name = "tb_Search"; this.tb_Search.Name = "tb_Search";
this.tb_Search.Size = new System.Drawing.Size(241, 21); this.tb_Search.Size = new System.Drawing.Size(269, 25);
this.tb_Search.TabIndex = 6; this.tb_Search.TabIndex = 6;
this.tb_Search.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_Search_KeyDown); this.tb_Search.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_Search_KeyDown);
// //
@@ -131,7 +145,7 @@
this.dataGridView1.RowHeadersWidth = 40; this.dataGridView1.RowHeadersWidth = 40;
this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dataGridView1.Size = new System.Drawing.Size(1179, 623); this.dataGridView1.Size = new System.Drawing.Size(1638, 624);
this.dataGridView1.TabIndex = 48; this.dataGridView1.TabIndex = 48;
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick); this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint); this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
@@ -140,44 +154,57 @@
// idx // idx
// //
this.idx.HeaderText = "idx"; this.idx.HeaderText = "idx";
this.idx.MinimumWidth = 6;
this.idx.Name = "idx"; this.idx.Name = "idx";
this.idx.Visible = false; this.idx.Visible = false;
this.idx.Width = 125;
// //
// start_date // start_date
// //
this.start_date.HeaderText = "목록일자"; this.start_date.HeaderText = "목록일자";
this.start_date.MinimumWidth = 6;
this.start_date.Name = "start_date"; this.start_date.Name = "start_date";
this.start_date.Width = 125;
// //
// end_date // end_date
// //
this.end_date.HeaderText = "완료일자"; this.end_date.HeaderText = "완료일자";
this.end_date.MinimumWidth = 6;
this.end_date.Name = "end_date"; this.end_date.Name = "end_date";
this.end_date.Width = 125;
// //
// dvc_custname // dvc_custname
// //
this.dvc_custname.HeaderText = "납품처"; this.dvc_custname.HeaderText = "납품처";
this.dvc_custname.MinimumWidth = 6;
this.dvc_custname.Name = "dvc_custname"; this.dvc_custname.Name = "dvc_custname";
this.dvc_custname.Width = 125;
// //
// list_name // list_name
// //
this.list_name.HeaderText = "목록명"; this.list_name.HeaderText = "목록명";
this.list_name.MinimumWidth = 6;
this.list_name.Name = "list_name"; this.list_name.Name = "list_name";
this.list_name.Width = 200; this.list_name.Width = 200;
// //
// work_name // work_name
// //
this.work_name.HeaderText = "작업명"; this.work_name.HeaderText = "작업명";
this.work_name.MinimumWidth = 6;
this.work_name.Name = "work_name"; this.work_name.Name = "work_name";
this.work_name.Width = 125;
// //
// count // count
// //
this.count.HeaderText = "수량"; this.count.HeaderText = "수량";
this.count.MinimumWidth = 6;
this.count.Name = "count"; this.count.Name = "count";
this.count.Width = 80; this.count.Width = 80;
// //
// stock // stock
// //
this.stock.HeaderText = "입고"; this.stock.HeaderText = "입고";
this.stock.MinimumWidth = 6;
this.stock.Name = "stock"; this.stock.Name = "stock";
this.stock.Visible = false; this.stock.Visible = false;
this.stock.Width = 70; this.stock.Width = 70;
@@ -185,6 +212,7 @@
// unstock // unstock
// //
this.unstock.HeaderText = "미입고"; this.unstock.HeaderText = "미입고";
this.unstock.MinimumWidth = 6;
this.unstock.Name = "unstock"; this.unstock.Name = "unstock";
this.unstock.Visible = false; this.unstock.Visible = false;
this.unstock.Width = 70; this.unstock.Width = 70;
@@ -192,57 +220,67 @@
// state // state
// //
this.state.HeaderText = "상태"; this.state.HeaderText = "상태";
this.state.MinimumWidth = 6;
this.state.Name = "state"; this.state.Name = "state";
this.state.Width = 70; this.state.Width = 70;
// //
// etc // etc
// //
this.etc.HeaderText = "비고"; this.etc.HeaderText = "비고";
this.etc.MinimumWidth = 6;
this.etc.Name = "etc"; this.etc.Name = "etc";
this.etc.Width = 280; this.etc.Width = 280;
// //
// charge // charge
// //
this.charge.HeaderText = "담당자"; this.charge.HeaderText = "담당자";
this.charge.MinimumWidth = 6;
this.charge.Name = "charge"; this.charge.Name = "charge";
this.charge.Width = 70; this.charge.Width = 70;
// //
// dvc_cust // dvc_cust
// //
this.dvc_cust.HeaderText = "CustomerIDX"; this.dvc_cust.HeaderText = "CustomerIDX";
this.dvc_cust.MinimumWidth = 6;
this.dvc_cust.Name = "dvc_cust"; this.dvc_cust.Name = "dvc_cust";
this.dvc_cust.Visible = false; this.dvc_cust.Visible = false;
this.dvc_cust.Width = 125;
// //
// check // check
// //
this.check.HeaderText = "V"; this.check.HeaderText = "V";
this.check.MinimumWidth = 6;
this.check.Name = "check"; this.check.Name = "check";
this.check.Width = 35; this.check.Width = 35;
// //
// cb_state // cb_state
// //
this.cb_state.Dock = System.Windows.Forms.DockStyle.Left;
this.cb_state.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cb_state.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_state.Font = new System.Drawing.Font("맑은 고딕", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.cb_state.FormattingEnabled = true; this.cb_state.FormattingEnabled = true;
this.cb_state.Location = new System.Drawing.Point(354, 9); this.cb_state.Location = new System.Drawing.Point(364, 5);
this.cb_state.Name = "cb_state"; this.cb_state.Name = "cb_state";
this.cb_state.Size = new System.Drawing.Size(74, 20); this.cb_state.Size = new System.Drawing.Size(100, 25);
this.cb_state.TabIndex = 49; this.cb_state.TabIndex = 49;
// //
// label2 // label2
// //
this.label2.AutoSize = true; this.label2.Dock = System.Windows.Forms.DockStyle.Left;
this.label2.Location = new System.Drawing.Point(323, 13); this.label2.Location = new System.Drawing.Point(332, 5);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(29, 12); this.label2.Size = new System.Drawing.Size(32, 27);
this.label2.TabIndex = 5; this.label2.TabIndex = 5;
this.label2.Text = "상태"; this.label2.Text = "상태";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// btn_Lookup // btn_Lookup
// //
this.btn_Lookup.Location = new System.Drawing.Point(502, 3); this.btn_Lookup.Dock = System.Windows.Forms.DockStyle.Left;
this.btn_Lookup.Location = new System.Drawing.Point(586, 5);
this.btn_Lookup.Margin = new System.Windows.Forms.Padding(1); this.btn_Lookup.Margin = new System.Windows.Forms.Padding(1);
this.btn_Lookup.Name = "btn_Lookup"; this.btn_Lookup.Name = "btn_Lookup";
this.btn_Lookup.Size = new System.Drawing.Size(61, 32); this.btn_Lookup.Size = new System.Drawing.Size(61, 27);
this.btn_Lookup.TabIndex = 50; this.btn_Lookup.TabIndex = 50;
this.btn_Lookup.Text = "조 회"; this.btn_Lookup.Text = "조 회";
this.btn_Lookup.UseVisualStyleBackColor = true; this.btn_Lookup.UseVisualStyleBackColor = true;
@@ -250,10 +288,11 @@
// //
// btn_Excel // btn_Excel
// //
this.btn_Excel.Location = new System.Drawing.Point(1008, 3); this.btn_Excel.Dock = System.Windows.Forms.DockStyle.Right;
this.btn_Excel.Location = new System.Drawing.Point(1482, 5);
this.btn_Excel.Margin = new System.Windows.Forms.Padding(1); this.btn_Excel.Margin = new System.Windows.Forms.Padding(1);
this.btn_Excel.Name = "btn_Excel"; this.btn_Excel.Name = "btn_Excel";
this.btn_Excel.Size = new System.Drawing.Size(61, 32); this.btn_Excel.Size = new System.Drawing.Size(74, 27);
this.btn_Excel.TabIndex = 50; this.btn_Excel.TabIndex = 50;
this.btn_Excel.Text = "엑셀반출"; this.btn_Excel.Text = "엑셀반출";
this.btn_Excel.UseVisualStyleBackColor = true; this.btn_Excel.UseVisualStyleBackColor = true;
@@ -261,10 +300,11 @@
// //
// btn_Close // btn_Close
// //
this.btn_Close.Location = new System.Drawing.Point(1071, 3); this.btn_Close.Dock = System.Windows.Forms.DockStyle.Right;
this.btn_Close.Location = new System.Drawing.Point(1564, 5);
this.btn_Close.Margin = new System.Windows.Forms.Padding(1); this.btn_Close.Margin = new System.Windows.Forms.Padding(1);
this.btn_Close.Name = "btn_Close"; this.btn_Close.Name = "btn_Close";
this.btn_Close.Size = new System.Drawing.Size(61, 32); this.btn_Close.Size = new System.Drawing.Size(74, 27);
this.btn_Close.TabIndex = 50; this.btn_Close.TabIndex = 50;
this.btn_Close.Text = "닫 기"; this.btn_Close.Text = "닫 기";
this.btn_Close.UseVisualStyleBackColor = true; this.btn_Close.UseVisualStyleBackColor = true;
@@ -272,21 +312,23 @@
// //
// btn_Save // btn_Save
// //
this.btn_Save.Location = new System.Drawing.Point(945, 3); this.btn_Save.Dock = System.Windows.Forms.DockStyle.Right;
this.btn_Save.Location = new System.Drawing.Point(1378, 5);
this.btn_Save.Margin = new System.Windows.Forms.Padding(1); this.btn_Save.Margin = new System.Windows.Forms.Padding(1);
this.btn_Save.Name = "btn_Save"; this.btn_Save.Name = "btn_Save";
this.btn_Save.Size = new System.Drawing.Size(61, 32); this.btn_Save.Size = new System.Drawing.Size(96, 27);
this.btn_Save.TabIndex = 50; this.btn_Save.TabIndex = 50;
this.btn_Save.Text = "체크사항\r\n저장"; this.btn_Save.Text = "체크사항저장";
this.btn_Save.UseVisualStyleBackColor = true; this.btn_Save.UseVisualStyleBackColor = true;
this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click); this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click);
// //
// btn_Merge // btn_Merge
// //
this.btn_Merge.Location = new System.Drawing.Point(691, 3); this.btn_Merge.Dock = System.Windows.Forms.DockStyle.Right;
this.btn_Merge.Location = new System.Drawing.Point(1050, 5);
this.btn_Merge.Margin = new System.Windows.Forms.Padding(1); this.btn_Merge.Margin = new System.Windows.Forms.Padding(1);
this.btn_Merge.Name = "btn_Merge"; this.btn_Merge.Name = "btn_Merge";
this.btn_Merge.Size = new System.Drawing.Size(61, 32); this.btn_Merge.Size = new System.Drawing.Size(74, 27);
this.btn_Merge.TabIndex = 51; this.btn_Merge.TabIndex = 51;
this.btn_Merge.Text = "목록병합"; this.btn_Merge.Text = "목록병합";
this.btn_Merge.UseVisualStyleBackColor = true; this.btn_Merge.UseVisualStyleBackColor = true;
@@ -294,10 +336,11 @@
// //
// btn_Progress // btn_Progress
// //
this.btn_Progress.Location = new System.Drawing.Point(756, 3); this.btn_Progress.Dock = System.Windows.Forms.DockStyle.Right;
this.btn_Progress.Location = new System.Drawing.Point(1132, 5);
this.btn_Progress.Margin = new System.Windows.Forms.Padding(1); this.btn_Progress.Margin = new System.Windows.Forms.Padding(1);
this.btn_Progress.Name = "btn_Progress"; this.btn_Progress.Name = "btn_Progress";
this.btn_Progress.Size = new System.Drawing.Size(61, 32); this.btn_Progress.Size = new System.Drawing.Size(74, 27);
this.btn_Progress.TabIndex = 51; this.btn_Progress.TabIndex = 51;
this.btn_Progress.Text = "진행처리"; this.btn_Progress.Text = "진행처리";
this.btn_Progress.UseVisualStyleBackColor = true; this.btn_Progress.UseVisualStyleBackColor = true;
@@ -305,10 +348,11 @@
// //
// btn_Completion // btn_Completion
// //
this.btn_Completion.Location = new System.Drawing.Point(819, 3); this.btn_Completion.Dock = System.Windows.Forms.DockStyle.Right;
this.btn_Completion.Location = new System.Drawing.Point(1214, 5);
this.btn_Completion.Margin = new System.Windows.Forms.Padding(1); this.btn_Completion.Margin = new System.Windows.Forms.Padding(1);
this.btn_Completion.Name = "btn_Completion"; this.btn_Completion.Name = "btn_Completion";
this.btn_Completion.Size = new System.Drawing.Size(61, 32); this.btn_Completion.Size = new System.Drawing.Size(74, 27);
this.btn_Completion.TabIndex = 51; this.btn_Completion.TabIndex = 51;
this.btn_Completion.Text = "완료처리"; this.btn_Completion.Text = "완료처리";
this.btn_Completion.UseVisualStyleBackColor = true; this.btn_Completion.UseVisualStyleBackColor = true;
@@ -316,10 +360,11 @@
// //
// btn_Delete // btn_Delete
// //
this.btn_Delete.Location = new System.Drawing.Point(882, 3); this.btn_Delete.Dock = System.Windows.Forms.DockStyle.Right;
this.btn_Delete.Location = new System.Drawing.Point(1296, 5);
this.btn_Delete.Margin = new System.Windows.Forms.Padding(1); this.btn_Delete.Margin = new System.Windows.Forms.Padding(1);
this.btn_Delete.Name = "btn_Delete"; this.btn_Delete.Name = "btn_Delete";
this.btn_Delete.Size = new System.Drawing.Size(61, 32); this.btn_Delete.Size = new System.Drawing.Size(74, 27);
this.btn_Delete.TabIndex = 51; this.btn_Delete.TabIndex = 51;
this.btn_Delete.Text = "목록삭제"; this.btn_Delete.Text = "목록삭제";
this.btn_Delete.UseVisualStyleBackColor = true; this.btn_Delete.UseVisualStyleBackColor = true;
@@ -327,10 +372,11 @@
// //
// btn_AddList // btn_AddList
// //
this.btn_AddList.Location = new System.Drawing.Point(628, 3); this.btn_AddList.Dock = System.Windows.Forms.DockStyle.Right;
this.btn_AddList.Location = new System.Drawing.Point(968, 5);
this.btn_AddList.Margin = new System.Windows.Forms.Padding(1); this.btn_AddList.Margin = new System.Windows.Forms.Padding(1);
this.btn_AddList.Name = "btn_AddList"; this.btn_AddList.Name = "btn_AddList";
this.btn_AddList.Size = new System.Drawing.Size(61, 32); this.btn_AddList.Size = new System.Drawing.Size(74, 27);
this.btn_AddList.TabIndex = 50; this.btn_AddList.TabIndex = 50;
this.btn_AddList.Text = "목록생성"; this.btn_AddList.Text = "목록생성";
this.btn_AddList.UseVisualStyleBackColor = true; this.btn_AddList.UseVisualStyleBackColor = true;
@@ -338,64 +384,178 @@
// //
// panel1 // panel1
// //
this.panel1.Controls.Add(this.chkEditorTest);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.btn_Delete);
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.btn_Completion);
this.panel1.Controls.Add(this.tb_Search);
this.panel1.Controls.Add(this.btn_Progress);
this.panel1.Controls.Add(this.cb_state);
this.panel1.Controls.Add(this.btn_Merge);
this.panel1.Controls.Add(this.btnSearchISBN);
this.panel1.Controls.Add(this.btn_Lookup); this.panel1.Controls.Add(this.btn_Lookup);
this.panel1.Controls.Add(this.btn_Close); this.panel1.Controls.Add(this.panel12);
this.panel1.Controls.Add(this.chkEditorTest);
this.panel1.Controls.Add(this.panel13);
this.panel1.Controls.Add(this.cb_state);
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.tb_Search);
this.panel1.Controls.Add(this.panel11);
this.panel1.Controls.Add(this.btnSearchISBN);
this.panel1.Controls.Add(this.panel10);
this.panel1.Controls.Add(this.btn_AddList); this.panel1.Controls.Add(this.btn_AddList);
this.panel1.Controls.Add(this.btn_Excel); this.panel1.Controls.Add(this.panel9);
this.panel1.Controls.Add(this.btn_Merge);
this.panel1.Controls.Add(this.panel8);
this.panel1.Controls.Add(this.btn_Progress);
this.panel1.Controls.Add(this.panel7);
this.panel1.Controls.Add(this.btn_Completion);
this.panel1.Controls.Add(this.panel6);
this.panel1.Controls.Add(this.btn_Delete);
this.panel1.Controls.Add(this.panel5);
this.panel1.Controls.Add(this.btn_Save); this.panel1.Controls.Add(this.btn_Save);
this.panel1.Controls.Add(this.panel4);
this.panel1.Controls.Add(this.btn_Excel);
this.panel1.Controls.Add(this.panel3);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.btn_Close);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1"; this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1179, 38); this.panel1.Padding = new System.Windows.Forms.Padding(0, 5, 0, 2);
this.panel1.Size = new System.Drawing.Size(1638, 34);
this.panel1.TabIndex = 52; this.panel1.TabIndex = 52;
// //
// panel12
//
this.panel12.Dock = System.Windows.Forms.DockStyle.Left;
this.panel12.Location = new System.Drawing.Point(578, 5);
this.panel12.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel12.Name = "panel12";
this.panel12.Size = new System.Drawing.Size(8, 27);
this.panel12.TabIndex = 62;
//
// chkEditorTest
//
this.chkEditorTest.AutoSize = true;
this.chkEditorTest.BackColor = System.Drawing.SystemColors.Control;
this.chkEditorTest.Dock = System.Windows.Forms.DockStyle.Left;
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(472, 5);
this.chkEditorTest.Name = "chkEditorTest";
this.chkEditorTest.Size = new System.Drawing.Size(106, 27);
this.chkEditorTest.TabIndex = 52;
this.chkEditorTest.Text = "Editor (OLD)";
this.chkEditorTest.UseVisualStyleBackColor = false;
//
// panel13
//
this.panel13.Dock = System.Windows.Forms.DockStyle.Left;
this.panel13.Location = new System.Drawing.Point(464, 5);
this.panel13.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel13.Name = "panel13";
this.panel13.Size = new System.Drawing.Size(8, 27);
this.panel13.TabIndex = 63;
//
// panel11
//
this.panel11.Dock = System.Windows.Forms.DockStyle.Right;
this.panel11.Location = new System.Drawing.Point(878, 5);
this.panel11.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel11.Name = "panel11";
this.panel11.Size = new System.Drawing.Size(8, 27);
this.panel11.TabIndex = 61;
//
// btnSearchISBN // btnSearchISBN
// //
this.btnSearchISBN.Location = new System.Drawing.Point(565, 3); this.btnSearchISBN.Dock = System.Windows.Forms.DockStyle.Right;
this.btnSearchISBN.Location = new System.Drawing.Point(886, 5);
this.btnSearchISBN.Margin = new System.Windows.Forms.Padding(1); this.btnSearchISBN.Margin = new System.Windows.Forms.Padding(1);
this.btnSearchISBN.Name = "btnSearchISBN"; this.btnSearchISBN.Name = "btnSearchISBN";
this.btnSearchISBN.Size = new System.Drawing.Size(61, 32); this.btnSearchISBN.Size = new System.Drawing.Size(74, 27);
this.btnSearchISBN.TabIndex = 50; this.btnSearchISBN.TabIndex = 50;
this.btnSearchISBN.Text = "ISBN 조회"; this.btnSearchISBN.Text = "ISBN조회";
this.btnSearchISBN.UseVisualStyleBackColor = true; this.btnSearchISBN.UseVisualStyleBackColor = true;
this.btnSearchISBN.Click += new System.EventHandler(this.btnSearchISBN_Click); this.btnSearchISBN.Click += new System.EventHandler(this.btnSearchISBN_Click);
// //
// panel10
//
this.panel10.Dock = System.Windows.Forms.DockStyle.Right;
this.panel10.Location = new System.Drawing.Point(960, 5);
this.panel10.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel10.Name = "panel10";
this.panel10.Size = new System.Drawing.Size(8, 27);
this.panel10.TabIndex = 60;
//
// panel9
//
this.panel9.Dock = System.Windows.Forms.DockStyle.Right;
this.panel9.Location = new System.Drawing.Point(1042, 5);
this.panel9.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel9.Name = "panel9";
this.panel9.Size = new System.Drawing.Size(8, 27);
this.panel9.TabIndex = 59;
//
// panel8
//
this.panel8.Dock = System.Windows.Forms.DockStyle.Right;
this.panel8.Location = new System.Drawing.Point(1124, 5);
this.panel8.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel8.Name = "panel8";
this.panel8.Size = new System.Drawing.Size(8, 27);
this.panel8.TabIndex = 58;
//
// panel7
//
this.panel7.Dock = System.Windows.Forms.DockStyle.Right;
this.panel7.Location = new System.Drawing.Point(1206, 5);
this.panel7.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel7.Name = "panel7";
this.panel7.Size = new System.Drawing.Size(8, 27);
this.panel7.TabIndex = 57;
//
// panel6
//
this.panel6.Dock = System.Windows.Forms.DockStyle.Right;
this.panel6.Location = new System.Drawing.Point(1288, 5);
this.panel6.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(8, 27);
this.panel6.TabIndex = 56;
//
// panel5
//
this.panel5.Dock = System.Windows.Forms.DockStyle.Right;
this.panel5.Location = new System.Drawing.Point(1370, 5);
this.panel5.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(8, 27);
this.panel5.TabIndex = 55;
//
// panel4
//
this.panel4.Dock = System.Windows.Forms.DockStyle.Right;
this.panel4.Location = new System.Drawing.Point(1474, 5);
this.panel4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(8, 27);
this.panel4.TabIndex = 54;
//
// panel3
//
this.panel3.Dock = System.Windows.Forms.DockStyle.Right;
this.panel3.Location = new System.Drawing.Point(1556, 5);
this.panel3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(8, 27);
this.panel3.TabIndex = 53;
//
// panel2 // panel2
// //
this.panel2.Controls.Add(this.dataGridView1); this.panel2.Controls.Add(this.dataGridView1);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(0, 38); this.panel2.Location = new System.Drawing.Point(0, 34);
this.panel2.Name = "panel2"; this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(1179, 623); this.panel2.Size = new System.Drawing.Size(1638, 624);
this.panel2.TabIndex = 53; this.panel2.TabIndex = 53;
// //
// chkEditorTest
//
this.chkEditorTest.AutoSize = true;
this.chkEditorTest.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.chkEditorTest.ForeColor = System.Drawing.Color.Red;
this.chkEditorTest.Location = new System.Drawing.Point(436, 7);
this.chkEditorTest.Name = "chkEditorTest";
this.chkEditorTest.Size = new System.Drawing.Size(65, 28);
this.chkEditorTest.TabIndex = 52;
this.chkEditorTest.Text = "Editor\r\n(Test)";
this.chkEditorTest.UseVisualStyleBackColor = true;
//
// Mac_List // Mac_List
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1179, 661); this.ClientSize = new System.Drawing.Size(1638, 658);
this.Controls.Add(this.panel2); this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1); this.Controls.Add(this.panel1);
this.Name = "Mac_List"; this.Name = "Mac_List";
@@ -445,5 +605,16 @@
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_cust; private System.Windows.Forms.DataGridViewTextBoxColumn dvc_cust;
private System.Windows.Forms.DataGridViewTextBoxColumn check; private System.Windows.Forms.DataGridViewTextBoxColumn check;
private System.Windows.Forms.CheckBox chkEditorTest; private System.Windows.Forms.CheckBox chkEditorTest;
private System.Windows.Forms.Panel panel12;
private System.Windows.Forms.Panel panel11;
private System.Windows.Forms.Panel panel10;
private System.Windows.Forms.Panel panel9;
private System.Windows.Forms.Panel panel8;
private System.Windows.Forms.Panel panel7;
private System.Windows.Forms.Panel panel6;
private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Panel panel13;
} }
} }

View File

@@ -312,7 +312,7 @@ namespace WindowsFormsApp1.Mac
int idx_col = e.ColumnIndex; int idx_col = e.ColumnIndex;
if (3 <= idx_col && idx_col <= 8) if (3 <= idx_col && idx_col <= 8)
{ {
if (chkEditorTest.Checked) if (chkEditorTest.Checked == false)
{ {
var marc = this.main.OpenFormInTab(() => new ExcelTest.Marc2(this), allowMultiple: true); var marc = this.main.OpenFormInTab(() => new ExcelTest.Marc2(this), allowMultiple: true);
marc.input_list( marc.input_list(
@@ -371,6 +371,7 @@ namespace WindowsFormsApp1.Mac
private void btnSearchISBN_Click(object sender, EventArgs e) private void btnSearchISBN_Click(object sender, EventArgs e)
{ {
if (this.dataGridView1.RowCount < 1) return;
if (dataGridView1.SelectedRows[0].Index < 0) return; if (dataGridView1.SelectedRows[0].Index < 0) return;
string tSearchText = dataGridView1.SelectedRows[0].Cells["list_name"].Value.ToString(); string tSearchText = dataGridView1.SelectedRows[0].Cells["list_name"].Value.ToString();
string tSearchIDX = dataGridView1.SelectedRows[0].Cells["idx"].Value.ToString(); string tSearchIDX = dataGridView1.SelectedRows[0].Cells["idx"].Value.ToString();

View File

@@ -163,6 +163,6 @@
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>51</value> <value>55</value>
</metadata> </metadata>
</root> </root>

View File

@@ -435,11 +435,11 @@ namespace ExcelTest
MessageBox.Show("[칸채우기]가 아닌 [마크 편집] 탭에서 저장해주세요!"); MessageBox.Show("[칸채우기]가 아닌 [마크 편집] 탭에서 저장해주세요!");
return; return;
} }
if (grade == 3) //if (grade == 3)
{ //{
MessageBox.Show("등급을 설정해주세요. (C 이상)"); // MessageBox.Show("등급을 설정해주세요. (C 이상)");
return; // return;
} //}
string table_name = "Marc"; string table_name = "Marc";
string BaseText = richTextBox1.Text; string BaseText = richTextBox1.Text;
string lblisbn = lbl_ISBN.Text.Replace("[", "").Replace("]", ""); string lblisbn = lbl_ISBN.Text.Replace("[", "").Replace("]", "");
@@ -455,9 +455,11 @@ namespace ExcelTest
if (BaseText.IndexOf(lblisbn) < 0) if (BaseText.IndexOf(lblisbn) < 0)
{ {
MessageBox.Show("ISBN 상태를 확인해주세요."); UTIL.MsgE("저장된 ISBN이 마크데이터에 없습니다.\nISBN값이 변경되었습니다");
//if (dlg != DialogResult.Yes) return;
return; return;
} }
string tag056 = Tag056(); string tag056 = Tag056();
string[] grid_data = { string[] grid_data = {
List_Book.Rows[SaveRowIdx].Cells["ISBN13"].Value.ToString(), List_Book.Rows[SaveRowIdx].Cells["ISBN13"].Value.ToString(),
@@ -469,6 +471,7 @@ namespace ExcelTest
string date = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); string date = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
string orimarc = st.made_Ori_marc(richTextBox1).Replace(@"\", "₩"); string orimarc = st.made_Ori_marc(richTextBox1).Replace(@"\", "₩");
string Midx = List_Book.Rows[SaveRowIdx].Cells["marc_idx"].Value.ToString(); string Midx = List_Book.Rows[SaveRowIdx].Cells["marc_idx"].Value.ToString();
// 필수태그 확인 // 필수태그 확인
if (!isMustTag(orimarc)) if (!isMustTag(orimarc))
{ {
@@ -485,24 +488,11 @@ namespace ExcelTest
// 마지막 수정일로부터 2일이 지났는지, 마지막 저장자가 사용자인지 확인 // 마지막 수정일로부터 2일이 지났는지, 마지막 저장자가 사용자인지 확인
TimeSpan sp = spspsp(SaveDate, date); TimeSpan sp = spspsp(SaveDate, date);
IsCoverDate = IsCoverData(sp.Days, SaveUser); IsCoverDate = IsCoverData(sp.Days, SaveUser);
// if (IsCoverDate) {
// etc2.Text = etc2.Text.Replace(SaveDate, date);
// }
// else {
// etc2.Text += string.Format("{0}\t{1}\n", date, mUserName);
// }
} }
//else
//{
// etc2.Text += string.Format("{0}\t{1}\n", date, mUserName);
//}
// true일 경우 INSERT, false일 경우 UPDATE // true일 경우 INSERT, false일 경우 UPDATE
bool isNewData = true; bool isNewData = Midx != "" ? false : true;
if (Midx != "")
isNewData = false;
if (List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor == Color.Orange || if (List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor == Color.Orange ||
List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor == Color.Red) List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor == Color.Red)
@@ -540,36 +530,7 @@ namespace ExcelTest
MessageBox.Show("ISBN 데이터가 없습니다."); MessageBox.Show("ISBN 데이터가 없습니다.");
return; return;
} }
//if (grid_data[0] != null && grid_data[0] != "")
//{
// int marcChk = Sub_marc_chk(grid_data[0]);
// if (IsCoverDate)
// marcChk--;
// switch (marcChk)
// {
// case 0:
// Edit_tbl[1] = "marc1";
// Edit_tbl[2] = "marc_chk1";
// Edit_tbl[3] = "marc_chk";
// break;
// case 1:
// Edit_tbl[1] = "marc2";
// Edit_tbl[2] = "marc_chk2";
// Edit_tbl[3] = "marc_chk1";
// break;
// case 2:
// Edit_tbl[1] = "marc";
// Edit_tbl[2] = "marc_chk";
// Edit_tbl[3] = "marc_chk2";
// break;
// default:
// Edit_tbl[1] = "marc";
// Edit_tbl[2] = "marc_chk";
// Edit_tbl[3] = "marc_chk2";
// break;
// }
//}
string U_cmd = db.More_Update(table_name, Edit_tbl, Edit_col, Sear_tbl, Sear_col); string U_cmd = db.More_Update(table_name, Edit_tbl, Edit_col, Sear_tbl, Sear_col);
PUB.log.Add("Update", string.Format("{0}({1},{2}) : {3}", mUserName, mCompidx, List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor, U_cmd.Replace("\r", " ").Replace("\n", " "))); PUB.log.Add("Update", string.Format("{0}({1},{2}) : {3}", mUserName, mCompidx, List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor, U_cmd.Replace("\r", " ").Replace("\n", " ")));
db.DB_Send_CMD_reVoid(U_cmd); db.DB_Send_CMD_reVoid(U_cmd);
@@ -845,60 +806,7 @@ namespace ExcelTest
cb_grade.SelectedIndex = grade; cb_grade.SelectedIndex = grade;
OnSaveData(row_idx); OnSaveData(row_idx);
} }
//private void List_Book_CellClick(object sender, DataGridViewCellEventArgs e)
//{
// //if (e.RowIndex == -1) { return; }
// //int row_idx = e.RowIndex;
// //SaveRowIdx = row_idx;
// //int col_idx = e.ColumnIndex;
// //string isbn = List_Book.Rows[row_idx].Cells["ISBN13"].Value.ToString();
// //if (isbn != "") {
// // string CountQuery = string.Format("SELECT Count(isbn) FROM Marc WHERE isbn = {0} GROUP BY isbn;", isbn);
// // string CountResult = db.self_Made_Cmd(CountQuery).Replace("|", "");
// // if (CountResult == "")
// // btn_CopySelect.Text = "0";
// // if (CountResult == "0") {
// // btn_CopySelect.Enabled = false;
// // btn_CopySelect.BackColor = Color.Silver;
// // }
// // else {
// // btn_CopySelect.Enabled = true;
// // btn_CopySelect.BackColor = Color.Khaki;
// // }
// // btn_CopySelect.Text = CountResult;
// //}
// //tabControl1.SelectedIndex = 0;
// //if (check_V(row_idx, col_idx))
// // return;
// //Save_data(row_idx);
// //richTextBox1.Text = "";
// //bool check_Marc = click_Marc(row_idx);
// //if (!check_Marc)
// // richTextBox1.Text = Make_Empty();
// //else
// // ReadRemark(row_idx);
// //input_picture(row_idx);
// //Create_008();
// //st.Color_change("▼", richTextBox1);
// //st.Color_change("▲", richTextBox1);
// //int grade = 2;
// //if (List_Book.Rows[row_idx].Cells["grade"].Value != null || List_Book.Rows[row_idx].Cells["grade"].Value.ToString() != "") {
// // grade = Convert.ToInt32(List_Book.Rows[row_idx].Cells["grade"].Value.ToString());
// //}
// //cb_grade.SelectedIndex = grade;
// //OnSaveData(row_idx);
//}
#region CellClick_Sub #region CellClick_Sub
void OnSaveData(int row) void OnSaveData(int row)
@@ -1013,8 +921,8 @@ namespace ExcelTest
data_book[0] = List_Book.Rows[row].Cells["ISBN13"].Value.ToString(); data_book[0] = List_Book.Rows[row].Cells["ISBN13"].Value.ToString();
data_book[1] = List_Book.Rows[row].Cells["book_name"].Value.ToString(); data_book[1] = List_Book.Rows[row].Cells["book_name"].Value.ToString();
data_book[2] = List_Book.Rows[row].Cells["author"].Value.ToString(); data_book[2] = List_Book.Rows[row].Cells["author"].Value.ToString();
data_book[3] = List_Book.Rows[row].Cells["book_comp"].Value.ToString(); data_book[3] = List_Book.Rows[row].Cells["book_comp"].Value.ToString(); //publichser
data_book[4] = List_Book.Rows[row].Cells["pay"].Value.ToString(); data_book[4] = List_Book.Rows[row].Cells["pay"].Value.ToString(); //price
} }
void input_picture(int row) void input_picture(int row)
{ {
@@ -1321,47 +1229,48 @@ namespace ExcelTest
private void checkBox1_CheckedChanged(object sender, EventArgs e) private void checkBox1_CheckedChanged(object sender, EventArgs e)
{ {
string name = ((CheckBox)sender).Name; var chk = sender as CheckBox;
if (((CheckBox)sender).Checked == true) string name = chk.Name;
if (chk.Checked == true)
{ {
switch (name) switch (name)
{ {
case "checkBox1": case "checkBox1":
((CheckBox)sender).InvokeText("회의간행물o"); chk.InvokeText("회의간행물o");
break; break;
case "checkBox2": case "checkBox2":
((CheckBox)sender).InvokeText("기념논문집o"); chk.InvokeText("기념논문집o");
break; break;
case "checkBox4": case "checkBox4":
((CheckBox)sender).InvokeText("색인o"); chk.InvokeText("색인o");
break; break;
} }
} }
else if (((CheckBox)sender).Checked == false) else if (chk.Checked == false)
{ {
switch (name) switch (name)
{ {
case "checkBox1": case "checkBox1":
((CheckBox)sender).InvokeText("회의간행물x"); chk.InvokeText("회의간행물x");
break; break;
case "checkBox2": case "checkBox2":
((CheckBox)sender).InvokeText("기념논문집x"); chk.InvokeText("기념논문집x");
break; break;
case "checkBox4": case "checkBox4":
((CheckBox)sender).InvokeText("색인x"); chk.InvokeText("색인x");
break; break;
} }
} }
switch (name) switch (name)
{ {
case "checkBox1": case "checkBox1": //회의간행물
Publication(checkBox1.Checked, 29); Publication(chk.Checked, 29);
break; break;
case "checkBox2": case "checkBox2": //기념논문집
Publication(checkBox2.Checked, 30); Publication(chk.Checked, 30);
break; break;
case "checkBox4": case "checkBox4": //색인
Publication(checkBox4.Checked, 31); Publication(chk.Checked, 31);
break; break;
} }
} }
@@ -2319,6 +2228,7 @@ namespace ExcelTest
str = str.Trim(); str = str.Trim();
if (TagNum == "300a") if (TagNum == "300a")
{ {
//gu = new char[] { ',', '=', ':', ';', '/', '+', ' ' };
gu = new char[] { '.', ',', '=', ':', ';', '/', '+', ' ' }; gu = new char[] { '.', ',', '=', ':', ';', '/', '+', ' ' };
for (int i = 0; i < gu.Length; i++) for (int i = 0; i < gu.Length; i++)
{ {
@@ -3694,5 +3604,10 @@ namespace ExcelTest
newRow.Selected = true; newRow.Selected = true;
List_Book.FirstDisplayedScrollingRowIndex = nRow; List_Book.FirstDisplayedScrollingRowIndex = nRow;
} }
private void button1_Click_1(object sender, EventArgs e)
{
this.Close();
}
} }
} }

File diff suppressed because it is too large Load Diff

View File

@@ -298,4 +298,7 @@
<metadata name="text490v.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="text490v.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root> </root>

View File

@@ -1,6 +1,7 @@
//using Microsoft.Office.Interop.Excel; //using Microsoft.Office.Interop.Excel;
using AR; using AR;
using OpenQA.Selenium.DevTools.V136.Animation; using OpenQA.Selenium.DevTools.V136.Animation;
using Org.BouncyCastle.Asn1.CryptoPro;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Drawing; using System.Drawing;
@@ -44,6 +45,13 @@ namespace ExcelTest
String_Text st = new String_Text(); String_Text st = new String_Text();
Mac_List ml; Mac_List ml;
//목록다시불러오기를 위해서 임시로 추가
string p_lidx = "";
string p_value = "";
string p_cidx = "";
string p_cust = "";
string p_name = "";
public Marc2() public Marc2()
{ {
InitializeComponent(); InitializeComponent();
@@ -52,7 +60,35 @@ namespace ExcelTest
marcEditorControl1.db = this.db; marcEditorControl1.db = this.db;
marcEditorControl1.BookSaved += MarcEditorControl_BookSaved; marcEditorControl1.BookSaved += MarcEditorControl_BookSaved;
marcEditorControl1.FillBlankClicked += MarcEditorControl_FillBlankClicked; marcEditorControl1.FillBlankClicked += MarcEditorControl_FillBlankClicked;
marcEditorControl1.PrevButton += MarcEditorControl1_PrevButton;
marcEditorControl1.NextButton += MarcEditorControl1_NextButton;
} }
private void MarcEditorControl1_NextButton(object sender, EventArgs e)
{
int row_idx = List_Book.CurrentCell.RowIndex;
int col_idx = List_Book.CurrentCell.ColumnIndex;
if (row_idx == -1 || col_idx == -1) { return; }
//다음데이터가 존재한다
if(row_idx < List_Book.RowCount-1)
{
List_Book.CurrentCell = List_Book.Rows[row_idx + 1].Cells[col_idx];
}
}
private void MarcEditorControl1_PrevButton(object sender, EventArgs e)
{
int row_idx = List_Book.CurrentCell.RowIndex;
int col_idx = List_Book.CurrentCell.ColumnIndex;
if (row_idx == -1 || col_idx == -1) { return; }
if (row_idx > 0)
{
List_Book.CurrentCell = List_Book.Rows[row_idx - 1].Cells[col_idx];
}
}
public Marc2(Mac_List _ml) public Marc2(Mac_List _ml)
{ {
InitializeComponent(); InitializeComponent();
@@ -61,15 +97,48 @@ namespace ExcelTest
marcEditorControl1.db = this.db; marcEditorControl1.db = this.db;
marcEditorControl1.BookSaved += MarcEditorControl_BookSaved; marcEditorControl1.BookSaved += MarcEditorControl_BookSaved;
marcEditorControl1.FillBlankClicked += MarcEditorControl_FillBlankClicked; marcEditorControl1.FillBlankClicked += MarcEditorControl_FillBlankClicked;
marcEditorControl1.PrevButton += MarcEditorControl1_PrevButton;
marcEditorControl1.NextButton += MarcEditorControl1_NextButton;
} }
string l_idx = string.Empty; string l_idx = string.Empty;
string c_idx = string.Empty; string c_idx = string.Empty;
private void Marc_Load(object sender, EventArgs e) private void Marc_Load(object sender, EventArgs e)
{ {
// 콤보박스 정렬및 필터
string[] combo8 = { "등급", "복본" };
comboBox8.Items.AddRange(combo8);
comboBox8.SelectedIndex = 0;
} }
public void input_list()
{
var dlg = UTIL.MsgQ("데이터베이스 내용을 다시 불러옵니다\n저장되지 않은 사항은 손실됩니다.다시 불러올까요?");
if (dlg != DialogResult.Yes) return;
input_list(p_lidx, p_value, p_cidx, p_cust, p_name);
}
(string remark1, string remark2) ReadRemark(int row)
{
string[] sear_tbl = { "idx" };
string[] sear_col = { List_Book.Rows[row].Cells["marc_idx"].Value.ToString() };
string cmd = db.More_DB_Search("Marc", sear_tbl, sear_col, "`비고1`, `비고2`");
string res = db.DB_Send_CMD_Search(cmd);
string[] ary = res.Split('|');
if (res.Length < 1)
{
//etc1.Text = res;
//etc2.Text = "";
return (res, "");
}
//etc1.Text = ary[0];
//etc2.Text = ary[1];
return (ary[0], ary[1]);
}
/// <summary> /// <summary>
/// 가져온 목록을 책목록과 연동하여 Grid에 집어넣음. /// 가져온 목록을 책목록과 연동하여 Grid에 집어넣음.
/// </summary> /// </summary>
@@ -77,7 +146,14 @@ namespace ExcelTest
/// <param name="value">목록명</param> /// <param name="value">목록명</param>
public void input_list(string l_idx, string value, string C_idx, string custidx, string custname) public void input_list(string l_idx, string value, string C_idx, string custidx, string custname)
{ {
p_lidx = l_idx;
p_value = value;
p_cidx = C_idx;
p_cust = custidx;
p_name = custname;
db.DBcon(); db.DBcon();
this.List_Book.Rows.Clear();
if (value.isEmpty() == false) if (value.isEmpty() == false)
{ {
if (value.IndexOf("]") != -1) if (value.IndexOf("]") != -1)
@@ -142,9 +218,10 @@ namespace ExcelTest
//} //}
} }
chk_Marc(); chk_Marc();
mLoadCompleted = true;
List_Book.ClearSelection(); List_Book.ClearSelection();
mLoadCompleted = true;
if (this.List_Book.RowCount > 0) if (this.List_Book.RowCount > 0)
List_Book.Rows[0].Selected = true; List_Book.Rows[0].Selected = true;
} }
@@ -278,8 +355,16 @@ namespace ExcelTest
private void List_Book_SelectionChanged(object sender, EventArgs e) private void List_Book_SelectionChanged(object sender, EventArgs e)
{ {
if (!mLoadCompleted) return; if (!mLoadCompleted) return;
if (List_Book.CurrentCell == null) return;
int row_idx = List_Book.CurrentCell.RowIndex; int row_idx = List_Book.CurrentCell.RowIndex;
int col_idx = List_Book.CurrentCell.ColumnIndex; int col_idx = List_Book.CurrentCell.ColumnIndex;
if (List_Book.SelectedCells.Count > 0)
{
row_idx = List_Book.SelectedCells[0].RowIndex;
col_idx = List_Book.SelectedCells[0].ColumnIndex;
}
if (row_idx == -1 || col_idx == -1) { return; } if (row_idx == -1 || col_idx == -1) { return; }
SaveRowIdx = row_idx; SaveRowIdx = row_idx;
@@ -322,63 +407,25 @@ namespace ExcelTest
string user = List_Book.Rows[row_idx].Cells["user"].Value?.ToString() ?? ""; string user = List_Book.Rows[row_idx].Cells["user"].Value?.ToString() ?? "";
string saveDate = List_Book.Rows[row_idx].Cells["SaveDate"].Value?.ToString() ?? ""; string saveDate = List_Book.Rows[row_idx].Cells["SaveDate"].Value?.ToString() ?? "";
string listIdx = List_Book.Rows[row_idx].Cells["list_idx"].Value?.ToString() ?? ""; // verify this column name in input_list string listIdx = List_Book.Rows[row_idx].Cells["list_idx"].Value?.ToString() ?? ""; // verify this column name in input_list
var remark = ReadRemark(row_idx);
marcEditorControl1.LoadBookData(isbn13, bookName, author, publisher, price, url, marcIdx, dbMarc, grade, user, saveDate, listIdx); var p = new MacEditorParameter
{
ISBN13 = isbn13,
URL = url,
Grade = grade,
ListIdx = listIdx,
MarcIdx = marcIdx,
SaveDate = saveDate,
User = user,
BookName = bookName,
Author = author,
Publisher = publisher,
Price = price,
Remark1 = remark.remark1,
Remark2 = remark.remark2
};
marcEditorControl1.LoadBookData(dbMarc, p);
} }
//private void List_Book_CellClick(object sender, DataGridViewCellEventArgs e)
//{
// //if (e.RowIndex == -1) { return; }
// //int row_idx = e.RowIndex;
// //SaveRowIdx = row_idx;
// //int col_idx = e.ColumnIndex;
// //string isbn = List_Book.Rows[row_idx].Cells["ISBN13"].Value.ToString();
// //if (isbn != "") {
// // string CountQuery = string.Format("SELECT Count(isbn) FROM Marc WHERE isbn = {0} GROUP BY isbn;", isbn);
// // string CountResult = db.self_Made_Cmd(CountQuery).Replace("|", "");
// // if (CountResult == "")
// // btn_CopySelect.Text = "0";
// // if (CountResult == "0") {
// // btn_CopySelect.Enabled = false;
// // btn_CopySelect.BackColor = Color.Silver;
// // }
// // else {
// // btn_CopySelect.Enabled = true;
// // btn_CopySelect.BackColor = Color.Khaki;
// // }
// // btn_CopySelect.Text = CountResult;
// //}
// //tabControl1.SelectedIndex = 0;
// //if (check_V(row_idx, col_idx))
// // return;
// //Save_data(row_idx);
// //richTextBox1.Text = "";
// //bool check_Marc = click_Marc(row_idx);
// //if (!check_Marc)
// // richTextBox1.Text = Make_Empty();
// //else
// // ReadRemark(row_idx);
// //input_picture(row_idx);
// //Create_008();
// //st.Color_change("▼", richTextBox1);
// //st.Color_change("▲", richTextBox1);
// //int grade = 2;
// //if (List_Book.Rows[row_idx].Cells["grade"].Value != null || List_Book.Rows[row_idx].Cells["grade"].Value.ToString() != "") {
// // grade = Convert.ToInt32(List_Book.Rows[row_idx].Cells["grade"].Value.ToString());
// //}
// //cb_grade.SelectedIndex = grade;
// //OnSaveData(row_idx);
//}
bool check_V(int row, int col) bool check_V(int row, int col)
@@ -507,24 +554,132 @@ namespace ExcelTest
private void MarcEditorControl_BookSaved(object sender, ExcelTest.MarcEditorControl.BookSavedEventArgs e) private void MarcEditorControl_BookSaved(object sender, ExcelTest.MarcEditorControl.BookSavedEventArgs e)
{ {
if (SaveRowIdx >= 0 && SaveRowIdx < List_Book.Rows.Count) string table_name = "Marc";
{
string currentListIdx = List_Book.Rows[SaveRowIdx].Cells["list_idx"].Value?.ToString();
// If list_idx column name differs, check input_list. Assuming "list_idx" or "idx".
// In input_list: grid[0] = db_data[a]; (idx).
// And MarcEditorControl uses "list_idx" passed from List_Book_SelectionChanged.
// We need to match what we passed.
// Just update based on SaveRowIdx for now, assuming modal blocking or single user interaction. //string[] grid_data = {
List_Book.Rows[SaveRowIdx].Cells["grade"].Value = e.Grade; // e.griddata[0],// List_Book.Rows[SaveRowIdx].Cells["ISBN13"].Value.ToString(),
List_Book.Rows[SaveRowIdx].Cells["SaveDate"].Value = e.SaveDate; // e.griddata[1],//List_Book.Rows[SaveRowIdx].Cells["book_name"].Value.ToString(),
List_Book.Rows[SaveRowIdx].Cells["user"].Value = e.User; // e.griddata[2],//List_Book.Rows[SaveRowIdx].Cells["author"].Value.ToString(),
List_Book.Rows[SaveRowIdx].Cells["db_marc"].Value = e.DBMarc; // e.griddata[3],//List_Book.Rows[SaveRowIdx].Cells["book_comp"].Value.ToString(),
List_Book.Rows[SaveRowIdx].Cells["marc_idx"].Value = e.MarcIdx; // e.griddata[4],//List_Book.Rows[SaveRowIdx].Cells["pay"].Value.ToString(),
List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor = SetGradeColor(e.Grade); // e.griddata[5]//List_Book.Rows[SaveRowIdx].Cells["url"].Value.ToString()
//};
string date = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
string orimarc = e.DBMarc;// st.made_Ori_marc(richTextBox1).Replace(@"\", "₩");
string Midx = List_Book.Rows[SaveRowIdx].Cells["marc_idx"].Value.ToString();
string SaveDate = List_Book.Rows[SaveRowIdx].Cells["SaveDate"].Value.ToString();
string SaveUser = List_Book.Rows[SaveRowIdx].Cells["user"].Value.ToString();
bool IsCoverDate = false;
if (SaveDate != "")
{
// 마지막 수정일로부터 2일이 지났는지, 마지막 저장자가 사용자인지 확인
TimeSpan sp = spspsp(SaveDate, date);
IsCoverDate = IsCoverData(sp.Days, SaveUser);
} }
// true일 경우 INSERT, false일 경우 UPDATE
bool isNewData = Midx != "" ? false : true;
if (List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor == Color.Orange ||
List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor == Color.Red)
{
string[] Insert_tbl = {
"ISBN", "서명", "저자", "출판사",
"가격", "marc", "비고1", "비고2", "url",
"grade", "marc_chk", "user", "division", "008tag",
"date", "compidx" };
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,
date, mCompidx };
string Incmd = db.DB_INSERT(table_name, Insert_tbl, Insert_col);
PUB.log.Add("INSERT", string.Format("{0}({1},{2}) : {3}", mUserName, mCompidx, List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor, Incmd));
db.DB_Send_CMD_reVoid(Incmd);
isNewData = true;
}
else
{
string[] Edit_tbl = {
"compidx", "marc", "marc_chk", "marc1", "marc_chk1", "비고1",
"비고2", "url", "division", "008tag", "date",
"user", "grade" };
string[] Edit_col = {
mCompidx, orimarc, "1", mOldMarc , "0", e.griddata.Remark1,
e.griddata.Remark2, e.griddata.URL, e.tag056,e.text008, date,
mUserName, e.griddata.Grade };
string[] Sear_tbl = { "idx", "compidx" };
string[] Sear_col = { Midx, mCompidx };
if (e.griddata.ISBN13 == null || e.griddata.ISBN13 == "")
{
MessageBox.Show("ISBN 데이터가 없습니다.");
return;
}
string U_cmd = db.More_Update(table_name, Edit_tbl, Edit_col, Sear_tbl, Sear_col);
PUB.log.Add("Update", string.Format("{0}({1},{2}) : {3}", mUserName, mCompidx, List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor, U_cmd.Replace("\r", " ").Replace("\n", " ")));
db.DB_Send_CMD_reVoid(U_cmd);
isNewData = false;
}
List_Book.Rows[SaveRowIdx].Cells["grade"].Value = e.griddata.Grade;
List_Book.Rows[SaveRowIdx].Cells["SaveDate"].Value = e.SaveDate;
List_Book.Rows[SaveRowIdx].Cells["user"].Value = mUserName;
List_Book.Rows[SaveRowIdx].Cells["db_marc"].Value = e.DBMarc;
List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor = SetGradeColor(grade.ToString());
if (isNewData)
{
string MidxQuery = string.Format("SELECT `idx` FROM Marc WHERE isbn = {0} AND `compidx` = {1};", e.griddata.ISBN13, mCompidx);
PUB.log.Add("MarcInsert", string.Format("{0}({1}) : {2}", mUserName, mCompidx, MidxQuery));
Midx = db.DB_Send_CMD_Search(MidxQuery).Replace("|", "");
List_Book.Rows[SaveRowIdx].Cells["marc_idx"].Value = Midx;
}
string UpdateListIndex = string.Format("UPDATE `Obj_List_Book` SET `m_idx` = {0} WHERE `idx` = {1} AND 'compidx' ={2};",
Midx, List_Book.Rows[SaveRowIdx].Cells["list_idx"].Value.ToString(), mCompidx);
PUB.log.Add("MarcUpdate", string.Format("{0}({1}) : {2}", mUserName, mCompidx, UpdateListIndex));
db.DB_Send_CMD_reVoid(UpdateListIndex);
MessageBox.Show("저장되었습니다!");
} }
#region Save_Click_Sub
/// <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 spspsp(string LastDate, string SaveDate)
{
DateTime date1 = Convert.ToDateTime(LastDate);
DateTime date2 = Convert.ToDateTime(SaveDate);
TimeSpan result = date1 - date2;
return result;
}
#endregion
private void MarcEditorControl_FillBlankClicked(object sender, EventArgs e) private void MarcEditorControl_FillBlankClicked(object sender, EventArgs e)
{ {
if (List_Book.CurrentRow == null) return; if (List_Book.CurrentRow == null) return;
@@ -537,7 +692,7 @@ namespace ExcelTest
return; return;
} }
UniMarc.Marc_FillBlank fb = new UniMarc.Marc_FillBlank(this); var fb = new UniMarc.Marc_FillBlank(this);
for (int a = 0; a < List_Book.Rows.Count; a++) for (int a = 0; a < List_Book.Rows.Count; a++)
{ {
if (List_Book.Rows[a].DefaultCellStyle.ForeColor == Color.Red) if (List_Book.Rows[a].DefaultCellStyle.ForeColor == Color.Red)
@@ -559,32 +714,8 @@ namespace ExcelTest
fb.Show(); fb.Show();
} }
private void comboBox8_SelectedIndexChanged(object sender, EventArgs e)
{
comboBox9.Items.Clear();
ComboBox cb = sender as ComboBox;
if (cb.SelectedIndex == 0)
{
comboBox9.Enabled = true;
string[] grade = { "전체", "A", "B", "C", "D" };
comboBox9.Items.AddRange(grade);
comboBox9.SelectedIndex = 0;
}
else
comboBox9.Enabled = false;
}
private void Radio_Sort_CheckedChanged(object sender, EventArgs e)
{
RadioButton rb = sender as RadioButton;
string text = rb.Text;
if (text == "정렬")
comboBox9.Enabled = false;
else
comboBox9.Enabled = true;
}
private void btn_mk_marcList_Click(object sender, EventArgs e) private void btn_mk_marcList_Click(object sender, EventArgs e)
@@ -726,7 +857,7 @@ namespace ExcelTest
return true; return true;
} }
private void btn_FilterReturn_Click(object sender, EventArgs e) private void btn_FilterReturn_Click(object sender, EventArgs e)
{ {
rb_Filter.Checked = false; rb_Filter.Checked = false;
@@ -813,5 +944,53 @@ namespace ExcelTest
newRow.Selected = true; newRow.Selected = true;
List_Book.FirstDisplayedScrollingRowIndex = nRow; List_Book.FirstDisplayedScrollingRowIndex = nRow;
} }
private void btClose_Click(object sender, EventArgs e)
{
this.Close();
}
private void Marc2_SizeChanged(object sender, EventArgs e)
{
// this.toolStripStatusLabel1.Text = $"{this.Size}";
}
private void rb_Sort_CheckedChanged(object sender, EventArgs e)
{
RadioButton rb = sender as RadioButton;
string text = rb.Text;
if (text == "정렬")
comboBox9.Enabled = false;
else
comboBox9.Enabled = true;
}
private void comboBox8_SelectedIndexChanged_1(object sender, EventArgs e)
{
comboBox9.Items.Clear();
ComboBox cb = sender as ComboBox;
if (cb.SelectedIndex == 0)
{
comboBox9.Enabled = true;
string[] grade = { "전체", "A", "B", "C", "D" };
comboBox9.Items.AddRange(grade);
comboBox9.SelectedIndex = 0;
}
else
comboBox9.Enabled = false;
}
private void marcEditorControl1_Load(object sender, EventArgs e)
{
}
private void button1_Click_1(object sender, EventArgs e)
{
//re load data
input_list();
}
} }
} }

View File

@@ -38,11 +38,10 @@
System.Windows.Forms.Label label25; System.Windows.Forms.Label label25;
System.Windows.Forms.Label label26; System.Windows.Forms.Label label26;
System.Windows.Forms.Label label27; System.Windows.Forms.Label label27;
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
this.marcEditorControl1 = new ExcelTest.MarcEditorControl();
this.List_Book = new System.Windows.Forms.DataGridView(); this.List_Book = new System.Windows.Forms.DataGridView();
this.list_idx = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.list_idx = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ISBN13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ISBN13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -71,8 +70,14 @@
this.checkBox3 = new System.Windows.Forms.CheckBox(); this.checkBox3 = new System.Windows.Forms.CheckBox();
this.tbCustName = new System.Windows.Forms.Button(); this.tbCustName = new System.Windows.Forms.Button();
this.lbCustIDX = new System.Windows.Forms.Label(); this.lbCustIDX = new System.Windows.Forms.Label();
this.lbl_BookList = new System.Windows.Forms.Label();
this.btCopy = new System.Windows.Forms.Button(); this.btCopy = new System.Windows.Forms.Button();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.lbl_BookList = new System.Windows.Forms.ToolStripStatusLabel();
this.btClose = new System.Windows.Forms.Button();
this.panel2 = new System.Windows.Forms.Panel();
this.marcEditorControl1 = new ExcelTest.MarcEditorControl();
this.panel3 = new System.Windows.Forms.Panel();
this.button1 = new System.Windows.Forms.Button();
label31 = new System.Windows.Forms.Label(); label31 = new System.Windows.Forms.Label();
label30 = new System.Windows.Forms.Label(); label30 = new System.Windows.Forms.Label();
label33 = new System.Windows.Forms.Label(); label33 = new System.Windows.Forms.Label();
@@ -85,28 +90,11 @@
label27 = new System.Windows.Forms.Label(); label27 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.List_Book)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.List_Book)).BeginInit();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.panel2.SuspendLayout();
this.panel3.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// marcEditorControl1
//
this.marcEditorControl1.BackColor = System.Drawing.Color.Gray;
this.marcEditorControl1.CurrentAuthor = null;
this.marcEditorControl1.CurrentBookName = null;
this.marcEditorControl1.CurrentDBMarc = null;
this.marcEditorControl1.CurrentGrade = null;
this.marcEditorControl1.CurrentISBN13 = null;
this.marcEditorControl1.CurrentListIdx = null;
this.marcEditorControl1.CurrentMarcIdx = null;
this.marcEditorControl1.CurrentPrice = null;
this.marcEditorControl1.CurrentPublisher = null;
this.marcEditorControl1.CurrentSaveDate = null;
this.marcEditorControl1.CurrentURL = null;
this.marcEditorControl1.CurrentUser = null;
this.marcEditorControl1.Location = new System.Drawing.Point(562, 7);
this.marcEditorControl1.Name = "marcEditorControl1";
this.marcEditorControl1.Size = new System.Drawing.Size(1230, 892);
this.marcEditorControl1.TabIndex = 0;
//
// label31 // label31
// //
label31.Location = new System.Drawing.Point(0, 0); label31.Location = new System.Drawing.Point(0, 0);
@@ -182,17 +170,20 @@
this.List_Book.AllowDrop = true; this.List_Book.AllowDrop = true;
this.List_Book.AllowUserToAddRows = false; this.List_Book.AllowUserToAddRows = false;
this.List_Book.AllowUserToDeleteRows = false; this.List_Book.AllowUserToDeleteRows = false;
this.List_Book.AllowUserToResizeColumns = false; this.List_Book.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
this.List_Book.BackgroundColor = System.Drawing.Color.Gray; | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.List_Book.BackgroundColor = System.Drawing.Color.SkyBlue;
this.List_Book.BorderStyle = System.Windows.Forms.BorderStyle.None; this.List_Book.BorderStyle = System.Windows.Forms.BorderStyle.None;
dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle29.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle29.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle29.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle29.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle29.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle29.WrapMode = System.Windows.Forms.DataGridViewTriState.True; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.List_Book.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle29; this.List_Book.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.List_Book.ColumnHeadersHeight = 29;
this.List_Book.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.List_Book.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.list_idx, this.list_idx,
this.ISBN13, this.ISBN13,
@@ -210,21 +201,22 @@
this.user, this.user,
this.SaveDate}); this.SaveDate});
this.List_Book.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; this.List_Book.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
this.List_Book.Location = new System.Drawing.Point(12, 74); this.List_Book.Location = new System.Drawing.Point(5, 73);
this.List_Book.MultiSelect = false; this.List_Book.MultiSelect = false;
this.List_Book.Name = "List_Book"; this.List_Book.Name = "List_Book";
this.List_Book.ReadOnly = true; this.List_Book.ReadOnly = true;
dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle32.BackColor = System.Drawing.SystemColors.ControlDark; dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.ControlDark;
dataGridViewCellStyle32.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); dataGridViewCellStyle4.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
dataGridViewCellStyle32.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle32.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle32.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle32.WrapMode = System.Windows.Forms.DataGridViewTriState.True; dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.List_Book.RowHeadersDefaultCellStyle = dataGridViewCellStyle32; this.List_Book.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.List_Book.RowHeadersWidth = 51;
this.List_Book.RowTemplate.Height = 23; this.List_Book.RowTemplate.Height = 23;
this.List_Book.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.List_Book.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.List_Book.Size = new System.Drawing.Size(543, 822); this.List_Book.Size = new System.Drawing.Size(543, 556);
this.List_Book.TabIndex = 217; this.List_Book.TabIndex = 217;
this.List_Book.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.List_Book_RowPostPaint); this.List_Book.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.List_Book_RowPostPaint);
this.List_Book.SelectionChanged += new System.EventHandler(this.List_Book_SelectionChanged); this.List_Book.SelectionChanged += new System.EventHandler(this.List_Book_SelectionChanged);
@@ -237,6 +229,7 @@
// list_idx // list_idx
// //
this.list_idx.HeaderText = "list_idx"; this.list_idx.HeaderText = "list_idx";
this.list_idx.MinimumWidth = 6;
this.list_idx.Name = "list_idx"; this.list_idx.Name = "list_idx";
this.list_idx.ReadOnly = true; this.list_idx.ReadOnly = true;
this.list_idx.Visible = false; this.list_idx.Visible = false;
@@ -246,13 +239,16 @@
// //
this.ISBN13.FillWeight = 136.2398F; this.ISBN13.FillWeight = 136.2398F;
this.ISBN13.HeaderText = "ISBN13"; this.ISBN13.HeaderText = "ISBN13";
this.ISBN13.MinimumWidth = 6;
this.ISBN13.Name = "ISBN13"; this.ISBN13.Name = "ISBN13";
this.ISBN13.ReadOnly = true; this.ISBN13.ReadOnly = true;
this.ISBN13.Visible = false; this.ISBN13.Visible = false;
this.ISBN13.Width = 125;
// //
// num // num
// //
this.num.HeaderText = "연번"; this.num.HeaderText = "연번";
this.num.MinimumWidth = 6;
this.num.Name = "num"; this.num.Name = "num";
this.num.ReadOnly = true; this.num.ReadOnly = true;
this.num.Width = 50; this.num.Width = 50;
@@ -261,6 +257,7 @@
// //
this.book_name.FillWeight = 135.5107F; this.book_name.FillWeight = 135.5107F;
this.book_name.HeaderText = "도서명"; this.book_name.HeaderText = "도서명";
this.book_name.MinimumWidth = 6;
this.book_name.Name = "book_name"; this.book_name.Name = "book_name";
this.book_name.ReadOnly = true; this.book_name.ReadOnly = true;
this.book_name.Width = 150; this.book_name.Width = 150;
@@ -269,6 +266,7 @@
// //
this.author.FillWeight = 67.49011F; this.author.FillWeight = 67.49011F;
this.author.HeaderText = "저자"; this.author.HeaderText = "저자";
this.author.MinimumWidth = 6;
this.author.Name = "author"; this.author.Name = "author";
this.author.ReadOnly = true; this.author.ReadOnly = true;
this.author.Width = 80; this.author.Width = 80;
@@ -277,6 +275,7 @@
// //
this.book_comp.FillWeight = 76.49199F; this.book_comp.FillWeight = 76.49199F;
this.book_comp.HeaderText = "출판사"; this.book_comp.HeaderText = "출판사";
this.book_comp.MinimumWidth = 6;
this.book_comp.Name = "book_comp"; this.book_comp.Name = "book_comp";
this.book_comp.ReadOnly = true; this.book_comp.ReadOnly = true;
this.book_comp.Width = 80; this.book_comp.Width = 80;
@@ -284,6 +283,7 @@
// count // count
// //
this.count.HeaderText = "C"; this.count.HeaderText = "C";
this.count.MinimumWidth = 6;
this.count.Name = "count"; this.count.Name = "count";
this.count.ReadOnly = true; this.count.ReadOnly = true;
this.count.Width = 30; this.count.Width = 30;
@@ -292,6 +292,7 @@
// //
this.pay.FillWeight = 84.26746F; this.pay.FillWeight = 84.26746F;
this.pay.HeaderText = "정가"; this.pay.HeaderText = "정가";
this.pay.MinimumWidth = 6;
this.pay.Name = "pay"; this.pay.Name = "pay";
this.pay.ReadOnly = true; this.pay.ReadOnly = true;
this.pay.Width = 62; this.pay.Width = 62;
@@ -299,13 +300,16 @@
// url // url
// //
this.url.HeaderText = "url"; this.url.HeaderText = "url";
this.url.MinimumWidth = 6;
this.url.Name = "url"; this.url.Name = "url";
this.url.ReadOnly = true; this.url.ReadOnly = true;
this.url.Visible = false; this.url.Visible = false;
this.url.Width = 125;
// //
// marc_idx // marc_idx
// //
this.marc_idx.HeaderText = "marc_idx"; this.marc_idx.HeaderText = "marc_idx";
this.marc_idx.MinimumWidth = 6;
this.marc_idx.Name = "marc_idx"; this.marc_idx.Name = "marc_idx";
this.marc_idx.ReadOnly = true; this.marc_idx.ReadOnly = true;
this.marc_idx.Visible = false; this.marc_idx.Visible = false;
@@ -314,16 +318,19 @@
// db_marc // db_marc
// //
this.db_marc.HeaderText = "marc"; this.db_marc.HeaderText = "marc";
this.db_marc.MinimumWidth = 6;
this.db_marc.Name = "db_marc"; this.db_marc.Name = "db_marc";
this.db_marc.ReadOnly = true; this.db_marc.ReadOnly = true;
this.db_marc.Visible = false; this.db_marc.Visible = false;
this.db_marc.Width = 125;
// //
// grade // grade
// //
dataGridViewCellStyle30.Format = "N0"; dataGridViewCellStyle2.Format = "N0";
dataGridViewCellStyle30.NullValue = null; dataGridViewCellStyle2.NullValue = null;
this.grade.DefaultCellStyle = dataGridViewCellStyle30; this.grade.DefaultCellStyle = dataGridViewCellStyle2;
this.grade.HeaderText = "등급"; this.grade.HeaderText = "등급";
this.grade.MinimumWidth = 6;
this.grade.Name = "grade"; this.grade.Name = "grade";
this.grade.ReadOnly = true; this.grade.ReadOnly = true;
this.grade.Visible = false; this.grade.Visible = false;
@@ -331,9 +338,10 @@
// //
// colCheck // colCheck
// //
dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.colCheck.DefaultCellStyle = dataGridViewCellStyle31; this.colCheck.DefaultCellStyle = dataGridViewCellStyle3;
this.colCheck.HeaderText = "V"; this.colCheck.HeaderText = "V";
this.colCheck.MinimumWidth = 6;
this.colCheck.Name = "colCheck"; this.colCheck.Name = "colCheck";
this.colCheck.ReadOnly = true; this.colCheck.ReadOnly = true;
this.colCheck.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.colCheck.Resizable = System.Windows.Forms.DataGridViewTriState.True;
@@ -342,16 +350,20 @@
// user // user
// //
this.user.HeaderText = "작업자"; this.user.HeaderText = "작업자";
this.user.MinimumWidth = 6;
this.user.Name = "user"; this.user.Name = "user";
this.user.ReadOnly = true; this.user.ReadOnly = true;
this.user.Visible = false; this.user.Visible = false;
this.user.Width = 125;
// //
// SaveDate // SaveDate
// //
this.SaveDate.HeaderText = "저장시각"; this.SaveDate.HeaderText = "저장시각";
this.SaveDate.MinimumWidth = 6;
this.SaveDate.Name = "SaveDate"; this.SaveDate.Name = "SaveDate";
this.SaveDate.ReadOnly = true; this.SaveDate.ReadOnly = true;
this.SaveDate.Visible = false; this.SaveDate.Visible = false;
this.SaveDate.Width = 125;
// //
// rb_Sort // rb_Sort
// //
@@ -360,6 +372,7 @@
this.rb_Sort.Size = new System.Drawing.Size(48, 24); this.rb_Sort.Size = new System.Drawing.Size(48, 24);
this.rb_Sort.TabIndex = 320; this.rb_Sort.TabIndex = 320;
this.rb_Sort.Text = "정렬"; this.rb_Sort.Text = "정렬";
this.rb_Sort.CheckedChanged += new System.EventHandler(this.rb_Sort_CheckedChanged);
// //
// rb_Filter // rb_Filter
// //
@@ -368,16 +381,20 @@
this.rb_Filter.Size = new System.Drawing.Size(48, 24); this.rb_Filter.Size = new System.Drawing.Size(48, 24);
this.rb_Filter.TabIndex = 322; this.rb_Filter.TabIndex = 322;
this.rb_Filter.Text = "필터"; this.rb_Filter.Text = "필터";
this.rb_Filter.CheckedChanged += new System.EventHandler(this.rb_Sort_CheckedChanged);
// //
// comboBox8 // comboBox8
// //
this.comboBox8.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox8.Location = new System.Drawing.Point(176, 6); this.comboBox8.Location = new System.Drawing.Point(176, 6);
this.comboBox8.Name = "comboBox8"; this.comboBox8.Name = "comboBox8";
this.comboBox8.Size = new System.Drawing.Size(107, 20); this.comboBox8.Size = new System.Drawing.Size(107, 20);
this.comboBox8.TabIndex = 323; this.comboBox8.TabIndex = 323;
this.comboBox8.SelectedIndexChanged += new System.EventHandler(this.comboBox8_SelectedIndexChanged_1);
// //
// comboBox9 // comboBox9
// //
this.comboBox9.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox9.Location = new System.Drawing.Point(286, 6); this.comboBox9.Location = new System.Drawing.Point(286, 6);
this.comboBox9.Name = "comboBox9"; this.comboBox9.Name = "comboBox9";
this.comboBox9.Size = new System.Drawing.Size(52, 20); this.comboBox9.Size = new System.Drawing.Size(52, 20);
@@ -395,16 +412,16 @@
this.panel1.Controls.Add(this.comboBox9); this.panel1.Controls.Add(this.comboBox9);
this.panel1.Controls.Add(this.rb_Filter); this.panel1.Controls.Add(this.rb_Filter);
this.panel1.Controls.Add(this.comboBox8); this.panel1.Controls.Add(this.comboBox8);
this.panel1.Location = new System.Drawing.Point(12, 36); this.panel1.Location = new System.Drawing.Point(5, 34);
this.panel1.Name = "panel1"; this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(524, 35); this.panel1.Size = new System.Drawing.Size(544, 35);
this.panel1.TabIndex = 226; this.panel1.TabIndex = 226;
// //
// btn_mk_marcList // btn_mk_marcList
// //
this.btn_mk_marcList.Location = new System.Drawing.Point(433, 5); this.btn_mk_marcList.Location = new System.Drawing.Point(433, 5);
this.btn_mk_marcList.Name = "btn_mk_marcList"; this.btn_mk_marcList.Name = "btn_mk_marcList";
this.btn_mk_marcList.Size = new System.Drawing.Size(85, 23); this.btn_mk_marcList.Size = new System.Drawing.Size(106, 23);
this.btn_mk_marcList.TabIndex = 227; this.btn_mk_marcList.TabIndex = 227;
this.btn_mk_marcList.Text = "마크목록생성"; this.btn_mk_marcList.Text = "마크목록생성";
this.btn_mk_marcList.UseVisualStyleBackColor = true; this.btn_mk_marcList.UseVisualStyleBackColor = true;
@@ -448,7 +465,7 @@
this.checkBox3.BackColor = System.Drawing.Color.White; this.checkBox3.BackColor = System.Drawing.Color.White;
this.checkBox3.Checked = true; this.checkBox3.Checked = true;
this.checkBox3.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox3.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBox3.Location = new System.Drawing.Point(514, 79); this.checkBox3.Location = new System.Drawing.Point(507, 78);
this.checkBox3.Name = "checkBox3"; this.checkBox3.Name = "checkBox3";
this.checkBox3.Size = new System.Drawing.Size(15, 14); this.checkBox3.Size = new System.Drawing.Size(15, 14);
this.checkBox3.TabIndex = 227; this.checkBox3.TabIndex = 227;
@@ -459,9 +476,9 @@
// //
this.tbCustName.BackColor = System.Drawing.Color.LightGray; this.tbCustName.BackColor = System.Drawing.Color.LightGray;
this.tbCustName.Font = new System.Drawing.Font("굴림체", 14.25F, System.Drawing.FontStyle.Bold); this.tbCustName.Font = new System.Drawing.Font("굴림체", 14.25F, System.Drawing.FontStyle.Bold);
this.tbCustName.Location = new System.Drawing.Point(309, 7); this.tbCustName.Location = new System.Drawing.Point(115, 6);
this.tbCustName.Name = "tbCustName"; this.tbCustName.Name = "tbCustName";
this.tbCustName.Size = new System.Drawing.Size(161, 26); this.tbCustName.Size = new System.Drawing.Size(275, 26);
this.tbCustName.TabIndex = 33; this.tbCustName.TabIndex = 33;
this.tbCustName.Text = " "; this.tbCustName.Text = " ";
this.tbCustName.UseVisualStyleBackColor = false; this.tbCustName.UseVisualStyleBackColor = false;
@@ -472,25 +489,13 @@
this.lbCustIDX.BackColor = System.Drawing.Color.LightGray; this.lbCustIDX.BackColor = System.Drawing.Color.LightGray;
this.lbCustIDX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lbCustIDX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lbCustIDX.Font = new System.Drawing.Font("굴림체", 14.25F, System.Drawing.FontStyle.Bold); this.lbCustIDX.Font = new System.Drawing.Font("굴림체", 14.25F, System.Drawing.FontStyle.Bold);
this.lbCustIDX.Location = new System.Drawing.Point(476, 7); this.lbCustIDX.Location = new System.Drawing.Point(396, 6);
this.lbCustIDX.Name = "lbCustIDX"; this.lbCustIDX.Name = "lbCustIDX";
this.lbCustIDX.Size = new System.Drawing.Size(60, 26); this.lbCustIDX.Size = new System.Drawing.Size(60, 26);
this.lbCustIDX.TabIndex = 319; this.lbCustIDX.TabIndex = 319;
this.lbCustIDX.Text = " "; this.lbCustIDX.Text = " ";
this.lbCustIDX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lbCustIDX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
// //
// lbl_BookList
//
this.lbl_BookList.BackColor = System.Drawing.Color.LightGray;
this.lbl_BookList.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lbl_BookList.Font = new System.Drawing.Font("굴림체", 14.25F, System.Drawing.FontStyle.Bold);
this.lbl_BookList.Location = new System.Drawing.Point(12, 7);
this.lbl_BookList.Name = "lbl_BookList";
this.lbl_BookList.Size = new System.Drawing.Size(293, 26);
this.lbl_BookList.TabIndex = 320;
this.lbl_BookList.Text = " ";
this.lbl_BookList.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// btCopy // btCopy
// //
this.btCopy.ForeColor = System.Drawing.Color.Red; this.btCopy.ForeColor = System.Drawing.Color.Red;
@@ -502,27 +507,107 @@
this.btCopy.UseVisualStyleBackColor = true; this.btCopy.UseVisualStyleBackColor = true;
this.btCopy.Click += new System.EventHandler(this.button1_Click); this.btCopy.Click += new System.EventHandler(this.button1_Click);
// //
// statusStrip1
//
this.statusStrip1.BackColor = System.Drawing.SystemColors.Control;
this.statusStrip1.Font = new System.Drawing.Font("굴림체", 14.25F, System.Drawing.FontStyle.Bold);
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.lbl_BookList});
this.statusStrip1.Location = new System.Drawing.Point(0, 634);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 12, 0);
this.statusStrip1.Size = new System.Drawing.Size(1638, 24);
this.statusStrip1.TabIndex = 322;
this.statusStrip1.Text = "statusStrip1";
//
// lbl_BookList
//
this.lbl_BookList.Name = "lbl_BookList";
this.lbl_BookList.Size = new System.Drawing.Size(119, 19);
this.lbl_BookList.Text = "{booklist}";
//
// btClose
//
this.btClose.Location = new System.Drawing.Point(460, 6);
this.btClose.Name = "btClose";
this.btClose.Size = new System.Drawing.Size(88, 26);
this.btClose.TabIndex = 324;
this.btClose.Text = "닫 기";
this.btClose.UseVisualStyleBackColor = true;
this.btClose.Click += new System.EventHandler(this.btClose_Click);
//
// panel2
//
this.panel2.Controls.Add(this.marcEditorControl1);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(555, 0);
this.panel2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(1083, 634);
this.panel2.TabIndex = 325;
//
// marcEditorControl1
//
this.marcEditorControl1.BackColor = System.Drawing.Color.Gray;
this.marcEditorControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.marcEditorControl1.Font = new System.Drawing.Font("돋움", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.marcEditorControl1.Location = new System.Drawing.Point(0, 0);
this.marcEditorControl1.Name = "marcEditorControl1";
this.marcEditorControl1.Size = new System.Drawing.Size(1083, 634);
this.marcEditorControl1.TabIndex = 0;
this.marcEditorControl1.Load += new System.EventHandler(this.marcEditorControl1_Load);
//
// panel3
//
this.panel3.BackColor = System.Drawing.Color.White;
this.panel3.Controls.Add(this.button1);
this.panel3.Controls.Add(this.checkBox3);
this.panel3.Controls.Add(this.tbCustName);
this.panel3.Controls.Add(this.panel1);
this.panel3.Controls.Add(this.btClose);
this.panel3.Controls.Add(this.List_Book);
this.panel3.Controls.Add(this.lbCustIDX);
this.panel3.Dock = System.Windows.Forms.DockStyle.Left;
this.panel3.Location = new System.Drawing.Point(0, 0);
this.panel3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(555, 634);
this.panel3.TabIndex = 325;
//
// button1
//
this.button1.Location = new System.Drawing.Point(9, 7);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(100, 23);
this.button1.TabIndex = 324;
this.button1.Text = "다시불러오기";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click_1);
//
// Marc2 // Marc2
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.SkyBlue; this.BackColor = System.Drawing.Color.SkyBlue;
this.ClientSize = new System.Drawing.Size(1808, 908); this.ClientSize = new System.Drawing.Size(1638, 658);
this.Controls.Add(this.marcEditorControl1); this.Controls.Add(this.panel2);
this.Controls.Add(this.panel3);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.btCopy); this.Controls.Add(this.btCopy);
this.Controls.Add(this.lbl_BookList);
this.Controls.Add(this.lbCustIDX);
this.Controls.Add(this.checkBox3);
this.Controls.Add(this.List_Book);
this.Controls.Add(this.tbCustName);
this.Controls.Add(this.panel1);
this.KeyPreview = true; this.KeyPreview = true;
this.Name = "Marc2"; this.Name = "Marc2";
this.Text = "마크 작성(1)"; this.Text = "마크 작성(1)";
this.Load += new System.EventHandler(this.Marc_Load); this.Load += new System.EventHandler(this.Marc_Load);
this.SizeChanged += new System.EventHandler(this.Marc2_SizeChanged);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Marc_KeyDown); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Marc_KeyDown);
((System.ComponentModel.ISupportInitialize)(this.List_Book)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.List_Book)).EndInit();
this.panel1.ResumeLayout(false); this.panel1.ResumeLayout(false);
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.panel2.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
@@ -561,8 +646,13 @@
private System.Windows.Forms.Button btn_CopySelect; private System.Windows.Forms.Button btn_CopySelect;
public System.Windows.Forms.Button tbCustName; public System.Windows.Forms.Button tbCustName;
public System.Windows.Forms.Label lbCustIDX; public System.Windows.Forms.Label lbCustIDX;
public System.Windows.Forms.Label lbl_BookList;
private System.Windows.Forms.Button btCopy; private System.Windows.Forms.Button btCopy;
private ExcelTest.MarcEditorControl marcEditorControl1; private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripStatusLabel lbl_BookList;
private System.Windows.Forms.Button btClose;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Button button1;
public MarcEditorControl marcEditorControl1;
} }
} }

View File

@@ -192,4 +192,7 @@
<metadata name="SaveDate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="SaveDate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root> </root>

File diff suppressed because it is too large Load Diff

View File

@@ -1,10 +1,14 @@
//using Microsoft.Office.Interop.Excel; //using Microsoft.Office.Interop.Excel;
using AR; using AR;
using Microsoft.VisualBasic.ApplicationServices;
using Org.BouncyCastle.Pkcs;
using Org.BouncyCastle.Tls.Crypto;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Drawing; using System.Drawing;
using System.Linq; using System.Linq;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.Web.UI.WebControls.WebParts;
using System.Windows.Forms; using System.Windows.Forms;
using UniMarc; using UniMarc;
using UniMarc.ListOfValue; using UniMarc.ListOfValue;
@@ -18,9 +22,8 @@ namespace ExcelTest
/// <summary> /// <summary>
/// isbn / 도서명 / 저자 / 출판사 / 가격 /// isbn / 도서명 / 저자 / 출판사 / 가격
/// </summary> /// </summary>
string[] data_book = { "", "", "", "", "" }; //string[] data_book = { "", "", "", "", "" };
int SaveRowIdx = -1; // Keep for now but might be unused if we rely on properties int SaveRowIdx = -1; // Keep for now but might be unused if we rely on properties
public string mUserName;
string mCompidx = UniMarc.Properties.Settings.Default.compidx; string mCompidx = UniMarc.Properties.Settings.Default.compidx;
string mListIdx = ""; string mListIdx = "";
public string find; public string find;
@@ -30,40 +33,34 @@ namespace ExcelTest
private bool mLoadCompleted = false; private bool mLoadCompleted = false;
string tbName = ""; string tbName = "";
public int checkCout = 0; public int checkCout = 0;
// public bool gridViewChk = false; // Removed
public Helper_DB db;// = new Helper_DB(); public Helper_DB db;// = new Helper_DB();
Help008Tag tag008 = new Help008Tag(); Help008Tag tag008 = new Help008Tag();
Skill_Search_Text search_Text = new Skill_Search_Text(); Skill_Search_Text search_Text = new Skill_Search_Text();
String_Text st = new String_Text(); String_Text st = new String_Text();
// Mac_List ml; // Removed 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;
// Properties to replace List_Book row access
public string CurrentISBN13 { get; set; }
public string CurrentBookName { get; set; }
public string CurrentAuthor { get; set; }
public string CurrentPublisher { get; set; }
public string CurrentPrice { get; set; } // pay
public string CurrentURL { get; set; } // image_url?
public string CurrentMarcIdx { get; set; }
public string CurrentDBMarc { get; set; } // db_marc
public string CurrentGrade { get; set; }
public string CurrentUser { get; set; }
public string CurrentSaveDate { get; set; }
public string CurrentListIdx { get; set; }
public MarcEditorControl() public MarcEditorControl()
{ {
InitializeComponent(); InitializeComponent();
mUserName = string.Empty;
} }
public void SetUser(string userName)
{
mUserName = userName;
}
string l_idx = string.Empty;
string c_idx = string.Empty;
private void Marc_Load(object sender, EventArgs e) private void Marc_Load(object sender, EventArgs e)
{ {
#region ComboBox Item Setting #region ComboBox Item Setting
@@ -101,202 +98,72 @@ namespace ExcelTest
#endregion #endregion
} }
//public void input_list(string l_idx, string value)
//{
// db.DBcon();
// lbl_BookList.Text = value;
// string Area =
// // 0 1 2 3
// "olb.idx, olb.isbn_marc, olb.header, olb.num, " +
// // 4 5 6 7 8 9
// "olb.book_name, olb.author, olb.book_comp, olb.`count`, olb.price, olb.image_url, " +
// // 10 11 12 13 14 15 16
// "mac.idx, mac.marc, mac.marc_chk, mac.marc1, mac.marc_chk1, mac.marc2, mac.marc_chk2, " +
// // 17 18 19 20
// "mac.grade, mac.compidx, mac.`user`, mac.date";
// string CMD = string.Format("" +
// "SELECT {0} " +
// "FROM Obj_List_Book AS olb " +
// "LEFT JOIN Marc AS mac " +
// // "ON if (olb.m_idx = 0, mac.ISBN = olb.isbn_marc, mac.idx = olb.m_idx) " +
// "ON mac.ISBN = olb.isbn_marc " +
// "WHERE olb.l_idx = {1} " +
// "GROUP BY olb.book_name " +
// "ORDER BY olb.idx ASC;", Area, l_idx);
// string db_res = db.DB_Send_CMD_Search(CMD);
// string[] db_data = db_res.Split('|');
// string[] grid = {
// "", "", "", "", "",
// "", "", "", "", "",
// "", "", "V", "", "" };
// string[] MarcData = { "", "", "", "", "", "" };
// for (int a = 0; a < db_data.Length; a++)
// {
// if (a % 21 == 00) grid[0] = db_data[a];
// if (a % 21 == 01) grid[1] = db_data[a];
// if (a % 21 == 02) grid[2] = db_data[a];
// if (a % 21 == 03) grid[2] += db_data[a];
// if (a % 21 == 04) grid[3] = db_data[a];
// if (a % 21 == 05) grid[4] = db_data[a];
// if (a % 21 == 06) grid[5] = db_data[a];
// if (a % 21 == 07) grid[6] = db_data[a];
// if (a % 21 == 08) grid[7] = db_data[a];
// if (a % 21 == 09) grid[8] = db_data[a];
// if (a % 21 == 10) grid[9] = db_data[a];
// if (a % 21 == 11) MarcData[0] = db_data[a];
// if (a % 21 == 12) MarcData[1] = db_data[a];
// if (a % 21 == 13) MarcData[2] = db_data[a];
// if (a % 21 == 14) MarcData[3] = db_data[a];
// if (a % 21 == 15) MarcData[4] = db_data[a];
// if (a % 21 == 16) MarcData[5] = db_data[a];
// if (a % 21 == 17)
// {
// grid[10] = RealMarc(MarcData);
// if (grid[10] == "") grid[11] = "3";
// else grid[11] = db_data[a];
// }
// if (a % 21 == 18) {
// if (db_data[a] == "") grid[13] = "";
// else if (mCompidx != db_data[a]) {
// string FindCompCmd = string.Format("SELECT `comp_name` FROM `Comp` WHERE `idx` = {0}", db_data[a]);
// grid[13] = db.DB_Send_CMD_Search(FindCompCmd).Replace("|", "");
// }
// }
// if (a % 21 == 19) {
// if (grid[13] == "")
// grid[13] = db_data[a];
// }
// if (a % 21 == 20)
// {
// grid[14] = db_data[a];
// List_Book.Rows.Add(grid);
// }
// }
// for (int a = 0; a < List_Book.Rows.Count; a++)
// {
// string Grade = List_Book.Rows[a].Cells["grade"].Value.ToString();
// string SaveDate = List_Book.Rows[a].Cells["SaveDate"].Value.ToString();
// List_Book.Rows[a].DefaultCellStyle.ForeColor = SetGradeColor(Grade);
// SaveDateCheck(SaveDate, a);
// }
//}
private string RealMarc(string[] MarcData)
{
string result = "";
if (MarcData[1] == "1")
result = MarcData[0];
if (MarcData[3] == "1")
result = MarcData[2];
if (MarcData[5] == "1")
result = MarcData[4];
return result;
}
public void LoadBookData(string isbn13, string bookName, string author, string publisher, string price, string url, string marcIdx, string dbMarc, string grade, string user, string saveDate, string listIdx)
{
CurrentISBN13 = isbn13;
CurrentBookName = bookName;
CurrentAuthor = author;
CurrentPublisher = publisher;
CurrentPrice = price;
CurrentURL = url;
CurrentMarcIdx = marcIdx;
CurrentDBMarc = dbMarc;
CurrentGrade = grade;
CurrentUser = user;
CurrentSaveDate = saveDate;
CurrentListIdx = listIdx;
lbl_ISBN.Text = $"[{CurrentISBN13}]";
// Update data_book for Create_008 or Empty logic
data_book[0] = CurrentISBN13;
data_book[1] = CurrentBookName;
data_book[2] = CurrentAuthor;
data_book[3] = CurrentPublisher;
data_book[4] = CurrentPrice;
LoadMarc(CurrentDBMarc);
input_picture();
// Set 008 text if present
// LoadMarc does this via text008.Text assignment
Create_008();
// Check Ownership
if (string.IsNullOrEmpty(CurrentMarcIdx) || CurrentMarcIdx == "0")
IsMyData = true; // New record is mine
else
IsMyData = CheckOwner(CurrentMarcIdx);
ReadRemark();
}
private bool CheckOwner(string marcIdx)
{
string query = $"SELECT `compidx` FROM `Marc` WHERE `idx` = '{marcIdx}'";
string res = db.DB_Send_CMD_Search(query).Replace("|", "");
return res == mCompidx;
}
/// <summary> /// <summary>
/// 마크 유무 확인하는 함수 /// 입력된 자료를 표시합니다.
/// </summary> /// </summary>
/// <param name="isbn13"></param>
/// <param name="url"></param>
private string NewestMarc(string[] marc, string[] marc_chk) /// <param name="marcIdx"></param>
/// <param name="dbMarc"></param>
/// <param name="grade"></param>
/// <param name="user"></param>
/// <param name="saveDate"></param>
/// <param name="listIdx"></param>
public void LoadBookData(string dbMarc,MacEditorParameter _param)
{ {
string result = ""; mLoadCompleted = false;
int count = 0; Param = _param;
foreach (string chk in marc_chk)
lbl_SaveData.Text = $"[{Param.User}] [{Param.SaveDate}]";
lbl_ISBN.Text = $"[{Param.ISBN13}]";
LoadMarc(dbMarc); //여기에서도 008을 설정한다
try
{ {
if (chk == "1") //픽쳐박스이미지 업데이트
result = marc[count]; string isbn = _param.ISBN13;
string isbn3 = isbn.Substring(isbn.Length - 3, 3);
count++; string tFilePath = string.Format("https://contents.kyobobook.co.kr/sih/fit-in/458x0/pdt/{0}.jpg", isbn);
pictureBox1.ImageLocation = tFilePath;
} }
return result; catch
}
private Color SetGradeColor(string Grade, bool isMyData = true)
{
if (!isMyData)
return Color.Orange;
switch (Grade)
{ {
case "0": // A pictureBox1.Image = null;
return Color.Blue; pictureBox1.ImageLocation = null;
}
case "1": // B finally
return Color.Black; {
pictureBox1.Tag = _param.URL;
case "2": // C
return Color.Gray;
case "3": // D
return Color.Red;
default:
return Color.Black;
} }
}
richTextBox1.Text = "";
bool check_Marc = click_Marc(dbMarc); //여기안에서 또 008을 설정한다
if (!check_Marc)
richTextBox1.Text = Make_Empty();
else
{
etc1.Text = Param.Remark1;
etc2.Text = Param.Remark2;
//ReadRemark();
}
Create_008();
st.Color_change("▼", richTextBox1);
st.Color_change("▲", richTextBox1);
//자료의 등급 다시 선택
if (int.TryParse(this.Param.Grade, out int gradeNo) == false)
gradeNo = 2;
cb_grade.SelectedIndex = gradeNo;
mLoadCompleted = true;
}
private void richTextBox1_KeyDown(object sender, KeyEventArgs e) private void richTextBox1_KeyDown(object sender, KeyEventArgs e)
{ {
@@ -335,6 +202,10 @@ namespace ExcelTest
richTextBox1.SelectedText = "▼"; richTextBox1.SelectedText = "▼";
else if (e.KeyCode == Keys.F4) else if (e.KeyCode == Keys.F4)
richTextBox1.SelectedText = "▲"; richTextBox1.SelectedText = "▲";
else if (e.KeyCode == Keys.F8) //next
btNext.PerformClick();
else if (e.KeyCode == Keys.F7) //prev
btPrev.PerformClick();
} }
/// <summary> /// <summary>
@@ -399,45 +270,38 @@ namespace ExcelTest
private void Btn_preview_Click(object sender, EventArgs e) private void Btn_preview_Click(object sender, EventArgs e)
{ {
Marc_Preview mp = new Marc_Preview(); Marc_Preview mp = new Marc_Preview();
mp.isbn = data_book[0]; mp.isbn = Param.ISBN13;
mp.richTextBox1.Text = richTextBox1.Text; mp.richTextBox1.Text = richTextBox1.Text;
mp.Show(); mp.Show();
} }
public class BookSavedEventArgs : EventArgs public class BookSavedEventArgs : EventArgs
{ {
public string ListIdx { get; set; }
public string Grade { get; set; }
public string SaveDate { get; set; } public string SaveDate { get; set; }
public string User { get; set; }
public string DBMarc { get; set; } public string DBMarc { get; set; }
public string MarcIdx { get; set; } public string tag056 { get; set; }
public string text008 { get; set; }
public MacEditorParameter griddata { get; set; }
} }
public event EventHandler<BookSavedEventArgs> BookSaved; public event EventHandler<BookSavedEventArgs> BookSaved;
public bool IsMyData = false;
private void Btn_Save_Click(object sender, EventArgs e) private void Btn_Save_Click(object sender, EventArgs e)
{ {
if (string.IsNullOrEmpty(CurrentISBN13)) if (string.IsNullOrEmpty(Param.ISBN13))
{ {
MessageBox.Show("마크가 선택되지않았습니다."); MessageBox.Show("마크가 선택되지않았습니다.");
return; return;
} }
int TabIndex = tabControl1.SelectedIndex; int TabIndex = tabControl1.SelectedIndex;
int grade = cb_grade.SelectedIndex;
if (TabIndex == 1) if (TabIndex == 1)
{ {
MessageBox.Show("[칸채우기]가 아닌 [마크 편집] 탭에서 저장해주세요!"); MessageBox.Show("[칸채우기]가 아닌 [마크 편집] 탭에서 저장해주세요!");
return; return;
} }
if (grade == 3)
{
MessageBox.Show("등급을 설정해주세요. (C 이상)");
return;
}
string table_name = "Marc";
string BaseText = richTextBox1.Text; string BaseText = richTextBox1.Text;
string lblisbn = CurrentISBN13; // lbl_ISBN.Text.Replace("[", "").Replace("]", ""); string lblisbn = Param.ISBN13; // lbl_ISBN.Text.Replace("[", "").Replace("]", "");
if (!BaseText.EndsWith("\n")) if (!BaseText.EndsWith("\n"))
BaseText += "\n"; BaseText += "\n";
@@ -448,22 +312,16 @@ namespace ExcelTest
return; return;
} }
//ISBN이 변경되었다면 저장하지 못하게 한다 (경고 후 저장 가능하게 한다 26010?)
if (BaseText.IndexOf(lblisbn) < 0) if (BaseText.IndexOf(lblisbn) < 0)
{ {
MessageBox.Show("ISBN 상태를 확인해주세요."); UTIL.MsgE("저장된 ISBN이 마크데이터에 없습니다.\nISBN값이 변경되었습니다");
return; return;
} }
string tag056 = Tag056(); string tag056 = Tag056();
string[] grid_data = {
CurrentISBN13,
CurrentBookName,
CurrentAuthor,
CurrentPublisher,
CurrentPrice,
CurrentURL };
string date = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); string date = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
string orimarc = st.made_Ori_marc(richTextBox1).Replace(@"\", "₩"); string orimarc = st.made_Ori_marc(richTextBox1).Replace(@"\", "₩");
string Midx = CurrentMarcIdx;
// 필수태그 확인 // 필수태그 확인
if (!isMustTag(orimarc)) if (!isMustTag(orimarc))
{ {
@@ -471,120 +329,23 @@ namespace ExcelTest
return; return;
} }
string SaveDate = CurrentSaveDate; this.Param.Grade = cb_grade.SelectedIndex.ToString();
string SaveUser = CurrentUser; this.Param.Remark1 = etc1.Text;
bool IsCoverDate = false; this.Param.Remark2 = etc2.Text;
if (SaveDate != "")
{
// 마지막 수정일로부터 2일이 지났는지, 마지막 저장자가 사용자인지 확인
TimeSpan sp = spspsp(SaveDate, date);
IsCoverDate = IsCoverData(sp.Days, SaveUser);
}
// true일 경우 INSERT, false일 경우 UPDATE
bool isNewData = true;
if (Midx != "")
isNewData = false;
// If not my data, or no data (implied by Midx check but explicit check helps), force Insert (Copy)
if (!IsMyData)
{
string[] Insert_tbl = {
"ISBN", "서명", "저자", "출판사",
"가격", "marc", "비고1", "비고2", "url",
"grade", "marc_chk", "user", "division", "008tag",
"date", "compidx" };
string[] Insert_col = {
grid_data[0], grid_data[1], grid_data[2], grid_data[3],
grid_data[4], orimarc, etc1.Text, etc2.Text, grid_data[5],
grade.ToString(), "1", mUserName, tag056, text008.Text,
date, mCompidx };
string Incmd = db.DB_INSERT(table_name, Insert_tbl, Insert_col);
PUB.log.Add("INSERT", string.Format("{0}({1}) : {2}", mUserName, mCompidx, Incmd));
db.DB_Send_CMD_reVoid(Incmd);
isNewData = true;
}
else
{
string[] Edit_tbl = {
"compidx", "marc", "marc_chk", "marc1", "marc_chk1", "비고1",
"비고2", "url", "division", "008tag", "date",
"user", "grade" };
string[] Edit_col = {
mCompidx, orimarc, "1", CurrentDBMarc , "0", etc1.Text,
etc2.Text, grid_data[5], tag056, text008.Text, date,
mUserName, grade.ToString() };
string[] Sear_tbl = { "idx", "compidx" };
string[] Sear_col = { Midx, mCompidx };
if (grid_data[0] == null || grid_data[0] == "")
{
MessageBox.Show("ISBN 데이터가 없습니다.");
return;
}
string U_cmd = db.More_Update(table_name, Edit_tbl, Edit_col, Sear_tbl, Sear_col);
PUB.log.Add("Update", string.Format("{0}({1}) : {2}", mUserName, mCompidx, U_cmd.Replace("\r", " ").Replace("\n", " ")));
db.DB_Send_CMD_reVoid(U_cmd);
isNewData = false;
}
if (isNewData)
{
string MidxQuery = string.Format("SELECT `idx` FROM Marc WHERE isbn = {0} AND `compidx` = {1};", grid_data[0], mCompidx);
PUB.log.Add("MarcInsert", string.Format("{0}({1}) : {2}", mUserName, mCompidx, MidxQuery));
Midx = db.DB_Send_CMD_Search(MidxQuery).Replace("|", "");
CurrentMarcIdx = Midx; // Update local
}
string UpdateListIndex = string.Format("UPDATE `Obj_List_Book` SET `m_idx` = {0} WHERE `idx` = {1} AND 'compidx' ={2};",
Midx, CurrentListIdx, mCompidx);
PUB.log.Add("MarcUpdate", string.Format("{0}({1}) : {2}", mUserName, mCompidx, UpdateListIndex));
db.DB_Send_CMD_reVoid(UpdateListIndex);
// Raise Event to Update List_Book in Parent // Raise Event to Update List_Book in Parent
BookSaved?.Invoke(this, new BookSavedEventArgs BookSaved?.Invoke(this, new BookSavedEventArgs
{ {
ListIdx = CurrentListIdx,
Grade = grade.ToString(),
SaveDate = date, SaveDate = date,
User = mUserName,
DBMarc = orimarc, DBMarc = orimarc,
MarcIdx = Midx tag056 = tag056,
text008 = text008.Text,
griddata = this.Param
}); });
MessageBox.Show("저장되었습니다!");
} }
#region Save_Click_Sub #region Save_Click_Sub
/// <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 spspsp(string LastDate, string SaveDate)
{
DateTime date1 = Convert.ToDateTime(LastDate);
DateTime date2 = Convert.ToDateTime(SaveDate);
TimeSpan result = date1 - date2;
return result;
}
/// <summary> /// <summary>
/// 마크 오류체크 (형식체크) /// 마크 오류체크 (형식체크)
/// </summary> /// </summary>
@@ -801,12 +562,69 @@ namespace ExcelTest
//} //}
#region CellClick_Sub #region CellClick_Sub
void OnSaveData(int row) /// <summary>
/// 마크데이터가 있는지 확인하고 메모장으로 출력
/// </summary>
/// <param name="row">해당 데이터의 row값</param>
/// <returns></returns>
bool click_Marc(string Marc_data)
{ {
// 마크 데이터
//string Marc_data = List_Book.Rows[row].Cells["db_marc"].Value.ToString();
if (Marc_data.Length < 3) return false;
string result = string.Empty;
List<string> TagNum = new List<string>(); // 태그번호
List<string> field = new List<string>(); // 가변길이필드 저장
// 특수기호 육안으로 확인하기 쉽게 변환
Marc_data = Marc_data.Replace("", "▼");
Marc_data = Marc_data.Replace("", "▲");
Marc_data = Marc_data.Replace("₩", "\\");
// string leader = Marc_data.Substring(0, 24);
int startidx = 0;
string[] data = Marc_data.Substring(24).Split('▲'); // 리더부를 제외한 디렉터리, 가변길이필드 저장
// List에 필요한 데이터 집어넣는 작업.
for (int a = 1; a < data.Length - 1 && data[0].Length > startidx; a++)
{
TagNum.Add(data[0].Substring(startidx, 3));
startidx += 12;
field.Add(data[a] + "▲");
}
// List에 들어간 데이터를 메모장에 출력시키는 작업.
for (int a = 0; a < TagNum.Count; a++)
{
string res = TagNum[a];
if (TagNum[a] == "008")
{
text008.Text = field[a].Replace("▲", "");
data008 = text008.Text;
continue;
}
else { }
if (field[a].IndexOf("▼") == -1)
{
res += "\t \t" + field[a];
}
else
{
string temp = field[a].Insert(2, "\t");
res += "\t" + temp;
}
result += res + "\n";
}
richTextBox1.Text = result;
return true;
} }
void ReadRemark() void ReadRemark()
{ {
var CurrentMarcIdx = Param.MarcIdx;
if (string.IsNullOrEmpty(CurrentMarcIdx) || CurrentMarcIdx == "0") if (string.IsNullOrEmpty(CurrentMarcIdx) || CurrentMarcIdx == "0")
{ {
etc1.Text = ""; etc1.Text = "";
@@ -869,8 +687,9 @@ namespace ExcelTest
string res = TagNum[a]; string res = TagNum[a];
if (TagNum[a] == "008") if (TagNum[a] == "008")
{ {
text008.Text = field[a].Replace("▲", ""); //0008은 click_marc 에서 실제 적용되므로 제거한다 260121 - chi
data008 = text008.Text; //text008.Text = field[a].Replace("▲", "");
//data008 = text008.Text;
continue; continue;
} }
else { } else { }
@@ -888,40 +707,8 @@ namespace ExcelTest
richTextBox1.Text = result; richTextBox1.Text = result;
return true; return true;
} }
/// <summary>
/// 데이터 임시저장
/// </summary>
void Save_data()
{
data_book[0] = CurrentISBN13;
data_book[1] = CurrentBookName;
data_book[2] = CurrentAuthor;
data_book[3] = CurrentPublisher;
data_book[4] = CurrentPrice;
}
void input_picture()
{
try
{
string isbn = CurrentISBN13;
string isbn3 = isbn.Substring(isbn.Length - 3, 3);
string tFilePath = string.Format("https://contents.kyobobook.co.kr/sih/fit-in/458x0/pdt/{0}.jpg", isbn);
pictureBox1.ImageLocation = tFilePath;
//pictureBox1.ImageLocation = "http://image.kyobobook.co.kr/images/book/xlarge/" + isbn3 + "/x" + isbn + ".jpg";
//string tFilePath = "http://image.kyobobook.co.kr/images/book/xlarge/" + isbn3 + "/x" + isbn + ".jpg";
//WebClient tWebClient = new WebClient();
//byte[] tBuffer = tWebClient.DownloadData(tFilePath);
//Stream tStream = new MemoryStream();
//tStream.Write(tBuffer,0, tBuffer.Length);
//pictureBox1.Image = Image.FromStream(tStream);
//Application.DoEvents();
}
catch
{
pictureBox1.Image = null;
}
}
private string Make_Empty() private string Make_Empty()
{ {
string yyMMdd = DateTime.Now.ToString("yyMMdd"); string yyMMdd = DateTime.Now.ToString("yyMMdd");
@@ -939,7 +726,7 @@ namespace ExcelTest
"653\t \t▼a▲\n" + "653\t \t▼a▲\n" +
"700\t \t▼a▲\n" + "700\t \t▼a▲\n" +
"950\t \t▼b\\{5}▲\n", "950\t \t▼b\\{5}▲\n",
Empty_008, data_book[0], data_book[1], data_book[2], data_book[3], data_book[4]); Empty_008, Param.ISBN13, Param.BookName, Param.Author, Param.Publisher, Param.Price);
etc1.Text = ""; etc1.Text = "";
etc2.Text = ""; etc2.Text = "";
return Empty_text; return Empty_text;
@@ -1014,6 +801,7 @@ namespace ExcelTest
checkBox1.Checked = tag008.CheckBox_008(Tag008[12]); // 회의간행물 checkBox1.Checked = tag008.CheckBox_008(Tag008[12]); // 회의간행물
checkBox2.Checked = tag008.CheckBox_008(Tag008[13]); // 기념논문집 checkBox2.Checked = tag008.CheckBox_008(Tag008[13]); // 기념논문집
checkBox4.Checked = tag008.CheckBox_008(Tag008[14]); // 색인 260121
col008res.Text = Tag008[10]; col008res.Text = Tag008[10];
gov008res.Text = Tag008[19]; gov008res.Text = Tag008[19];
@@ -1079,9 +867,9 @@ namespace ExcelTest
text008.Text = tag008.Combo_Change(text008.Text, comboBox5.Name, comboBox5.SelectedIndex); // 전기 (34) v text008.Text = tag008.Combo_Change(text008.Text, comboBox5.Name, comboBox5.SelectedIndex); // 전기 (34) v
text008.Text = tag008.Combo_Change(text008.Text, comboBox6.Name, comboBox6.SelectedIndex); // 언어 (35-37) v text008.Text = tag008.Combo_Change(text008.Text, comboBox6.Name, comboBox6.SelectedIndex); // 언어 (35-37) v
Publication(checkBox1.Checked, 29);// 회의간행물 (29) c Publication_008(checkBox1.Checked, 29);// 회의간행물 (29) c
Publication(checkBox2.Checked, 30);// 기념논문집 (30) c Publication_008(checkBox2.Checked, 30);// 기념논문집 (30) c
Publication(checkBox4.Checked, 31);// 색인 (31) Publication_008(checkBox4.Checked, 31);// 색인 (31)
textArray = text008.Text.ToCharArray(); textArray = text008.Text.ToCharArray();
@@ -1160,7 +948,7 @@ namespace ExcelTest
int comboIdx = ((ComboBox)sender).SelectedIndex; int comboIdx = ((ComboBox)sender).SelectedIndex;
text008.Text = tag008.Combo_Change(text, comboName, comboIdx); text008.Text = tag008.Combo_Change(text, comboName, comboIdx);
Apply_Main_marc(); Apply_Main_marc_008();
} }
private void col008res_TextChanged(object sender, EventArgs e) private void col008res_TextChanged(object sender, EventArgs e)
@@ -1185,11 +973,16 @@ namespace ExcelTest
} }
text = new string(textArray); text = new string(textArray);
text008.Text = text; text008.Text = text;
Apply_Main_marc(); Apply_Main_marc_008();
} }
private void input_date_ValueChanged(object sender, EventArgs e) private void input_date_ValueChanged(object sender, EventArgs e)
{ {
if (mLoadCompleted == false)
{
Console.WriteLine("초기화중이므로 처리하지 않습니다");
return;
}
if (text008.Text.Length < 3) { return; } if (text008.Text.Length < 3) { return; }
string date = input_date.Value.ToString(); string date = input_date.Value.ToString();
date = date.Substring(0, 10); date = date.Substring(0, 10);
@@ -1199,75 +992,80 @@ namespace ExcelTest
text008.Text = text008.Text.Remove(0, 6); text008.Text = text008.Text.Remove(0, 6);
text008.Text = date + text008.Text; text008.Text = date + text008.Text;
Apply_Main_marc(); Apply_Main_marc_008();
} }
private void checkBox1_CheckedChanged(object sender, EventArgs e) private void checkBox1_CheckedChanged(object sender, EventArgs e)
{ {
string name = ((CheckBox)sender).Name; var chk = sender as CheckBox;
if (((CheckBox)sender).Checked == true) string name = chk.Name;
if (chk.Checked == true)
{ {
switch (name) switch (name)
{ {
case "checkBox1": case "checkBox1":
((CheckBox)sender).InvokeText("회의간행물o"); chk.InvokeText("회의간행물o");
break; break;
case "checkBox2": case "checkBox2":
((CheckBox)sender).InvokeText("기념논문집o"); chk.InvokeText("기념논문집o");
break; break;
case "checkBox4": case "checkBox4":
((CheckBox)sender).InvokeText("색인o"); chk.InvokeText("색인o");
break; break;
} }
} }
else if (((CheckBox)sender).Checked == false) else if (chk.Checked == false)
{ {
switch (name) switch (name)
{ {
case "checkBox1": case "checkBox1":
((CheckBox)sender).InvokeText("회의간행물x"); chk.InvokeText("회의간행물x");
break; break;
case "checkBox2": case "checkBox2":
((CheckBox)sender).InvokeText("기념논문집x"); chk.InvokeText("기념논문집x");
break; break;
case "checkBox4": case "checkBox4":
((CheckBox)sender).InvokeText("색인x"); chk.InvokeText("색인x");
break; break;
} }
} }
switch (name) switch (name)
{ {
case "checkBox1": case "checkBox1": //회의간행물
Publication(checkBox1.Checked, 29); Publication_008(chk.Checked, 29);
break; break;
case "checkBox2": case "checkBox2": //기념논문집
Publication(checkBox2.Checked, 30); Publication_008(chk.Checked, 30);
break; break;
case "checkBox4": case "checkBox4": //색인
Publication(checkBox4.Checked, 31); Publication_008(chk.Checked, 31);
break; break;
} }
} }
void Publication(bool check, int idx) void Publication_008(bool check, int idx)
{ {
if (text008.Text == "") { return; } if (text008.Text == "") { return; }
char[] ArrayChar = text008.Text.ToCharArray(); char[] ArrayChar = text008.Text.ToCharArray();
if (check == false) { ArrayChar[idx] = '0'; } if (check == false) { ArrayChar[idx] = '0'; }
else if (check == true) { ArrayChar[idx] = '1'; } else if (check == true) { ArrayChar[idx] = '1'; }
text008.Text = new string(ArrayChar); text008.Text = new string(ArrayChar);
Apply_Main_marc(); Apply_Main_marc_008();
} }
/// <summary> /// <summary>
/// 008text가 메인 텍스트박스에 적용됨. /// 008text가 메인 텍스트박스에 적용됨.
/// </summary> /// </summary>
private void Apply_Main_marc() private void Apply_Main_marc_008()
{ {
string text = text008.Text; string text = text008.Text;
richTextBox1.Text = richTextBox1.Text.Replace(data008, text); richTextBox1.Text = richTextBox1.Text.Replace(data008, text);
data008 = text; data008 = text;
} }
public void SetMarcString(string marcstr)
{
this.richTextBox1.Text = marcstr;
}
#endregion #endregion
private void Btn_Close_Click(object sender, EventArgs e) private void Btn_Close_Click(object sender, EventArgs e)
@@ -1278,14 +1076,13 @@ namespace ExcelTest
private void pictureBox1_DoubleClick(object sender, EventArgs e) private void pictureBox1_DoubleClick(object sender, EventArgs e)
{ {
Zoom_Picture zp = new Zoom_Picture(); Zoom_Picture zp = new Zoom_Picture();
var CurrentURL = pictureBox1.Tag.ToString();
zp.url = pictureBox1.ImageLocation ?? CurrentURL; zp.url = pictureBox1.ImageLocation ?? CurrentURL;
zp.ISBN = CurrentISBN13; zp.ISBN = Param.ISBN13;
zp.Show(); zp.Show();
} }
public event EventHandler FillBlankClicked;
private void FillTextBox_KeyDown(object sender, KeyEventArgs e) private void FillTextBox_KeyDown(object sender, KeyEventArgs e)
{ {
TextBox tb = sender as TextBox; TextBox tb = sender as TextBox;
@@ -1957,7 +1754,8 @@ namespace ExcelTest
str = str.Trim(); str = str.Trim();
if (TagNum == "300a") if (TagNum == "300a")
{ {
gu = new char[] { '.', ',', '=', ':', ';', '/', '+', ' ' }; gu = new char[] { ',', '=', ':', ';', '/', '+', ' ' };
//gu = new char[] { '.', ',', '=', ':', ';', '/', '+', ' ' };
for (int i = 0; i < gu.Length; i++) for (int i = 0; i < gu.Length; i++)
{ {
str = str.TrimEnd(gu[i]); str = str.TrimEnd(gu[i]);
@@ -2716,19 +2514,19 @@ namespace ExcelTest
string result = Text; string result = Text;
if (result.IndexOf(", ") > -1) if (result.IndexOf(", ") > -1)
return result + " p."; return result + "p.";
if (result.IndexOf("p.p.") > -1 || result.IndexOf("p. p.") > -1) if (result.IndexOf("p.p.") > -1 || result.IndexOf("p. p.") > -1)
return result.Replace("p.p.", "p.").Replace("p. p.", "p."); return result.Replace("p.p.", "p.").Replace("p. p.", "p.");
if (Regex.IsMatch(result, @"^[0-9]+$")) if (Regex.IsMatch(result, @"^[0-9]+$"))
return result + " p."; return result + "p.";
if (!result.StartsWith("[") && !result.EndsWith("]")) if (!result.StartsWith("[") && !result.EndsWith("]"))
return result; return result;
else if (Regex.IsMatch(GetMiddelString(result, "[", "]"), @"^[0-9]+$")) else if (Regex.IsMatch(GetMiddelString(result, "[", "]"), @"^[0-9]+$"))
{ {
string tTest = GetMiddelString(result, "[", "]"); string tTest = GetMiddelString(result, "[", "]");
return result.Replace("p", "").Trim() + " p."; ; return result.Replace("p", "").Trim() + "p."; ;
} }
@@ -3246,5 +3044,19 @@ namespace ExcelTest
sg.DataGrid_to_Delete(sender, e); sg.DataGrid_to_Delete(sender, e);
} }
private void MarcEditorControl_SizeChanged(object sender, EventArgs e)
{
//this.groupBox5.Text = this.Size.ToString();
}
private void btPrev_Click(object sender, EventArgs e)
{
PrevButton?.Invoke(this, EventArgs.Empty);
}
private void btNext_Click(object sender, EventArgs e)
{
NextButton?.Invoke(this, EventArgs.Empty);
}
} }
} }

View File

@@ -0,0 +1,120 @@
<?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>
</root>

View File

@@ -301,6 +301,7 @@ namespace UniMarc
this.Controls.Add(this.panel2); this.Controls.Add(this.panel2);
this.Name = "Marc_FillBlank"; this.Name = "Marc_FillBlank";
this.Text = "칸채우기"; this.Text = "칸채우기";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.Load += new System.EventHandler(this.Marc_FillBlank_Load); this.Load += new System.EventHandler(this.Marc_FillBlank_Load);
this.panel6.ResumeLayout(false); this.panel6.ResumeLayout(false);
this.panel6.PerformLayout(); this.panel6.PerformLayout();

View File

@@ -1,4 +1,5 @@
using ExcelTest; using ExcelTest;
using Org.BouncyCastle.Pkcs;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
@@ -69,7 +70,7 @@ namespace UniMarc
private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
{ {
tb_URL.Text = webBrowser1.Url.AbsoluteUri; tb_URL.Text = webBrowser1.Url.AbsoluteUri;
if (isAll) if (isAll)
{ {
if (tb_URL.Text.Contains("searchResultAllList")) if (tb_URL.Text.Contains("searchResultAllList"))
@@ -181,7 +182,7 @@ namespace UniMarc
} }
} }
if(!isAll) if (!isAll)
richTextBox1.Text = SplitText(Text); richTextBox1.Text = SplitText(Text);
else else
{ {
@@ -243,16 +244,22 @@ namespace UniMarc
private void btn_Move_Click(object sender, EventArgs e) private void btn_Move_Click(object sender, EventArgs e)
{ {
isAll = false; isAll = false;
marc.richTextBox1.Text = "";
if (!tb_URL.Text.Contains("searchResultMarc")) { if (!tb_URL.Text.Contains("searchResultMarc"))
{
MessageBox.Show("코리스 마크가 있는곳으로 이동해주세요!"); MessageBox.Show("코리스 마크가 있는곳으로 이동해주세요!");
return; return;
} }
SearchResultMarc(); SearchResultMarc();
string Text = richTextBox1.Text; string Text = richTextBox1.Text;
marc.richTextBox1.Text = MakeMarc(Text); if (marc != null)
{
marc.richTextBox1.Text = MakeMarc(Text);
}
else if (mae != null)
{
mae.marcEditorControl1.SetMarcString(MakeMarc(Text));
}
} }
private void btn_AllMove_Click(object sender, EventArgs e) private void btn_AllMove_Click(object sender, EventArgs e)
@@ -272,7 +279,8 @@ namespace UniMarc
int idx = Convert.ToInt32(dataGridView1.Rows[a].Cells["List_idx"].Value.ToString()); int idx = Convert.ToInt32(dataGridView1.Rows[a].Cells["List_idx"].Value.ToString());
string isbn = dataGridView1.Rows[a].Cells["ISBN13"].Value.ToString(); string isbn = dataGridView1.Rows[a].Cells["ISBN13"].Value.ToString();
if (isbn == "") { if (isbn == "")
{
dataGridView1.Rows[a].DefaultCellStyle.ForeColor = Color.Red; dataGridView1.Rows[a].DefaultCellStyle.ForeColor = Color.Red;
progressBar1.Value += 1; progressBar1.Value += 1;
continue; continue;
@@ -293,7 +301,11 @@ namespace UniMarc
else else
{ {
dataGridView1.Rows[a].DefaultCellStyle.ForeColor = Color.Blue; dataGridView1.Rows[a].DefaultCellStyle.ForeColor = Color.Blue;
this.marc.List_Book.Rows[idx].Cells["db_marc"].Value = st.made_Ori_marc(MakeMarc(marc));
if (this.marc != null)
this.marc.List_Book.Rows[idx].Cells["db_marc"].Value = st.made_Ori_marc(MakeMarc(marc));
else if (this.mae != null)
this.mae.List_Book.Rows[idx].Cells["db_marc"].Value = st.made_Ori_marc(MakeMarc(marc));
} }
progressBar1.Value += 1; progressBar1.Value += 1;
@@ -320,7 +332,7 @@ namespace UniMarc
return result; return result;
} }
/// <summary> /// <summary>
/// 지연시키는 함수 /// 지연시키는 함수

View File

@@ -53,6 +53,7 @@
this.btn_Select_List = new System.Windows.Forms.Button(); this.btn_Select_List = new System.Windows.Forms.Button();
this.chkBox_AllowDrop = new System.Windows.Forms.CheckBox(); this.chkBox_AllowDrop = new System.Windows.Forms.CheckBox();
this.panel3 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel();
this.cb_authorTypeE = new System.Windows.Forms.ComboBox();
this.cb_authorTypeK = new System.Windows.Forms.ComboBox(); this.cb_authorTypeK = new System.Windows.Forms.ComboBox();
this.cb_divType = new System.Windows.Forms.ComboBox(); this.cb_divType = new System.Windows.Forms.ComboBox();
this.cb_divNum = new System.Windows.Forms.ComboBox(); this.cb_divNum = new System.Windows.Forms.ComboBox();
@@ -141,10 +142,10 @@
this.search_tag2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.search_tag2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printDocument1 = new System.Drawing.Printing.PrintDocument();
this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
this.cb_authorTypeE = new System.Windows.Forms.ComboBox(); this.chkEditorTest = new System.Windows.Forms.CheckBox();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.panel4.SuspendLayout(); this.panel4.SuspendLayout();
this.panel3.SuspendLayout(); this.panel3.SuspendLayout();
@@ -333,6 +334,16 @@
this.panel3.Size = new System.Drawing.Size(566, 49); this.panel3.Size = new System.Drawing.Size(566, 49);
this.panel3.TabIndex = 7; this.panel3.TabIndex = 7;
// //
// cb_authorTypeE
//
this.cb_authorTypeE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_authorTypeE.Enabled = false;
this.cb_authorTypeE.FormattingEnabled = true;
this.cb_authorTypeE.Location = new System.Drawing.Point(125, 26);
this.cb_authorTypeE.Name = "cb_authorTypeE";
this.cb_authorTypeE.Size = new System.Drawing.Size(171, 20);
this.cb_authorTypeE.TabIndex = 2;
//
// cb_authorTypeK // cb_authorTypeK
// //
this.cb_authorTypeK.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cb_authorTypeK.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
@@ -496,6 +507,7 @@
// //
// panel5 // panel5
// //
this.panel5.Controls.Add(this.chkEditorTest);
this.panel5.Controls.Add(this.cbTag008_32); this.panel5.Controls.Add(this.cbTag008_32);
this.panel5.Controls.Add(this.btnTag008); this.panel5.Controls.Add(this.btnTag008);
this.panel5.Controls.Add(this.btnTag040); this.panel5.Controls.Add(this.btnTag040);
@@ -1246,15 +1258,6 @@
this.toolStrip1.TabIndex = 3; this.toolStrip1.TabIndex = 3;
this.toolStrip1.Text = "toolStrip1"; this.toolStrip1.Text = "toolStrip1";
// //
// 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);
//
// printDocument1 // printDocument1
// //
this.printDocument1.BeginPrint += new System.Drawing.Printing.PrintEventHandler(this.printDocument1_BeginPrint); this.printDocument1.BeginPrint += new System.Drawing.Printing.PrintEventHandler(this.printDocument1_BeginPrint);
@@ -1270,15 +1273,28 @@
this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Name = "printPreviewDialog1";
this.printPreviewDialog1.Visible = false; this.printPreviewDialog1.Visible = false;
// //
// cb_authorTypeE // chkEditorTest
// //
this.cb_authorTypeE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.chkEditorTest.BackColor = System.Drawing.SystemColors.Control;
this.cb_authorTypeE.Enabled = false; this.chkEditorTest.Checked = true;
this.cb_authorTypeE.FormattingEnabled = true; this.chkEditorTest.CheckState = System.Windows.Forms.CheckState.Checked;
this.cb_authorTypeE.Location = new System.Drawing.Point(125, 26); this.chkEditorTest.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.cb_authorTypeE.Name = "cb_authorTypeE"; this.chkEditorTest.ForeColor = System.Drawing.Color.Blue;
this.cb_authorTypeE.Size = new System.Drawing.Size(171, 20); this.chkEditorTest.Location = new System.Drawing.Point(596, 32);
this.cb_authorTypeE.TabIndex = 2; 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 // Marc_Plan
// //
@@ -1424,5 +1440,6 @@
private System.Windows.Forms.ToolStrip toolStrip1; private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton toolStripButton1; private System.Windows.Forms.ToolStripButton toolStripButton1;
private System.Windows.Forms.ComboBox cb_authorTypeE; private System.Windows.Forms.ComboBox cb_authorTypeE;
private System.Windows.Forms.CheckBox chkEditorTest;
} }
} }

View File

@@ -226,12 +226,22 @@ namespace WindowsFormsApp1.Mac
cb_divType.Text, cb_divNum.Text cb_divType.Text, cb_divNum.Text
}; };
Marc_Plan_Sub_MarcEdit me = new Marc_Plan_Sub_MarcEdit(this); if (chkEditorTest.Checked)
me.row = row; {
me.UserName = main.botUserLabel.Text; Marc_Plan_Sub_MarcEdit me = new Marc_Plan_Sub_MarcEdit(this);
me.Init(Marc); me.row = row;
me.SetSymbolType(symbol_Type); me.UserName = main.botUserLabel.Text;
me.Show(); me.Init(Marc);
me.SetSymbolType(symbol_Type);
me.Show();
}
else
{
UTIL.MsgE("test version");
var f = new Marc_Plan_Sub_MarcEdit2("","");
f.Show();
}
} }
} }
@@ -559,7 +569,7 @@ namespace WindowsFormsApp1.Mac
} }
if (totalerrmsg.isEmpty() == false) if (totalerrmsg.isEmpty() == false)
UTIL.MsgI("경고 발생\n"+totalerrmsg); UTIL.MsgI("경고 발생\n" + totalerrmsg);
string FileName; string FileName;
SaveFileDialog saveFileDialog = new SaveFileDialog(); SaveFileDialog saveFileDialog = new SaveFileDialog();
@@ -594,7 +604,7 @@ namespace WindowsFormsApp1.Mac
Set_Macro sm = new Set_Macro(this, dataGridView1); Set_Macro sm = new Set_Macro(this, dataGridView1);
sm.ViewMarcArray = Make_MarcArray(out string errmessage); sm.ViewMarcArray = Make_MarcArray(out string errmessage);
sm.Show(); sm.Show();
if(errmessage.isEmpty() == false) if (errmessage.isEmpty() == false)
UTIL.MsgI("경고 발생\n" + errmessage); UTIL.MsgI("경고 발생\n" + errmessage);
} }
private void btnTag040_Click(object sender, EventArgs e) private void btnTag040_Click(object sender, EventArgs e)

View File

@@ -0,0 +1,61 @@
namespace UniMarc.
{
partial class Marc_Plan_Sub_MarcEdit2
{
/// <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.marcEditorControl1 = new ExcelTest.MarcEditorControl();
this.SuspendLayout();
//
// marcEditorControl1
//
this.marcEditorControl1.BackColor = System.Drawing.Color.Gray;
this.marcEditorControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.marcEditorControl1.Font = new System.Drawing.Font("돋움", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.marcEditorControl1.Location = new System.Drawing.Point(0, 0);
this.marcEditorControl1.Name = "marcEditorControl1";
this.marcEditorControl1.Size = new System.Drawing.Size(1337, 768);
this.marcEditorControl1.TabIndex = 1;
//
// Marc_Plan_Sub_MarcEdit2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1337, 768);
this.Controls.Add(this.marcEditorControl1);
this.Name = "Marc_Plan_Sub_MarcEdit2";
this.Text = "마크편집";
this.ResumeLayout(false);
}
#endregion
public ExcelTest.MarcEditorControl marcEditorControl1;
}
}

View File

@@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WindowsFormsApp1;
using WindowsFormsApp1.Mac;
using ExcelTest;
using System.Drawing.Drawing2D;
namespace UniMarc.
{
public partial class Marc_Plan_Sub_MarcEdit2 : Form
{
string idx;
public int row;
public string UserName = "";
Marc_Plan mp;
Helper_DB db = new Helper_DB();
String_Text st = new String_Text();
Search_Infor si;
Help008Tag tag008 = new Help008Tag();
public Marc_Plan_Sub_MarcEdit2(string isbn,string marcstring)
{
InitializeComponent();
db.DBcon();
}
}
}

View File

@@ -0,0 +1,120 @@
<?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>
</root>

View File

@@ -28,6 +28,7 @@ namespace UniMarc.마크
string.Format("http://preview.kyobobook.co.kr/preview.jsp?siteGb=INK&ejkGb=KOR&barcode={0}&loginYn=N&orderClick=JAW", string.Format("http://preview.kyobobook.co.kr/preview.jsp?siteGb=INK&ejkGb=KOR&barcode={0}&loginYn=N&orderClick=JAW",
ISBN); ISBN);
webBrowser1.ScriptErrorsSuppressed = true;
webBrowser1.Navigate(PreViewURL); webBrowser1.Navigate(PreViewURL);
} }