This commit is contained in:
chikyun.kim
2019-07-25 08:29:57 +09:00
parent 5c77244a45
commit ae209e00af
85 changed files with 21568 additions and 4313 deletions

View File

@@ -29,28 +29,19 @@
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLogin));
this.tbID = new System.Windows.Forms.TextBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.panel1 = new System.Windows.Forms.Panel();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.tbPW = new System.Windows.Forms.TextBox();
this.panel2 = new System.Windows.Forms.Panel();
this.btLogin = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.tbID = new System.Windows.Forms.ComboBox();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.SuspendLayout();
//
// tbID
//
this.tbID.Font = new System.Drawing.Font("Calibri", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tbID.Location = new System.Drawing.Point(12, 148);
this.tbID.Name = "tbID";
this.tbID.Size = new System.Drawing.Size(329, 40);
this.tbID.TabIndex = 0;
this.tbID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
@@ -64,16 +55,38 @@
// panel1
//
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(244)))));
this.panel1.Controls.Add(this.tbID);
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.tbPW);
this.panel1.Controls.Add(this.pictureBox1);
this.panel1.Controls.Add(this.tbID);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(358, 272);
this.panel1.TabIndex = 1;
this.panel1.TabIndex = 0;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Calibri", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.ForeColor = System.Drawing.Color.Gray;
this.label2.Location = new System.Drawing.Point(12, 200);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(59, 14);
this.label2.TabIndex = 2;
this.label2.Text = "Password";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Calibri", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.Gray;
this.label1.Location = new System.Drawing.Point(12, 131);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(70, 14);
this.label1.TabIndex = 0;
this.label1.Text = "No or Email";
//
// tbPW
//
@@ -82,7 +95,7 @@
this.tbPW.Name = "tbPW";
this.tbPW.PasswordChar = '●';
this.tbPW.Size = new System.Drawing.Size(329, 40);
this.tbPW.TabIndex = 4;
this.tbPW.TabIndex = 3;
this.tbPW.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// panel2
@@ -106,27 +119,14 @@
this.btLogin.UseVisualStyleBackColor = true;
this.btLogin.Click += new System.EventHandler(this.button1_Click);
//
// label1
// tbID
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Calibri", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.Gray;
this.label1.Location = new System.Drawing.Point(12, 131);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(70, 14);
this.label1.TabIndex = 5;
this.label1.Text = "No or Email";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Calibri", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.ForeColor = System.Drawing.Color.Gray;
this.label2.Location = new System.Drawing.Point(12, 200);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(59, 14);
this.label2.TabIndex = 5;
this.label2.Text = "Password";
this.tbID.Font = new System.Drawing.Font("Calibri", 20.25F);
this.tbID.FormattingEnabled = true;
this.tbID.Location = new System.Drawing.Point(15, 148);
this.tbID.Name = "tbID";
this.tbID.Size = new System.Drawing.Size(329, 41);
this.tbID.TabIndex = 1;
//
// fLogin
//
@@ -153,12 +153,12 @@
#endregion
private System.Windows.Forms.PictureBox pictureBox1;
public System.Windows.Forms.TextBox tbID;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Button btLogin;
public System.Windows.Forms.TextBox tbPW;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.ComboBox tbID;
}
}

View File

@@ -23,7 +23,11 @@ namespace Project.Dialog
}
private void fLogin_Load(object sender, EventArgs e)
{
this.tbID.Text = Pub.setting.lastid;
var list = Pub.setting.lastid.Split(';');
foreach (var item in list)
if (item != "") tbID.Items.Add(item);
if (tbID.Items.Count > 0) tbID.SelectedIndex = 0;
this.Show();
Application.DoEvents();
@@ -44,8 +48,17 @@ namespace Project.Dialog
return;
}
List<string> idlist = new List<string>();
idlist.Add(tbID.Text.Trim());
foreach (var item in this.tbID.Items)
if (idlist.Contains(item) == false) idlist.Add(item.ToString());
//180605
Pub.setting.lastid = tbID.Text.Trim();
var userlist = "";
foreach (var item in idlist)
userlist += ";" + item;
Pub.setting.lastid = userlist;// tbID.Text.Trim();
Pub.setting.Save();
var encpass = Pub.MakePasswordEnc(tbPW.Text.Trim());
@@ -62,6 +75,8 @@ namespace Project.Dialog
}
else
{
//이사용자의 부서 코드확인
var userdr = users.Rows[0] as dsMSSQL.UsersRow;
FCOMMON.info.Login.no = userdr.id;
FCOMMON.info.Login.nameK = userdr.name;
@@ -72,6 +87,11 @@ namespace Project.Dialog
FCOMMON.info.Login.hp = userdr.hp;
FCOMMON.info.Login.tel = userdr.tel;
FCOMMON.info.Login.title = userdr.ads_title;
var gcode = FCOMMON.DBM.ExecuteScalar("select isnull(gcode,'NOGCODE') from UserGroup where dept ='" + userdr.dept + "'");
var gperm = FCOMMON.DBM.ExecuteScalar("select isnull(permission,0) from UserGroup where dept ='" + userdr.dept + "'");
FCOMMON.info.Login.gcode = gcode;
FCOMMON.info.Login.permission = 0;
FCOMMON.info.Login.gpermission = int.Parse( gperm);
}
DialogResult = DialogResult.OK;
}catch (Exception ex)

View File

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

View File

