addmar2 작업중

This commit is contained in:
2026-01-24 00:35:09 +09:00
parent 4ffbb2fa2e
commit c44f40a651
15 changed files with 1076 additions and 185 deletions

View File

@@ -139,6 +139,7 @@
this.mdiTabControl = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.NewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.menuStrip1.SuspendLayout();
this.panel1.SuspendLayout();
this.toolStrip1.SuspendLayout();
@@ -159,8 +160,7 @@
this.menu_allclose});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Padding = new System.Windows.Forms.Padding(7, 2, 0, 2);
this.menuStrip1.Size = new System.Drawing.Size(1902, 30);
this.menuStrip1.Size = new System.Drawing.Size(1664, 24);
this.menuStrip1.TabIndex = 0;
this.menuStrip1.Text = "menuStrip1";
//
@@ -175,34 +175,34 @@
this.,
this.});
this.ToolStripMenuItem.Name = "홈ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(38, 26);
this.ToolStripMenuItem.Size = new System.Drawing.Size(31, 20);
this.ToolStripMenuItem.Text = "홈";
//
// 사업체정보
//
this..Name = "사업체정보";
this..Size = new System.Drawing.Size(218, 26);
this..Size = new System.Drawing.Size(175, 22);
this..Text = "사업체 정보";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 사용자관리
//
this..Name = "사용자관리";
this..Size = new System.Drawing.Size(218, 26);
this..Size = new System.Drawing.Size(175, 22);
this..Text = "사용자 관리";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 납품거래처관리
//
this..Name = "납품거래처관리";
this..Size = new System.Drawing.Size(218, 26);
this..Size = new System.Drawing.Size(175, 22);
this..Text = "납품 / 거래처 관리";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 주문처관리
//
this..Name = "주문처관리";
this..Size = new System.Drawing.Size(218, 26);
this..Size = new System.Drawing.Size(175, 22);
this..Text = "주문처 관리";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -210,14 +210,14 @@
//
this..Enabled = false;
this..Name = "비밀번호변경";
this..Size = new System.Drawing.Size(218, 26);
this..Size = new System.Drawing.Size(175, 22);
this..Text = "비밀번호 변경";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 도서정보관리
//
this..Name = "도서정보관리";
this..Size = new System.Drawing.Size(218, 26);
this..Size = new System.Drawing.Size(175, 22);
this..Text = "도서정보 관리";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -225,7 +225,7 @@
//
this..Enabled = false;
this..Name = "사용대장";
this..Size = new System.Drawing.Size(218, 26);
this..Size = new System.Drawing.Size(175, 22);
this..Text = "사용대장";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -240,55 +240,55 @@
this.,
this.});
this.ToolStripMenuItem.Name = "납품관리ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(83, 26);
this.ToolStripMenuItem.Size = new System.Drawing.Size(67, 20);
this.ToolStripMenuItem.Text = "납품관리";
//
// 목록등록
//
this..Name = "목록등록";
this..Size = new System.Drawing.Size(207, 26);
this..Size = new System.Drawing.Size(166, 22);
this..Text = "물품등록";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 목록조회
//
this..Name = "목록조회";
this..Size = new System.Drawing.Size(207, 26);
this..Size = new System.Drawing.Size(166, 22);
this..Text = "목록조회";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 목록집계
//
this..Name = "목록집계";
this..Size = new System.Drawing.Size(207, 26);
this..Size = new System.Drawing.Size(166, 22);
this..Text = "목록집계";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 주문입력
//
this..Name = "주문입력";
this..Size = new System.Drawing.Size(207, 26);
this..Size = new System.Drawing.Size(166, 22);
this..Text = "주문입력";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 입고작업
//
this..Name = "입고작업";
this..Size = new System.Drawing.Size(207, 26);
this..Size = new System.Drawing.Size(166, 22);
this..Text = "입고작업";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 재고입력및조회
//
this..Name = "재고입력및조회";
this..Size = new System.Drawing.Size(207, 26);
this..Size = new System.Drawing.Size(166, 22);
this..Text = "재고입력 및 조회";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 반품처리
//
this..Name = "반품처리";
this..Size = new System.Drawing.Size(207, 26);
this..Size = new System.Drawing.Size(166, 22);
this..Text = "반품처리";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -301,20 +301,20 @@
this.,
this.});
this.ToolStripMenuItem.Name = "회계ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(53, 26);
this.ToolStripMenuItem.Size = new System.Drawing.Size(43, 20);
this.ToolStripMenuItem.Text = "회계";
//
// 송금내역조회
//
this..Name = "송금내역조회";
this..Size = new System.Drawing.Size(192, 26);
this..Size = new System.Drawing.Size(154, 22);
this..Text = "송금 내역 조회";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 송금등록
//
this..Name = "송금등록";
this..Size = new System.Drawing.Size(192, 26);
this..Size = new System.Drawing.Size(154, 22);
this..Text = "송금 등록";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -325,20 +325,20 @@
this.,
this.ToolStripMenuItem});
this..Name = "매입";
this..Size = new System.Drawing.Size(192, 26);
this..Size = new System.Drawing.Size(154, 22);
this..Text = "매입";
//
// 매입집계
//
this..Name = "매입집계";
this..Size = new System.Drawing.Size(172, 26);
this..Size = new System.Drawing.Size(138, 22);
this..Text = "매입 집계";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 매입장부
//
this..Name = "매입장부";
this..Size = new System.Drawing.Size(172, 26);
this..Size = new System.Drawing.Size(138, 22);
this..Text = "매입 장부";
this..Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
//
@@ -346,7 +346,7 @@
//
this.ToolStripMenuItem.Enabled = false;
this.ToolStripMenuItem.Name = "매입미결제ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(172, 26);
this.ToolStripMenuItem.Size = new System.Drawing.Size(138, 22);
this.ToolStripMenuItem.Text = "매입 미결제";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -358,41 +358,41 @@
this.,
this.});
this..Name = "매출";
this..Size = new System.Drawing.Size(192, 26);
this..Size = new System.Drawing.Size(154, 22);
this..Text = "매출";
//
// 매출입력
//
this..Name = "매출입력";
this..Size = new System.Drawing.Size(157, 26);
this..Size = new System.Drawing.Size(126, 22);
this..Text = "매출 입력";
this..Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
//
// 매출입금
//
this..Name = "매출입금";
this..Size = new System.Drawing.Size(157, 26);
this..Size = new System.Drawing.Size(126, 22);
this..Text = "매출 입금";
this..Click += new System.EventHandler(this.toolStripMenuItem1_Click_1);
//
// 매출조회
//
this..Name = "매출조회";
this..Size = new System.Drawing.Size(157, 26);
this..Size = new System.Drawing.Size(126, 22);
this..Text = "매출 조회";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 매출집계
//
this..Name = "매출집계";
this..Size = new System.Drawing.Size(157, 26);
this..Size = new System.Drawing.Size(126, 22);
this..Text = "매출 집계";
this..Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
//
// 파트타임관리
//
this..Name = "파트타임관리";
this..Size = new System.Drawing.Size(192, 26);
this..Size = new System.Drawing.Size(154, 22);
this..Text = "파트타임 관리";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -407,7 +407,7 @@
this.DLS,
this.});
this.ToolStripMenuItem.Name = "마크ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(53, 26);
this.ToolStripMenuItem.Size = new System.Drawing.Size(43, 20);
this.ToolStripMenuItem.Text = "마크";
//
// 마크설정
@@ -418,13 +418,13 @@
this.,
this.});
this..Name = "마크설정";
this..Size = new System.Drawing.Size(193, 26);
this..Size = new System.Drawing.Size(180, 22);
this..Text = "설정";
//
// 단축키설정
//
this..Name = "단축키설정";
this..Size = new System.Drawing.Size(172, 26);
this..Size = new System.Drawing.Size(138, 22);
this..Text = "단축키";
this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -432,14 +432,14 @@
// 매크로문구
//
this..Name = "매크로문구";
this..Size = new System.Drawing.Size(172, 26);
this..Size = new System.Drawing.Size(138, 22);
this..Text = "매크로 문구";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 불용어
//
this..Name = "불용어";
this..Size = new System.Drawing.Size(172, 26);
this..Size = new System.Drawing.Size(138, 22);
this..Text = "불용어";
this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -447,7 +447,7 @@
// 작업지시서
//
this..Name = "작업지시서";
this..Size = new System.Drawing.Size(172, 26);
this..Size = new System.Drawing.Size(138, 22);
this..Text = "작업지시서";
this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -456,6 +456,7 @@
//
this..DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.,
this.NewToolStripMenuItem,
this.,
this.,
this.,
@@ -463,13 +464,13 @@
this.2,
this.iSBN조회});
this..Name = "마크작업";
this..Size = new System.Drawing.Size(193, 26);
this..Size = new System.Drawing.Size(180, 22);
this..Text = "마크 작업";
//
// 마크작성
//
this..Name = "마크작성";
this..Size = new System.Drawing.Size(192, 26);
this..Size = new System.Drawing.Size(182, 22);
this..Text = "신규마크 작성";
this..ToolTipText = "마크 작성(2)";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -477,42 +478,42 @@
// 마크목록
//
this..Name = "마크목록";
this..Size = new System.Drawing.Size(192, 26);
this..Size = new System.Drawing.Size(182, 22);
this..Text = "마크 목록";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 소장자료검색
//
this..Name = "소장자료검색";
this..Size = new System.Drawing.Size(192, 26);
this..Size = new System.Drawing.Size(182, 22);
this..Text = "소장자료검색";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 마크정리
//
this..Name = "마크정리";
this..Size = new System.Drawing.Size(192, 26);
this..Size = new System.Drawing.Size(182, 22);
this..Text = "마크 정리";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 복본조사1
//
this.1.Name = "복본조사1";
this.1.Size = new System.Drawing.Size(192, 26);
this.1.Size = new System.Drawing.Size(182, 22);
this.1.Text = "복본조사";
this.1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
//
// 복본조사2
//
this.2.Name = "복본조사2";
this.2.Size = new System.Drawing.Size(192, 26);
this.2.Size = new System.Drawing.Size(182, 22);
this.2.Text = "복본조사(New)";
this.2.Click += new System.EventHandler(this.2_Click);
//
// iSBN조회
//
this.iSBN조회.Name = "iSBN조회";
this.iSBN조회.Size = new System.Drawing.Size(192, 26);
this.iSBN조회.Size = new System.Drawing.Size(182, 22);
this.iSBN조회.Text = "ISBN 조회";
this.iSBN조회.Click += new System.EventHandler(this.iSBN조회ToolStripMenuItem_Click);
//
@@ -522,21 +523,21 @@
this.,
this.});
this.dVDCDLPToolStripMenuItem.Name = "dVDCDLPToolStripMenuItem";
this.dVDCDLPToolStripMenuItem.Size = new System.Drawing.Size(193, 26);
this.dVDCDLPToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.dVDCDLPToolStripMenuItem.Text = "DVD / CD / LP";
//
// 목록
//
this..Enabled = false;
this..Name = "목록";
this..Size = new System.Drawing.Size(122, 26);
this..Size = new System.Drawing.Size(98, 22);
this..Text = "목록";
this..Click += new System.EventHandler(this._Click);
//
// 편목
//
this..Name = "편목";
this..Size = new System.Drawing.Size(122, 26);
this..Size = new System.Drawing.Size(98, 22);
this..Text = "편목";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -546,20 +547,20 @@
this.,
this.});
this..Name = "반입및반출";
this..Size = new System.Drawing.Size(193, 26);
this..Size = new System.Drawing.Size(180, 22);
this..Text = "반입 및 반출";
//
// 마크반입
//
this..Name = "마크반입";
this..Size = new System.Drawing.Size(122, 26);
this..Size = new System.Drawing.Size(98, 22);
this..Text = "반입";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 마크반출
//
this..Name = "마크반출";
this..Size = new System.Drawing.Size(122, 26);
this..Size = new System.Drawing.Size(98, 22);
this..Text = "반출";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -571,14 +572,14 @@
this.,
this.});
this..Name = "부가기능";
this..Size = new System.Drawing.Size(193, 26);
this..Size = new System.Drawing.Size(180, 22);
this..Text = "부가기능";
//
// 마크수집
//
this..Enabled = false;
this..Name = "마크수집";
this..Size = new System.Drawing.Size(152, 26);
this..Size = new System.Drawing.Size(122, 22);
this..Text = "마크수집";
this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -586,7 +587,7 @@
// 전집관리
//
this..Name = "전집관리";
this..Size = new System.Drawing.Size(152, 26);
this..Size = new System.Drawing.Size(122, 22);
this..Text = "전집관리";
this..Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
//
@@ -594,7 +595,7 @@
//
this..Enabled = false;
this..Name = "검수";
this..Size = new System.Drawing.Size(152, 26);
this..Size = new System.Drawing.Size(122, 22);
this..Text = "검수";
this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -602,7 +603,7 @@
// 저자기호
//
this..Name = "저자기호";
this..Size = new System.Drawing.Size(152, 26);
this..Size = new System.Drawing.Size(122, 22);
this..Text = "저자기호";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -612,20 +613,20 @@
this.DLS조회,
this.dLS복본조사});
this.DLS.Name = "DLS";
this.DLS.Size = new System.Drawing.Size(193, 26);
this.DLS.Size = new System.Drawing.Size(180, 22);
this.DLS.Text = "DLS";
//
// DLS조회
//
this.DLS조회.Name = "DLS조회";
this.DLS조회.Size = new System.Drawing.Size(190, 26);
this.DLS조회.Size = new System.Drawing.Size(154, 22);
this.DLS조회.Text = "DLS_조회/입력";
this.DLS조회.Click += new System.EventHandler(this.dLS조회ToolStripMenuItem_Click);
//
// dLS복본조사
//
this.dLS복본조사.Name = "dLS복본조사";
this.dLS복본조사.Size = new System.Drawing.Size(190, 26);
this.dLS복본조사.Size = new System.Drawing.Size(154, 22);
this.dLS복본조사.Text = "DLS 복본조사";
this.dLS복본조사.Click += new System.EventHandler(this.dLS복본조사ToolStripMenuItem_Click);
//
@@ -636,14 +637,14 @@
this.,
this.});
this..Name = "마크기타";
this..Size = new System.Drawing.Size(193, 26);
this..Size = new System.Drawing.Size(180, 22);
this..Text = "기타";
//
// 서류작성
//
this..Enabled = false;
this..Name = "서류작성";
this..Size = new System.Drawing.Size(152, 26);
this..Size = new System.Drawing.Size(122, 22);
this..Text = "서류작성";
this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -651,7 +652,7 @@
// 마크통계
//
this..Name = "마크통계";
this..Size = new System.Drawing.Size(152, 26);
this..Size = new System.Drawing.Size(122, 22);
this..Text = "마크통계";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -659,7 +660,7 @@
//
this..Enabled = false;
this..Name = "장비관리";
this..Size = new System.Drawing.Size(152, 26);
this..Size = new System.Drawing.Size(122, 22);
this..Text = "장비관리";
this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
@@ -668,7 +669,7 @@
//
this.ToolStripMenuItem.Enabled = false;
this.ToolStripMenuItem.Name = "작업일지ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(83, 26);
this.ToolStripMenuItem.Size = new System.Drawing.Size(67, 20);
this.ToolStripMenuItem.Text = "작업일지";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -682,20 +683,20 @@
this.,
this.});
this.ToolStripMenuItem.Name = "편의기능ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(83, 26);
this.ToolStripMenuItem.Size = new System.Drawing.Size(67, 20);
this.ToolStripMenuItem.Text = "편의기능";
//
// 캘린더
//
this..Name = "캘린더";
this..Size = new System.Drawing.Size(152, 26);
this..Size = new System.Drawing.Size(122, 22);
this..Text = "캘린더";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 채팅
//
this..Name = "채팅";
this..Size = new System.Drawing.Size(152, 26);
this..Size = new System.Drawing.Size(122, 22);
this..Text = "채팅";
this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -703,14 +704,14 @@
// 퀵메뉴
//
this..Name = "퀵메뉴";
this..Size = new System.Drawing.Size(152, 26);
this..Size = new System.Drawing.Size(122, 22);
this..Text = "퀵메뉴";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 게시판
//
this..Name = "게시판";
this..Size = new System.Drawing.Size(152, 26);
this..Size = new System.Drawing.Size(122, 22);
this..Text = "게시판";
this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -718,7 +719,7 @@
// 공지발송
//
this..Name = "공지발송";
this..Size = new System.Drawing.Size(152, 26);
this..Size = new System.Drawing.Size(122, 22);
this..Text = "공지발송";
this..Visible = false;
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
@@ -731,35 +732,35 @@
this.,
this.});
this..Name = "판매";
this..Size = new System.Drawing.Size(152, 26);
this..Size = new System.Drawing.Size(122, 22);
this..Text = "판매";
this..Visible = false;
//
// 판매1
//
this.1.Name = "판매1";
this.1.Size = new System.Drawing.Size(152, 26);
this.1.Size = new System.Drawing.Size(122, 22);
this.1.Text = "판매";
this.1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
//
// 정산
//
this..Name = "정산";
this..Size = new System.Drawing.Size(152, 26);
this..Size = new System.Drawing.Size(122, 22);
this..Text = "정산";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 판매마감
//
this..Name = "판매마감";
this..Size = new System.Drawing.Size(152, 26);
this..Size = new System.Drawing.Size(122, 22);
this..Text = "판매마감";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 회원관리
//
this..Name = "회원관리";
this..Size = new System.Drawing.Size(152, 26);
this..Size = new System.Drawing.Size(122, 22);
this..Text = "회원관리";
this..Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -774,7 +775,7 @@
this.ToolStripMenuItem,
this.btDevDb});
this.ToolStripMenuItem.Name = "마스터ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(68, 26);
this.ToolStripMenuItem.Size = new System.Drawing.Size(55, 20);
this.ToolStripMenuItem.Text = "마스터";
//
// 이용자관리ToolStripMenuItem
@@ -782,48 +783,48 @@
this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem});
this.ToolStripMenuItem.Name = "이용자관리ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(252, 26);
this.ToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
this.ToolStripMenuItem.Text = "이용자 관리";
//
// 신규사업자등록ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "신규사업자등록ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(172, 26);
this.ToolStripMenuItem.Size = new System.Drawing.Size(138, 22);
this.ToolStripMenuItem.Text = "사업자 관리";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 공지발송ToolStripMenuItem1
//
this.ToolStripMenuItem1.Name = "공지발송ToolStripMenuItem1";
this.ToolStripMenuItem1.Size = new System.Drawing.Size(252, 26);
this.ToolStripMenuItem1.Size = new System.Drawing.Size(202, 22);
this.ToolStripMenuItem1.Text = "공지 발송";
this.ToolStripMenuItem1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
//
// 매출내역ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "매출내역ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(252, 26);
this.ToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
this.ToolStripMenuItem.Text = "매출내역";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 이용자거래처조회ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "이용자거래처조회ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(252, 26);
this.ToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
this.ToolStripMenuItem.Text = "이용자 거래처 조회";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 마크설정ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "마크설정ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(252, 26);
this.ToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
this.ToolStripMenuItem.Text = "마크설정";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 일괄처리관리ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "일괄처리관리ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(252, 26);
this.ToolStripMenuItem.Size = new System.Drawing.Size(202, 22);
this.ToolStripMenuItem.Text = "일괄처리 관리";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
@@ -831,7 +832,7 @@
//
this.btDevDb.ForeColor = System.Drawing.Color.Blue;
this.btDevDb.Name = "btDevDb";
this.btDevDb.Size = new System.Drawing.Size(252, 26);
this.btDevDb.Size = new System.Drawing.Size(202, 22);
this.btDevDb.Text = "데이터베이스편집(개발)";
this.btDevDb.Visible = false;
this.btDevDb.Click += new System.EventHandler(this.btDevDb_Click);
@@ -840,7 +841,7 @@
//
this.menu_allclose.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.menu_allclose.Name = "menu_allclose";
this.menu_allclose.Size = new System.Drawing.Size(108, 26);
this.menu_allclose.Size = new System.Drawing.Size(87, 20);
this.menu_allclose.Text = "전체 창 닫기";
this.menu_allclose.Click += new System.EventHandler(this.menu_allclose_Click);
//
@@ -861,10 +862,9 @@
this.panel1.Controls.Add(this.ShortCut2);
this.panel1.Controls.Add(this.ShortCut1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 30);
this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.panel1.Location = new System.Drawing.Point(0, 24);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1902, 80);
this.panel1.Size = new System.Drawing.Size(1664, 64);
this.panel1.TabIndex = 2;
//
// ShortCut12
@@ -873,10 +873,9 @@
this.ShortCut12.Enabled = false;
this.ShortCut12.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.ShortCut12.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut12.Location = new System.Drawing.Point(982, 1);
this.ShortCut12.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut12.Location = new System.Drawing.Point(859, 1);
this.ShortCut12.Name = "ShortCut12";
this.ShortCut12.Size = new System.Drawing.Size(69, 75);
this.ShortCut12.Size = new System.Drawing.Size(60, 60);
this.ShortCut12.TabIndex = 2;
this.ShortCut12.Text = "즐겨찾기12";
this.ShortCut12.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -888,10 +887,9 @@
this.ShortCut11.Enabled = false;
this.ShortCut11.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.ShortCut11.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut11.Location = new System.Drawing.Point(894, 1);
this.ShortCut11.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut11.Location = new System.Drawing.Point(782, 1);
this.ShortCut11.Name = "ShortCut11";
this.ShortCut11.Size = new System.Drawing.Size(69, 75);
this.ShortCut11.Size = new System.Drawing.Size(60, 60);
this.ShortCut11.TabIndex = 2;
this.ShortCut11.Text = "즐겨찾기11";
this.ShortCut11.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -903,10 +901,9 @@
this.ShortCut10.Enabled = false;
this.ShortCut10.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.ShortCut10.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut10.Location = new System.Drawing.Point(806, 1);
this.ShortCut10.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut10.Location = new System.Drawing.Point(705, 1);
this.ShortCut10.Name = "ShortCut10";
this.ShortCut10.Size = new System.Drawing.Size(69, 75);
this.ShortCut10.Size = new System.Drawing.Size(60, 60);
this.ShortCut10.TabIndex = 2;
this.ShortCut10.Text = "즐겨찾기10";
this.ShortCut10.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -918,10 +915,9 @@
this.ShortCut9.Enabled = false;
this.ShortCut9.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.ShortCut9.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut9.Location = new System.Drawing.Point(718, 1);
this.ShortCut9.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut9.Location = new System.Drawing.Point(628, 1);
this.ShortCut9.Name = "ShortCut9";
this.ShortCut9.Size = new System.Drawing.Size(69, 75);
this.ShortCut9.Size = new System.Drawing.Size(60, 60);
this.ShortCut9.TabIndex = 2;
this.ShortCut9.Text = "즐겨찾기9";
this.ShortCut9.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -933,10 +929,9 @@
this.ShortCut8.Enabled = false;
this.ShortCut8.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.ShortCut8.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut8.Location = new System.Drawing.Point(630, 1);
this.ShortCut8.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut8.Location = new System.Drawing.Point(551, 1);
this.ShortCut8.Name = "ShortCut8";
this.ShortCut8.Size = new System.Drawing.Size(69, 75);
this.ShortCut8.Size = new System.Drawing.Size(60, 60);
this.ShortCut8.TabIndex = 1;
this.ShortCut8.Text = "즐겨찾기8";
this.ShortCut8.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -948,10 +943,9 @@
this.ShortCut6.Enabled = false;
this.ShortCut6.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.ShortCut6.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut6.Location = new System.Drawing.Point(454, 1);
this.ShortCut6.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut6.Location = new System.Drawing.Point(397, 1);
this.ShortCut6.Name = "ShortCut6";
this.ShortCut6.Size = new System.Drawing.Size(69, 75);
this.ShortCut6.Size = new System.Drawing.Size(60, 60);
this.ShortCut6.TabIndex = 2;
this.ShortCut6.Text = "즐겨찾기6";
this.ShortCut6.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -963,10 +957,9 @@
this.ShortCut5.Enabled = false;
this.ShortCut5.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.ShortCut5.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut5.Location = new System.Drawing.Point(366, 1);
this.ShortCut5.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut5.Location = new System.Drawing.Point(320, 1);
this.ShortCut5.Name = "ShortCut5";
this.ShortCut5.Size = new System.Drawing.Size(69, 75);
this.ShortCut5.Size = new System.Drawing.Size(60, 60);
this.ShortCut5.TabIndex = 1;
this.ShortCut5.Text = "즐겨찾기5";
this.ShortCut5.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -978,10 +971,9 @@
this.ShortCut7.Enabled = false;
this.ShortCut7.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.ShortCut7.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut7.Location = new System.Drawing.Point(542, 1);
this.ShortCut7.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut7.Location = new System.Drawing.Point(474, 1);
this.ShortCut7.Name = "ShortCut7";
this.ShortCut7.Size = new System.Drawing.Size(69, 75);
this.ShortCut7.Size = new System.Drawing.Size(60, 60);
this.ShortCut7.TabIndex = 0;
this.ShortCut7.Text = "즐겨찾기7";
this.ShortCut7.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -993,10 +985,9 @@
this.ShortCut3.Enabled = false;
this.ShortCut3.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.ShortCut3.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut3.Location = new System.Drawing.Point(190, 1);
this.ShortCut3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut3.Location = new System.Drawing.Point(166, 1);
this.ShortCut3.Name = "ShortCut3";
this.ShortCut3.Size = new System.Drawing.Size(69, 75);
this.ShortCut3.Size = new System.Drawing.Size(60, 60);
this.ShortCut3.TabIndex = 2;
this.ShortCut3.Text = "즐겨찾기3";
this.ShortCut3.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -1008,10 +999,9 @@
this.ShortCut4.Enabled = false;
this.ShortCut4.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.ShortCut4.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut4.Location = new System.Drawing.Point(278, 1);
this.ShortCut4.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut4.Location = new System.Drawing.Point(243, 1);
this.ShortCut4.Name = "ShortCut4";
this.ShortCut4.Size = new System.Drawing.Size(69, 75);
this.ShortCut4.Size = new System.Drawing.Size(60, 60);
this.ShortCut4.TabIndex = 0;
this.ShortCut4.Text = "즐겨찾기4";
this.ShortCut4.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -1023,10 +1013,9 @@
this.ShortCut2.Enabled = false;
this.ShortCut2.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.ShortCut2.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut2.Location = new System.Drawing.Point(102, 1);
this.ShortCut2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut2.Location = new System.Drawing.Point(89, 1);
this.ShortCut2.Name = "ShortCut2";
this.ShortCut2.Size = new System.Drawing.Size(69, 75);
this.ShortCut2.Size = new System.Drawing.Size(60, 60);
this.ShortCut2.TabIndex = 1;
this.ShortCut2.Text = "즐겨찾기2";
this.ShortCut2.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -1038,10 +1027,9 @@
this.ShortCut1.Enabled = false;
this.ShortCut1.Font = new System.Drawing.Font("굴림", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.ShortCut1.ForeColor = System.Drawing.Color.Transparent;
this.ShortCut1.Location = new System.Drawing.Point(14, 1);
this.ShortCut1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ShortCut1.Location = new System.Drawing.Point(12, 1);
this.ShortCut1.Name = "ShortCut1";
this.ShortCut1.Size = new System.Drawing.Size(69, 75);
this.ShortCut1.Size = new System.Drawing.Size(60, 60);
this.ShortCut1.TabIndex = 0;
this.ShortCut1.Text = "즐겨찾기1";
this.ShortCut1.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
@@ -1062,58 +1050,58 @@
this.toolStripSeparator3,
this.IPText,
this.lblStatus});
this.toolStrip1.Location = new System.Drawing.Point(0, 1002);
this.toolStrip1.Location = new System.Drawing.Point(0, 801);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1902, 31);
this.toolStrip1.Size = new System.Drawing.Size(1664, 25);
this.toolStrip1.TabIndex = 4;
this.toolStrip1.Text = "toolStrip1";
//
// toolStripLabel2
//
this.toolStripLabel2.Name = "toolStripLabel2";
this.toolStripLabel2.Size = new System.Drawing.Size(54, 28);
this.toolStripLabel2.Size = new System.Drawing.Size(43, 22);
this.toolStripLabel2.Text = "회사명";
//
// VersionText
//
this.VersionText.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.VersionText.Name = "VersionText";
this.VersionText.Size = new System.Drawing.Size(143, 28);
this.VersionText.Size = new System.Drawing.Size(116, 22);
this.VersionText.Text = "UniMarc Ver 0.0000";
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 31);
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
//
// botUserLabel
//
this.botUserLabel.Name = "botUserLabel";
this.botUserLabel.Size = new System.Drawing.Size(54, 28);
this.botUserLabel.Size = new System.Drawing.Size(43, 22);
this.botUserLabel.Text = "이용자";
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 31);
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 31);
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
//
// IPText
//
this.IPText.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.IPText.Name = "IPText";
this.IPText.Size = new System.Drawing.Size(183, 28);
this.IPText.Size = new System.Drawing.Size(154, 22);
this.IPText.Text = "접속 아이피 : 0.000.00.000";
//
// lblStatus
//
this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(34, 28);
this.lblStatus.Size = new System.Drawing.Size(27, 22);
this.lblStatus.Text = "WD";
//
// mdiTabControl
@@ -1121,40 +1109,44 @@
this.mdiTabControl.Controls.Add(this.tabPage1);
this.mdiTabControl.Controls.Add(this.tabPage2);
this.mdiTabControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.mdiTabControl.Location = new System.Drawing.Point(0, 110);
this.mdiTabControl.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.mdiTabControl.Location = new System.Drawing.Point(0, 88);
this.mdiTabControl.Name = "mdiTabControl";
this.mdiTabControl.SelectedIndex = 0;
this.mdiTabControl.Size = new System.Drawing.Size(1902, 892);
this.mdiTabControl.Size = new System.Drawing.Size(1664, 713);
this.mdiTabControl.TabIndex = 5;
//
// tabPage1
//
this.tabPage1.Location = new System.Drawing.Point(4, 25);
this.tabPage1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tabPage1.Location = new System.Drawing.Point(4, 22);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tabPage1.Size = new System.Drawing.Size(1894, 863);
this.tabPage1.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
this.tabPage1.Size = new System.Drawing.Size(1656, 687);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "tabPage1";
this.tabPage1.UseVisualStyleBackColor = true;
//
// tabPage2
//
this.tabPage2.Location = new System.Drawing.Point(4, 25);
this.tabPage2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tabPage2.Location = new System.Drawing.Point(4, 22);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tabPage2.Size = new System.Drawing.Size(1894, 871);
this.tabPage2.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
this.tabPage2.Size = new System.Drawing.Size(1656, 688);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "tabPage2";
this.tabPage2.UseVisualStyleBackColor = true;
//
// 신규마크작성NewToolStripMenuItem
//
this.NewToolStripMenuItem.Name = "신규마크작성NewToolStripMenuItem";
this.NewToolStripMenuItem.Size = new System.Drawing.Size(182, 22);
this.NewToolStripMenuItem.Text = "신규마크 작성(New)";
this.NewToolStripMenuItem.Click += new System.EventHandler(this.NewToolStripMenuItem_Click);
//
// Main
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1902, 1033);
this.ClientSize = new System.Drawing.Size(1664, 826);
this.Controls.Add(this.mdiTabControl);
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.panel1);
@@ -1162,7 +1154,6 @@
this.HelpButton = true;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.menuStrip1;
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.Name = "Main";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "메인";
@@ -1291,5 +1282,6 @@
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.ToolStripMenuItem menu_allclose;
private System.Windows.Forms.ToolStripMenuItem NewToolStripMenuItem;
}
}

