=====* unimarc *=====

===== 작업중 =====
주문관리 폼 재 수정작업중 - 팩스 및 이메일 기록 폼 제작해야함. - 제작완료 (현재 목록등록 -> 수정버튼 작업중)
ㄴ> 작업 완료후 검토하고, 회계로 넘어갈 것. - 회계전환
회계전환. 매출상세(Sales_Detail.cs) 폼 작업완료. (버튼 이벤트 작업진행중)
ㄴ> 매출집계에서 상세까지 가는 도중 MDI 부모로 적용되지않는 버그 수정작업완료.

기타 추가적인 버그 잡을것. / 바로빌 세금계산서알아볼것.

===== 보류 =====
 b. 마크목록 폼 작성중
  1. 엑셀반출 기능 추가중 사용 작업대기중

 c. 마크 반입 폼 수정중
  1. 불러오기는 되나 저장 기능이 필요함.

===== 완료 =====
1. 주문관리 팩스연동 완료
2. 전송된 팩스 확인 작업개시, 이메일 전송모듈 수정완료.
3. 주문관리에서 주문처와 목록 검색하는 폼 검색 모듈도 재수정 완료함.
4. 데이터베이스 내 이미지URL을 가져오는작업 완료
목록집계 폼 재 수정작업 완료 - 확인 및 수정 필요.

ISBN 체크 프로그램 => 본프로그램에 이식중.
ㄴ> 코드는 다 옮겼으나 기존 사용하던 방식과 조금 달라서 버그발생 가능성 있음.
ㄴ> 버그 체크 계속 해볼것. 21-04-15
ㄴ> 21_04_20 버그 없음.

2. 마크편집 폼 수정 중 (마크 반출 test프로젝트 진행완료, 본 프로젝트에 적용중. / 저장기능활성화 작업완료)
 2-1. 기존의 칸채우기에서 예상되지 못한 버그가 발생하여 칸채우기 숨김.
 2-2. 008태크 재배치 => TextBox에 적용완료. 변경사항 메모장으로 넘기는 작업 완료.
 2-3. 저장기능 완료. (04.14 체크해볼것 - 완료)

주문관리 작업중 (DataGridView 주문처 엔터키 입력시 검색되게끔 하는 코드작성중) - 21.04.27 완료
This commit is contained in:
SeungHo Yang
2021-05-25 18:33:59 +09:00
parent 5098df4186
commit ec7742f1d7
16 changed files with 67 additions and 77 deletions

View File

@@ -28,18 +28,25 @@ namespace WindowsFormsApp1
#endregion #endregion
MailMessage mail = new MailMessage(); MailMessage mail = new MailMessage();
MailMessage mail_by_self = new MailMessage();
// 보내는 사람 이메일 // 보내는 사람 이메일
// mail.From = new MailAddress(arr_db[1]);
// mail_by_self.From = new MailAddress(arr_db[1]);
mail.From = new MailAddress("jhk132765@naver.com"); mail.From = new MailAddress("jhk132765@naver.com");
mail_by_self.From = new MailAddress("jhk132765@naver.com");
// 받는 사람 이메일 // 받는 사람 이메일
mail.To.Add(sender); mail.To.Add(sender);
mail_by_self.To.Add(arr_db[3]);
// 메일 제목 // 메일 제목
mail.Subject = arr_db[0] + "주문분입니다."; mail.Subject = arr_db[0] + "주문분입니다.";
mail_by_self.Subject = "Send_" + arr_db[0] + "주문분입니다.";
// 메일 내용 // 메일 내용
mail.Body = arr_db[0] + "주문분입니다."; mail.Body = arr_db[0] + "주문분입니다.";
mail_by_self.Body = "Send_" + arr_db[0] + "주문분입니다.";
// 첨부파일 // 첨부파일
System.Net.Mail.Attachment attachment; System.Net.Mail.Attachment attachment;
@@ -47,17 +54,22 @@ namespace WindowsFormsApp1
// 첨부파일 붙이기 // 첨부파일 붙이기
attachment = new System.Net.Mail.Attachment(filePath); attachment = new System.Net.Mail.Attachment(filePath);
mail.Attachments.Add(attachment); mail.Attachments.Add(attachment);
mail_by_self.Attachments.Add(attachment);
// SMTP 및 포트 설정 // SMTP 및 포트 설정
SmtpClient smtp = new SmtpClient(arr_db[3], Convert.ToInt32(arr_db[4])); SmtpClient smtp = new SmtpClient(arr_db[3], Convert.ToInt32(arr_db[4]));
SmtpClient smtp_by_self = new SmtpClient(arr_db[3], Convert.ToInt32(arr_db[4]));
smtp.EnableSsl = true; smtp.EnableSsl = true;
smtp_by_self.EnableSsl = true;
// 계정 설정 // 계정 설정
smtp.Credentials = new NetworkCredential(arr_db[1], arr_db[2]); smtp.Credentials = new NetworkCredential(arr_db[1], arr_db[2]);
smtp_by_self.Credentials = new NetworkCredential(arr_db[1], arr_db[2]);
try try
{ {
smtp.Send(mail); smtp.Send(mail);
smtp_by_self.Send(mail_by_self);
MessageBox.Show("메일 전송 완료"); MessageBox.Show("메일 전송 완료");
return true; return true;
} }