@@ -13,7 +13,7 @@ using System.DirectoryServices;
namespace Project._Common
{
public partial class fADSUserList : Form
public partial class fADSUserList : FCOMMON.fBase
{
public fADSUserList()
{

View File

@@ -83,127 +83,136 @@
// idLabel
//
idLabel.AutoSize = true;
idLabel.Location = new System.Drawing.Point(33, 15);
idLabel.Location = new System.Drawing.Point(26, 15);
idLabel.Name = "idLabel";
idLabel.Size = new System.Drawing.Size(53, 12);
idLabel.Size = new System.Drawing.Size(74, 21);
idLabel.TabIndex = 0;
idLabel.Text = "사원번호";
//
// passwordLabel
//
passwordLabel.AutoSize = true;
passwordLabel.Location = new System.Drawing.Point(33, 42);
passwordLabel.Location = new System.Drawing.Point(26, 49);
passwordLabel.Name = "passwordLabel";
passwordLabel.Size = new System.Drawing.Size(53, 12);
passwordLabel.Size = new System.Drawing.Size(74, 21);
passwordLabel.TabIndex = 2;
passwordLabel.Text = "비밀번호";
//
// nameLabel
//
nameLabel.AutoSize = true;
nameLabel.Location = new System.Drawing.Point(57, 69);
nameLabel.Location = new System.Drawing.Point(58, 86);
nameLabel.Name = "nameLabel";
nameLabel.Size = new System.Drawing.Size(29, 12);
nameLabel.Size = new System.Drawing.Size(42, 21);
nameLabel.TabIndex = 4;
nameLabel.Text = "이름";
//
// deptLabel
//
deptLabel.AutoSize = true;
deptLabel.Location = new System.Drawing.Point(317, 69);
deptLabel.Location = new System.Drawing.Point(58, 123);
deptLabel.Name = "deptLabel";
deptLabel.Size = new System.Drawing.Size(29, 12);
deptLabel.Size = new System.Drawing.Size(42, 21);
deptLabel.TabIndex = 8;
deptLabel.Text = "부서";
//
// gradeLabel
//
gradeLabel.AutoSize = true;
gradeLabel.Location = new System.Drawing.Point(317, 96);
gradeLabel.Location = new System.Drawing.Point(360, 123);
gradeLabel.Name = "gradeLabel";
gradeLabel.Size = new System.Drawing.Size(29, 12);
gradeLabel.Size = new System.Drawing.Size(42, 21);
gradeLabel.TabIndex = 10;
gradeLabel.Text = "직책";
//
// emailLabel
//
emailLabel.AutoSize = true;
emailLabel.Location = new System.Drawing.Point(33, 122);
emailLabel.Location = new System.Drawing.Point(26, 159);
emailLabel.Name = "emailLabel";
emailLabel.Size = new System.Drawing.Size(53, 12);
emailLabel.Size = new System.Drawing.Size(74, 21);
emailLabel.TabIndex = 12;
emailLabel.Text = "전자메일";
//
// levelLabel
//
levelLabel.AutoSize = true;
levelLabel.Location = new System.Drawing.Point(319, 177);
levelLabel.Location = new System.Drawing.Point(360, 229);
levelLabel.Name = "levelLabel";
levelLabel.Size = new System.Drawing.Size(29, 12);
levelLabel.Size = new System.Drawing.Size(42, 21);
levelLabel.TabIndex = 18;
levelLabel.Text = "권한";
//
// indateLabel
//
indateLabel.AutoSize = true;
indateLabel.Location = new System.Drawing.Point(305, 15);
indateLabel.Location = new System.Drawing.Point(344, 15);
indateLabel.Name = "indateLabel";
indateLabel.Size = new System.Drawing.Size(41, 12);
indateLabel.Size = new System.Drawing.Size(58, 21);
indateLabel.TabIndex = 20;
indateLabel.Text = "입사일";
//
// outdateLabel
//
outdateLabel.AutoSize = true;
outdateLabel.Location = new System.Drawing.Point(305, 42);
outdateLabel.Location = new System.Drawing.Point(344, 49);
outdateLabel.Name = "outdateLabel";
outdateLabel.Size = new System.Drawing.Size(41, 12);
outdateLabel.Size = new System.Drawing.Size(58, 21);
outdateLabel.TabIndex = 22;
outdateLabel.Text = "퇴사일";
//
// memoLabel
//
memoLabel.AutoSize = true;
memoLabel.Location = new System.Drawing.Point(320, 119);
memoLabel.Location = new System.Drawing.Point(360, 156);
memoLabel.Name = "memoLabel";
memoLabel.Size = new System.Drawing.Size(29, 12);
memoLabel.Size = new System.Drawing.Size(42, 21);
memoLabel.TabIndex = 24;
memoLabel.Text = "비고";
//
// label1
//
label1.AutoSize = true;
label1.Location = new System.Drawing.Point(21, 149);
label1.Location = new System.Drawing.Point(10, 193);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(65, 12);
label1.Size = new System.Drawing.Size(90, 21);
label1.TabIndex = 14;
label1.Text = "사무실전화";
//
// label2
//
label2.AutoSize = true;
label2.Location = new System.Drawing.Point(33, 176);
label2.Location = new System.Drawing.Point(26, 229);
label2.Name = "label2";
label2.Size = new System.Drawing.Size(53, 12);
label2.Size = new System.Drawing.Size(74, 21);
label2.TabIndex = 16;
label2.Text = "휴대전화";
//
// label3
//
label3.AutoSize = true;
label3.Location = new System.Drawing.Point(23, 95);
label3.Location = new System.Drawing.Point(318, 86);
label3.Name = "label3";
label3.Size = new System.Drawing.Size(63, 12);
label3.Size = new System.Drawing.Size(84, 21);
label3.TabIndex = 6;
label3.Text = "이름(영문)";
//
// label4
//
label4.AutoSize = true;
label4.Location = new System.Drawing.Point(106, 330);
label4.Name = "label4";
label4.Size = new System.Drawing.Size(96, 21);
label4.TabIndex = 27;
label4.Text = "견적서 위치";
//
// idTextBox
//
this.idTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "id", true));
this.idTextBox.Location = new System.Drawing.Point(93, 12);
this.idTextBox.Location = new System.Drawing.Point(105, 11);
this.idTextBox.Name = "idTextBox";
this.idTextBox.ReadOnly = true;
this.idTextBox.Size = new System.Drawing.Size(200, 21);
this.idTextBox.Size = new System.Drawing.Size(200, 29);
this.idTextBox.TabIndex = 1;
//
// bs
@@ -220,74 +229,74 @@
// nameTextBox
//
this.nameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "name", true));
this.nameTextBox.Location = new System.Drawing.Point(93, 66);
this.nameTextBox.Location = new System.Drawing.Point(105, 82);
this.nameTextBox.Name = "nameTextBox";
this.nameTextBox.Size = new System.Drawing.Size(200, 21);
this.nameTextBox.Size = new System.Drawing.Size(200, 29);
this.nameTextBox.TabIndex = 5;
//
// deptTextBox
//
this.deptTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "dept", true));
this.deptTextBox.Location = new System.Drawing.Point(355, 66);
this.deptTextBox.Location = new System.Drawing.Point(105, 119);
this.deptTextBox.Name = "deptTextBox";
this.deptTextBox.Size = new System.Drawing.Size(177, 21);
this.deptTextBox.Size = new System.Drawing.Size(200, 29);
this.deptTextBox.TabIndex = 9;
//
// gradeTextBox
//
this.gradeTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "grade", true));
this.gradeTextBox.Location = new System.Drawing.Point(355, 93);
this.gradeTextBox.Location = new System.Drawing.Point(407, 119);
this.gradeTextBox.Name = "gradeTextBox";
this.gradeTextBox.Size = new System.Drawing.Size(177, 21);
this.gradeTextBox.Size = new System.Drawing.Size(189, 29);
this.gradeTextBox.TabIndex = 11;
//
// emailTextBox
//
this.emailTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "email", true));
this.emailTextBox.Location = new System.Drawing.Point(93, 119);
this.emailTextBox.Location = new System.Drawing.Point(105, 156);
this.emailTextBox.Name = "emailTextBox";
this.emailTextBox.Size = new System.Drawing.Size(200, 21);
this.emailTextBox.Size = new System.Drawing.Size(200, 29);
this.emailTextBox.TabIndex = 13;
//
// levelTextBox
//
this.levelTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "level", true));
this.levelTextBox.Location = new System.Drawing.Point(355, 173);
this.levelTextBox.Location = new System.Drawing.Point(407, 225);
this.levelTextBox.Name = "levelTextBox";
this.levelTextBox.ReadOnly = true;
this.levelTextBox.Size = new System.Drawing.Size(177, 21);
this.levelTextBox.Size = new System.Drawing.Size(189, 29);
this.levelTextBox.TabIndex = 19;
//
// indateTextBox
//
this.indateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "indate", true));
this.indateTextBox.Location = new System.Drawing.Point(355, 12);
this.indateTextBox.Location = new System.Drawing.Point(407, 11);
this.indateTextBox.Name = "indateTextBox";
this.indateTextBox.Size = new System.Drawing.Size(177, 21);
this.indateTextBox.Size = new System.Drawing.Size(189, 29);
this.indateTextBox.TabIndex = 21;
//
// outdateTextBox
//
this.outdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "outdate", true));
this.outdateTextBox.Location = new System.Drawing.Point(355, 39);
this.outdateTextBox.Location = new System.Drawing.Point(407, 45);
this.outdateTextBox.Name = "outdateTextBox";
this.outdateTextBox.Size = new System.Drawing.Size(177, 21);
this.outdateTextBox.Size = new System.Drawing.Size(189, 29);
this.outdateTextBox.TabIndex = 23;
//
// memoTextBox
//
this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true));
this.memoTextBox.Location = new System.Drawing.Point(355, 122);
this.memoTextBox.Location = new System.Drawing.Point(407, 156);
this.memoTextBox.Multiline = true;
this.memoTextBox.Name = "memoTextBox";
this.memoTextBox.Size = new System.Drawing.Size(177, 45);
this.memoTextBox.Size = new System.Drawing.Size(189, 63);
this.memoTextBox.TabIndex = 25;
//
// button1
//
this.button1.Location = new System.Drawing.Point(93, 38);
this.button1.Location = new System.Drawing.Point(105, 45);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(200, 21);
this.button1.Size = new System.Drawing.Size(200, 29);
this.button1.TabIndex = 3;
this.button1.Text = "변경";
this.button1.UseVisualStyleBackColor = true;
@@ -295,9 +304,9 @@
//
// button2
//
this.button2.Location = new System.Drawing.Point(93, 231);
this.button2.Location = new System.Drawing.Point(105, 264);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(439, 30);
this.button2.Size = new System.Drawing.Size(491, 54);
this.button2.TabIndex = 26;
this.button2.Text = "저장(&S)";
this.button2.UseVisualStyleBackColor = true;
@@ -320,50 +329,40 @@
// textBox1
//
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "tel", true));
this.textBox1.Location = new System.Drawing.Point(93, 146);
this.textBox1.Location = new System.Drawing.Point(105, 190);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(200, 21);
this.textBox1.Size = new System.Drawing.Size(200, 29);
this.textBox1.TabIndex = 15;
//
// textBox2
//
this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "hp", true));
this.textBox2.Location = new System.Drawing.Point(93, 173);
this.textBox2.Location = new System.Drawing.Point(105, 225);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(200, 21);
this.textBox2.Size = new System.Drawing.Size(200, 29);
this.textBox2.TabIndex = 17;
//
// textBox3
//
this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "nameE", true));
this.textBox3.Location = new System.Drawing.Point(93, 92);
this.textBox3.Location = new System.Drawing.Point(407, 82);
this.textBox3.Name = "textBox3";
this.textBox3.Size = new System.Drawing.Size(200, 21);
this.textBox3.Size = new System.Drawing.Size(189, 29);
this.textBox3.TabIndex = 7;
//
// label4
//
label4.AutoSize = true;
label4.Location = new System.Drawing.Point(17, 204);
label4.Name = "label4";
label4.Size = new System.Drawing.Size(69, 12);
label4.TabIndex = 27;
label4.Text = "견적서 위치";
//
// tbKJPath
//
this.tbKJPath.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "level", true));
this.tbKJPath.Location = new System.Drawing.Point(93, 200);
this.tbKJPath.Location = new System.Drawing.Point(184, 327);
this.tbKJPath.Name = "tbKJPath";
this.tbKJPath.ReadOnly = true;
this.tbKJPath.Size = new System.Drawing.Size(439, 21);
this.tbKJPath.Size = new System.Drawing.Size(177, 29);
this.tbKJPath.TabIndex = 28;
//
// fUserInfo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(542, 270);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(601, 326);
this.Controls.Add(label4);
this.Controls.Add(this.tbKJPath);
this.Controls.Add(label3);
@@ -393,10 +392,10 @@
this.Controls.Add(this.outdateTextBox);
this.Controls.Add(memoLabel);
this.Controls.Add(this.memoTextBox);
this.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "fUserInfo";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "사용자 정보";
this.Load += new System.EventHandler(this.fUserInfo_Load);
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();