View File

@@ -889,5 +889,10 @@ namespace WindowsFormsApp1
}
}
}
private void NewToolStripMenuItem_Click(object sender, EventArgs e)
{
OpenFormInTab<AddMarc2>(() => new AddMarc2(this));
}
}
}

View File

@@ -280,6 +280,12 @@
<Compile Include="마스터\From_User_manage_List.Designer.cs">
<DependentUpon>From_User_manage_List.cs</DependentUpon>
</Compile>
<Compile Include="마크\AddMarc2.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="마크\AddMarc2.Designer.cs">
<DependentUpon>AddMarc2.cs</DependentUpon>
</Compile>
<Compile Include="마크\AddMarc.cs">
<SubType>Form</SubType>
</Compile>
@@ -1035,6 +1041,9 @@
<EmbeddedResource Include="마스터\From_User_manage_List.resx">
<DependentUpon>From_User_manage_List.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\AddMarc2.resx">
<DependentUpon>AddMarc2.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="마크\AddMarc.resx">
<DependentUpon>AddMarc.cs</DependentUpon>
</EmbeddedResource>

View File

@@ -334,28 +334,7 @@ namespace UniMarc.마크
PUB.log.Add("ADDMarcUPDATE", string.Format("{0}({1}) : {2}", mUserName, mCompidx, UpCMD.Replace("\r", " ").Replace("\n", " ")));
db.DB_Send_CMD_reVoid(UpCMD);
}
#region UpdateSub
/// <summary>
/// 어느곳이 최근 저장인지 확인
/// </summary>
/// <param name="table">테이블명</param>
/// <param name="midx">idx</param>
/// <returns>marcChk 번호</returns>
private int subMarcChk(string table, string midx)
{
string Area = "`marc_chk`, `marc_chk1`, `marc_chk2`";
string cmd = db.DB_Select_Search(Area, table, "idx", midx);
string db_res = db.DB_Send_CMD_Search(cmd);
string[] chk_ary = db_res.Split('|');
for (int a = 0; a < chk_ary.Length; a++)
{
if (chk_ary[a] == "1")
return a;
}
return 0;
}
#endregion
/// <summary>
/// 마크DB에 INSERT해주는 함수