View File

@@ -42,11 +42,8 @@
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.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.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.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.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -60,7 +57,6 @@
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItem1 = 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.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.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -163,28 +159,28 @@
// 사용자정보ToolStripMenuItem // 사용자정보ToolStripMenuItem
// //
this.ToolStripMenuItem.Name = "사용자정보ToolStripMenuItem"; this.ToolStripMenuItem.Name = "사용자정보ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(175, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
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(175, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
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(175, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
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(175, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "주문처 관리"; this.ToolStripMenuItem.Text = "주문처 관리";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -192,14 +188,14 @@
// //
this.ToolStripMenuItem.Enabled = false; this.ToolStripMenuItem.Enabled = false;
this.ToolStripMenuItem.Name = "비밀번호변경ToolStripMenuItem"; this.ToolStripMenuItem.Name = "비밀번호변경ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(175, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
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(175, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "도서정보 관리"; this.ToolStripMenuItem.Text = "도서정보 관리";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -207,7 +203,7 @@
// //
this.ToolStripMenuItem.Enabled = false; this.ToolStripMenuItem.Enabled = false;
this.ToolStripMenuItem.Name = "사용대장ToolStripMenuItem"; this.ToolStripMenuItem.Name = "사용대장ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(175, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "사용대장"; this.ToolStripMenuItem.Text = "사용대장";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -218,11 +214,8 @@
this.ToolStripMenuItem, this.ToolStripMenuItem,
this.ToolStripMenuItem, this.ToolStripMenuItem,
this.ToolStripMenuItem, this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem, this.ToolStripMenuItem,
this.ToolStripMenuItem, this.ToolStripMenuItem});
this.ToolStripMenuItem,
this.ToolStripMenuItem});
this.ToolStripMenuItem.Name = "납품관리ToolStripMenuItem"; this.ToolStripMenuItem.Name = "납품관리ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(84, 20); this.ToolStripMenuItem.Size = new System.Drawing.Size(84, 20);
this.ToolStripMenuItem.Text = "납품관리(&D)"; this.ToolStripMenuItem.Text = "납품관리(&D)";
@@ -230,77 +223,52 @@
// 물품등록ToolStripMenuItem // 물품등록ToolStripMenuItem
// //
this.ToolStripMenuItem.Name = "물품등록ToolStripMenuItem"; this.ToolStripMenuItem.Name = "물품등록ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(166, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "물품등록"; this.ToolStripMenuItem.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(166, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
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(166, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
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(166, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
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
//
this.ToolStripMenuItem.Enabled = false;
this.ToolStripMenuItem.Name = "견적서ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
this.ToolStripMenuItem.Text = "견적서";
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(166, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
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
//
this.ToolStripMenuItem.Enabled = false;
this.ToolStripMenuItem.Name = "매입반품입력ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
this.ToolStripMenuItem.Text = "매입 / 반품입력";
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(166, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
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
//
this.ToolStripMenuItem.Enabled = false;
this.ToolStripMenuItem.Name = "예가조회ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
this.ToolStripMenuItem.Text = "예가조회";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 회계ToolStripMenuItem // 회계ToolStripMenuItem
// //
this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem, this.ToolStripMenuItem,
this.ToolStripMenuItem, this.ToolStripMenuItem,
this.ToolStripMenuItem, this.ToolStripMenuItem,
this.ToolStripMenuItem, this.ToolStripMenuItem});
this.ToolStripMenuItem});
this.ToolStripMenuItem.Name = "회계ToolStripMenuItem"; this.ToolStripMenuItem.Name = "회계ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(59, 20); this.ToolStripMenuItem.Size = new System.Drawing.Size(59, 20);
this.ToolStripMenuItem.Text = "회계(&A)"; this.ToolStripMenuItem.Text = "회계(&A)";
@@ -332,14 +300,14 @@
// 매입집계ToolStripMenuItem // 매입집계ToolStripMenuItem
// //
this.ToolStripMenuItem.Name = "매입집계ToolStripMenuItem"; this.ToolStripMenuItem.Name = "매입집계ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(138, 22);
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(180, 22); this.ToolStripMenuItem1.Size = new System.Drawing.Size(138, 22);
this.ToolStripMenuItem1.Text = "매입 장부"; this.ToolStripMenuItem1.Text = "매입 장부";
this.ToolStripMenuItem1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click); this.ToolStripMenuItem1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
// //
@@ -347,7 +315,7 @@
// //
this.ToolStripMenuItem.Enabled = false; this.ToolStripMenuItem.Enabled = false;
this.ToolStripMenuItem.Name = "매입미결제ToolStripMenuItem"; this.ToolStripMenuItem.Name = "매입미결제ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(138, 22);
this.ToolStripMenuItem.Text = "매입 미결제"; this.ToolStripMenuItem.Text = "매입 미결제";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click); this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
// //
@@ -399,13 +367,6 @@
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
//
this.ToolStripMenuItem.Name = "매출입금ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "계산서 관리";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 마크ToolStripMenuItem // 마크ToolStripMenuItem
// //
this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
@@ -428,7 +389,7 @@
this.ToolStripMenuItem, this.ToolStripMenuItem,
this.ToolStripMenuItem}); this.ToolStripMenuItem});
this.ToolStripMenuItem.Name = "설정ToolStripMenuItem"; this.ToolStripMenuItem.Name = "설정ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(142, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "설정"; this.ToolStripMenuItem.Text = "설정";
// //
// 단축키설정ToolStripMenuItem // 단축키설정ToolStripMenuItem
@@ -467,7 +428,7 @@
this.ToolStripMenuItem, this.ToolStripMenuItem,
this.iSBN조회ToolStripMenuItem}); this.iSBN조회ToolStripMenuItem});
this.ToolStripMenuItem.Name = "마크작업ToolStripMenuItem"; this.ToolStripMenuItem.Name = "마크작업ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(142, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "마크 작업"; this.ToolStripMenuItem.Text = "마크 작업";
// //
// 마크목록ToolStripMenuItem // 마크목록ToolStripMenuItem
@@ -504,7 +465,7 @@
this.ToolStripMenuItem, this.ToolStripMenuItem,
this.ToolStripMenuItem}); this.ToolStripMenuItem});
this.ToolStripMenuItem.Name = "반입및반출ToolStripMenuItem"; this.ToolStripMenuItem.Name = "반입및반출ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(142, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "반입 및 반출"; this.ToolStripMenuItem.Text = "반입 및 반출";
// //
// 반입ToolStripMenuItem // 반입ToolStripMenuItem
@@ -527,7 +488,7 @@
this.ToolStripMenuItem1, this.ToolStripMenuItem1,
this.dLS복본조사ToolStripMenuItem}); this.dLS복본조사ToolStripMenuItem});
this.ToolStripMenuItem.Name = "복본조사ToolStripMenuItem"; this.ToolStripMenuItem.Name = "복본조사ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(142, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "복본 조사"; this.ToolStripMenuItem.Text = "복본 조사";
// //
// 복본조사ToolStripMenuItem1 // 복본조사ToolStripMenuItem1
@@ -552,7 +513,7 @@
this.ToolStripMenuItem, this.ToolStripMenuItem,
this.ToolStripMenuItem}); this.ToolStripMenuItem});
this.ToolStripMenuItem.Name = "부가기능ToolStripMenuItem"; this.ToolStripMenuItem.Name = "부가기능ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(142, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "부가기능"; this.ToolStripMenuItem.Text = "부가기능";
// //
// 마크수집ToolStripMenuItem // 마크수집ToolStripMenuItem
@@ -589,7 +550,7 @@
this.dLS조회ToolStripMenuItem, this.dLS조회ToolStripMenuItem,
this.dLS입력ToolStripMenuItem}); this.dLS입력ToolStripMenuItem});
this.dLSToolStripMenuItem.Name = "dLSToolStripMenuItem"; this.dLSToolStripMenuItem.Name = "dLSToolStripMenuItem";
this.dLSToolStripMenuItem.Size = new System.Drawing.Size(142, 22); this.dLSToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.dLSToolStripMenuItem.Text = "DLS"; this.dLSToolStripMenuItem.Text = "DLS";
// //
// dLS조회ToolStripMenuItem // dLS조회ToolStripMenuItem
@@ -613,7 +574,7 @@
this.ToolStripMenuItem, this.ToolStripMenuItem,
this.ToolStripMenuItem1}); this.ToolStripMenuItem1});
this.ToolStripMenuItem.Name = "기타ToolStripMenuItem"; this.ToolStripMenuItem.Name = "기타ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(142, 22); this.ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.ToolStripMenuItem.Text = "기타"; this.ToolStripMenuItem.Text = "기타";
// //
// 서류작성ToolStripMenuItem // 서류작성ToolStripMenuItem
@@ -976,16 +937,12 @@
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem1; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;