View File

@@ -9,7 +9,7 @@ using System.Windows.Forms;
namespace Project._Common
{
public partial class fUserInfo : Form
public partial class fUserInfo : FCOMMON.fBase
{
public fUserInfo()
{

View File

@@ -156,9 +156,18 @@
<metadata name="label3.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label4.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>122, 17</value>
</metadata>
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>122, 17</value>
</metadata>
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
@@ -168,7 +177,4 @@
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>248, 17</value>
</metadata>
<metadata name="label4.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
</root>

View File

@@ -9,7 +9,7 @@ using System.Windows.Forms;
namespace Project._Common
{
public partial class fUserList : Form
public partial class fUserList : FCOMMON.fBase
{
public fUserList()
{

View File

@@ -1636,6 +1636,7 @@ namespace Project {
this.columnidx.ReadOnly = true;
this.columnidx.Unique = true;
this.columnname.MaxLength = 50;
this.columnsid.AllowDBNull = false;
this.columnsid.MaxLength = 50;
this.columnmodel.MaxLength = 50;
this.columnmanu.MaxLength = 50;
@@ -3432,12 +3433,7 @@ namespace Project {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string sid {
get {
try {
return ((string)(this[this.tableItems.sidColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'Items\' 테이블의 \'sid\' 열의 값이 DBNull입니다.", e);
}
return ((string)(this[this.tableItems.sidColumn]));
}
set {
this[this.tableItems.sidColumn] = value;
@@ -3558,18 +3554,6 @@ namespace Project {
this[this.tableItems.nameColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IssidNull() {
return this.IsNull(this.tableItems.sidColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetsidNull() {
this[this.tableItems.sidColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsmodelNull() {
@@ -6604,8 +6588,7 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate FROM Items
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_name));
}
if ((Original_sid == null)) {
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
throw new global::System.ArgumentNullException("Original_sid");
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
@@ -6686,7 +6669,7 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate FROM Items
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(name));
}
if ((sid == null)) {
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
throw new global::System.ArgumentNullException("sid");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(sid));
@@ -6776,7 +6759,7 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate FROM Items
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(name));
}
if ((sid == null)) {
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
throw new global::System.ArgumentNullException("sid");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(sid));
@@ -6828,8 +6811,7 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate FROM Items
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_name));
}
if ((Original_sid == null)) {
this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
throw new global::System.ArgumentNullException("Original_sid");
}
else {
this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));

View File

@@ -345,8 +345,8 @@ SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wda
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_model" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -368,7 +368,7 @@ SELECT idx, name, pdate, request, reqstaff, sdate, edate, odate, memo, wuid, wda
SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate FROM Items WHERE (idx = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -392,7 +392,7 @@ FROM Items</CommandText>
SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate FROM Items WHERE (idx = @idx)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@manu" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@supply" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="supply" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -403,8 +403,8 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate FROM Items
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_sid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="sid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_model" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="model" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_manu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="manu" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -719,7 +719,7 @@ WHERE (idx = @idx)</CommandText>
<xs:element name="dsMSSQL" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsMSSQL" msprop:Generator_UserDSName="dsMSSQL">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Users" msprop:Generator_TableClassName="UsersDataTable" msprop:Generator_TableVarName="tableUsers" msprop:Generator_TablePropName="Users" msprop:Generator_RowDeletingName="UsersRowDeleting" msprop:Generator_RowChangingName="UsersRowChanging" msprop:Generator_RowEvHandlerName="UsersRowChangeEventHandler" msprop:Generator_RowDeletedName="UsersRowDeleted" msprop:Generator_UserTableName="Users" msprop:Generator_RowChangedName="UsersRowChanged" msprop:Generator_RowEvArgName="UsersRowChangeEvent" msprop:Generator_RowClassName="UsersRow">
<xs:element name="Users" msprop:Generator_TableClassName="UsersDataTable" msprop:Generator_TableVarName="tableUsers" msprop:Generator_RowChangedName="UsersRowChanged" msprop:Generator_TablePropName="Users" msprop:Generator_RowDeletingName="UsersRowDeleting" msprop:Generator_RowChangingName="UsersRowChanging" msprop:Generator_RowEvHandlerName="UsersRowChangeEventHandler" msprop:Generator_RowDeletedName="UsersRowDeleted" msprop:Generator_RowClassName="UsersRow" msprop:Generator_UserTableName="Users" msprop:Generator_RowEvArgName="UsersRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id">
@@ -846,7 +846,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Projects" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_TablePropName="Projects" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_RowClassName="ProjectsRow" msprop:Generator_UserTableName="Projects" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent">
<xs:element name="Projects" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects" msprop:Generator_TablePropName="Projects" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_UserTableName="Projects" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent" msprop:Generator_RowClassName="ProjectsRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
@@ -917,7 +917,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Items" msprop:Generator_TableClassName="ItemsDataTable" msprop:Generator_TableVarName="tableItems" msprop:Generator_TablePropName="Items" msprop:Generator_RowDeletingName="ItemsRowDeleting" msprop:Generator_RowChangingName="ItemsRowChanging" msprop:Generator_RowEvHandlerName="ItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="ItemsRowDeleted" msprop:Generator_UserTableName="Items" msprop:Generator_RowChangedName="ItemsRowChanged" msprop:Generator_RowEvArgName="ItemsRowChangeEvent" msprop:Generator_RowClassName="ItemsRow">
<xs:element name="Items" msprop:Generator_TableClassName="ItemsDataTable" msprop:Generator_TableVarName="tableItems" msprop:Generator_RowChangedName="ItemsRowChanged" msprop:Generator_TablePropName="Items" msprop:Generator_RowDeletingName="ItemsRowDeleting" msprop:Generator_RowChangingName="ItemsRowChanging" msprop:Generator_RowEvHandlerName="ItemsRowChangeEventHandler" msprop:Generator_RowDeletedName="ItemsRowDeleted" msprop:Generator_RowClassName="ItemsRow" msprop:Generator_UserTableName="Items" msprop:Generator_RowEvArgName="ItemsRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
@@ -928,7 +928,7 @@ WHERE (idx = @idx)</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="sid" msprop:Generator_ColumnVarNameInTable="columnsid" msprop:Generator_ColumnPropNameInRow="sid" msprop:Generator_ColumnPropNameInTable="sidColumn" msprop:Generator_UserColumnName="sid" minOccurs="0">
<xs:element name="sid" msprop:Generator_ColumnVarNameInTable="columnsid" msprop:Generator_ColumnPropNameInRow="sid" msprop:Generator_ColumnPropNameInTable="sidColumn" msprop:Generator_UserColumnName="sid">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -975,7 +975,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Inventory" msprop:Generator_TableClassName="InventoryDataTable" msprop:Generator_TableVarName="tableInventory" msprop:Generator_TablePropName="Inventory" msprop:Generator_RowDeletingName="InventoryRowDeleting" msprop:Generator_RowChangingName="InventoryRowChanging" msprop:Generator_RowEvHandlerName="InventoryRowChangeEventHandler" msprop:Generator_RowDeletedName="InventoryRowDeleted" msprop:Generator_UserTableName="Inventory" msprop:Generator_RowChangedName="InventoryRowChanged" msprop:Generator_RowEvArgName="InventoryRowChangeEvent" msprop:Generator_RowClassName="InventoryRow">
<xs:element name="Inventory" msprop:Generator_TableClassName="InventoryDataTable" msprop:Generator_TableVarName="tableInventory" msprop:Generator_RowChangedName="InventoryRowChanged" msprop:Generator_TablePropName="Inventory" msprop:Generator_RowDeletingName="InventoryRowDeleting" msprop:Generator_RowChangingName="InventoryRowChanging" msprop:Generator_RowEvHandlerName="InventoryRowChangeEventHandler" msprop:Generator_RowDeletedName="InventoryRowDeleted" msprop:Generator_RowClassName="InventoryRow" msprop:Generator_UserTableName="Inventory" msprop:Generator_RowEvArgName="InventoryRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
@@ -1045,7 +1045,7 @@ WHERE (idx = @idx)</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="LineCode" msprop:Generator_TableClassName="LineCodeDataTable" msprop:Generator_TableVarName="tableLineCode" msprop:Generator_TablePropName="LineCode" msprop:Generator_RowDeletingName="LineCodeRowDeleting" msprop:Generator_RowChangingName="LineCodeRowChanging" msprop:Generator_RowEvHandlerName="LineCodeRowChangeEventHandler" msprop:Generator_RowDeletedName="LineCodeRowDeleted" msprop:Generator_UserTableName="LineCode" msprop:Generator_RowChangedName="LineCodeRowChanged" msprop:Generator_RowEvArgName="LineCodeRowChangeEvent" msprop:Generator_RowClassName="LineCodeRow">
<xs:element name="LineCode" msprop:Generator_TableClassName="LineCodeDataTable" msprop:Generator_TableVarName="tableLineCode" msprop:Generator_RowChangedName="LineCodeRowChanged" msprop:Generator_TablePropName="LineCode" msprop:Generator_RowDeletingName="LineCodeRowDeleting" msprop:Generator_RowChangingName="LineCodeRowChanging" msprop:Generator_RowEvHandlerName="LineCodeRowChangeEventHandler" msprop:Generator_RowDeletedName="LineCodeRowDeleted" msprop:Generator_RowClassName="LineCodeRow" msprop:Generator_UserTableName="LineCode" msprop:Generator_RowEvArgName="LineCodeRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />

View File

@@ -50,19 +50,17 @@
this.userInfoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.userAccountToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.myAccouserToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.aDSUserListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.customerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
this.menu_kuntae = new System.Windows.Forms.ToolStripMenuItem();
this.staffGridToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.mailFormToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.managementToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.nRPurchaseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.menu_purchase = new System.Windows.Forms.ToolStripMenuItem();
this.menu_project = new System.Windows.Forms.ToolStripMenuItem();
this.menu_dailyhistory = new System.Windows.Forms.ToolStripMenuItem();
this.menu_jago = new System.Windows.Forms.ToolStripMenuItem();
this.personalInventoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator();
this.equipmentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.menu_eq = new System.Windows.Forms.ToolStripMenuItem();
this.dataFOLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.dataMoldEOLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.dataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -77,6 +75,7 @@
this.bugReportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.todoListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.btDev = new System.Windows.Forms.ToolStripMenuItem();
this.purchaseImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.purchaseOrderImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -86,9 +85,12 @@
this.projectImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.projectImportCompleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.workReportImportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.addSIdDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cmTab.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.menuStrip1.SuspendLayout();
@@ -207,8 +209,7 @@
this.itemsToolStripMenuItem,
this.userInfoToolStripMenuItem,
this.customerToolStripMenuItem,
this.ToolStripMenuItem,
this.toolStripMenuItem1,
this.menu_kuntae,
this.staffGridToolStripMenuItem,
this.mailFormToolStripMenuItem});
this.commonToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("commonToolStripMenuItem.Image")));
@@ -227,7 +228,7 @@
//
this.itemsToolStripMenuItem.Name = "itemsToolStripMenuItem";
this.itemsToolStripMenuItem.Size = new System.Drawing.Size(153, 24);
this.itemsToolStripMenuItem.Text = "품목";
this.itemsToolStripMenuItem.Text = "품목정보";
this.itemsToolStripMenuItem.Click += new System.EventHandler(this.itemsToolStripMenuItem_Click);
//
// userInfoToolStripMenuItem
@@ -235,7 +236,7 @@
this.userInfoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.userAccountToolStripMenuItem,
this.myAccouserToolStripMenuItem,
this.aDSUserListToolStripMenuItem});
this.ToolStripMenuItem});
this.userInfoToolStripMenuItem.Name = "userInfoToolStripMenuItem";
this.userInfoToolStripMenuItem.Size = new System.Drawing.Size(153, 24);
this.userInfoToolStripMenuItem.Text = "사용자";
@@ -251,17 +252,9 @@
//
this.myAccouserToolStripMenuItem.Name = "myAccouserToolStripMenuItem";
this.myAccouserToolStripMenuItem.Size = new System.Drawing.Size(134, 24);
this.myAccouserToolStripMenuItem.Text = "목록";
this.myAccouserToolStripMenuItem.Text = "계정목록";
this.myAccouserToolStripMenuItem.Click += new System.EventHandler(this.myAccouserToolStripMenuItem_Click);
//
// aDSUserListToolStripMenuItem
//
this.aDSUserListToolStripMenuItem.ForeColor = System.Drawing.Color.Blue;
this.aDSUserListToolStripMenuItem.Name = "aDSUserListToolStripMenuItem";
this.aDSUserListToolStripMenuItem.Size = new System.Drawing.Size(134, 24);
this.aDSUserListToolStripMenuItem.Text = "목록(AD)";
this.aDSUserListToolStripMenuItem.Click += new System.EventHandler(this.aDSUserListToolStripMenuItem_Click);
//
// customerToolStripMenuItem
//
this.customerToolStripMenuItem.Name = "customerToolStripMenuItem";
@@ -269,17 +262,12 @@
this.customerToolStripMenuItem.Text = "업체정보";
this.customerToolStripMenuItem.Click += new System.EventHandler(this.customerToolStripMenuItem_Click);
//
// 월별근무표ToolStripMenuItem
// menu_kuntae
//
this.ToolStripMenuItem.Name = "월별근무표ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(153, 24);
this.ToolStripMenuItem.Text = "월별 근무표";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(150, 6);
this.menu_kuntae.Name = "menu_kuntae";
this.menu_kuntae.Size = new System.Drawing.Size(153, 24);
this.menu_kuntae.Text = "월별 근무표";
this.menu_kuntae.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// staffGridToolStripMenuItem
//
@@ -300,66 +288,70 @@
// managementToolStripMenuItem
//
this.managementToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.nRPurchaseToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem1,
this.personalInventoryToolStripMenuItem,
this.toolStripMenuItem3,
this.equipmentToolStripMenuItem});
this.menu_purchase,
this.menu_project,
this.menu_dailyhistory,
this.menu_jago,
this.menu_eq,
this.personalInventoryToolStripMenuItem});
this.managementToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("managementToolStripMenuItem.Image")));
this.managementToolStripMenuItem.Name = "managementToolStripMenuItem";
this.managementToolStripMenuItem.Size = new System.Drawing.Size(65, 23);
this.managementToolStripMenuItem.Text = "관리";
//
// nRPurchaseToolStripMenuItem
// menu_purchase
//
this.nRPurchaseToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nRPurchaseToolStripMenuItem.Image")));
this.nRPurchaseToolStripMenuItem.Name = "nRPurchaseToolStripMenuItem";
this.nRPurchaseToolStripMenuItem.Size = new System.Drawing.Size(154, 24);
this.nRPurchaseToolStripMenuItem.Text = "NR구매신청";
this.nRPurchaseToolStripMenuItem.Click += new System.EventHandler(this.nRPurchaseToolStripMenuItem_Click);
this.menu_purchase.Image = ((System.Drawing.Image)(resources.GetObject("menu_purchase.Image")));
this.menu_purchase.Name = "menu_purchase";
this.menu_purchase.Size = new System.Drawing.Size(153, 24);
this.menu_purchase.Text = "구매신청";
this.menu_purchase.Click += new System.EventHandler(this.nRPurchaseToolStripMenuItem_Click);
//
// 프로젝트ToolStripMenuItem
// menu_project
//
this.ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("프로젝트ToolStripMenuItem.Image")));
this.ToolStripMenuItem.Name = "프로젝트ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(154, 24);
this.ToolStripMenuItem.Text = "프로젝트";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
this.menu_project.Image = ((System.Drawing.Image)(resources.GetObject("menu_project.Image")));
this.menu_project.Name = "menu_project";
this.menu_project.Size = new System.Drawing.Size(153, 24);
this.menu_project.Text = "프로젝트";
this.menu_project.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 업무일지ToolStripMenuItem1
// menu_dailyhistory
//
this.ToolStripMenuItem1.Image = ((System.Drawing.Image)(resources.GetObject("업무일지ToolStripMenuItem1.Image")));
this.ToolStripMenuItem1.Name = "업무일지ToolStripMenuItem1";
this.ToolStripMenuItem1.Size = new System.Drawing.Size(154, 24);
this.ToolStripMenuItem1.Text = "업무일지";
this.ToolStripMenuItem1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
this.menu_dailyhistory.Image = ((System.Drawing.Image)(resources.GetObject("menu_dailyhistory.Image")));
this.menu_dailyhistory.Name = "menu_dailyhistory";
this.menu_dailyhistory.Size = new System.Drawing.Size(153, 24);
this.menu_dailyhistory.Text = "업무일지";
this.menu_dailyhistory.Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
//
// menu_jago
//
this.menu_jago.Image = ((System.Drawing.Image)(resources.GetObject("menu_jago.Image")));
this.menu_jago.Name = "menu_jago";
this.menu_jago.Size = new System.Drawing.Size(153, 24);
this.menu_jago.Text = "품목재고";
this.menu_jago.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// personalInventoryToolStripMenuItem
//
this.personalInventoryToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink;
this.personalInventoryToolStripMenuItem.Name = "personalInventoryToolStripMenuItem";
this.personalInventoryToolStripMenuItem.Size = new System.Drawing.Size(154, 24);
this.personalInventoryToolStripMenuItem.Size = new System.Drawing.Size(153, 24);
this.personalInventoryToolStripMenuItem.Text = "개인별 물품";
this.personalInventoryToolStripMenuItem.Visible = false;
this.personalInventoryToolStripMenuItem.Click += new System.EventHandler(this.personalInventoryToolStripMenuItem_Click);
//
// toolStripMenuItem3
// menu_eq
//
this.toolStripMenuItem3.Name = "toolStripMenuItem3";
this.toolStripMenuItem3.Size = new System.Drawing.Size(151, 6);
//
// equipmentToolStripMenuItem
//
this.equipmentToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.menu_eq.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.dataFOLToolStripMenuItem,
this.dataMoldEOLToolStripMenuItem,
this.dataToolStripMenuItem,
this.toolStripMenuItem2,
this.ToolStripMenuItem});
this.equipmentToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("equipmentToolStripMenuItem.Image")));
this.equipmentToolStripMenuItem.Name = "equipmentToolStripMenuItem";
this.equipmentToolStripMenuItem.Size = new System.Drawing.Size(154, 24);
this.equipmentToolStripMenuItem.Text = "장비 목록";
this.menu_eq.Image = ((System.Drawing.Image)(resources.GetObject("menu_eq.Image")));
this.menu_eq.Name = "menu_eq";
this.menu_eq.Size = new System.Drawing.Size(153, 24);
this.menu_eq.Text = "장비 목록";
//
// dataFOLToolStripMenuItem
//
@@ -430,7 +422,7 @@
this.holidayToolStripMenuItem.ForeColor = System.Drawing.Color.HotPink;
this.holidayToolStripMenuItem.Name = "holidayToolStripMenuItem";
this.holidayToolStripMenuItem.Size = new System.Drawing.Size(149, 24);
this.holidayToolStripMenuItem.Text = "휴가";
this.holidayToolStripMenuItem.Text = "휴가내역";
this.holidayToolStripMenuItem.Click += new System.EventHandler(this.holidayToolStripMenuItem_Click);
//
// requestITemToolStripMenuItem
@@ -471,6 +463,13 @@
this.ToolStripMenuItem.Text = "메일전송";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 즐겨찾기ToolStripMenuItem
//
this.ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("즐겨찾기ToolStripMenuItem.Image")));
this.ToolStripMenuItem.Name = "즐겨찾기ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(93, 23);
this.ToolStripMenuItem.Text = "즐겨찾기";
//
// btDev
//
this.btDev.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
@@ -481,7 +480,10 @@
this.customerImportToolStripMenuItem,
this.projectImportToolStripMenuItem,
this.projectImportCompleteToolStripMenuItem,
this.workReportImportToolStripMenuItem});
this.workReportImportToolStripMenuItem,
this.addSIdDataToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem1});
this.btDev.ForeColor = System.Drawing.Color.Blue;
this.btDev.Name = "btDev";
this.btDev.Size = new System.Drawing.Size(91, 23);
@@ -544,6 +546,27 @@
this.workReportImportToolStripMenuItem.Text = "WorkReport Import";
this.workReportImportToolStripMenuItem.Click += new System.EventHandler(this.workReportImportToolStripMenuItem_Click);
//
// addSIdDataToolStripMenuItem
//
this.addSIdDataToolStripMenuItem.Name = "addSIdDataToolStripMenuItem";
this.addSIdDataToolStripMenuItem.Size = new System.Drawing.Size(235, 24);
this.addSIdDataToolStripMenuItem.Text = "Make Sid Data";
this.addSIdDataToolStripMenuItem.Click += new System.EventHandler(this.addSIdDataToolStripMenuItem_Click);
//
// 계정목록ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "계정목록ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(235, 24);
this.ToolStripMenuItem.Text = "계정목록(AD)";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 그룹정보ToolStripMenuItem1
//
this.ToolStripMenuItem1.Name = "그룹정보ToolStripMenuItem1";
this.ToolStripMenuItem1.Size = new System.Drawing.Size(235, 24);
this.ToolStripMenuItem1.Text = "그룹정보";
this.ToolStripMenuItem1.Click += new System.EventHandler(this.ToolStripMenuItem1_Click);
//
// tabControl1
//
this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons;
@@ -572,12 +595,12 @@
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "요약";
//
// 즐겨찾기ToolStripMenuItem
// 권한설정ToolStripMenuItem
//
this.ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("즐겨찾기ToolStripMenuItem.Image")));
this.ToolStripMenuItem.Name = "즐겨찾기ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(93, 23);
this.ToolStripMenuItem.Text = "즐겨찾기";
this.ToolStripMenuItem.Name = "권한설정ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(152, 24);
this.ToolStripMenuItem.Text = "권한설정";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// fMain
//
@@ -629,7 +652,7 @@
private System.Windows.Forms.ToolStripMenuItem bugReportToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem todoListToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem managementToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem equipmentToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem menu_eq;
private System.Windows.Forms.ToolStripMenuItem staffGridToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem dataToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem dataFOLToolStripMenuItem;
@@ -640,34 +663,36 @@
private System.Windows.Forms.ToolStripMenuItem holidayToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem mailFormToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem requestITemToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem nRPurchaseToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem menu_purchase;
private System.Windows.Forms.ToolStripMenuItem btDev;
private System.Windows.Forms.ToolStripMenuItem purchaseImportToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem purchaseDataConvertToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem customerToolStripMenuItem;
private System.Windows.Forms.ToolStripStatusLabel sbRedis;
private System.Windows.Forms.ToolStripMenuItem userAccountToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem aDSUserListToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem myAccouserToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem customerImportToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
private System.Windows.Forms.TabControl tabControl1;
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem materialImportToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem projectImportToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem menu_project;
private System.Windows.Forms.ToolStripMenuItem projectImportCompleteToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem purchaseOrderImportToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem1;
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem3;
private System.Windows.Forms.ToolStripMenuItem menu_dailyhistory;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem workReportImportToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem menu_kuntae;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem menu_jago;
private System.Windows.Forms.ToolStripMenuItem addSIdDataToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
}
}