View File

@@ -0,0 +1,157 @@
namespace UniMarc.
{
partial class AddMarc2
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.btn_close = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel();
this.cb_SearchCol = new System.Windows.Forms.ComboBox();
this.tb_Search = new System.Windows.Forms.TextBox();
this.panel2 = new System.Windows.Forms.Panel();
this.Btn_SearchKolis = new System.Windows.Forms.Button();
this.btn_Empty = new System.Windows.Forms.Button();
this.marcEditorControl1 = new ExcelTest.MarcEditorControl();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.SuspendLayout();
//
// btn_close
//
this.btn_close.Location = new System.Drawing.Point(1168, 3);
this.btn_close.Name = "btn_close";
this.btn_close.Size = new System.Drawing.Size(77, 23);
this.btn_close.TabIndex = 381;
this.btn_close.Text = "닫 기";
this.btn_close.UseVisualStyleBackColor = true;
this.btn_close.Click += new System.EventHandler(this.btn_close_Click);
//
// panel1
//
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Controls.Add(this.Btn_SearchKolis);
this.panel1.Controls.Add(this.cb_SearchCol);
this.panel1.Controls.Add(this.btn_Empty);
this.panel1.Controls.Add(this.tb_Search);
this.panel1.Controls.Add(this.btn_close);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1324, 32);
this.panel1.TabIndex = 393;
//
// cb_SearchCol
//
this.cb_SearchCol.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cb_SearchCol.FormattingEnabled = true;
this.cb_SearchCol.Items.AddRange(new object[] {
"ISBN",
"서명",
"저자",
"출판사"});
this.cb_SearchCol.Location = new System.Drawing.Point(8, 5);
this.cb_SearchCol.Name = "cb_SearchCol";
this.cb_SearchCol.Size = new System.Drawing.Size(121, 20);
this.cb_SearchCol.TabIndex = 395;
//
// tb_Search
//
this.tb_Search.Location = new System.Drawing.Point(135, 5);
this.tb_Search.Name = "tb_Search";
this.tb_Search.Size = new System.Drawing.Size(205, 21);
this.tb_Search.TabIndex = 0;
this.tb_Search.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_ISBN_KeyDown);
//
// panel2
//
this.panel2.Controls.Add(this.marcEditorControl1);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(0, 32);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(1324, 907);
this.panel2.TabIndex = 394;
//
// Btn_SearchKolis
//
this.Btn_SearchKolis.Location = new System.Drawing.Point(1002, 3);
this.Btn_SearchKolis.Name = "Btn_SearchKolis";
this.Btn_SearchKolis.Size = new System.Drawing.Size(77, 23);
this.Btn_SearchKolis.TabIndex = 397;
this.Btn_SearchKolis.Text = "코리스 검색";
this.Btn_SearchKolis.UseVisualStyleBackColor = true;
this.Btn_SearchKolis.Click += new System.EventHandler(this.Btn_SearchKolis_Click);
//
// btn_Empty
//
this.btn_Empty.Location = new System.Drawing.Point(1085, 3);
this.btn_Empty.Name = "btn_Empty";
this.btn_Empty.Size = new System.Drawing.Size(77, 23);
this.btn_Empty.TabIndex = 396;
this.btn_Empty.Text = "비 우 기";
this.btn_Empty.UseVisualStyleBackColor = true;
this.btn_Empty.Click += new System.EventHandler(this.btn_Empty_Click);
//
// marcEditorControl1
//
this.marcEditorControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.marcEditorControl1.Font = new System.Drawing.Font("돋움", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.marcEditorControl1.Location = new System.Drawing.Point(0, 0);
this.marcEditorControl1.Name = "marcEditorControl1";
this.marcEditorControl1.Size = new System.Drawing.Size(1324, 907);
this.marcEditorControl1.TabIndex = 394;
//
// AddMarc2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Gray;
this.ClientSize = new System.Drawing.Size(1324, 939);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.Name = "AddMarc2";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "마크 작성(2-New)";
this.Load += new System.EventHandler(this.AddMarc_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.panel2.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Button btn_close;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.TextBox tb_Search;
private System.Windows.Forms.ComboBox cb_SearchCol;
private System.Windows.Forms.Button btn_Empty;
private System.Windows.Forms.Button Btn_SearchKolis;
private ExcelTest.MarcEditorControl marcEditorControl1;
}
}