View File

@@ -830,7 +830,8 @@ namespace WindowsFormsApp1.Delivery
dataGridView3.Rows[a].Cells["book_name3"].Value.ToString(), dataGridView3.Rows[a].Cells["book_name3"].Value.ToString(),
dataGridView3.Rows[a].Cells["author3"].Value.ToString(), dataGridView3.Rows[a].Cells["author3"].Value.ToString(),
dataGridView3.Rows[a].Cells["book_comp3"].Value.ToString(), dataGridView3.Rows[a].Cells["book_comp3"].Value.ToString(),
dataGridView3.Rows[a].Cells["count3"].Value.ToString(), // dataGridView3.Rows[a].Cells["count3"].Value.ToString(),
1.ToString(),
dataGridView3.Rows[a].Cells["pay3"].Value.ToString(), dataGridView3.Rows[a].Cells["pay3"].Value.ToString(),
dataGridView3.Rows[a].Cells["total3"].Value.ToString(), dataGridView3.Rows[a].Cells["total3"].Value.ToString(),
dataGridView3.Rows[a].Cells["etc3"].Value.ToString() }; dataGridView3.Rows[a].Cells["etc3"].Value.ToString() };
@@ -838,7 +839,7 @@ namespace WindowsFormsApp1.Delivery
if(copy_chk.Length < 3) { // 중복없음 INSERT if(copy_chk.Length < 3) { // 중복없음 INSERT
db.DB_INSERT("Inven", insert_Col, insert_Data); db.DB_INSERT("Inven", insert_Col, insert_Data);
} }
else { // 중복 UPDATE else { // 중복 UPDATE
db.More_Update("Inven", insert_Col, insert_Data, Search_Col, Search_Data); db.More_Update("Inven", insert_Col, insert_Data, Search_Col, Search_Data);
} }
} }