View File

@@ -116,14 +116,22 @@ namespace Project
if (flogIn.ShowDialog() != System.Windows.Forms.DialogResult.OK)
Application.ExitThread();
this.menu_purchase.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_purchase);
this.menu_project.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_project);
this.menu_dailyhistory.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_history);
this.menu_jago.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_jago);
this.menu_eq.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_equipment);
this.menu_kuntae.Visible = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.menu_workday);
if (FCOMMON.info.Login.level >= 10) btDev.Visible = true;
sbLogin.Text = string.Format("[{0}] ({1}-{2} T:{3}) - {4}",
sbLogin.Text = string.Format("[{0}] ({1}-{2} T:{3}) - ({5}){4}",
FCOMMON.info.Login.title,
FCOMMON.info.Login.no,
FCOMMON.info.Login.nameK,
FCOMMON.info.Login.tel,
FCOMMON.info.Login.dept);
FCOMMON.info.Login.dept,
FCOMMON.info.Login.gcode);
Pub.log.Add("Program Start");
Func_RunStartForm();
@@ -308,7 +316,7 @@ namespace Project
private void personalInventoryToolStripMenuItem_Click(object sender, EventArgs e)
{
Menu_Inventory();
Menu_InventoryUser();
}
void Menu_Inventory()
@@ -317,7 +325,12 @@ namespace Project
if (!ShowForm(formkey))
AddForm(formkey, new FCM0000.fInventory());
}
void Menu_InventoryUser()
{
string formkey = "INVENTORYUSER";
if (!ShowForm(formkey))
AddForm(formkey, new FCM0000.fInventoryUser());
}
private void minutesToolStripMenuItem_Click(object sender, EventArgs e)
{
@@ -401,7 +414,7 @@ namespace Project
private void toolStripButton2_Click(object sender, EventArgs e)
{
nRPurchaseToolStripMenuItem.PerformClick();
menu_purchase.PerformClick();
}
private void userAccountToolStripMenuItem_Click(object sender, EventArgs e)
@@ -412,25 +425,13 @@ namespace Project
private void aDSUserListToolStripMenuItem_Click(object sender, EventArgs e)
{
if (FCOMMON.info.Login.level < 10)
{
FCOMMON.Util.MsgE("개발자 이상 사용가능한 메뉴 입니다.");
return;
}
string formkey = "ADUSERS";
if (!ShowForm(formkey))
AddForm(formkey, new _Common.fADSUserList());
}
private void myAccouserToolStripMenuItem_Click(object sender, EventArgs e)
{
string formkey = "USERS";
if (!ShowForm(formkey))
AddForm(formkey, new _Common.fUserList());
var f = new _Common.fUserList();
f.ShowDialog();
}
private void toolStripButton3_Click(object sender, EventArgs e)
@@ -607,5 +608,91 @@ namespace Project
f.ShowDialog();
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
Menu_Inventory();
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
//string formkey = "USERGROUP";
//if (!ShowForm(formkey))
// AddForm(formkey, new FCM0000.fUserGroup());
}
private void addSIdDataToolStripMenuItem_Click(object sender, EventArgs e)
{
string sql = "select idx from items where isnull([sid],'') = ''";
var cn = FCOMMON.DBM.getCn();
cn.Open();
//string sql = "select " + field + " from " + table + " where idx = " + idx.ToString();
var cmdupdate = new System.Data.SqlClient.SqlCommand("update items set [sid] = @sid where idx = @idx",cn);
cmdupdate.Parameters.Add("sid", SqlDbType.VarChar);
cmdupdate.Parameters.Add("idx", SqlDbType.Int);
var cmd = new System.Data.SqlClient.SqlCommand(sql, cn);
var dar = cmd.ExecuteReader();
List<int> idxlist = new List<int>();
while (dar.Read())
{
var idx = int.Parse(dar[0].ToString());
idxlist.Add(idx);
}
dar.Close();
dar.Dispose();
//임시SID는 전체 19자리이며 #TEMP#으로 시작하낟.
foreach(var idx in idxlist)
{
var newsid = "#TEMP#" + idx.ToString("000000000000000") ;
cmdupdate.Parameters[0].Value = newsid;
cmdupdate.Parameters[1].Value = idx;
cmdupdate.ExecuteNonQuery();
}
cn.Close();
cn.Dispose();
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
if (FCOMMON.info.Login.level < 10)
{
FCOMMON.Util.MsgE("개발자 이상 사용가능한 메뉴 입니다.");
return;
}
var f = new _Common.fADSUserList();
f.ShowDialog();
}
private void ToolStripMenuItem1_Click(object sender, EventArgs e)
{
if (FCOMMON.info.Login.level < 10)
{
FCOMMON.Util.MsgE("개발자 이상 사용가능한 메뉴 입니다.");
return;
}
var f = new FCM0000.fUserGroup();
f.ShowDialog();
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
if (FCOMMON.info.Login.level < 5)
{
FCOMMON.Util.MsgE("관리자 이상 사용가능한 메뉴 입니다.");
return;
}
var f = new FCM0000.fUserAuth();
f.ShowDialog();
}
}
}