View File

@@ -0,0 +1,573 @@
using ExcelTest;
using SHDocVw;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Forms;
using WindowsFormsApp1;
namespace UniMarc.
{
public partial class AddMarc2 : Form
{
Helper_DB db = new Helper_DB();
String_Text st = new String_Text();
Help008Tag tag008 = new Help008Tag();
public string mUserName;
public string mCompidx;
private string mOldMarc = string.Empty;
Main m;
public AddMarc2(Main _m)
{
InitializeComponent();
m = _m;
mUserName = m.User;
mCompidx = m.com_idx;
}
private void AddMarc_Load(object sender, EventArgs e)
{
cb_SearchCol.SelectedIndex = 0;
db.DBcon();
TextReset();
marcEditorControl1.db = this.db;
marcEditorControl1.BookSaved += MarcEditorControl1_BookSaved;
marcEditorControl1.CloseButton += (s1,e1)=> { this.Close(); };
marcEditorControl1.SetButtonKolist(false);
marcEditorControl1.SetButtonNext(false);
marcEditorControl1.SetButtonPrev(false);
}
public void SetKolisValueApply(string marc)
{
this.marcEditorControl1.SetMarcString(marc);
}
private void MarcEditorControl1_BookSaved(object sender, MarcEditorControl.BookSavedEventArgs e)
{
string tag056 = Tag056(e.DBMarc, e.griddata);
string date = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
string orimarc = st.made_Ori_marc(e.DBMarc).Replace(@"\", "₩");
if (!isMustTag(orimarc))
{
return;
}
var MarcText = e.DBMarc;
string midx = this.lbl_Midx;
string[] BookData = GetBookData(MarcText);
bool IsCoverDate = false;
if (e.griddata.SaveDate != "")
{
// 마지막 수정일로부터 2일이 지났는지, 마지막 저장자가 사용자인지 확인
TimeSpan sp = CheckDate(e.griddata.SaveDate, date);
IsCoverDate = IsCoverData(sp.Days, e.griddata.User);
//if (IsCoverDate)
// etc2.Text = etc2.Text.Replace(SaveData[0], date);
}
//else
// etc2.Text += string.Format("{0}\t{1}\n", date, mUserName);
string Table = "Marc";
bool isUpdate;
if (lbl_Midx != "")
isUpdate = true;
else
isUpdate = false;
var grade = int.Parse(e.griddata.Grade);
if (isUpdate)
UpdateMarc(Table, midx, orimarc, grade, tag056, date, IsCoverDate,e.griddata);
else
InsertMarc(Table, BookData, orimarc, grade, tag056, date, e.griddata);
MessageBox.Show("저장되었습니다.", "저장");
}
private void tb_ISBN_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode != Keys.Enter)
return;
TextReset();
string SearchText = tb_Search.Text;
string SearchCol = cb_SearchCol.SelectedItem.ToString();
MarcCopySelect mcs = new MarcCopySelect(this);
mcs.Init(SearchCol, SearchText);
mcs.Show();
}
/// <summary>
/// ISBN 검색후 특정 마크 선택시 현재폼에 적용시키는 폼
/// </summary>
/// <param name="Marc">뷰형태 마크데이터</param>
/// <param name="ISBN">ISBN</param>
/// <param name="GridData">
/// 0:idx <br></br>
/// 1:compidx <br></br>
/// 2:user <br></br>
/// 3:date <br></br>
/// 4:grade <br></br>
/// 5:tag008 <br></br>
/// 6:LineMarc</param>
public void SelectMarc_Sub(string Marc, string ISBN, string[] GridData)
{
this.marcEditorControl1.LoadBookData(Marc, new MacEditorParameter
{
ISBN13 = ISBN,
SaveDate = string.Format("[{0}] [{1}]", GridData[2], GridData[3]),
Grade = GridData[4],
Remark1 = string.Empty,
Remark2 = string.Empty,
NewMake = true
});
mOldMarc = GridData[6];
lbl_Midx = GridData[0];
}
string lbl_Midx = "";
private void btn_close_Click(object sender, EventArgs e)
{
this.Close();
}
private void btn_Empty_Click(object sender, EventArgs e)
{
TextReset();
}
/// <summary>
/// 전체 초기화
/// </summary>
/// <param name="isDelete">탭 컨트롤에서 사용할 경우 false</param>
public void TextReset(bool isDelete = true)
{
if (isDelete)
{
marcEditorControl1.LoadBookData(string.Empty, new MacEditorParameter
{
ISBN13 = string.Empty,
SaveDate = string.Empty,
Remark1 = string.Empty,
Remark2 = string.Empty,
NewMake=true,
});
}
}
string TextResetSub()
{
// 입력일자 (00-05)
// 발행년유형 (6)
// 발행년1 (07-10)
// 발행년2 (11-14)
// 발행국 (15-17)
// 삽화표시 (18-21)
// 이용대상자수준 (22) v
// 개별자료형태 (23) v
// 내용형식1 (24) v
// 내용형식2 (25) v
// 한국대학부호 (26-27)
// 수정레코드 (28)
// 회의간행물 (29) c
// 기념논문집 (30) c
// 색인 (31)
// 목록전거 (32)
// 문학형식 (33) v
// 전기 (34) v
// 언어 (35-37) v
// 한국정부기관부호 (38-39)
string yyMMdd = DateTime.Now.ToString("yyMMdd");
string yyyy = DateTime.Now.ToString("yyyy");
string Empty_008 = yyMMdd + "s" + yyyy + " 000 kor ▲";
string Empty_text = string.Format(
$"008\t {Empty_008.Replace("", "")}" +
"020\t \t▼a▼c▲\n" +
"056\t \t▼a▼2▲\n" +
"100\t \t▼a▲\n" +
"245\t \t▼a▼d▲\n" +
"260\t \t▼b▲\n" +
"300\t \t▼a▼c▲\n" +
"653\t \t▼a▲\n" +
"700\t \t▼a▲\n" +
"950\t \t▼b▲\n");
this.marcEditorControl1.SetRemark(string.Empty, string.Empty);
return Empty_text;
}
#region SaveSub
/// <summary>
/// 마크DB에 UPDATE해주는 함수
/// </summary>
/// <param name="Table">테이블 이름</param>
/// <param name="MarcIndex">마크 인덱스 번호</param>
/// <param name="oriMarc">한줄짜리 마크</param>
/// <param name="grade">마크 등급</param>
/// <param name="tag056">분류기호</param>
/// <param name="date">저장시각 yyyy-MM-dd HH:mm:ss</param>
/// <param name="IsCovertDate">덮어씌울지 유무</param>
void UpdateMarc(string Table, string MarcIndex, string oriMarc, int grade, string tag056, string date, bool IsCovertDate, MacEditorParameter param)
{
string[] EditTable =
{
"compidx", "marc", "marc_chk","marc1", "marc_chk1", "비고1",
"비고2", "division", "008tag", "date", "user",
"grade"
};
string[] EditColumn =
{
mCompidx, oriMarc, "1",mOldMarc, "0", param.Remark1,
param.Remark2, tag056, param.text008, date, mUserName,
grade.ToString()
};
string[] SearchTable = { "idx", "compidx" };
string[] SearchColumn = { MarcIndex, mCompidx };
//int marcChk = subMarcChk(Table, MarcIndex);
//if (IsCovertDate)
// marcChk--;
//switch (marcChk)
//{
// case 0:
// EditTable[1] = "marc1";
// EditTable[2] = "marc_chk1";
// EditTable[3] = "marc_chk";
// break;
// case 1:
// EditTable[1] = "marc2";
// EditTable[2] = "marc_chk2";
// EditTable[3] = "marc_chk1";
// break;
// case 2:
// EditTable[1] = "marc";
// EditTable[2] = "marc_chk";
// EditTable[3] = "marc_chk2";
// break;
// default:
// EditTable[1] = "marc";
// EditTable[2] = "marc_chk";
// EditTable[3] = "marc_chk2";
// break;
//}
string UpCMD = db.More_Update(Table, EditTable, EditColumn, SearchTable, SearchColumn);
PUB.log.Add("ADDMarcUPDATE", string.Format("{0}({1}) : {2}", mUserName, mCompidx, UpCMD.Replace("\r", " ").Replace("\n", " ")));
db.DB_Send_CMD_reVoid(UpCMD);
}
/// <summary>
/// 마크DB에 INSERT해주는 함수
/// </summary>
/// <param name="Table">테이블 이름</param>
/// <param name="BookData">0:ISBN 1:서명 2:저자 3:출판사 4:정가</param>
/// <param name="oriMarc">한줄짜리 마크</param>
/// <param name="grade">마크 등급</param>
/// <param name="tag056">분류기호</param>
/// <param name="date">저장시각 yyyy-MM-dd HH:mm:ss</param>
void InsertMarc(string Table, string[] BookData, string oriMarc, int grade, string tag056, string date, MacEditorParameter param)
{
string[] InsertTable =
{
"ISBN", "서명", "저자", "출판사", "가격",
"marc", "비고1", "비고2", "grade", "marc_chk",
"user", "division", "008tag", "date", "compidx"
};
string[] InsertColumn =
{
BookData[0], BookData[1], BookData[2], BookData[3], BookData[4],
oriMarc, param.Remark1, param.Remark2, grade.ToString(), "1",
mUserName, tag056, param.text008, date, mCompidx
};
string InCMD = db.DB_INSERT(Table, InsertTable, InsertColumn);
PUB.log.Add("ADDMarcINSERT", string.Format("{0}({1}) : {2}", mUserName, mCompidx, InCMD.Replace("\r", " ").Replace("\n", " ")));
db.DB_Send_CMD_reVoid(InCMD);
}
/// <summary>
/// 마크 저장시 사용하며, 마지막 수정일과 수정자를 가져와 덮어씌울지 백업데이터를 만들지 구분
/// </summary>
/// <param name="TimeSpanDaysValue">저장할 마크의 마지막 수정일</param>
/// <param name="user">저장할 마크의 마지막 수정자</param>
/// <returns>마지막 수정일로부터 2일이 지나지 않고, 마지막 수정자와 해당 유저가 동일 할 경우 True 반환</returns>
private bool IsCoverData(int TimeSpanDaysValue, string user)
{
if (TimeSpanDaysValue < -1)
return false;
if (user != mUserName)
return false;
return true;
}
private TimeSpan CheckDate(string LastDate, string SaveDate)
{
DateTime Last = Convert.ToDateTime(LastDate);
DateTime Save = Convert.ToDateTime(SaveDate);
return Last - Save;
}
/// <summary>
/// 필수태그 검사
/// </summary>
/// <param name="orimarc">한줄짜리 마크</param>
/// <returns>필수태그 없을시 false 반환</returns>
private bool isMustTag(string orimarc)
{
string[] SearchTag = { "056a", "0562", "245a", "245d", "260a", "260c", "300a", "300c", "653a" };
string[] Tag = st.Take_Tag(orimarc, SearchTag);
int count = 0;
string msg = "";
bool isTag = true;
foreach (string tag in Tag)
{
if (tag == "")
{
msg += SearchTag[count] + " ";
isTag = false;
}
count++;
}
if (!isTag)
{
MessageBox.Show(msg + "태그가 없습니다.");
return false;
}
bool is1XX = false;
string[] AuthorTag = { "100a", "110a", "111a" };
Tag = st.Take_Tag(orimarc, AuthorTag);
foreach (string author in Tag)
{
if (author != "")
is1XX = true;
}
if (!is1XX)
{
MessageBox.Show("기본표목이 존재하지않습니다.");
return false;
}
bool is7XX = false;
AuthorTag[0] = "700a";
AuthorTag[1] = "710a";
AuthorTag[2] = "711a";
Tag = st.Take_Tag(orimarc, AuthorTag);
foreach (string author in Tag)
{
if (author != "")
is7XX = true;
}
if (!is7XX)
{
MessageBox.Show("부출표목이 존재하지않습니다.");
return false;
}
return true;
}
/// <summary>
/// 관련 도서 정보를 가져옴
/// </summary>
/// <param name="ViewMarc">뷰형태의 마크</param>
/// <returns>0:ISBN 1:서명 2:저자 3:출판사 4:정가</returns>
string[] GetBookData(string ViewMarc)
{
// ISBN, BookName, Author, BookComp, Price
string[] result = { "", "", "", "", "" };
bool IsISBN = false;
string[] TargetArr = ViewMarc.Split('\n');
foreach (string Target in TargetArr)
{
string[] tmp = Target.Replace("▲", "").Split('\t');
// 0:ISBN 4:Price
if (tmp[0] == "020" && !IsISBN)
{
IsISBN = true;
result[0] = GetMiddelString(tmp[2], "▼a", "▼");
result[4] = GetMiddelString(tmp[2], "▼c", "▼");
}
// 2:Author
if (tmp[0] == "100")
result[2] = GetMiddelString(tmp[2], "▼a", "▼");
else if (tmp[0] == "110")
result[2] = GetMiddelString(tmp[2], "▼a", "▼");
else if (tmp[0] == "111")
result[2] = GetMiddelString(tmp[2], "▼a", "▼");
// 1:BookName
if (tmp[0] == "245")
result[1] = GetMiddelString(tmp[2], "▼a", "▼");
// 3:BookComp
if (tmp[0] == "300")
result[3] = GetMiddelString(tmp[2], "▼b", "▼");
}
return result;
}
string Tag056(string marc,MacEditorParameter param)
{
// string marc = richTextBox1.Text;
string[] temp = marc.Split('\n');
List<string> target = temp.ToList();
bool isEight = false;
bool eight_chk = false;
string tag056 = string.Empty;
int count = 0;
for (int a = 0; a < target.Count - 1; a++)
{
string[] tmp = target[a].Split('\t');
string tag = tmp[0];
if (tag == "") break;
int eight = Convert.ToInt32(tag.Substring(0, 3));
if (eight == 008)
{
count = a;
eight_chk = true;
isEight = true;
}
else if (eight > 008 && !eight_chk)
{
count = a;
eight_chk = true;
}
if (tag == "056")
tag056 = GetMiddelString(tmp[2], "▼a", "▼");
}
if (!isEight)
target.Insert(count, string.Format("{0}\t{1}\t{2}▲", "008", " ", param.text008));
//richTextBox1.Text = string.Join("\n", target.ToArray());
return tag056;
}
/// <summary>
/// 문자와 문자사이의 값 가져오기
/// </summary>
/// <param name="str">대상 문자열</param>
/// <param name="begin">시작 문자열</param>
/// <param name="end">마지막 문자열</param>
/// <param name="TagNum">불러올 태그 번호</param>
/// <returns>문자 사이값</returns>
public string GetMiddelString(string str, string begin, string end, string TagNum = "")
{
string result = "";
if (string.IsNullOrEmpty(str) || str == "")
return result;
int count = 0;
bool loop = false;
for (int a = count; a < str.Length; a++)
{
count = str.IndexOf(begin);
if (count > -1)
{
str = str.Substring(count + begin.Length);
if (loop)
// 여러 태그들 구분을 지어줌.
result += "▽";
if (str.IndexOf(end) > -1)
result += str.Substring(0, str.IndexOf(end));
else
result += str;
result = TrimEndGubun(result, TagNum);
}
else
break;
loop = true;
}
return result;
}
string TrimEndGubun(string str, string TagNum)
{
char[] gu = { '.', ',', ':', ';', '/', ' ' };
if (TagNum == "300" || TagNum == "300a")
{
str = str.Trim();
if (TagNum == "300a")
{
gu = new char[] { '.', ',', '=', ':', ';', '/', '+', ' ' };
for (int i = 0; i < gu.Length; i++)
{
str = str.TrimEnd(gu[i]);
}
}
if (str.Contains("ill."))
return str;
if (str.Contains("p."))
return str;
}
if (TagNum == "710" || TagNum == "910")
return str;
if (TagNum == "245") gu = new char[] { '.', ':', ';', '/', ' ' };
if (TagNum == "245a") gu = new char[] { '.', ',', '=', ':', ';', '/', ' ' };
for (int i = 0; i < gu.Length; i++)
{
str = str.TrimEnd(gu[i]);
}
//foreach (char gubun in gu)
//{
// if (str.Length < 1) continue;
// if (str[str.Length - 1] == gubun)
// {
// str = str.Remove(str.Length - 1);
// str = str.Trim();
// }
//}
return str;
}
#endregion
private void Btn_SearchKolis_Click(object sender, EventArgs e)
{
AddMarc_FillBlank af = new AddMarc_FillBlank(this);
af.Show();
}
}
}