View File

@@ -331,6 +331,7 @@
this.tb_boss.Name = "tb_boss"; this.tb_boss.Name = "tb_boss";
this.tb_boss.Size = new System.Drawing.Size(150, 21); this.tb_boss.Size = new System.Drawing.Size(150, 21);
this.tb_boss.TabIndex = 0; this.tb_boss.TabIndex = 0;
this.tb_boss.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown);
// //
// tb_email_pw // tb_email_pw
// //
@@ -339,6 +340,7 @@
this.tb_email_pw.PasswordChar = '*'; this.tb_email_pw.PasswordChar = '*';
this.tb_email_pw.Size = new System.Drawing.Size(150, 21); this.tb_email_pw.Size = new System.Drawing.Size(150, 21);
this.tb_email_pw.TabIndex = 0; this.tb_email_pw.TabIndex = 0;
this.tb_email_pw.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown);
// //
// tb_email_id // tb_email_id
// //
@@ -346,6 +348,7 @@
this.tb_email_id.Name = "tb_email_id"; this.tb_email_id.Name = "tb_email_id";
this.tb_email_id.Size = new System.Drawing.Size(150, 21); this.tb_email_id.Size = new System.Drawing.Size(150, 21);
this.tb_email_id.TabIndex = 0; this.tb_email_id.TabIndex = 0;
this.tb_email_id.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown);
// //
// tb_bank_comp // tb_bank_comp
// //
@@ -353,6 +356,7 @@
this.tb_bank_comp.Name = "tb_bank_comp"; this.tb_bank_comp.Name = "tb_bank_comp";
this.tb_bank_comp.Size = new System.Drawing.Size(150, 21); this.tb_bank_comp.Size = new System.Drawing.Size(150, 21);
this.tb_bank_comp.TabIndex = 0; this.tb_bank_comp.TabIndex = 0;
this.tb_bank_comp.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown);
// //
// tb_port // tb_port
// //
@@ -360,6 +364,7 @@
this.tb_port.Name = "tb_port"; this.tb_port.Name = "tb_port";
this.tb_port.Size = new System.Drawing.Size(150, 21); this.tb_port.Size = new System.Drawing.Size(150, 21);
this.tb_port.TabIndex = 0; this.tb_port.TabIndex = 0;
this.tb_port.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown);
this.tb_port.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tb_port_KeyPress); this.tb_port.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.tb_port_KeyPress);
// //
// tb_smtp // tb_smtp
@@ -368,6 +373,7 @@
this.tb_smtp.Name = "tb_smtp"; this.tb_smtp.Name = "tb_smtp";
this.tb_smtp.Size = new System.Drawing.Size(150, 21); this.tb_smtp.Size = new System.Drawing.Size(150, 21);
this.tb_smtp.TabIndex = 0; this.tb_smtp.TabIndex = 0;
this.tb_smtp.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown);
// //
// tb_bank_no // tb_bank_no
// //
@@ -375,6 +381,7 @@
this.tb_bank_no.Name = "tb_bank_no"; this.tb_bank_no.Name = "tb_bank_no";
this.tb_bank_no.Size = new System.Drawing.Size(150, 21); this.tb_bank_no.Size = new System.Drawing.Size(150, 21);
this.tb_bank_no.TabIndex = 0; this.tb_bank_no.TabIndex = 0;
this.tb_bank_no.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown);
// //
// tb_fax // tb_fax
// //
@@ -382,6 +389,7 @@
this.tb_fax.Name = "tb_fax"; this.tb_fax.Name = "tb_fax";
this.tb_fax.Size = new System.Drawing.Size(150, 21); this.tb_fax.Size = new System.Drawing.Size(150, 21);
this.tb_fax.TabIndex = 0; this.tb_fax.TabIndex = 0;
this.tb_fax.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown);
// //
// tb_tel // tb_tel
// //
@@ -389,6 +397,7 @@
this.tb_tel.Name = "tb_tel"; this.tb_tel.Name = "tb_tel";
this.tb_tel.Size = new System.Drawing.Size(150, 21); this.tb_tel.Size = new System.Drawing.Size(150, 21);
this.tb_tel.TabIndex = 0; this.tb_tel.TabIndex = 0;
this.tb_tel.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown);
// //
// tb_barea // tb_barea
// //
@@ -396,6 +405,7 @@
this.tb_barea.Name = "tb_barea"; this.tb_barea.Name = "tb_barea";
this.tb_barea.Size = new System.Drawing.Size(150, 21); this.tb_barea.Size = new System.Drawing.Size(150, 21);
this.tb_barea.TabIndex = 0; this.tb_barea.TabIndex = 0;
this.tb_barea.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown);
// //
// tb_email // tb_email
// //
@@ -403,6 +413,7 @@
this.tb_email.Name = "tb_email"; this.tb_email.Name = "tb_email";
this.tb_email.Size = new System.Drawing.Size(150, 21); this.tb_email.Size = new System.Drawing.Size(150, 21);
this.tb_email.TabIndex = 0; this.tb_email.TabIndex = 0;
this.tb_email.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown);
// //
// tb_addr // tb_addr
// //
@@ -410,6 +421,7 @@
this.tb_addr.Name = "tb_addr"; this.tb_addr.Name = "tb_addr";
this.tb_addr.Size = new System.Drawing.Size(324, 21); this.tb_addr.Size = new System.Drawing.Size(324, 21);
this.tb_addr.TabIndex = 0; this.tb_addr.TabIndex = 0;
this.tb_addr.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown);
// //
// tb_zip // tb_zip
// //
@@ -418,6 +430,7 @@
this.tb_zip.Size = new System.Drawing.Size(45, 21); this.tb_zip.Size = new System.Drawing.Size(45, 21);
this.tb_zip.TabIndex = 0; this.tb_zip.TabIndex = 0;
this.tb_zip.Text = " -"; this.tb_zip.Text = " -";
this.tb_zip.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown);
// //
// tb_jongmok // tb_jongmok
// //
@@ -425,6 +438,7 @@
this.tb_jongmok.Name = "tb_jongmok"; this.tb_jongmok.Name = "tb_jongmok";
this.tb_jongmok.Size = new System.Drawing.Size(150, 21); this.tb_jongmok.Size = new System.Drawing.Size(150, 21);
this.tb_jongmok.TabIndex = 0; this.tb_jongmok.TabIndex = 0;
this.tb_jongmok.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown);
// //
// tb_uptae // tb_uptae
// //
@@ -432,6 +446,7 @@
this.tb_uptae.Name = "tb_uptae"; this.tb_uptae.Name = "tb_uptae";
this.tb_uptae.Size = new System.Drawing.Size(150, 21); this.tb_uptae.Size = new System.Drawing.Size(150, 21);
this.tb_uptae.TabIndex = 0; this.tb_uptae.TabIndex = 0;
this.tb_uptae.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown);
// //
// tb_cobin // tb_cobin
// //
@@ -439,6 +454,7 @@
this.tb_cobin.Name = "tb_cobin"; this.tb_cobin.Name = "tb_cobin";
this.tb_cobin.Size = new System.Drawing.Size(150, 21); this.tb_cobin.Size = new System.Drawing.Size(150, 21);
this.tb_cobin.TabIndex = 0; this.tb_cobin.TabIndex = 0;
this.tb_cobin.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown);
// //
// tb_bubin // tb_bubin
// //
@@ -446,6 +462,7 @@
this.tb_bubin.Name = "tb_bubin"; this.tb_bubin.Name = "tb_bubin";
this.tb_bubin.Size = new System.Drawing.Size(150, 21); this.tb_bubin.Size = new System.Drawing.Size(150, 21);
this.tb_bubin.TabIndex = 0; this.tb_bubin.TabIndex = 0;
this.tb_bubin.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown);
// //
// tb_sangho // tb_sangho
// //
@@ -454,6 +471,7 @@
this.tb_sangho.Name = "tb_sangho"; this.tb_sangho.Name = "tb_sangho";
this.tb_sangho.Size = new System.Drawing.Size(150, 21); this.tb_sangho.Size = new System.Drawing.Size(150, 21);
this.tb_sangho.TabIndex = 0; this.tb_sangho.TabIndex = 0;
this.tb_sangho.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_sangho_KeyDown);
// //
// panel19 // panel19
// //

