..전자실 추가 중

This commit is contained in:
chi
2021-01-23 00:53:21 +09:00
parent d3778387de
commit 44110ef5c2
22 changed files with 3160 additions and 1082 deletions

View File

@@ -62,7 +62,6 @@
this.textBox1 = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.tbState = new System.Windows.Forms.TextBox();
this.chkJobReport = new System.Windows.Forms.CheckBox();
this.chkUserSt = new System.Windows.Forms.CheckBox();
idLabel = new System.Windows.Forms.Label();
passwordLabel = new System.Windows.Forms.Label();
@@ -364,16 +363,6 @@
this.tbState.Size = new System.Drawing.Size(200, 29);
this.tbState.TabIndex = 34;
//
// chkJobReport
//
this.chkJobReport.AutoSize = true;
this.chkJobReport.Location = new System.Drawing.Point(503, 262);
this.chkJobReport.Name = "chkJobReport";
this.chkJobReport.Size = new System.Drawing.Size(93, 25);
this.chkJobReport.TabIndex = 35;
this.chkJobReport.Text = "업무일지";
this.chkJobReport.UseVisualStyleBackColor = true;
//
// chkUserSt
//
this.chkUserSt.AutoSize = true;
@@ -390,7 +379,6 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(601, 355);
this.Controls.Add(this.chkUserSt);
this.Controls.Add(this.chkJobReport);
this.Controls.Add(label6);
this.Controls.Add(this.tbState);
this.Controls.Add(this.button1);
@@ -455,7 +443,6 @@
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.TextBox tbState;
private System.Windows.Forms.CheckBox chkJobReport;
private System.Windows.Forms.CheckBox chkUserSt;
}
}

View File

@@ -51,7 +51,7 @@ namespace Project._Common
{
tbProcess.Text = db_guser.Process;
tbState.Text = db_guser.state;
this.chkJobReport.Checked = (db_guser.useJobReport == null ? false : (bool)db_guser.useJobReport);
//this.chkJobReport.Checked = (db_guser.useJobReport == null ? false : (bool)db_guser.useJobReport);
this.chkUserSt.Checked = (db_guser.useUserState == null ? false : (bool)db_guser.useUserState);
}
this.Text = "사용자 정보 변경";
@@ -132,7 +132,7 @@ namespace Project._Common
drGuser.Process = this.tbProcess.Text.Trim();
drGuser.state = this.tbState.Text.Trim();
drGuser.useUserState = chkUserSt.Checked;
drGuser.useJobReport = chkJobReport.Checked;
//drGuser.useJobReport = chkJobReport.Checked;
}
else
{
@@ -151,7 +151,7 @@ namespace Project._Common
drGuser.uid = this.tbId.Text.Trim();
drGuser.state = this.tbState.Text.Trim();
drGuser.Process = this.tbProcess.Text.Trim();
drGuser.useJobReport = this.chkJobReport.Checked;
//drGuser.useJobReport = this.chkJobReport.Checked;
drGuser.useUserState = this.chkUserSt.Checked;
db.EETGW_GroupUser.Add(drGuser);
}
@@ -196,9 +196,6 @@ namespace Project._Common
drUser.processs = tbProcess.Text;
}
db.SaveChanges();
this.DialogResult = DialogResult.OK;
@@ -206,8 +203,11 @@ namespace Project._Common
private void chkUserSt_CheckedChanged(object sender, EventArgs e)
{
if (chkUserSt.Checked == false && chkJobReport.Checked)
chkJobReport.Checked = false;
}
private void chkJobReport_CheckedChanged(object sender, EventArgs e)
{
}
}
}

View File