View File

@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>32</value>
</metadata>
</root>

View File

@@ -13,14 +13,20 @@ namespace UniMarc.마크
public partial class AddMarc_FillBlank : Form
{
AddMarc am;
AddMarc2 am2;
public AddMarc_FillBlank(AddMarc _am)
{
InitializeComponent();
am = _am;
}
public AddMarc_FillBlank(AddMarc2 _am)
{
InitializeComponent();
am2 = _am;
}
private void AddMarc_FillBlank_Load(object sender, EventArgs e)
{
webBrowser1.ScriptErrorsSuppressed = true;
webBrowser1.Navigate("https://nl.go.kr/kolisnet/search/searchResultAllList.do?");
}
@@ -108,7 +114,10 @@ namespace UniMarc.마크
if (ary[1].Length != 2) ary[1].PadRight(2);
tmp += String.Join("\t", ary) + "\n";
}
if(am != null)
am.richTextBox1.Text = tmp;
if(am2 != null)
am2.SetKolisValueApply(tmp);
}
private void Btn_Close_Click(object sender, EventArgs e)

View File

@@ -20,6 +20,9 @@ namespace ExcelTest
public string Remark1 { get; set; }
public string Remark2 { get; set; }
public string text008 { get; set; }
public string tag056 { get; set; }
public bool NewMake { get; set; }
}
}