View File

@@ -102,5 +102,12 @@ namespace WindowsFormsApp1.Home
Email mail = new Email(); Email mail = new Email();
mail.Send_Test_mail("글로리아북", tb_email.Text, "테스트 메일입니다", "테스트 메일입니다"); mail.Send_Test_mail("글로리아북", tb_email.Text, "테스트 메일입니다", "테스트 메일입니다");
} }
private void tb_sangho_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Escape) {
btn_close_Click(null, null);
}
}
} }
} }

View File

@@ -204,8 +204,8 @@ namespace WindowsFormsApp1.회계
int yesr = Convert.ToInt32(out_date.Substring(0, 4)); int yesr = Convert.ToInt32(out_date.Substring(0, 4));
int month = Convert.ToInt32(out_date.Substring(4, 2)); int month = Convert.ToInt32(out_date.Substring(4, 2));
int day = Convert.ToInt32(out_date.Substring(6, 2)); int day = Convert.ToInt32(out_date.Substring(6, 2));
sde.MdiParent = main; sde.MdiParent = this.MdiParent;
// sde.WindowState = FormWindowState.Maximized; sde.WindowState = FormWindowState.Maximized;
sde.Out_Date.Value = new DateTime(yesr, month, day); sde.Out_Date.Value = new DateTime(yesr, month, day);
sde.tb_clt.Text = tb_clt.Text; sde.tb_clt.Text = tb_clt.Text;
sde.Show(); sde.Show();

View File

@@ -24,11 +24,6 @@ namespace WindowsFormsApp1.회계
sb = _sb; sb = _sb;
compidx = sb.compidx; compidx = sb.compidx;
} }
public Sales_Detail(Main _main)
{
InitializeComponent();
main = _main;
}
public Sales_Detail(Sales_Lookup _sl) public Sales_Detail(Sales_Lookup _sl)
{ {
InitializeComponent(); InitializeComponent();