@@ -34,7 +34,6 @@
FarPoint.Win.Spread.DefaultScrollBarRenderer defaultScrollBarRenderer1 = new FarPoint.Win.Spread.DefaultScrollBarRenderer();
FarPoint.Win.Spread.DefaultScrollBarRenderer defaultScrollBarRenderer2 = new FarPoint.Win.Spread.DefaultScrollBarRenderer();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
@@ -60,6 +59,7 @@
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.btDevel = new System.Windows.Forms.ToolStripDropDownButton();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -79,7 +79,6 @@
this.textBox1 = new System.Windows.Forms.TextBox();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.ta = new Project.dsMSSQLTableAdapters.vGroupUserTableAdapter();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
@@ -220,6 +219,16 @@
this.toolStripButton2.Text = "편집(&E)";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
//
// toolStripButton1
//
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(66, 22);
this.toolStripButton1.Text = "저장(&S)";
this.toolStripButton1.Visible = false;
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
@@ -380,23 +389,13 @@
//
this.ta.ClearBeforeFill = true;
//
// toolStripButton1
//
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(66, 22);
this.toolStripButton1.Text = "저장(&S)";
this.toolStripButton1.Visible = false;
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// fpSpread1_Sheet1
//
this.fpSpread1_Sheet1.Reset();
this.fpSpread1_Sheet1.SheetName = "Sheet1";
// Formulas and custom names must be loaded with R1C1 reference style
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
this.fpSpread1_Sheet1.ColumnCount = 13;
this.fpSpread1_Sheet1.ColumnCount = 12;
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
this.fpSpread1_Sheet1.AlternatingRows.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
@@ -408,18 +407,17 @@
this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.ForeColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.Parent = "RowHeaderDefault";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "인원\r\n포함";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "업무\r\n일지";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "ID";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "상태";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "공정";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "명";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "영문명";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "직책";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "이메일";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "휴대전화";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "사일";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "퇴사일";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 12).Value = "비고";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "ID";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "상태";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "공정";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "성명";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "영문명";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "직책";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 7).Value = "이메일";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "휴대전화";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 9).Value = "입사일";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 10).Value = "사일";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 11).Value = "비고";
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent = "HeaderDefault";
@@ -428,76 +426,72 @@
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "useUserState";
this.fpSpread1_Sheet1.Columns.Get(0).Label = "인원\r\n포함";
this.fpSpread1_Sheet1.Columns.Get(0).Width = 45F;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType2;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "useJobReport";
this.fpSpread1_Sheet1.Columns.Get(1).Label = "업무\r\n일지";
this.fpSpread1_Sheet1.Columns.Get(1).Width = 41F;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "id";
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "id";
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(1).Label = "ID";
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(1).Width = 95F;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "state";
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).Label = "ID";
this.fpSpread1_Sheet1.Columns.Get(2).Label = "상태";
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).Width = 95F;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "state";
this.fpSpread1_Sheet1.Columns.Get(2).Width = 56F;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "processs";
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Label = "상태";
this.fpSpread1_Sheet1.Columns.Get(3).Label = "공정";
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Width = 56F;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "processs";
this.fpSpread1_Sheet1.Columns.Get(3).Width = 151F;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "name";
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).Label = "공정";
this.fpSpread1_Sheet1.Columns.Get(4).Label = "성명";
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).Width = 151F;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4;
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "name";
this.fpSpread1_Sheet1.Columns.Get(4).Width = 105F;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5;
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "nameE";
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).Label = "명";
this.fpSpread1_Sheet1.Columns.Get(5).Label = "영문명";
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).Width = 105F;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5;
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "nameE";
this.fpSpread1_Sheet1.Columns.Get(5).Width = 91F;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6;
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "grade";
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(6).Label = "영문명";
this.fpSpread1_Sheet1.Columns.Get(6).Label = "직책";
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(6).Width = 91F;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6;
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "grade";
this.fpSpread1_Sheet1.Columns.Get(6).Width = 115F;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType7;
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "email";
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(7).Label = "직책";
this.fpSpread1_Sheet1.Columns.Get(7).Label = "이메일";
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(7).Width = 115F;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7;
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "email";
this.fpSpread1_Sheet1.Columns.Get(7).Width = 151F;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8;
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "hp";
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(8).Label = "이메일";
this.fpSpread1_Sheet1.Columns.Get(8).Label = "휴대전화";
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(8).Width = 151F;
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType8;
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "hp";
this.fpSpread1_Sheet1.Columns.Get(8).Width = 111F;
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType9;
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "indate";
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(9).Label = "휴대전화";
this.fpSpread1_Sheet1.Columns.Get(9).Label = "입사일";
this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(9).Width = 111F;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType9;
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "indate";
this.fpSpread1_Sheet1.Columns.Get(9).Width = 79F;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType10;
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "outdate";
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(10).Label = "사일";
this.fpSpread1_Sheet1.Columns.Get(10).Label = "사일";
this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(10).Width = 79F;
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType10;
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "outdate";
this.fpSpread1_Sheet1.Columns.Get(10).Width = 65F;
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType11;
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "memo";
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(11).Label = "퇴사일";
this.fpSpread1_Sheet1.Columns.Get(11).Label = "비고";
this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(11).Width = 65F;
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType11;
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "memo";
this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(12).Label = "비고";
this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(12).Width = 151F;
this.fpSpread1_Sheet1.Columns.Get(11).Width = 151F;
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
this.fpSpread1_Sheet1.DataSource = this.bs;
this.fpSpread1_Sheet1.FilterBar.DefaultStyle.BackColor = System.Drawing.Color.Empty;