diff --git a/Test_Project/.vs/Test_Project/v16/.suo b/Test_Project/.vs/Test_Project/v16/.suo index c360775..e3e82d6 100644 Binary files a/Test_Project/.vs/Test_Project/v16/.suo and b/Test_Project/.vs/Test_Project/v16/.suo differ diff --git a/unimarc/.vs/unimarc/v16/.suo b/unimarc/.vs/unimarc/v16/.suo index 7d9fe8e..9ead438 100644 Binary files a/unimarc/.vs/unimarc/v16/.suo and b/unimarc/.vs/unimarc/v16/.suo differ diff --git a/unimarc/unimarc/Login.cs b/unimarc/unimarc/Login.cs index f5656a1..e1ebd2d 100644 --- a/unimarc/unimarc/Login.cs +++ b/unimarc/unimarc/Login.cs @@ -38,7 +38,11 @@ namespace WindowsFormsApp1 string db_res = db.DB_Send_CMD_Search(cmd); string[] result = db_res.Split('|'); ((Main)(this.Owner)).User_Name = ID_text.Text; - if (db_res == "") { return; } + if (db_res == "") { + MessageBox.Show("아이디 혹은 비밀번호가 정확하지않습니다."); + return; + } + if (ID_text.Text == result[1]) { if (PW_text.Text == result[2]) { diff --git a/unimarc/unimarc/Main.Designer.cs b/unimarc/unimarc/Main.Designer.cs index 4e3cf61..b84f401 100644 --- a/unimarc/unimarc/Main.Designer.cs +++ b/unimarc/unimarc/Main.Designer.cs @@ -124,6 +124,8 @@ this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.botUserLabel = new System.Windows.Forms.ToolStripLabel(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); + this.신규사업자등록ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.기존사업자관리ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.menuStrip1.SuspendLayout(); this.panel1.SuspendLayout(); this.toolStrip1.SuspendLayout(); @@ -162,28 +164,28 @@ // 사업체정보 // this.사업체정보.Name = "사업체정보"; - this.사업체정보.Size = new System.Drawing.Size(175, 22); + this.사업체정보.Size = new System.Drawing.Size(180, 22); this.사업체정보.Text = "사업체 정보"; this.사업체정보.Click += new System.EventHandler(this.사용자정보ToolStripMenuItem_Click); // // 사용자관리 // this.사용자관리.Name = "사용자관리"; - this.사용자관리.Size = new System.Drawing.Size(175, 22); + this.사용자관리.Size = new System.Drawing.Size(180, 22); this.사용자관리.Text = "사용자 관리"; this.사용자관리.Click += new System.EventHandler(this.사용자관리ToolStripMenuItem_Click); // // 납품거래처관리 // this.납품거래처관리.Name = "납품거래처관리"; - this.납품거래처관리.Size = new System.Drawing.Size(175, 22); + this.납품거래처관리.Size = new System.Drawing.Size(180, 22); this.납품거래처관리.Text = "납품 / 거래처 관리"; this.납품거래처관리.Click += new System.EventHandler(this.납품거래처관리ToolStripMenuItem_Click); // // 주문처관리 // this.주문처관리.Name = "주문처관리"; - this.주문처관리.Size = new System.Drawing.Size(175, 22); + this.주문처관리.Size = new System.Drawing.Size(180, 22); this.주문처관리.Text = "주문처 관리"; this.주문처관리.Click += new System.EventHandler(this.주문처관리ToolStripMenuItem_Click); // @@ -191,14 +193,14 @@ // this.비밀번호변경.Enabled = false; this.비밀번호변경.Name = "비밀번호변경"; - this.비밀번호변경.Size = new System.Drawing.Size(175, 22); + this.비밀번호변경.Size = new System.Drawing.Size(180, 22); this.비밀번호변경.Text = "비밀번호 변경"; this.비밀번호변경.Click += new System.EventHandler(this.비밀번호변경ToolStripMenuItem_Click); // // 도서정보관리 // this.도서정보관리.Name = "도서정보관리"; - this.도서정보관리.Size = new System.Drawing.Size(175, 22); + this.도서정보관리.Size = new System.Drawing.Size(180, 22); this.도서정보관리.Text = "도서정보 관리"; this.도서정보관리.Click += new System.EventHandler(this.도서정보관리ToolStripMenuItem_Click); // @@ -206,7 +208,7 @@ // this.사용대장.Enabled = false; this.사용대장.Name = "사용대장"; - this.사용대장.Size = new System.Drawing.Size(175, 22); + this.사용대장.Size = new System.Drawing.Size(180, 22); this.사용대장.Text = "사용대장"; this.사용대장.Click += new System.EventHandler(this.사용대장ToolStripMenuItem_Click); // @@ -625,14 +627,14 @@ // 캘린더 // this.캘린더.Name = "캘린더"; - this.캘린더.Size = new System.Drawing.Size(122, 22); + this.캘린더.Size = new System.Drawing.Size(180, 22); this.캘린더.Text = "캘린더"; this.캘린더.Click += new System.EventHandler(this.캘린더ToolStripMenuItem_Click); // // 채팅 // this.채팅.Name = "채팅"; - this.채팅.Size = new System.Drawing.Size(122, 22); + this.채팅.Size = new System.Drawing.Size(180, 22); this.채팅.Text = "채팅"; this.채팅.Visible = false; this.채팅.Click += new System.EventHandler(this.채팅ToolStripMenuItem_Click); @@ -640,14 +642,14 @@ // 퀵메뉴 // this.퀵메뉴.Name = "퀵메뉴"; - this.퀵메뉴.Size = new System.Drawing.Size(122, 22); + this.퀵메뉴.Size = new System.Drawing.Size(180, 22); this.퀵메뉴.Text = "퀵메뉴"; this.퀵메뉴.Click += new System.EventHandler(this.퀵메뉴ToolStripMenuItem_Click); // // 게시판 // this.게시판.Name = "게시판"; - this.게시판.Size = new System.Drawing.Size(122, 22); + this.게시판.Size = new System.Drawing.Size(180, 22); this.게시판.Text = "게시판"; this.게시판.Visible = false; this.게시판.Click += new System.EventHandler(this.게시판ToolStripMenuItem_Click); @@ -655,7 +657,7 @@ // 공지발송 // this.공지발송.Name = "공지발송"; - this.공지발송.Size = new System.Drawing.Size(122, 22); + this.공지발송.Size = new System.Drawing.Size(180, 22); this.공지발송.Text = "공지발송"; this.공지발송.Visible = false; this.공지발송.Click += new System.EventHandler(this.공지발송ToolStripMenuItem_Click); @@ -668,35 +670,35 @@ this.판매마감, this.회원관리}); this.판매.Name = "판매"; - this.판매.Size = new System.Drawing.Size(122, 22); + this.판매.Size = new System.Drawing.Size(180, 22); this.판매.Text = "판매"; this.판매.Visible = false; // // 판매1 // this.판매1.Name = "판매1"; - this.판매1.Size = new System.Drawing.Size(122, 22); + this.판매1.Size = new System.Drawing.Size(180, 22); this.판매1.Text = "판매"; this.판매1.Click += new System.EventHandler(this.판매ToolStripMenuItem1_Click); // // 정산 // this.정산.Name = "정산"; - this.정산.Size = new System.Drawing.Size(122, 22); + this.정산.Size = new System.Drawing.Size(180, 22); this.정산.Text = "정산"; this.정산.Click += new System.EventHandler(this.정산ToolStripMenuItem_Click); // // 판매마감 // this.판매마감.Name = "판매마감"; - this.판매마감.Size = new System.Drawing.Size(122, 22); + this.판매마감.Size = new System.Drawing.Size(180, 22); this.판매마감.Text = "판매마감"; this.판매마감.Click += new System.EventHandler(this.판매마감ToolStripMenuItem_Click); // // 회원관리 // this.회원관리.Name = "회원관리"; - this.회원관리.Size = new System.Drawing.Size(122, 22); + this.회원관리.Size = new System.Drawing.Size(180, 22); this.회원관리.Text = "회원관리"; this.회원관리.Click += new System.EventHandler(this.회원관리ToolStripMenuItem_Click); // @@ -715,43 +717,45 @@ // // 이용자관리ToolStripMenuItem // + this.이용자관리ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.신규사업자등록ToolStripMenuItem, + this.기존사업자관리ToolStripMenuItem}); this.이용자관리ToolStripMenuItem.Name = "이용자관리ToolStripMenuItem"; - this.이용자관리ToolStripMenuItem.Size = new System.Drawing.Size(178, 22); + this.이용자관리ToolStripMenuItem.Size = new System.Drawing.Size(180, 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(178, 22); + this.공지발송ToolStripMenuItem1.Size = new System.Drawing.Size(180, 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(178, 22); + this.매출내역ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.매출내역ToolStripMenuItem.Text = "매출내역"; this.매출내역ToolStripMenuItem.Click += new System.EventHandler(this.매출내역ToolStripMenuItem_Click); // // 이용자거래처조회ToolStripMenuItem // this.이용자거래처조회ToolStripMenuItem.Name = "이용자거래처조회ToolStripMenuItem"; - this.이용자거래처조회ToolStripMenuItem.Size = new System.Drawing.Size(178, 22); + this.이용자거래처조회ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.이용자거래처조회ToolStripMenuItem.Text = "이용자 거래처 조회"; this.이용자거래처조회ToolStripMenuItem.Click += new System.EventHandler(this.이용자거래처조회ToolStripMenuItem_Click); // // 마크설정ToolStripMenuItem // this.마크설정ToolStripMenuItem.Name = "마크설정ToolStripMenuItem"; - this.마크설정ToolStripMenuItem.Size = new System.Drawing.Size(178, 22); + this.마크설정ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.마크설정ToolStripMenuItem.Text = "마크설정"; this.마크설정ToolStripMenuItem.Click += new System.EventHandler(this.마크설정ToolStripMenuItem_Click); // // 일괄처리관리ToolStripMenuItem // this.일괄처리관리ToolStripMenuItem.Name = "일괄처리관리ToolStripMenuItem"; - this.일괄처리관리ToolStripMenuItem.Size = new System.Drawing.Size(178, 22); + this.일괄처리관리ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.일괄처리관리ToolStripMenuItem.Text = "일괄처리 관리"; this.일괄처리관리ToolStripMenuItem.Click += new System.EventHandler(this.일괄처리관리ToolStripMenuItem_Click); // @@ -973,6 +977,20 @@ this.botUserLabel.Size = new System.Drawing.Size(43, 22); this.botUserLabel.Text = "이용자"; // + // 신규사업자등록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 + // + 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); + // // Main // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); @@ -1096,5 +1114,7 @@ public System.Windows.Forms.Button ShortCut4; public System.Windows.Forms.Button ShortCut12; public System.Windows.Forms.Button ShortCut11; + private System.Windows.Forms.ToolStripMenuItem 신규사업자등록ToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem 기존사업자관리ToolStripMenuItem; } } \ No newline at end of file diff --git a/unimarc/unimarc/Main.cs b/unimarc/unimarc/Main.cs index 5dd2c30..6411ccc 100644 --- a/unimarc/unimarc/Main.cs +++ b/unimarc/unimarc/Main.cs @@ -28,7 +28,6 @@ namespace WindowsFormsApp1 { public partial class Main : Form { - Email email = new Email(); Helper_DB _DB = new Helper_DB(); public string DB_User_Data; public string User; @@ -79,7 +78,7 @@ namespace WindowsFormsApp1 납품관리ToolStripMenuItem.Visible = false; 회계ToolStripMenuItem.Visible = false; // } - if (result[7] != "관리자") { 마스터ToolStripMenuItem.Visible = false; } + if (result[4] != "테스트용") { 마스터ToolStripMenuItem.Visible = false; } Settings.Default.compidx = com_idx; Settings.Default.User = botUserLabel.Text; @@ -140,7 +139,7 @@ namespace WindowsFormsApp1 private Image SetPicture(string Text) { Image[] source_Home = { - Resources._1_1_사업체정보, Resources._1_2_사용자관리, Resources._1_3_납품처관리 + Resources._1_2_사용자관리, Resources._1_3_납품처관리 }; @@ -1322,7 +1321,7 @@ namespace WindowsFormsApp1 Mac_Setting master_mac_setting; Batch_processing master_batch_Processing; - private void 이용자관리ToolStripMenuItem_Click(object sender, EventArgs e) + private void 신규사업자등록ToolStripMenuItem_Click(object sender, EventArgs e) { if (master_user_Manage != null) { @@ -1331,12 +1330,16 @@ namespace WindowsFormsApp1 else { master_user_Manage = new User_manage(this); - master_user_Manage.MdiParent = this; - master_user_Manage.WindowState = FormWindowState.Maximized; master_user_Manage.FormClosed += (o, ea) => master_user_Manage = null; master_user_Manage.Show(); } } + + private void 기존사업자관리ToolStripMenuItem_Click(object sender, EventArgs e) + { + + } + private void 공지발송ToolStripMenuItem1_Click(object sender, EventArgs e) { if (master_notice_Send != null) @@ -1413,6 +1416,5 @@ namespace WindowsFormsApp1 } } #endregion - } } \ No newline at end of file diff --git a/unimarc/unimarc/Resources/0_Empty.png b/unimarc/unimarc/Resources/0_Empty.png index 41090f7..98c5ba5 100644 Binary files a/unimarc/unimarc/Resources/0_Empty.png and b/unimarc/unimarc/Resources/0_Empty.png differ diff --git a/unimarc/unimarc/Resources/1_1_사업체정보.png b/unimarc/unimarc/Resources/1_1_사업체정보.png index c27e01b..994d7e3 100644 Binary files a/unimarc/unimarc/Resources/1_1_사업체정보.png and b/unimarc/unimarc/Resources/1_1_사업체정보.png differ diff --git a/unimarc/unimarc/Resources/1_2_사용자관리.png b/unimarc/unimarc/Resources/1_2_사용자관리.png index 3f9f5c2..9bd710e 100644 Binary files a/unimarc/unimarc/Resources/1_2_사용자관리.png and b/unimarc/unimarc/Resources/1_2_사용자관리.png differ diff --git a/unimarc/unimarc/Resources/1_3_납품처관리.png b/unimarc/unimarc/Resources/1_3_납품처관리.png index 344cce8..0401ce7 100644 Binary files a/unimarc/unimarc/Resources/1_3_납품처관리.png and b/unimarc/unimarc/Resources/1_3_납품처관리.png differ diff --git a/unimarc/unimarc/Resources/3_1_1_마크목록.png b/unimarc/unimarc/Resources/3_1_1_마크목록.png index c3c5852..e306af2 100644 Binary files a/unimarc/unimarc/Resources/3_1_1_마크목록.png and b/unimarc/unimarc/Resources/3_1_1_마크목록.png differ diff --git a/unimarc/unimarc/Resources/3_1_2_소장자료검색.png b/unimarc/unimarc/Resources/3_1_2_소장자료검색.png index 8151df3..32eb7a2 100644 Binary files a/unimarc/unimarc/Resources/3_1_2_소장자료검색.png and b/unimarc/unimarc/Resources/3_1_2_소장자료검색.png differ diff --git a/unimarc/unimarc/Resources/3_1_3_마크정리.png b/unimarc/unimarc/Resources/3_1_3_마크정리.png index 1cffdad..da16474 100644 Binary files a/unimarc/unimarc/Resources/3_1_3_마크정리.png and b/unimarc/unimarc/Resources/3_1_3_마크정리.png differ diff --git a/unimarc/unimarc/Resources/3_1_4_복본조사.png b/unimarc/unimarc/Resources/3_1_4_복본조사.png index f03a5a1..e51733d 100644 Binary files a/unimarc/unimarc/Resources/3_1_4_복본조사.png and b/unimarc/unimarc/Resources/3_1_4_복본조사.png differ diff --git a/unimarc/unimarc/Resources/3_1_5_ISBN조회.png b/unimarc/unimarc/Resources/3_1_5_ISBN조회.png index b92e70c..deb4035 100644 Binary files a/unimarc/unimarc/Resources/3_1_5_ISBN조회.png and b/unimarc/unimarc/Resources/3_1_5_ISBN조회.png differ diff --git a/unimarc/unimarc/Resources/3_2_1_반입.png b/unimarc/unimarc/Resources/3_2_1_반입.png index 4faa953..79922bf 100644 Binary files a/unimarc/unimarc/Resources/3_2_1_반입.png and b/unimarc/unimarc/Resources/3_2_1_반입.png differ diff --git a/unimarc/unimarc/Resources/3_2_2_반출.png b/unimarc/unimarc/Resources/3_2_2_반출.png index e0faf0f..72478b2 100644 Binary files a/unimarc/unimarc/Resources/3_2_2_반출.png and b/unimarc/unimarc/Resources/3_2_2_반출.png differ diff --git a/unimarc/unimarc/Resources/3_3_1_전집관리.png b/unimarc/unimarc/Resources/3_3_1_전집관리.png index cc8a4b4..14112fa 100644 Binary files a/unimarc/unimarc/Resources/3_3_1_전집관리.png and b/unimarc/unimarc/Resources/3_3_1_전집관리.png differ diff --git a/unimarc/unimarc/Resources/3_3_2_저자기호.png b/unimarc/unimarc/Resources/3_3_2_저자기호.png index 75e133c..952f3e4 100644 Binary files a/unimarc/unimarc/Resources/3_3_2_저자기호.png and b/unimarc/unimarc/Resources/3_3_2_저자기호.png differ diff --git a/unimarc/unimarc/Resources/3_4_1_DLS조회입력.png b/unimarc/unimarc/Resources/3_4_1_DLS조회입력.png index ba1ada1..04313cb 100644 Binary files a/unimarc/unimarc/Resources/3_4_1_DLS조회입력.png and b/unimarc/unimarc/Resources/3_4_1_DLS조회입력.png differ diff --git a/unimarc/unimarc/Resources/3_4_2_DLS복본조사.png b/unimarc/unimarc/Resources/3_4_2_DLS복본조사.png index 16af392..ed9b425 100644 Binary files a/unimarc/unimarc/Resources/3_4_2_DLS복본조사.png and b/unimarc/unimarc/Resources/3_4_2_DLS복본조사.png differ diff --git a/unimarc/unimarc/Resources/3_5_1_마크통계.png b/unimarc/unimarc/Resources/3_5_1_마크통계.png index 08aa1a5..fef08ea 100644 Binary files a/unimarc/unimarc/Resources/3_5_1_마크통계.png and b/unimarc/unimarc/Resources/3_5_1_마크통계.png differ diff --git a/unimarc/unimarc/bin/Debug/UniMarc.exe b/unimarc/unimarc/bin/Debug/UniMarc.exe index 6b0be0d..6493326 100644 Binary files a/unimarc/unimarc/bin/Debug/UniMarc.exe and b/unimarc/unimarc/bin/Debug/UniMarc.exe differ diff --git a/unimarc/unimarc/bin/Debug/UniMarc.pdb b/unimarc/unimarc/bin/Debug/UniMarc.pdb index cd5efa9..986c4e7 100644 Binary files a/unimarc/unimarc/bin/Debug/UniMarc.pdb and b/unimarc/unimarc/bin/Debug/UniMarc.pdb differ diff --git a/unimarc/unimarc/bin/Debug/ko/UniMarc.resources.dll b/unimarc/unimarc/bin/Debug/ko/UniMarc.resources.dll index 9c10a7e..de81093 100644 Binary files a/unimarc/unimarc/bin/Debug/ko/UniMarc.resources.dll and b/unimarc/unimarc/bin/Debug/ko/UniMarc.resources.dll differ diff --git a/unimarc/unimarc/obj/Debug/UniMarc.Properties.Resources.resources b/unimarc/unimarc/obj/Debug/UniMarc.Properties.Resources.resources index 5bd99d5..551b783 100644 Binary files a/unimarc/unimarc/obj/Debug/UniMarc.Properties.Resources.resources and b/unimarc/unimarc/obj/Debug/UniMarc.Properties.Resources.resources differ diff --git a/unimarc/unimarc/obj/Debug/UniMarc.csproj.GenerateResource.cache b/unimarc/unimarc/obj/Debug/UniMarc.csproj.GenerateResource.cache index 3934c1b..0257fc5 100644 Binary files a/unimarc/unimarc/obj/Debug/UniMarc.csproj.GenerateResource.cache and b/unimarc/unimarc/obj/Debug/UniMarc.csproj.GenerateResource.cache differ diff --git a/unimarc/unimarc/obj/Debug/UniMarc.exe b/unimarc/unimarc/obj/Debug/UniMarc.exe index 6b0be0d..6493326 100644 Binary files a/unimarc/unimarc/obj/Debug/UniMarc.exe and b/unimarc/unimarc/obj/Debug/UniMarc.exe differ diff --git a/unimarc/unimarc/obj/Debug/UniMarc.pdb b/unimarc/unimarc/obj/Debug/UniMarc.pdb index cd5efa9..986c4e7 100644 Binary files a/unimarc/unimarc/obj/Debug/UniMarc.pdb and b/unimarc/unimarc/obj/Debug/UniMarc.pdb differ diff --git a/unimarc/unimarc/obj/Debug/ko/UniMarc.resources.dll b/unimarc/unimarc/obj/Debug/ko/UniMarc.resources.dll index 9c10a7e..de81093 100644 Binary files a/unimarc/unimarc/obj/Debug/ko/UniMarc.resources.dll and b/unimarc/unimarc/obj/Debug/ko/UniMarc.resources.dll differ diff --git a/unimarc/unimarc/마스터/User_manage.Designer.cs b/unimarc/unimarc/마스터/User_manage.Designer.cs index e9f472a..1638141 100644 --- a/unimarc/unimarc/마스터/User_manage.Designer.cs +++ b/unimarc/unimarc/마스터/User_manage.Designer.cs @@ -28,33 +28,660 @@ /// private void InitializeComponent() { + this.btn_close = new System.Windows.Forms.Button(); + this.btn_save = new System.Windows.Forms.Button(); + this.label11 = new System.Windows.Forms.Label(); + this.panel12 = new System.Windows.Forms.Panel(); + this.tb_boss = new System.Windows.Forms.TextBox(); + this.tb_bank_comp = new System.Windows.Forms.TextBox(); + this.tb_bank_no = new System.Windows.Forms.TextBox(); + this.tb_fax = new System.Windows.Forms.TextBox(); + this.tb_tel = new System.Windows.Forms.TextBox(); + this.tb_barea = new System.Windows.Forms.TextBox(); + this.tb_email = new System.Windows.Forms.TextBox(); + this.tb_addr = new System.Windows.Forms.TextBox(); + this.tb_zip = new System.Windows.Forms.TextBox(); + this.tb_jongmok = new System.Windows.Forms.TextBox(); + this.tb_uptae = new System.Windows.Forms.TextBox(); + this.tb_cobin = new System.Windows.Forms.TextBox(); + this.tb_bubin = new System.Windows.Forms.TextBox(); + this.tb_sangho = new System.Windows.Forms.TextBox(); + this.panel2 = new System.Windows.Forms.Panel(); + this.label2 = new System.Windows.Forms.Label(); + this.panel19 = new System.Windows.Forms.Panel(); + this.label18 = new System.Windows.Forms.Label(); + this.panel18 = new System.Windows.Forms.Panel(); + this.label17 = new System.Windows.Forms.Label(); + this.panel1 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); + this.panel11 = new System.Windows.Forms.Panel(); + this.label21 = new System.Windows.Forms.Label(); + this.panel10 = new System.Windows.Forms.Panel(); + this.label10 = new System.Windows.Forms.Label(); + this.panel8 = new System.Windows.Forms.Panel(); + this.label8 = new System.Windows.Forms.Label(); + this.panel17 = new System.Windows.Forms.Panel(); + this.label16 = new System.Windows.Forms.Label(); + this.panel3 = new System.Windows.Forms.Panel(); + this.label3 = new System.Windows.Forms.Label(); + this.panel4 = new System.Windows.Forms.Panel(); + this.label4 = new System.Windows.Forms.Label(); + this.panel5 = new System.Windows.Forms.Panel(); + this.label5 = new System.Windows.Forms.Label(); + this.panel14 = new System.Windows.Forms.Panel(); + this.label13 = new System.Windows.Forms.Label(); + this.panel6 = new System.Windows.Forms.Panel(); + this.label6 = new System.Windows.Forms.Label(); + this.tb_pw = new System.Windows.Forms.TextBox(); + this.tb_id = new System.Windows.Forms.TextBox(); + this.panel16 = new System.Windows.Forms.Panel(); + this.label15 = new System.Windows.Forms.Label(); + this.panel20 = new System.Windows.Forms.Panel(); + this.label19 = new System.Windows.Forms.Label(); + this.button1 = new System.Windows.Forms.Button(); + this.panel12.SuspendLayout(); + this.panel2.SuspendLayout(); + this.panel19.SuspendLayout(); + this.panel18.SuspendLayout(); + this.panel1.SuspendLayout(); + this.panel11.SuspendLayout(); + this.panel10.SuspendLayout(); + this.panel8.SuspendLayout(); + this.panel17.SuspendLayout(); + this.panel3.SuspendLayout(); + this.panel4.SuspendLayout(); + this.panel5.SuspendLayout(); + this.panel14.SuspendLayout(); + this.panel6.SuspendLayout(); + this.panel16.SuspendLayout(); + this.panel20.SuspendLayout(); this.SuspendLayout(); // + // btn_close + // + this.btn_close.Location = new System.Drawing.Point(423, 5); + this.btn_close.Name = "btn_close"; + this.btn_close.Size = new System.Drawing.Size(59, 25); + this.btn_close.TabIndex = 12; + this.btn_close.Text = "닫 기"; + this.btn_close.UseVisualStyleBackColor = true; + this.btn_close.Click += new System.EventHandler(this.btn_close_Click); + // + // btn_save + // + this.btn_save.Location = new System.Drawing.Point(358, 5); + this.btn_save.Name = "btn_save"; + this.btn_save.Size = new System.Drawing.Size(59, 25); + this.btn_save.TabIndex = 14; + this.btn_save.Text = "저 장"; + this.btn_save.UseVisualStyleBackColor = true; + this.btn_save.Click += new System.EventHandler(this.btn_save_Click); + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.label11.Location = new System.Drawing.Point(10, 9); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(139, 16); + this.label11.TabIndex = 10; + this.label11.Text = "신규 사업자 등록"; + // + // panel12 + // + this.panel12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel12.Controls.Add(this.button1); + this.panel12.Controls.Add(this.tb_pw); + this.panel12.Controls.Add(this.tb_id); + this.panel12.Controls.Add(this.panel16); + this.panel12.Controls.Add(this.panel20); + this.panel12.Controls.Add(this.tb_boss); + this.panel12.Controls.Add(this.tb_bank_comp); + this.panel12.Controls.Add(this.tb_bank_no); + this.panel12.Controls.Add(this.tb_fax); + this.panel12.Controls.Add(this.tb_tel); + this.panel12.Controls.Add(this.tb_barea); + this.panel12.Controls.Add(this.tb_email); + this.panel12.Controls.Add(this.tb_addr); + this.panel12.Controls.Add(this.tb_zip); + this.panel12.Controls.Add(this.tb_jongmok); + this.panel12.Controls.Add(this.tb_uptae); + this.panel12.Controls.Add(this.tb_cobin); + this.panel12.Controls.Add(this.tb_bubin); + this.panel12.Controls.Add(this.tb_sangho); + this.panel12.Controls.Add(this.panel2); + this.panel12.Controls.Add(this.panel19); + this.panel12.Controls.Add(this.panel18); + this.panel12.Controls.Add(this.panel1); + this.panel12.Controls.Add(this.panel11); + this.panel12.Controls.Add(this.panel10); + this.panel12.Controls.Add(this.panel8); + this.panel12.Controls.Add(this.panel17); + this.panel12.Controls.Add(this.panel3); + this.panel12.Controls.Add(this.panel4); + this.panel12.Controls.Add(this.panel5); + this.panel12.Controls.Add(this.panel14); + this.panel12.Controls.Add(this.panel6); + this.panel12.Location = new System.Drawing.Point(7, 36); + this.panel12.Name = "panel12"; + this.panel12.Size = new System.Drawing.Size(475, 217); + this.panel12.TabIndex = 11; + // + // tb_boss + // + this.tb_boss.Location = new System.Drawing.Point(318, 3); + this.tb_boss.Name = "tb_boss"; + this.tb_boss.Size = new System.Drawing.Size(150, 21); + this.tb_boss.TabIndex = 0; + // + // tb_bank_comp + // + this.tb_bank_comp.Location = new System.Drawing.Point(64, 137); + this.tb_bank_comp.Name = "tb_bank_comp"; + this.tb_bank_comp.Size = new System.Drawing.Size(182, 21); + this.tb_bank_comp.TabIndex = 0; + // + // tb_bank_no + // + this.tb_bank_no.Location = new System.Drawing.Point(318, 137); + this.tb_bank_no.Name = "tb_bank_no"; + this.tb_bank_no.Size = new System.Drawing.Size(150, 21); + this.tb_bank_no.TabIndex = 0; + // + // tb_fax + // + this.tb_fax.Location = new System.Drawing.Point(318, 110); + this.tb_fax.Name = "tb_fax"; + this.tb_fax.Size = new System.Drawing.Size(150, 21); + this.tb_fax.TabIndex = 0; + // + // tb_tel + // + this.tb_tel.BackColor = System.Drawing.SystemColors.Info; + this.tb_tel.Location = new System.Drawing.Point(64, 110); + this.tb_tel.Name = "tb_tel"; + this.tb_tel.Size = new System.Drawing.Size(182, 21); + this.tb_tel.TabIndex = 0; + // + // tb_barea + // + this.tb_barea.Location = new System.Drawing.Point(318, 164); + this.tb_barea.Name = "tb_barea"; + this.tb_barea.Size = new System.Drawing.Size(150, 21); + this.tb_barea.TabIndex = 0; + // + // tb_email + // + this.tb_email.BackColor = System.Drawing.SystemColors.Info; + this.tb_email.Location = new System.Drawing.Point(64, 164); + this.tb_email.Name = "tb_email"; + this.tb_email.Size = new System.Drawing.Size(182, 21); + this.tb_email.TabIndex = 0; + // + // tb_addr + // + this.tb_addr.Location = new System.Drawing.Point(144, 83); + this.tb_addr.Name = "tb_addr"; + this.tb_addr.Size = new System.Drawing.Size(324, 21); + this.tb_addr.TabIndex = 0; + // + // tb_zip + // + this.tb_zip.Location = new System.Drawing.Point(64, 83); + this.tb_zip.Name = "tb_zip"; + this.tb_zip.Size = new System.Drawing.Size(74, 21); + this.tb_zip.TabIndex = 0; + this.tb_zip.Text = " -"; + // + // tb_jongmok + // + this.tb_jongmok.Location = new System.Drawing.Point(318, 57); + this.tb_jongmok.Name = "tb_jongmok"; + this.tb_jongmok.Size = new System.Drawing.Size(150, 21); + this.tb_jongmok.TabIndex = 0; + // + // tb_uptae + // + this.tb_uptae.Location = new System.Drawing.Point(64, 57); + this.tb_uptae.Name = "tb_uptae"; + this.tb_uptae.Size = new System.Drawing.Size(182, 21); + this.tb_uptae.TabIndex = 0; + // + // tb_cobin + // + this.tb_cobin.Location = new System.Drawing.Point(318, 30); + this.tb_cobin.Name = "tb_cobin"; + this.tb_cobin.Size = new System.Drawing.Size(150, 21); + this.tb_cobin.TabIndex = 0; + // + // tb_bubin + // + this.tb_bubin.Location = new System.Drawing.Point(64, 30); + this.tb_bubin.Name = "tb_bubin"; + this.tb_bubin.Size = new System.Drawing.Size(182, 21); + this.tb_bubin.TabIndex = 0; + // + // tb_sangho + // + this.tb_sangho.BackColor = System.Drawing.SystemColors.Info; + this.tb_sangho.Location = new System.Drawing.Point(64, 3); + this.tb_sangho.Name = "tb_sangho"; + this.tb_sangho.Size = new System.Drawing.Size(182, 21); + this.tb_sangho.TabIndex = 0; + // + // panel2 + // + this.panel2.BackColor = System.Drawing.SystemColors.ActiveBorder; + this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel2.Controls.Add(this.label2); + this.panel2.Location = new System.Drawing.Point(-1, -1); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(59, 28); + this.panel2.TabIndex = 0; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(2, 6); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(53, 12); + this.label2.TabIndex = 0; + this.label2.Text = "상 호"; + // + // panel19 + // + this.panel19.BackColor = System.Drawing.SystemColors.ActiveBorder; + this.panel19.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel19.Controls.Add(this.label18); + this.panel19.Location = new System.Drawing.Point(252, -1); + this.panel19.Name = "panel19"; + this.panel19.Size = new System.Drawing.Size(59, 28); + this.panel19.TabIndex = 0; + // + // label18 + // + this.label18.AutoSize = true; + this.label18.Location = new System.Drawing.Point(2, 6); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(53, 12); + this.label18.TabIndex = 0; + this.label18.Text = "대표자명"; + // + // panel18 + // + this.panel18.BackColor = System.Drawing.SystemColors.ActiveBorder; + this.panel18.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel18.Controls.Add(this.label17); + this.panel18.Location = new System.Drawing.Point(252, 26); + this.panel18.Name = "panel18"; + this.panel18.Size = new System.Drawing.Size(59, 28); + this.panel18.TabIndex = 0; + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Location = new System.Drawing.Point(2, 7); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(53, 12); + this.label17.TabIndex = 0; + this.label17.Text = "법인번호"; + // + // panel1 + // + this.panel1.BackColor = System.Drawing.SystemColors.ActiveBorder; + this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel1.Controls.Add(this.label1); + this.panel1.Location = new System.Drawing.Point(-1, 26); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(59, 28); + this.panel1.TabIndex = 0; + // // label1 // this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(381, 219); + this.label1.Location = new System.Drawing.Point(2, 7); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(111, 12); - this.label1.TabIndex = 1; - this.label1.Text = "마스터_이용자 관리"; + this.label1.Size = new System.Drawing.Size(53, 12); + this.label1.TabIndex = 0; + this.label1.Text = "등록번호"; + // + // panel11 + // + this.panel11.BackColor = System.Drawing.SystemColors.ActiveBorder; + this.panel11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel11.Controls.Add(this.label21); + this.panel11.Location = new System.Drawing.Point(252, 134); + this.panel11.Name = "panel11"; + this.panel11.Size = new System.Drawing.Size(59, 28); + this.panel11.TabIndex = 0; + // + // label21 + // + this.label21.AutoSize = true; + this.label21.Location = new System.Drawing.Point(2, 8); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(53, 12); + this.label21.TabIndex = 0; + this.label21.Text = "계좌번호"; + // + // panel10 + // + this.panel10.BackColor = System.Drawing.SystemColors.ActiveBorder; + this.panel10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel10.Controls.Add(this.label10); + this.panel10.Location = new System.Drawing.Point(252, 107); + this.panel10.Name = "panel10"; + this.panel10.Size = new System.Drawing.Size(59, 28); + this.panel10.TabIndex = 0; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Location = new System.Drawing.Point(2, 8); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(53, 12); + this.label10.TabIndex = 0; + this.label10.Text = "팩스번호"; + // + // panel8 + // + this.panel8.BackColor = System.Drawing.SystemColors.ActiveBorder; + this.panel8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel8.Controls.Add(this.label8); + this.panel8.Location = new System.Drawing.Point(-1, 161); + this.panel8.Name = "panel8"; + this.panel8.Size = new System.Drawing.Size(59, 28); + this.panel8.TabIndex = 0; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(4, 8); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(49, 12); + this.label8.TabIndex = 0; + this.label8.Text = "이 메 일"; + // + // panel17 + // + this.panel17.BackColor = System.Drawing.SystemColors.ActiveBorder; + this.panel17.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel17.Controls.Add(this.label16); + this.panel17.Location = new System.Drawing.Point(252, 161); + this.panel17.Name = "panel17"; + this.panel17.Size = new System.Drawing.Size(59, 28); + this.panel17.TabIndex = 0; + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Location = new System.Drawing.Point(4, 8); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(49, 12); + this.label16.TabIndex = 0; + this.label16.Text = "발 송 처"; + // + // panel3 + // + this.panel3.BackColor = System.Drawing.SystemColors.ActiveBorder; + this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel3.Controls.Add(this.label3); + this.panel3.Location = new System.Drawing.Point(-1, 80); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(59, 28); + this.panel3.TabIndex = 0; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(2, 7); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(53, 12); + this.label3.TabIndex = 0; + this.label3.Text = "회사주소"; + // + // panel4 + // + this.panel4.BackColor = System.Drawing.SystemColors.ActiveBorder; + this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel4.Controls.Add(this.label4); + this.panel4.Location = new System.Drawing.Point(-1, 53); + this.panel4.Name = "panel4"; + this.panel4.Size = new System.Drawing.Size(59, 28); + this.panel4.TabIndex = 0; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(2, 8); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(53, 12); + this.label4.TabIndex = 0; + this.label4.Text = "업 태"; + // + // panel5 + // + this.panel5.BackColor = System.Drawing.SystemColors.ActiveBorder; + this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel5.Controls.Add(this.label5); + this.panel5.Location = new System.Drawing.Point(-1, 134); + this.panel5.Name = "panel5"; + this.panel5.Size = new System.Drawing.Size(59, 28); + this.panel5.TabIndex = 0; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(4, 7); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(49, 12); + this.label5.TabIndex = 0; + this.label5.Text = "은 행 명"; + // + // panel14 + // + this.panel14.BackColor = System.Drawing.SystemColors.ActiveBorder; + this.panel14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel14.Controls.Add(this.label13); + this.panel14.Location = new System.Drawing.Point(252, 53); + this.panel14.Name = "panel14"; + this.panel14.Size = new System.Drawing.Size(59, 28); + this.panel14.TabIndex = 0; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Location = new System.Drawing.Point(2, 8); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(53, 12); + this.label13.TabIndex = 0; + this.label13.Text = "종 목"; + // + // panel6 + // + this.panel6.BackColor = System.Drawing.SystemColors.ActiveBorder; + this.panel6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel6.Controls.Add(this.label6); + this.panel6.Location = new System.Drawing.Point(-1, 107); + this.panel6.Name = "panel6"; + this.panel6.Size = new System.Drawing.Size(59, 28); + this.panel6.TabIndex = 0; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(2, 8); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(53, 12); + this.label6.TabIndex = 0; + this.label6.Text = "전화번호"; + // + // tb_pw + // + this.tb_pw.BackColor = System.Drawing.SystemColors.Info; + this.tb_pw.Location = new System.Drawing.Point(318, 191); + this.tb_pw.Name = "tb_pw"; + this.tb_pw.PasswordChar = '*'; + this.tb_pw.Size = new System.Drawing.Size(150, 21); + this.tb_pw.TabIndex = 1; + // + // tb_id + // + this.tb_id.BackColor = System.Drawing.SystemColors.Info; + this.tb_id.Location = new System.Drawing.Point(64, 191); + this.tb_id.Name = "tb_id"; + this.tb_id.Size = new System.Drawing.Size(107, 21); + this.tb_id.TabIndex = 2; + this.tb_id.TextChanged += new System.EventHandler(this.tb_id_TextChanged); + // + // panel16 + // + this.panel16.BackColor = System.Drawing.SystemColors.ActiveBorder; + this.panel16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel16.Controls.Add(this.label15); + this.panel16.Location = new System.Drawing.Point(-1, 188); + this.panel16.Name = "panel16"; + this.panel16.Size = new System.Drawing.Size(59, 28); + this.panel16.TabIndex = 3; + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Location = new System.Drawing.Point(6, 7); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(44, 12); + this.label15.TabIndex = 0; + this.label15.Text = "만들 ID"; + // + // panel20 + // + this.panel20.BackColor = System.Drawing.SystemColors.ActiveBorder; + this.panel20.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel20.Controls.Add(this.label19); + this.panel20.Location = new System.Drawing.Point(252, 188); + this.panel20.Name = "panel20"; + this.panel20.Size = new System.Drawing.Size(59, 28); + this.panel20.TabIndex = 4; + // + // label19 + // + this.label19.AutoSize = true; + this.label19.Location = new System.Drawing.Point(3, 7); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(51, 12); + this.label19.TabIndex = 0; + this.label19.Text = "만들 PW"; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(178, 190); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(69, 23); + this.button1.TabIndex = 5; + this.button1.Text = "중복확인"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); // // User_manage // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); - this.Controls.Add(this.label1); + this.ClientSize = new System.Drawing.Size(488, 260); + this.Controls.Add(this.btn_close); + this.Controls.Add(this.btn_save); + this.Controls.Add(this.label11); + this.Controls.Add(this.panel12); this.Name = "User_manage"; - this.Text = "Home_User_management"; + this.Text = "신규 사업자 등록"; + this.Load += new System.EventHandler(this.User_manage_Load); + this.panel12.ResumeLayout(false); + this.panel12.PerformLayout(); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.panel19.ResumeLayout(false); + this.panel19.PerformLayout(); + this.panel18.ResumeLayout(false); + this.panel18.PerformLayout(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.panel11.ResumeLayout(false); + this.panel11.PerformLayout(); + this.panel10.ResumeLayout(false); + this.panel10.PerformLayout(); + this.panel8.ResumeLayout(false); + this.panel8.PerformLayout(); + this.panel17.ResumeLayout(false); + this.panel17.PerformLayout(); + this.panel3.ResumeLayout(false); + this.panel3.PerformLayout(); + this.panel4.ResumeLayout(false); + this.panel4.PerformLayout(); + this.panel5.ResumeLayout(false); + this.panel5.PerformLayout(); + this.panel14.ResumeLayout(false); + this.panel14.PerformLayout(); + this.panel6.ResumeLayout(false); + this.panel6.PerformLayout(); + this.panel16.ResumeLayout(false); + this.panel16.PerformLayout(); + this.panel20.ResumeLayout(false); + this.panel20.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); } #endregion - + private System.Windows.Forms.Button btn_close; + private System.Windows.Forms.Button btn_save; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.Panel panel12; + private System.Windows.Forms.TextBox tb_boss; + private System.Windows.Forms.TextBox tb_bank_comp; + private System.Windows.Forms.TextBox tb_bank_no; + private System.Windows.Forms.TextBox tb_fax; + private System.Windows.Forms.TextBox tb_tel; + private System.Windows.Forms.TextBox tb_barea; + private System.Windows.Forms.TextBox tb_email; + private System.Windows.Forms.TextBox tb_addr; + private System.Windows.Forms.TextBox tb_zip; + private System.Windows.Forms.TextBox tb_jongmok; + private System.Windows.Forms.TextBox tb_uptae; + private System.Windows.Forms.TextBox tb_cobin; + private System.Windows.Forms.TextBox tb_bubin; + private System.Windows.Forms.TextBox tb_sangho; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Panel panel19; + private System.Windows.Forms.Label label18; + private System.Windows.Forms.Panel panel18; + private System.Windows.Forms.Label label17; + private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Label label1; + private System.Windows.Forms.Panel panel11; + private System.Windows.Forms.Label label21; + private System.Windows.Forms.Panel panel10; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.Panel panel8; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.Panel panel17; + private System.Windows.Forms.Label label16; + private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Panel panel4; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Panel panel5; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.Panel panel14; + private System.Windows.Forms.Label label13; + private System.Windows.Forms.Panel panel6; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.TextBox tb_pw; + private System.Windows.Forms.TextBox tb_id; + private System.Windows.Forms.Panel panel16; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.Panel panel20; + private System.Windows.Forms.Label label19; + private System.Windows.Forms.Button button1; } } \ No newline at end of file diff --git a/unimarc/unimarc/마스터/User_manage.cs b/unimarc/unimarc/마스터/User_manage.cs index d19ea4e..c413674 100644 --- a/unimarc/unimarc/마스터/User_manage.cs +++ b/unimarc/unimarc/마스터/User_manage.cs @@ -12,11 +12,115 @@ namespace WindowsFormsApp1 { public partial class User_manage : Form { + Helper_DB db = new Helper_DB(); Main main; + bool isIDcheck = false; + public User_manage(Main _main) { InitializeComponent(); main = _main; } + + private void User_manage_Load(object sender, EventArgs e) + { + db.DBcon(); + button1.ForeColor = Color.Red; + } + + private void button1_Click(object sender, EventArgs e) + { + string ID = tb_id.Text; + + if (ID == "") + { + MessageBox.Show("ID칸이 비어있습니다!"); + return; + } + if (!System.Text.RegularExpressions.Regex.IsMatch(ID, @"^[a-zA-Z0-9]")) + { + MessageBox.Show("영어와 숫자 조합으로 작성해주세요!"); + isIDcheck = false; + return; + } + + string cmd = string.Format("SELECT * FROM `User_Data` WHERE `ID` = \"{0}\";", ID); + string res = db.DB_Send_CMD_Search(cmd); + if (res == "") { + MessageBox.Show("사용가능한 이이디입니다. [" + ID + "]"); + isIDcheck = true; + button1.ForeColor = Color.Blue; + } + else { + MessageBox.Show("중복된 아이디입니다. [" + ID + "]"); + isIDcheck = false; + } + } + + private void tb_id_TextChanged(object sender, EventArgs e) + { + isIDcheck = false; + button1.ForeColor = Color.Red; + } + + private void btn_save_Click(object sender, EventArgs e) + { + string[] NeedText = { + tb_sangho.Text, tb_tel.Text, tb_email.Text, tb_id.Text, tb_pw.Text + }; + + foreach (string CheckText in NeedText) + { + if (CheckText == "") { + MessageBox.Show("노란 박스는 꼭 채워주세요!"); + return; + } + } + + string cmd_sanghoCheck = string.Format("SELECT * FROM `Comp` WHERE `comp_name` = \"{0}\"", tb_sangho.Text); + string res = db.DB_Send_CMD_Search(cmd_sanghoCheck); + if (res != "") { + MessageBox.Show("상호명이 중복되었습니다.\n다시 확인해주세요."); + return; + } + if (!isIDcheck) + { + MessageBox.Show("아이디 중복확인 먼저 진행해주세요."); + return; + } + + string[] InsertData = { + tb_sangho.Text, tb_boss.Text, tb_bubin.Text, tb_cobin.Text, tb_uptae.Text, + tb_jongmok.Text, tb_zip.Text, tb_addr.Text, tb_tel.Text, tb_fax.Text, + tb_bank_comp.Text, tb_bank_no.Text, tb_email.Text, tb_barea.Text, "외부업체" + }; // 15 + + string[] InsertCol = { + "comp_name", "boss", "bubin", "cobin", "uptae", + "jongmok", "zip", "addr", "tel", "fax", + "bank_comp", "bank_no", "email", "barea", "grade" + }; // 15 + + db.DB_Send_CMD_reVoid(db.DB_INSERT("Comp", InsertCol, InsertData)); + + InsertAccount(tb_sangho.Text); + } + + private void InsertAccount(string compName) + { + string ID = tb_id.Text; + string PW = tb_pw.Text; + string boss = tb_boss.Text; + + string[] InsertData = { ID, PW, boss, compName }; + string[] InsertCol = { "ID", "PW", "name", "affil" }; + + db.DB_Send_CMD_reVoid(db.DB_INSERT("User_Data", InsertCol, InsertData)); + } + + private void btn_close_Click(object sender, EventArgs e) + { + this.Close(); + } } } diff --git a/unimarc/unimarc/마크/Check_copy.Designer.cs b/unimarc/unimarc/마크/Check_copy.Designer.cs index 6f07acf..3553d70 100644 --- a/unimarc/unimarc/마크/Check_copy.Designer.cs +++ b/unimarc/unimarc/마크/Check_copy.Designer.cs @@ -51,11 +51,11 @@ this.panel6 = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel(); this.chk_RemoveBrit = new System.Windows.Forms.CheckBox(); + this.btn_ResultEmpty = new System.Windows.Forms.Button(); this.btn_GridReset = new System.Windows.Forms.Button(); this.btn_OpenMemo = new System.Windows.Forms.Button(); this.chk_spChar = new System.Windows.Forms.CheckBox(); this.panel5 = new System.Windows.Forms.Panel(); - this.btn_ResultEmpty = new System.Windows.Forms.Button(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.SearchCount)).BeginInit(); this.panel2.SuspendLayout(); @@ -301,6 +301,8 @@ // chk_RemoveBrit // this.chk_RemoveBrit.AutoSize = true; + this.chk_RemoveBrit.Checked = true; + this.chk_RemoveBrit.CheckState = System.Windows.Forms.CheckState.Checked; this.chk_RemoveBrit.Location = new System.Drawing.Point(131, 8); this.chk_RemoveBrit.Name = "chk_RemoveBrit"; this.chk_RemoveBrit.Size = new System.Drawing.Size(128, 16); @@ -308,6 +310,16 @@ this.chk_RemoveBrit.Text = "괄호안의 문자 제거"; this.chk_RemoveBrit.UseVisualStyleBackColor = true; // + // btn_ResultEmpty + // + this.btn_ResultEmpty.Location = new System.Drawing.Point(473, 4); + this.btn_ResultEmpty.Name = "btn_ResultEmpty"; + this.btn_ResultEmpty.Size = new System.Drawing.Size(75, 24); + this.btn_ResultEmpty.TabIndex = 2; + this.btn_ResultEmpty.Text = "결과 비움"; + this.btn_ResultEmpty.UseVisualStyleBackColor = true; + this.btn_ResultEmpty.Click += new System.EventHandler(this.btn_ResultEmpty_Click); + // // btn_GridReset // this.btn_GridReset.Location = new System.Drawing.Point(553, 4); @@ -331,6 +343,8 @@ // chk_spChar // this.chk_spChar.AutoSize = true; + this.chk_spChar.Checked = true; + this.chk_spChar.CheckState = System.Windows.Forms.CheckState.Checked; this.chk_spChar.Location = new System.Drawing.Point(12, 8); this.chk_spChar.Name = "chk_spChar"; this.chk_spChar.Size = new System.Drawing.Size(100, 16); @@ -347,16 +361,6 @@ this.panel5.Size = new System.Drawing.Size(673, 738); this.panel5.TabIndex = 4; // - // btn_ResultEmpty - // - this.btn_ResultEmpty.Location = new System.Drawing.Point(473, 4); - this.btn_ResultEmpty.Name = "btn_ResultEmpty"; - this.btn_ResultEmpty.Size = new System.Drawing.Size(75, 24); - this.btn_ResultEmpty.TabIndex = 2; - this.btn_ResultEmpty.Text = "결과 비움"; - this.btn_ResultEmpty.UseVisualStyleBackColor = true; - this.btn_ResultEmpty.Click += new System.EventHandler(this.btn_ResultEmpty_Click); - // // Check_copy // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); diff --git a/unimarc/unimarc/마크/Check_copy.cs b/unimarc/unimarc/마크/Check_copy.cs index 640cb73..52ad81b 100644 --- a/unimarc/unimarc/마크/Check_copy.cs +++ b/unimarc/unimarc/마크/Check_copy.cs @@ -64,8 +64,28 @@ namespace WindowsFormsApp1.Mac private void btn_Start_Click(object sender, EventArgs e) { + DialogResult MsgResult = MessageBox.Show("선택된 필터를 적용하시겠습니까?", "필터 적용", MessageBoxButtons.YesNoCancel); + + if (MsgResult == DialogResult.Yes) + { + int count = dataGridView1.Rows.Count; + + if (count <= 1) + return; + + if (chk_spChar.Checked) + RemoveSpecialChar(count); + + if (chk_RemoveBrit.Checked) + RemoveInBrit(count); + } + else if (MsgResult == DialogResult.Cancel) + return; + dataGridView1.CurrentCell = dataGridView1.Rows[0].Cells[0]; + return; + webBrowser1.Navigate(""); int SCount = Convert.ToInt32(SearchCount.Value); @@ -75,8 +95,8 @@ namespace WindowsFormsApp1.Mac webBrowser1.Navigate(URL); - if (URL.IndexOf("") < 0 || - URL.IndexOf("lib.jeonnam.go.kr") < 0) + if (URL.IndexOf("") < 0)// || + //URL.IndexOf("lib.jeonnam.go.kr") < 0) { webBrowser1.DocumentCompleted += this.webBrowser1_DocumentCompleted; return; @@ -197,15 +217,14 @@ namespace WindowsFormsApp1.Mac 전남진도입력(text); } - // 전남 완도 TODO: 작업해야함 + // 전남 완도 (완도군립, 노화공공, 금일공공, 보길윤선도작은, 군외동백숲작은, 도담도담작은) else if (URL.IndexOf("book.wando.go.kr") > -1) { BookCount = 전남완도입력(text); } // 전남 도립 TODO: 오류발생 (원인불명) [한번에 3개씩 검색결과가 표출됨] - /* - * else if (URL.IndexOf("lib.jeonnam.go.kr") > -1) + else if (URL.IndexOf("lib.jeonnam.go.kr") > -1) { Delay(300); if (URL.IndexOf("value") > -1) @@ -213,7 +232,6 @@ namespace WindowsFormsApp1.Mac 전남도립입력(text); } - */ // 전남 고흥 (군립중앙, 군립남부, 군립북부 등 총 7개 도서관) else if (URL.IndexOf("ghlib.go.kr/BookSearch") > -1) @@ -225,7 +243,6 @@ namespace WindowsFormsApp1.Mac } // 전남 여수 (쌍봉, 현암, 환경, 돌산 등 총 31개 도서관) - // TODO: 방식이 다름. 다른 방법으로 돌아야함. else if (URL.IndexOf("yslib.yeosu.go.kr") > -1) { if (URL.IndexOf("searchWord") > -1) @@ -557,7 +574,7 @@ namespace WindowsFormsApp1.Mac } #endregion - #region 전남 완도 (작업예정) + #region 전남 완도 bool isWandoClick = false; string 전남완도입력(string text) @@ -698,7 +715,7 @@ namespace WindowsFormsApp1.Mac } #endregion - #region 전남 여수 (오류발생) + #region 전남 여수 void 전남여수입력(string text) { foreach (HtmlElement DIV in webBrowser1.Document.GetElementsByTagName("div")) @@ -958,8 +975,13 @@ namespace WindowsFormsApp1.Mac break; string Target = dataGridView1.Rows[a].Cells["book_name"].Value.ToString(); - string res = Regex.Replace(Target, @"[^a-zA-Z0-9가-힣_\s()]", "", RegexOptions.Singleline); + // 구두점 제거 ,.;:/ + // Target = Target.Replace(",", "").Replace(".", "").Replace(";", "").Replace(":", ""); + + + string res = Regex.Replace(Target, @"[^a-zA-Z0-9가-힣_\s()]", "", RegexOptions.Singleline); + dataGridView1.Rows[a].Cells["book_name"].Value = res.Trim(); } } diff --git a/unimarc/unimarc/마크/Marc.cs b/unimarc/unimarc/마크/Marc.cs index 4baaef6..c988d73 100644 --- a/unimarc/unimarc/마크/Marc.cs +++ b/unimarc/unimarc/마크/Marc.cs @@ -86,6 +86,7 @@ namespace ExcelTest if (compidx != "3") this.tabControl1.TabPages.Remove(this.tabPage2); } + /// /// 가져온 목록을 책목록과 연동하여 Grid에 집어넣음. /// @@ -96,7 +97,7 @@ namespace ExcelTest db.DBcon(); string Area = "`idx`, `isbn_marc`, `header`, `num`, `book_name`, `author`, `book_comp`, `count`, `pay`, `image_url`, `m_idx`"; string[] sear_tbl = { "date", "list_name", "compidx" }; - string[] sear_col = { date, value, C_idx}; + string[] sear_col = { date, value, C_idx }; lbl_BookList.Text = value;