View File

@@ -585,7 +585,7 @@ namespace ExcelTest
string[] Insert_col = {
e.griddata.ISBN13, e.griddata.BookName, e.griddata.Author, e.griddata.Publisher,
e.griddata.Price, orimarc, e.griddata.Remark1, e.griddata.Remark2, e.griddata.URL,
e.griddata.Grade, "1", mUserName, e.tag056, e.text008,
e.griddata.Grade, "1", mUserName, e.griddata.tag056, e.griddata.text008,
date, mCompidx };
string Incmd = db.DB_INSERT(table_name, Insert_tbl, Insert_col);
@@ -601,7 +601,7 @@ namespace ExcelTest
"user", "grade" };
string[] Edit_col = {
mCompidx, orimarc, "1", mOldMarc , "0", e.griddata.Remark1,
e.griddata.Remark2, e.griddata.URL, e.tag056,e.text008, date,
e.griddata.Remark2, e.griddata.URL, e.griddata.tag056,e.griddata.text008, date,
mUserName, e.griddata.Grade };
string[] Sear_tbl = { "idx", "compidx" };
string[] Sear_col = { Midx, mCompidx };

View File

@@ -19,6 +19,7 @@ namespace UniMarc.마크
Marc m;
Marc2 m2;
AddMarc am;
AddMarc2 am2;
CD_LP cp;
public int MarcFormRowIndex;
@@ -26,6 +27,12 @@ namespace UniMarc.마크
{
InitializeComponent();
}
public MarcCopySelect(AddMarc2 cD)
{
InitializeComponent();
am2 = cD;
db.DBcon();
}
public MarcCopySelect(CD_LP cD)
{
InitializeComponent();
@@ -426,7 +433,12 @@ namespace UniMarc.마크
string isbn = dataGridView1.Rows[row].Cells["isbn"].Value.ToString();
am.SelectMarc_Sub(Marc, isbn, GridData);
}
if (am2 != null)
{
string Marc = richTextBox1.Text;
string isbn = dataGridView1.Rows[row].Cells["isbn"].Value.ToString();
am2.SelectMarc_Sub(Marc, isbn, GridData);
}
this.Close();
}