View File

@@ -192,7 +192,7 @@
Ow==
</value>
</data>
<data name="nRPurchaseToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="menu_purchase.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIwSURBVDhPpVLbSqJRGPVqruY9Zp7gf4F5jbkSEhFE
@@ -208,7 +208,7 @@
AABJRU5ErkJggg==
</value>
</data>
<data name="프로젝트ToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="menu_project.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
R0lGODlhEAAQAIZ/APrkusOiYvvfqbiXWaV2G+jGhdq1b8GgYf3v1frw3vTUlsWkZNewbcSjY/DQkad4
Hb6dXv3u0f3v1ObEgfPTlerJiP3w1v79+e7OkPrfrfnjuNOtZPrpydaxa+/YrvvdpP779ZxvFPvnwKKB
@@ -223,7 +223,7 @@
FDQRoA+IDAJU0JjQWI2cDgY9DBigRMgWBj2WiJEDh2PBNiew7GDwIEYcjggL8hhDgAruiB1/CwwIADs=
</value>
</data>
<data name="업무일지ToolStripMenuItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="menu_dailyhistory.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
R0lGODlhEAAQAIQAANnq+K7T5HiUsMHb+v/vlOXs9IyzzHWs1/T5/1ZtjUlVa+z1/+3x9uTx/6a2ysng
+FFhe0NLXIDG/fD4/ykxQz5FVf/41vr8/6TI3MvM0XHG/vbHQPn8//b8/4PL/f///yH/C05FVFNDQVBF
@@ -233,7 +233,17 @@
BoA/JHjAoACDx5AfZ6DgNoFlCBAUKIgQoUIFCkMPih4dEAA7
</value>
</data>
<data name="equipmentToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="menu_jago.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
R0lGODlhEAAQAIQfAKnrVsfvlYnVOHy8KnfJLJneRWqyJLvth1W7GzGTEVWnHT2aFIPNMkuiGmrKJGKt
Io7eOXa5KU64GDiWE1yqIHK3KHa5J0WeGGC/IG+1JW/FKGjCJHnRLWrOIP///////yH/C05FVFNDQVBF
Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIqwA/CBTooeDAgwg9DFjoAWHCAQEAFBjQ0CHBAQAEFLBQ
8WDBjxEARPjY8YPChREiZshg4EFJhQFiFmBQAAIECh8vLoTAgAEBAgIUeGhwoaHCghUE/NTAgcCFAxAW
GDWZQamGDRgwIEAgYUJBjh4MCODAAYODBRMkSEhQMAJLARQUNODgwGsCtiYjHBDgsuCCDl4NmqxQAK7R
v3gHemD5QK4HtBMSEyRplOTBgAA7
</value>
</data>
<data name="menu_eq.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
R0lGODlhEAAQAIUkAHBwcMXFxaioqJqamtHR0XNzc6SkpJeXl6CgoNXV1ZiYmHd3d8fHx6Kioo2NjZub
m6GhoX9/f4qKipSUlKenp5CQkJOTk6Ojo3t7e6WlpZ2dnX19fZ+fn4SEhHJycn5+foWFhZ6entra2v//