=====* UniMarc [0.0167] 버전 업데이트 내용 *=====
** ERP 작업 전면 중단 (마크우선) ** 1. 업데이트가 누락되는 버그가 틈틈히 발생하여, 해결하기 위해 설치 프로그램을 새로 배포함. 2. 실행파일을 메모장으로 열 경우, 서버접속 정보가 노출되던 사항 수정. 3. 목록DB 인덱스 최대한 활용하여 속도 개선작업중
This commit is contained in:
191
unimarc/unimarc/마스터/User_manage.Designer.cs
generated
191
unimarc/unimarc/마스터/User_manage.Designer.cs
generated
@@ -32,6 +32,13 @@
|
||||
this.btn_save = new System.Windows.Forms.Button();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.panel12 = new System.Windows.Forms.Panel();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
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.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();
|
||||
@@ -72,14 +79,12 @@
|
||||
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.panel7 = new System.Windows.Forms.Panel();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.cb_IPList = new System.Windows.Forms.ComboBox();
|
||||
this.panel12.SuspendLayout();
|
||||
this.panel16.SuspendLayout();
|
||||
this.panel20.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.panel19.SuspendLayout();
|
||||
this.panel18.SuspendLayout();
|
||||
@@ -93,8 +98,7 @@
|
||||
this.panel5.SuspendLayout();
|
||||
this.panel14.SuspendLayout();
|
||||
this.panel6.SuspendLayout();
|
||||
this.panel16.SuspendLayout();
|
||||
this.panel20.SuspendLayout();
|
||||
this.panel7.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// btn_close
|
||||
@@ -123,13 +127,14 @@
|
||||
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.Size = new System.Drawing.Size(138, 16);
|
||||
this.label11.TabIndex = 10;
|
||||
this.label11.Text = "신규 사업자 등록";
|
||||
//
|
||||
// panel12
|
||||
//
|
||||
this.panel12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel12.Controls.Add(this.cb_IPList);
|
||||
this.panel12.Controls.Add(this.button1);
|
||||
this.panel12.Controls.Add(this.tb_pw);
|
||||
this.panel12.Controls.Add(this.tb_id);
|
||||
@@ -164,9 +169,75 @@
|
||||
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.Size = new System.Drawing.Size(475, 244);
|
||||
this.panel12.TabIndex = 11;
|
||||
//
|
||||
// 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);
|
||||
//
|
||||
// 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";
|
||||
//
|
||||
// tb_boss
|
||||
//
|
||||
this.tb_boss.Location = new System.Drawing.Point(318, 3);
|
||||
@@ -516,86 +587,53 @@
|
||||
this.label6.TabIndex = 0;
|
||||
this.label6.Text = "전화번호";
|
||||
//
|
||||
// tb_pw
|
||||
// panel7
|
||||
//
|
||||
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;
|
||||
this.panel7.BackColor = System.Drawing.SystemColors.ActiveBorder;
|
||||
this.panel7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel7.Controls.Add(this.label7);
|
||||
this.panel7.Location = new System.Drawing.Point(7, 252);
|
||||
this.panel7.Name = "panel7";
|
||||
this.panel7.Size = new System.Drawing.Size(59, 28);
|
||||
this.panel7.TabIndex = 3;
|
||||
//
|
||||
// tb_id
|
||||
// label7
|
||||
//
|
||||
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);
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(6, 7);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(44, 12);
|
||||
this.label7.TabIndex = 0;
|
||||
this.label7.Text = "허가 IP";
|
||||
//
|
||||
// panel16
|
||||
// cb_IPList
|
||||
//
|
||||
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);
|
||||
this.cb_IPList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_IPList.FormattingEnabled = true;
|
||||
this.cb_IPList.Location = new System.Drawing.Point(64, 218);
|
||||
this.cb_IPList.Name = "cb_IPList";
|
||||
this.cb_IPList.Size = new System.Drawing.Size(182, 20);
|
||||
this.cb_IPList.TabIndex = 6;
|
||||
//
|
||||
// User_manage
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(488, 260);
|
||||
this.ClientSize = new System.Drawing.Size(488, 299);
|
||||
this.Controls.Add(this.btn_close);
|
||||
this.Controls.Add(this.btn_save);
|
||||
this.Controls.Add(this.label11);
|
||||
this.Controls.Add(this.panel7);
|
||||
this.Controls.Add(this.panel12);
|
||||
this.Name = "User_manage";
|
||||
this.Text = "신규 사업자 등록";
|
||||
this.Load += new System.EventHandler(this.User_manage_Load);
|
||||
this.panel12.ResumeLayout(false);
|
||||
this.panel12.PerformLayout();
|
||||
this.panel16.ResumeLayout(false);
|
||||
this.panel16.PerformLayout();
|
||||
this.panel20.ResumeLayout(false);
|
||||
this.panel20.PerformLayout();
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
this.panel19.ResumeLayout(false);
|
||||
@@ -622,10 +660,8 @@
|
||||
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.panel7.ResumeLayout(false);
|
||||
this.panel7.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -683,5 +719,8 @@
|
||||
private System.Windows.Forms.Panel panel20;
|
||||
private System.Windows.Forms.Label label19;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Panel panel7;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.ComboBox cb_IPList;
|
||||
}
|
||||
}
|
||||
@@ -26,6 +26,11 @@ namespace WindowsFormsApp1
|
||||
{
|
||||
db.DBcon();
|
||||
button1.ForeColor = Color.Red;
|
||||
|
||||
IP ip = new IP();
|
||||
string[] IPList = { "ALL", ip.GetIP };
|
||||
cb_IPList.Items.AddRange(IPList);
|
||||
cb_IPList.SelectedIndex = 0;
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
@@ -89,20 +94,26 @@ namespace WindowsFormsApp1
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
db.DB_Send_CMD_reVoid(db.DB_INSERT("Comp", InsertCol, InsertData));
|
||||
|
||||
// IP 적용
|
||||
string[] IP_Col = { "compidx", "IP" };
|
||||
string[] IP_Data = { db.chk_comp(tb_sangho.Text), cb_IPList.Text };
|
||||
|
||||
db.DB_Send_CMD_reVoid(db.DB_INSERT("Comp_IP", IP_Col, IP_Data));
|
||||
|
||||
InsertAccount(tb_sangho.Text);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user