View File

@@ -45,7 +45,23 @@ namespace ExcelTest
public event EventHandler PrevButton;
public event EventHandler NextButton;
public event EventHandler CloseButton;
public void SetButtonKolist(bool enable)
{
btn_FillBlank.Enabled = enable;
btn_FillBlank.ForeColor = enable ? Color.Black : Color.DimGray;
}
public void SetButtonPrev(bool enable)
{
btPrev.Enabled = enable;
btPrev.ForeColor = enable ? Color.Black : Color.DimGray;
}
public void SetButtonNext(bool enable)
{
btNext.Enabled = enable;
btNext.ForeColor = enable ? Color.Black : Color.DimGray;
}
public MarcEditorControl()
{
InitializeComponent();
@@ -288,8 +304,7 @@ namespace ExcelTest
{
public string SaveDate { get; set; }
public string DBMarc { get; set; }
public string tag056 { get; set; }
public string text008 { get; set; }
public MacEditorParameter griddata { get; set; }
}
@@ -297,7 +312,7 @@ namespace ExcelTest
private void Btn_Save_Click(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(Param.ISBN13))
if (Param.NewMake ==false && string.IsNullOrEmpty(Param.ISBN13))
{
MessageBox.Show("마크가 선택되지않았습니다.");
return;
@@ -342,13 +357,13 @@ namespace ExcelTest
this.Param.Grade = cb_grade.SelectedIndex.ToString();
this.Param.Remark1 = etc1.Text;
this.Param.Remark2 = etc2.Text;
this.Param.text008 = this.text008.Text.Trim();
this.Param.tag056 = tag056;
// Raise Event to Update List_Book in Parent
BookSaved?.Invoke(this, new BookSavedEventArgs
{
SaveDate = date,
DBMarc = orimarc,
tag056 = tag056,
text008 = text008.Text,
griddata = this.Param
});
}
@@ -631,6 +646,11 @@ namespace ExcelTest
richTextBox1.Text = result;
return true;
}
public void SetRemark(string remark1, string remark2)
{
etc1.Text = remark1;
etc2.Text = remark2;
}
void ReadRemark()
{
@@ -1148,7 +1168,7 @@ namespace ExcelTest
TextReset();
foreach (string Line in SplitLine)
{
if (Line == "") break;
if (string.IsNullOrWhiteSpace(Line)) break;
// [0]:태그번호, [1]:지시기호, [2]:마크내용
string[] SplitTag = Line.Split('\t');

View File

@@ -106,7 +106,7 @@ namespace UniMarc.마크
string oriMarc = e.DBMarc;
string etc1 = e.griddata.Remark1 ?? "";
string etc2 = e.griddata.Remark2 ?? "";
string tag008 = e.text008;
string tag008 = e.griddata.text008;
// 등록번호 분류기호 저자기호 볼륨 복본
// 별치 총서명 총서번호 저자 출판사

View File

@@ -17,7 +17,7 @@ namespace UniMarc.마크
AddMarc am;
Marc2 mae;
MarcEditorControl mae2;
AddMarc2 am2;
public Marc_memo(MarcEditorControl _mae)
{
InitializeComponent();
@@ -38,7 +38,11 @@ namespace UniMarc.마크
InitializeComponent();
am = _am;
}
public Marc_memo(AddMarc2 _am)
{
InitializeComponent();
am2 = _am;
}
private void Marc_memo_Load(object sender, EventArgs e)
{
string[] com_List =

View File

@@ -20,7 +20,7 @@ namespace ExcelTest
string find = "";
string change = "";
String_Text st = new String_Text();
AddMarc am;
AddMarc am; AddMarc2 am2;
Marc mac;
Marc_memo mmm;
Marc2 mae;
@@ -37,6 +37,11 @@ namespace ExcelTest
InitializeComponent();
mae = _mae;
}
public findNchange(AddMarc2 _am)
{
InitializeComponent();
am2 = _am;
}
public findNchange(AddMarc _am)
{
InitializeComponent();