사용자 목록화면 수정 및 업무일지와 적정인원 체크 박스 추가
This commit is contained in:
57
Project/_Common/fAddNewUser.Designer.cs
generated
57
Project/_Common/fAddNewUser.Designer.cs
generated
@@ -43,6 +43,7 @@
|
||||
System.Windows.Forms.Label label3;
|
||||
System.Windows.Forms.Label label4;
|
||||
System.Windows.Forms.Label label5;
|
||||
System.Windows.Forms.Label label6;
|
||||
this.tbId = new System.Windows.Forms.TextBox();
|
||||
this.tbNameK = new System.Windows.Forms.TextBox();
|
||||
this.tbDept = new System.Windows.Forms.TextBox();
|
||||
@@ -60,6 +61,9 @@
|
||||
this.tbProcess = new System.Windows.Forms.TextBox();
|
||||
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();
|
||||
nameLabel = new System.Windows.Forms.Label();
|
||||
@@ -75,6 +79,7 @@
|
||||
label3 = new System.Windows.Forms.Label();
|
||||
label4 = new System.Windows.Forms.Label();
|
||||
label5 = new System.Windows.Forms.Label();
|
||||
label6 = new System.Windows.Forms.Label();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// idLabel
|
||||
@@ -197,7 +202,7 @@
|
||||
// label4
|
||||
//
|
||||
label4.AutoSize = true;
|
||||
label4.Location = new System.Drawing.Point(106, 330);
|
||||
label4.Location = new System.Drawing.Point(106, 361);
|
||||
label4.Name = "label4";
|
||||
label4.Size = new System.Drawing.Size(96, 21);
|
||||
label4.TabIndex = 27;
|
||||
@@ -212,6 +217,15 @@
|
||||
label5.TabIndex = 29;
|
||||
label5.Text = "공정";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
label6.AutoSize = true;
|
||||
label6.Location = new System.Drawing.Point(58, 264);
|
||||
label6.Name = "label6";
|
||||
label6.Size = new System.Drawing.Size(42, 21);
|
||||
label6.TabIndex = 33;
|
||||
label6.Text = "상태";
|
||||
//
|
||||
// tbId
|
||||
//
|
||||
this.tbId.Location = new System.Drawing.Point(105, 11);
|
||||
@@ -278,7 +292,7 @@
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(105, 264);
|
||||
this.button2.Location = new System.Drawing.Point(105, 295);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(491, 54);
|
||||
this.button2.TabIndex = 26;
|
||||
@@ -309,7 +323,7 @@
|
||||
//
|
||||
// tbKJPath
|
||||
//
|
||||
this.tbKJPath.Location = new System.Drawing.Point(184, 327);
|
||||
this.tbKJPath.Location = new System.Drawing.Point(184, 358);
|
||||
this.tbKJPath.Name = "tbKJPath";
|
||||
this.tbKJPath.ReadOnly = true;
|
||||
this.tbKJPath.Size = new System.Drawing.Size(177, 29);
|
||||
@@ -343,10 +357,42 @@
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// tbState
|
||||
//
|
||||
this.tbState.Location = new System.Drawing.Point(105, 260);
|
||||
this.tbState.Name = "tbState";
|
||||
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;
|
||||
this.chkUserSt.Location = new System.Drawing.Point(407, 262);
|
||||
this.chkUserSt.Name = "chkUserSt";
|
||||
this.chkUserSt.Size = new System.Drawing.Size(93, 25);
|
||||
this.chkUserSt.TabIndex = 36;
|
||||
this.chkUserSt.Text = "포함인원";
|
||||
this.chkUserSt.UseVisualStyleBackColor = true;
|
||||
this.chkUserSt.CheckedChanged += new System.EventHandler(this.chkUserSt_CheckedChanged);
|
||||
//
|
||||
// fAddNewUser
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(601, 326);
|
||||
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);
|
||||
this.Controls.Add(this.textBox1);
|
||||
this.Controls.Add(label5);
|
||||
@@ -408,5 +454,8 @@
|
||||
private System.Windows.Forms.TextBox tbProcess;
|
||||
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;
|
||||
}
|
||||
}
|
||||
@@ -11,12 +11,55 @@ namespace Project._Common
|
||||
{
|
||||
public partial class fAddNewUser : Form // FCOMMON.fBase
|
||||
{
|
||||
public fAddNewUser(string dept)
|
||||
string p_dept = string.Empty;
|
||||
string p_id = string.Empty;
|
||||
|
||||
public fAddNewUser(string dept, string id)
|
||||
{
|
||||
InitializeComponent();
|
||||
p_dept = dept;
|
||||
p_id = id;
|
||||
|
||||
this.tbDept.Text = dept;
|
||||
this.StartPosition = FormStartPosition.CenterScreen;
|
||||
|
||||
//자료를 불러와서 먼저 불러온다
|
||||
if (id.isEmpty() == false)
|
||||
{
|
||||
tbId.Enabled = false;
|
||||
button1.Enabled = false;
|
||||
textBox1.Enabled = false;
|
||||
|
||||
|
||||
var db = new EEEntitiesMain();
|
||||
var db_user = db.Users.Where(t => t.id == id).FirstOrDefault();
|
||||
var db_guser = db.EETGW_GroupUser.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.uid == id).FirstOrDefault();
|
||||
if (db_user != null)
|
||||
{
|
||||
tbNameK.Text = db_user.name;
|
||||
tbNameE.Text = db_user.nameE;
|
||||
tbDept.Text = db_user.dept;
|
||||
tbEmail.Text = db_user.email;
|
||||
tbTel.Text = db_user.tel;
|
||||
tbHp.Text = db_user.hp;
|
||||
tbDateIn.Text = db_user.indate;
|
||||
tbDateO.Text = db_user.outdate;
|
||||
tbGrade.Text = db_user.grade;
|
||||
tbMemo.Text = db_user.memo;
|
||||
}
|
||||
if (db_guser != null)
|
||||
{
|
||||
tbProcess.Text = db_guser.Process;
|
||||
tbState.Text = db_guser.state;
|
||||
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 = "사용자 정보 변경";
|
||||
}
|
||||
else this.Text = "사용자 정보 추가";
|
||||
|
||||
}
|
||||
dsMSSQL.UsersRow dr = null;
|
||||
|
||||
|
||||
private void fUserInfo_Load(object sender, EventArgs e)
|
||||
{
|
||||
@@ -53,7 +96,6 @@ namespace Project._Common
|
||||
tbDateO.Text = dr_user.outdate;
|
||||
tbGrade.Text = dr_user.grade;
|
||||
tbMemo.Text = dr_user.memo;
|
||||
|
||||
tbProcess.Text = string.Empty;
|
||||
|
||||
//부서가잇다면 해당 부서에서 해당 사용자의 공정을 찾는다
|
||||
@@ -83,28 +125,42 @@ namespace Project._Common
|
||||
|
||||
//해당 그룹에 해당 사용자가 존재하는지 확이한다.
|
||||
var gcode = drDept.gcode;
|
||||
var drGuser = db.EETGW_GroupUser.Where(t => t.gcode == gcode && t.uid == this.tbId.Text.Trim()).FirstOrDefault();
|
||||
var uid = (p_id.isEmpty() ? tbId.Text.Trim() : p_id);
|
||||
var drGuser = db.EETGW_GroupUser.Where(t => t.gcode == gcode && t.uid == uid).FirstOrDefault();
|
||||
if (drGuser != null)
|
||||
{
|
||||
drGuser.Process = this.tbProcess.Text.Trim();
|
||||
drGuser.state = this.tbState.Text.Trim();
|
||||
drGuser.useUserState = chkUserSt.Checked;
|
||||
drGuser.useJobReport = chkJobReport.Checked;
|
||||
}
|
||||
else
|
||||
{
|
||||
//불러온경우
|
||||
if (tbId.Enabled == false)
|
||||
{
|
||||
FCOMMON.Util.MsgE("사용자 ID정보가 없어 진행할 수 없습니다");
|
||||
return;
|
||||
}
|
||||
|
||||
drGuser = new EETGW_GroupUser();
|
||||
drGuser.wuid = FCOMMON.info.Login.no;
|
||||
drGuser.wdate = DateTime.Now;
|
||||
drGuser.gcode = gcode;
|
||||
drGuser.level = 1;
|
||||
drGuser.uid = this.tbId.Text.Trim();
|
||||
|
||||
drGuser.Process = this.tbProcess.Text.Trim();
|
||||
//db.EETGW_GroupUser.InsertOnSubmit(drGuser);
|
||||
drGuser.state = this.tbState.Text.Trim();
|
||||
drGuser.Process = this.tbProcess.Text.Trim();
|
||||
drGuser.useJobReport = this.chkJobReport.Checked;
|
||||
drGuser.useUserState = this.chkUserSt.Checked;
|
||||
db.EETGW_GroupUser.Add(drGuser);
|
||||
}
|
||||
|
||||
|
||||
|
||||
//사용자 목록에 없다면 추가한다
|
||||
var drUser = db.Users.SingleOrDefault(t => t.id == tbId.Text.Trim());
|
||||
if(drUser == null)
|
||||
var drUser = db.Users.SingleOrDefault(t => t.id == uid);
|
||||
if (drUser == null)
|
||||
{
|
||||
drUser = new Users();
|
||||
drUser.wuid = FCOMMON.info.Login.no;
|
||||
@@ -137,11 +193,21 @@ namespace Project._Common
|
||||
drUser.indate = tbDateIn.Text;
|
||||
drUser.outdate = tbDateO.Text;
|
||||
drUser.memo = tbMemo.Text;
|
||||
drUser.processs = tbProcess.Text;
|
||||
drUser.processs = tbProcess.Text;
|
||||
}
|
||||
db.SaveChanges();
|
||||
this.DialogResult = DialogResult.OK;
|
||||
|
||||
|
||||
|
||||
|
||||
db.SaveChanges();
|
||||
this.DialogResult = DialogResult.OK;
|
||||
|
||||
}
|
||||
|
||||
private void chkUserSt_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (chkUserSt.Checked == false && chkJobReport.Checked)
|
||||
chkJobReport.Checked = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -162,4 +162,7 @@
|
||||
<metadata name="label5.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label6.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
</root>
|
||||
2
Project/_Common/fUserInfo.Designer.cs
generated
2
Project/_Common/fUserInfo.Designer.cs
generated
@@ -330,6 +330,7 @@
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.EETGW_GroupUserTableAdapter = null;
|
||||
this.tam.InventoryTableAdapter = null;
|
||||
this.tam.ItemsTableAdapter = null;
|
||||
this.tam.LineCodeTableAdapter = null;
|
||||
@@ -419,6 +420,7 @@
|
||||
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();
|
||||
|
||||
@@ -28,6 +28,13 @@ namespace Project._Common
|
||||
if (FCOMMON.info.Login.level > 4) tbKJPath.Enabled = true;
|
||||
else tbKJPath.Enabled = false;
|
||||
//this.bs.Filter = "id='" + FCOMMON.info.Login.no + "'";
|
||||
|
||||
//공정은 usergroup에서 찾는다.
|
||||
var db = new EEEntitiesMain();
|
||||
var drGroupUser = db.EETGW_GroupUser.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.uid == FCOMMON.info.Login.no).FirstOrDefault();
|
||||
if (drGroupUser != null)
|
||||
this.tbProcess.Text = drGroupUser.Process;
|
||||
else this.tbProcess.Text = string.Empty;
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
@@ -85,6 +92,16 @@ namespace Project._Common
|
||||
|
||||
|
||||
this.bs.EndEdit();
|
||||
|
||||
|
||||
var db2 = new EEEntitiesMain();
|
||||
var drUserGr = db2.EETGW_GroupUser.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.uid == FCOMMON.info.Login.no).FirstOrDefault();
|
||||
if(dr != null)
|
||||
{
|
||||
drUserGr.Process = this.tbProcess.Text;
|
||||
db2.SaveChanges();
|
||||
}
|
||||
|
||||
|
||||
|
||||
// dr.processs = tbProcess.Text;
|
||||
|
||||
@@ -168,9 +168,6 @@
|
||||
<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>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>186, 17</value>
|
||||
</metadata>
|
||||
|
||||
487
Project/_Common/fUserList.Designer.cs
generated
487
Project/_Common/fUserList.Designer.cs
generated
@@ -30,16 +30,26 @@
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fUserList));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.dsMSSQL = new Project.dsMSSQL();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ta = new Project.dsMSSQLTableAdapters.UsersTableAdapter();
|
||||
this.tam = new Project.dsMSSQLTableAdapters.TableAdapterManager();
|
||||
FarPoint.Win.Spread.DefaultFocusIndicatorRenderer defaultFocusIndicatorRenderer1 = new FarPoint.Win.Spread.DefaultFocusIndicatorRenderer();
|
||||
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();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dsMSSQL = new Project.dsMSSQL();
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
@@ -48,25 +58,11 @@
|
||||
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.usersBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton2 = 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();
|
||||
this.dv1 = new System.Windows.Forms.DataGridView();
|
||||
this.dvc_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.processs = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dvc_level = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.nameEDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.deptDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.gradeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.emailDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.indateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.outdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.telDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.hpDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.placeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.memoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.autoResizeColumnToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
@@ -81,42 +77,20 @@
|
||||
this.tbProcess = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.btRef = new System.Windows.Forms.ToolStripButton();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
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();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
this.cm1.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// dsMSSQL
|
||||
//
|
||||
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "Users";
|
||||
this.bs.DataSource = this.dsMSSQL;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.EETGW_GroupUserTableAdapter = null;
|
||||
this.tam.InventoryTableAdapter = null;
|
||||
this.tam.ItemsTableAdapter = null;
|
||||
this.tam.LineCodeTableAdapter = null;
|
||||
this.tam.ProjectsTableAdapter = null;
|
||||
this.tam.SPMasterTableAdapter = null;
|
||||
this.tam.UpdateOrder = Project.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
this.tam.UserGroupTableAdapter = null;
|
||||
this.tam.UsersTableAdapter = this.ta;
|
||||
//
|
||||
// bn
|
||||
//
|
||||
this.bn.AddNewItem = null;
|
||||
@@ -135,29 +109,30 @@
|
||||
this.bindingNavigatorMoveLastItem,
|
||||
this.bindingNavigatorSeparator2,
|
||||
this.bindingNavigatorAddNewItem,
|
||||
this.bindingNavigatorDeleteItem,
|
||||
this.usersBindingNavigatorSaveItem,
|
||||
this.toolStripButton2,
|
||||
this.toolStripButton1,
|
||||
this.toolStripSeparator1,
|
||||
this.btDevel});
|
||||
this.bn.Location = new System.Drawing.Point(0, 540);
|
||||
this.bn.Location = new System.Drawing.Point(0, 628);
|
||||
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
|
||||
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
|
||||
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
|
||||
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
|
||||
this.bn.Name = "bn";
|
||||
this.bn.PositionItem = this.bindingNavigatorPositionItem;
|
||||
this.bn.Size = new System.Drawing.Size(908, 25);
|
||||
this.bn.Size = new System.Drawing.Size(1176, 25);
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
// bindingNavigatorAddNewItem
|
||||
// bs
|
||||
//
|
||||
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
||||
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
||||
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(65, 22);
|
||||
this.bindingNavigatorAddNewItem.Text = "Add(&A)";
|
||||
this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
|
||||
this.bs.DataMember = "vGroupUser";
|
||||
this.bs.DataSource = this.dsMSSQL;
|
||||
//
|
||||
// dsMSSQL
|
||||
//
|
||||
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// bindingNavigatorCountItem
|
||||
//
|
||||
@@ -166,15 +141,6 @@
|
||||
this.bindingNavigatorCountItem.Text = "/{0}";
|
||||
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
// bindingNavigatorDeleteItem
|
||||
//
|
||||
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
|
||||
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
|
||||
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(78, 22);
|
||||
this.bindingNavigatorDeleteItem.Text = "Delete(&D)";
|
||||
this.bindingNavigatorDeleteItem.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click);
|
||||
//
|
||||
// bindingNavigatorMoveFirstItem
|
||||
//
|
||||
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
@@ -202,6 +168,7 @@
|
||||
//
|
||||
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
||||
this.bindingNavigatorPositionItem.AutoSize = false;
|
||||
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
||||
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
||||
this.bindingNavigatorPositionItem.Text = "0";
|
||||
@@ -235,13 +202,23 @@
|
||||
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
||||
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||
//
|
||||
// usersBindingNavigatorSaveItem
|
||||
// bindingNavigatorAddNewItem
|
||||
//
|
||||
this.usersBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("usersBindingNavigatorSaveItem.Image")));
|
||||
this.usersBindingNavigatorSaveItem.Name = "usersBindingNavigatorSaveItem";
|
||||
this.usersBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22);
|
||||
this.usersBindingNavigatorSaveItem.Text = "Save(&S)";
|
||||
this.usersBindingNavigatorSaveItem.Click += new System.EventHandler(this.usersBindingNavigatorSaveItem_Click);
|
||||
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
|
||||
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
|
||||
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
||||
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(67, 22);
|
||||
this.bindingNavigatorAddNewItem.Text = "추가(&A)";
|
||||
this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
|
||||
//
|
||||
// toolStripButton2
|
||||
//
|
||||
this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
|
||||
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton2.Name = "toolStripButton2";
|
||||
this.toolStripButton2.Size = new System.Drawing.Size(65, 22);
|
||||
this.toolStripButton2.Text = "편집(&E)";
|
||||
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
@@ -266,141 +243,6 @@
|
||||
this.한글이름분리ToolStripMenuItem.Text = "한글이름분리";
|
||||
this.한글이름분리ToolStripMenuItem.Click += new System.EventHandler(this.한글이름분리ToolStripMenuItem_Click);
|
||||
//
|
||||
// dv1
|
||||
//
|
||||
this.dv1.AllowUserToAddRows = false;
|
||||
this.dv1.AutoGenerateColumns = false;
|
||||
this.dv1.ColumnHeadersHeight = 30;
|
||||
this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||
this.dv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.dvc_id,
|
||||
this.processs,
|
||||
this.dvc_level,
|
||||
this.nameDataGridViewTextBoxColumn,
|
||||
this.nameEDataGridViewTextBoxColumn,
|
||||
this.deptDataGridViewTextBoxColumn,
|
||||
this.gradeDataGridViewTextBoxColumn,
|
||||
this.emailDataGridViewTextBoxColumn,
|
||||
this.indateDataGridViewTextBoxColumn,
|
||||
this.outdateDataGridViewTextBoxColumn,
|
||||
this.telDataGridViewTextBoxColumn,
|
||||
this.hpDataGridViewTextBoxColumn,
|
||||
this.placeDataGridViewTextBoxColumn,
|
||||
this.memoDataGridViewTextBoxColumn});
|
||||
this.dv1.ContextMenuStrip = this.cm1;
|
||||
this.dv1.DataSource = this.bs;
|
||||
this.dv1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dv1.Location = new System.Drawing.Point(0, 25);
|
||||
this.dv1.Name = "dv1";
|
||||
this.dv1.RowTemplate.Height = 23;
|
||||
this.dv1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
|
||||
this.dv1.Size = new System.Drawing.Size(908, 494);
|
||||
this.dv1.TabIndex = 1;
|
||||
//
|
||||
// dvc_id
|
||||
//
|
||||
this.dvc_id.DataPropertyName = "id";
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.dvc_id.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dvc_id.HeaderText = "ID";
|
||||
this.dvc_id.Name = "dvc_id";
|
||||
this.dvc_id.Width = 40;
|
||||
//
|
||||
// processs
|
||||
//
|
||||
this.processs.DataPropertyName = "processs";
|
||||
this.processs.HeaderText = "공정";
|
||||
this.processs.Name = "processs";
|
||||
//
|
||||
// dvc_level
|
||||
//
|
||||
this.dvc_level.DataPropertyName = "level";
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
|
||||
this.dvc_level.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dvc_level.HeaderText = "레벨";
|
||||
this.dvc_level.Name = "dvc_level";
|
||||
this.dvc_level.Width = 56;
|
||||
//
|
||||
// nameDataGridViewTextBoxColumn
|
||||
//
|
||||
this.nameDataGridViewTextBoxColumn.DataPropertyName = "name";
|
||||
this.nameDataGridViewTextBoxColumn.HeaderText = "성명";
|
||||
this.nameDataGridViewTextBoxColumn.Name = "nameDataGridViewTextBoxColumn";
|
||||
this.nameDataGridViewTextBoxColumn.Width = 62;
|
||||
//
|
||||
// nameEDataGridViewTextBoxColumn
|
||||
//
|
||||
this.nameEDataGridViewTextBoxColumn.DataPropertyName = "nameE";
|
||||
this.nameEDataGridViewTextBoxColumn.HeaderText = "성명(영문)";
|
||||
this.nameEDataGridViewTextBoxColumn.Name = "nameEDataGridViewTextBoxColumn";
|
||||
this.nameEDataGridViewTextBoxColumn.Width = 70;
|
||||
//
|
||||
// deptDataGridViewTextBoxColumn
|
||||
//
|
||||
this.deptDataGridViewTextBoxColumn.DataPropertyName = "dept";
|
||||
this.deptDataGridViewTextBoxColumn.HeaderText = "부서";
|
||||
this.deptDataGridViewTextBoxColumn.Name = "deptDataGridViewTextBoxColumn";
|
||||
this.deptDataGridViewTextBoxColumn.Visible = false;
|
||||
this.deptDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// gradeDataGridViewTextBoxColumn
|
||||
//
|
||||
this.gradeDataGridViewTextBoxColumn.DataPropertyName = "grade";
|
||||
this.gradeDataGridViewTextBoxColumn.HeaderText = "직책";
|
||||
this.gradeDataGridViewTextBoxColumn.Name = "gradeDataGridViewTextBoxColumn";
|
||||
this.gradeDataGridViewTextBoxColumn.Width = 62;
|
||||
//
|
||||
// emailDataGridViewTextBoxColumn
|
||||
//
|
||||
this.emailDataGridViewTextBoxColumn.DataPropertyName = "email";
|
||||
this.emailDataGridViewTextBoxColumn.HeaderText = "email";
|
||||
this.emailDataGridViewTextBoxColumn.Name = "emailDataGridViewTextBoxColumn";
|
||||
this.emailDataGridViewTextBoxColumn.Width = 61;
|
||||
//
|
||||
// indateDataGridViewTextBoxColumn
|
||||
//
|
||||
this.indateDataGridViewTextBoxColumn.DataPropertyName = "indate";
|
||||
this.indateDataGridViewTextBoxColumn.HeaderText = "입사일";
|
||||
this.indateDataGridViewTextBoxColumn.Name = "indateDataGridViewTextBoxColumn";
|
||||
this.indateDataGridViewTextBoxColumn.Width = 64;
|
||||
//
|
||||
// outdateDataGridViewTextBoxColumn
|
||||
//
|
||||
this.outdateDataGridViewTextBoxColumn.DataPropertyName = "outdate";
|
||||
this.outdateDataGridViewTextBoxColumn.HeaderText = "퇴사일";
|
||||
this.outdateDataGridViewTextBoxColumn.Name = "outdateDataGridViewTextBoxColumn";
|
||||
this.outdateDataGridViewTextBoxColumn.Width = 71;
|
||||
//
|
||||
// telDataGridViewTextBoxColumn
|
||||
//
|
||||
this.telDataGridViewTextBoxColumn.DataPropertyName = "tel";
|
||||
this.telDataGridViewTextBoxColumn.HeaderText = "내선";
|
||||
this.telDataGridViewTextBoxColumn.Name = "telDataGridViewTextBoxColumn";
|
||||
this.telDataGridViewTextBoxColumn.Width = 43;
|
||||
//
|
||||
// hpDataGridViewTextBoxColumn
|
||||
//
|
||||
this.hpDataGridViewTextBoxColumn.DataPropertyName = "hp";
|
||||
this.hpDataGridViewTextBoxColumn.HeaderText = "전화";
|
||||
this.hpDataGridViewTextBoxColumn.Name = "hpDataGridViewTextBoxColumn";
|
||||
this.hpDataGridViewTextBoxColumn.Width = 44;
|
||||
//
|
||||
// placeDataGridViewTextBoxColumn
|
||||
//
|
||||
this.placeDataGridViewTextBoxColumn.DataPropertyName = "place";
|
||||
this.placeDataGridViewTextBoxColumn.HeaderText = "place";
|
||||
this.placeDataGridViewTextBoxColumn.Name = "placeDataGridViewTextBoxColumn";
|
||||
this.placeDataGridViewTextBoxColumn.Width = 61;
|
||||
//
|
||||
// memoDataGridViewTextBoxColumn
|
||||
//
|
||||
this.memoDataGridViewTextBoxColumn.DataPropertyName = "memo";
|
||||
this.memoDataGridViewTextBoxColumn.HeaderText = "비고";
|
||||
this.memoDataGridViewTextBoxColumn.Name = "memoDataGridViewTextBoxColumn";
|
||||
this.memoDataGridViewTextBoxColumn.Width = 66;
|
||||
//
|
||||
// cm1
|
||||
//
|
||||
this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
@@ -461,7 +303,7 @@
|
||||
this.btRef});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(908, 25);
|
||||
this.toolStrip1.Size = new System.Drawing.Size(1176, 25);
|
||||
this.toolStrip1.TabIndex = 2;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
@@ -473,6 +315,7 @@
|
||||
//
|
||||
// cmbdept
|
||||
//
|
||||
this.cmbdept.Enabled = false;
|
||||
this.cmbdept.Name = "cmbdept";
|
||||
this.cmbdept.Size = new System.Drawing.Size(400, 25);
|
||||
//
|
||||
@@ -484,6 +327,8 @@
|
||||
//
|
||||
// tbProcess
|
||||
//
|
||||
this.tbProcess.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.tbProcess.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
this.tbProcess.Name = "tbProcess";
|
||||
this.tbProcess.Size = new System.Drawing.Size(100, 25);
|
||||
this.tbProcess.Text = "%";
|
||||
@@ -494,40 +339,206 @@
|
||||
this.btRef.Image = ((System.Drawing.Image)(resources.GetObject("btRef.Image")));
|
||||
this.btRef.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btRef.Name = "btRef";
|
||||
this.btRef.Size = new System.Drawing.Size(66, 22);
|
||||
this.btRef.Text = "Refresh";
|
||||
this.btRef.Size = new System.Drawing.Size(90, 22);
|
||||
this.btRef.Text = "새로고침(&R)";
|
||||
this.btRef.Click += new System.EventHandler(this.btRef_Click);
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ads_title", true));
|
||||
this.textBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.textBox1.Location = new System.Drawing.Point(0, 519);
|
||||
this.textBox1.Location = new System.Drawing.Point(0, 607);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(908, 21);
|
||||
this.textBox1.Size = new System.Drawing.Size(1176, 21);
|
||||
this.textBox1.TabIndex = 3;
|
||||
//
|
||||
// fpSpread1
|
||||
//
|
||||
this.fpSpread1.AccessibleDescription = "";
|
||||
this.fpSpread1.AutoClipboard = false;
|
||||
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.fpSpread1.EditModeReplace = true;
|
||||
this.fpSpread1.EnableCrossSheetReference = false;
|
||||
this.fpSpread1.FocusRenderer = defaultFocusIndicatorRenderer1;
|
||||
this.fpSpread1.HorizontalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton");
|
||||
this.fpSpread1.HorizontalScrollBar.Name = "";
|
||||
this.fpSpread1.HorizontalScrollBar.Renderer = defaultScrollBarRenderer1;
|
||||
this.fpSpread1.Location = new System.Drawing.Point(0, 25);
|
||||
this.fpSpread1.Name = "fpSpread1";
|
||||
this.fpSpread1.SelectionBlockOptions = ((FarPoint.Win.Spread.SelectionBlockOptions)((FarPoint.Win.Spread.SelectionBlockOptions.Rows | FarPoint.Win.Spread.SelectionBlockOptions.Sheet)));
|
||||
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||
this.fpSpread1_Sheet1});
|
||||
this.fpSpread1.Size = new System.Drawing.Size(1176, 582);
|
||||
this.fpSpread1.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Classic;
|
||||
this.fpSpread1.TabIndex = 5;
|
||||
this.fpSpread1.VerticalScrollBar.Buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection("BackwardLineButton,ThumbTrack,ForwardLineButton");
|
||||
this.fpSpread1.VerticalScrollBar.Name = "";
|
||||
this.fpSpread1.VerticalScrollBar.Renderer = defaultScrollBarRenderer2;
|
||||
this.fpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
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.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)))));
|
||||
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||
this.fpSpread1_Sheet1.ColumnFooter.DefaultStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnFooter.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnFooter.DefaultStyle.Parent = "HeaderDefault";
|
||||
this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.BackColor = System.Drawing.Color.Empty;
|
||||
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.DefaultStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.Parent = "HeaderDefault";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 33F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType1;
|
||||
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(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Label = "ID";
|
||||
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(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
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(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
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(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
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(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
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(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
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(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
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(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
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(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
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(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
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.DataAutoSizeColumns = false;
|
||||
this.fpSpread1_Sheet1.DataSource = this.bs;
|
||||
this.fpSpread1_Sheet1.FilterBar.DefaultStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.FilterBar.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.FilterBar.DefaultStyle.Parent = "FilterBarDefault";
|
||||
this.fpSpread1_Sheet1.FilterBarHeaderStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.FilterBarHeaderStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.FilterBarHeaderStyle.Parent = "RowHeaderDefault";
|
||||
this.fpSpread1_Sheet1.Protect = false;
|
||||
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
||||
this.fpSpread1_Sheet1.RowHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.RowHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.RowHeader.DefaultStyle.Parent = "RowHeaderDefault";
|
||||
this.fpSpread1_Sheet1.SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Row;
|
||||
this.fpSpread1_Sheet1.SheetCornerStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.SheetCornerStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.SheetCornerStyle.Parent = "RowHeaderDefault";
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// fUserList
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(908, 565);
|
||||
this.Controls.Add(this.dv1);
|
||||
this.ClientSize = new System.Drawing.Size(1176, 653);
|
||||
this.Controls.Add(this.fpSpread1);
|
||||
this.Controls.Add(this.textBox1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this.bn);
|
||||
this.Name = "fUserList";
|
||||
this.Text = "fUserList";
|
||||
this.Text = "그룹내 사용자 목록";
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
this.bn.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||
this.cm1.ResumeLayout(false);
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -537,12 +548,9 @@
|
||||
|
||||
private dsMSSQL dsMSSQL;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private dsMSSQLTableAdapters.UsersTableAdapter ta;
|
||||
private dsMSSQLTableAdapters.TableAdapterManager tam;
|
||||
private System.Windows.Forms.BindingNavigator bn;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
|
||||
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
||||
@@ -551,8 +559,6 @@
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
||||
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
||||
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
||||
private System.Windows.Forms.ToolStripButton usersBindingNavigatorSaveItem;
|
||||
private System.Windows.Forms.DataGridView dv1;
|
||||
private System.Windows.Forms.ContextMenuStrip cm1;
|
||||
private System.Windows.Forms.ToolStripMenuItem iDChangeToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem passwordChangeToolStripMenuItem;
|
||||
@@ -570,19 +576,10 @@
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel2;
|
||||
private System.Windows.Forms.ToolStripTextBox tbProcess;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn processs;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dvc_level;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn nameDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn nameEDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn deptDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn gradeDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn emailDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn indateDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn outdateDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn telDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn hpDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn placeDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn memoDataGridViewTextBoxColumn;
|
||||
private FarPoint.Win.Spread.FpSpread fpSpread1;
|
||||
private dsMSSQLTableAdapters.vGroupUserTableAdapter ta;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton2;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
}
|
||||
}
|
||||
@@ -16,6 +16,7 @@ namespace Project._Common
|
||||
InitializeComponent();
|
||||
this.dsMSSQL.Users.TableNewRow += Users_TableNewRow;
|
||||
this.FormClosed += __Closed;
|
||||
|
||||
}
|
||||
|
||||
void __Closed(object sender, FormClosedEventArgs e)
|
||||
@@ -40,27 +41,27 @@ namespace Project._Common
|
||||
this.Show();
|
||||
Application.DoEvents();
|
||||
|
||||
cmbdept.Enabled = FCOMMON.info.Login.level > 9;
|
||||
this.cmbdept.Text = FCOMMON.info.Login.dept;
|
||||
|
||||
if (FCOMMON.info.Login.level > 4)
|
||||
{
|
||||
this.dvc_id.Visible = true;
|
||||
this.btDevel.Visible = true;
|
||||
this.dv1.EditMode = DataGridViewEditMode.EditOnKeystrokeOrF2;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.dv1.EditMode = DataGridViewEditMode.EditProgrammatically;
|
||||
this.dv1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
||||
this.btDevel.Visible = true;
|
||||
this.textBox1.Enabled = false;
|
||||
this.dvc_id.Visible = true;
|
||||
this.dvc_level.Visible = false;
|
||||
this.usersBindingNavigatorSaveItem.Enabled = false;
|
||||
this.bindingNavigatorAddNewItem.Enabled = false;
|
||||
this.bindingNavigatorDeleteItem.Enabled = false;
|
||||
//if (FCOMMON.info.Login.level > 4)
|
||||
//{
|
||||
// this.dvc_id.Visible = true;
|
||||
// this.btDevel.Visible = true;
|
||||
// this.dv1.EditMode = DataGridViewEditMode.EditOnKeystrokeOrF2;
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// this.dv1.EditMode = DataGridViewEditMode.EditProgrammatically;
|
||||
// this.dv1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
||||
// this.btDevel.Visible = true;
|
||||
// this.textBox1.Enabled = false;
|
||||
// this.dvc_id.Visible = true;
|
||||
// this.dvc_level.Visible = false;
|
||||
// this.usersBindingNavigatorSaveItem.Enabled = false;
|
||||
// this.bindingNavigatorAddNewItem.Enabled = false;
|
||||
// this.bindingNavigatorDeleteItem.Enabled = false;
|
||||
|
||||
}
|
||||
//}
|
||||
|
||||
//부서목록 업데이트
|
||||
var db = new EEEntitiesMain();
|
||||
@@ -78,15 +79,12 @@ namespace Project._Common
|
||||
this.cmbdept.Text = FCOMMON.info.Login.dept;
|
||||
btRef.PerformClick();
|
||||
|
||||
}
|
||||
private void usersBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
this.tam.UpdateAll(this.dsMSSQL);
|
||||
fpSpread1.EditMode = false;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
private void iDChangeToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
@@ -187,16 +185,14 @@ namespace Project._Common
|
||||
|
||||
//this.bs.DataSource = userlist;
|
||||
|
||||
|
||||
|
||||
|
||||
this.ta.Fill(this.dsMSSQL.Users, this.cmbdept.Text, tbProcess.Text.Trim());
|
||||
this.ta.Fill(this.dsMSSQL.vGroupUser, FCOMMON.info.Login.gcode, tbProcess.Text.Trim());
|
||||
this.dsMSSQL.Users.AcceptChanges();
|
||||
this.dv1.AutoResizeColumns();
|
||||
this.bs.Sort = "useuserstate desc,usejobreport desc";
|
||||
}
|
||||
private void autoResizeColumnToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.dv1.AutoResizeColumns();
|
||||
|
||||
}
|
||||
|
||||
private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e)
|
||||
@@ -207,7 +203,46 @@ namespace Project._Common
|
||||
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
//추가
|
||||
var f = new fAddNewUser(this.cmbdept.Text.Trim());
|
||||
var f = new fAddNewUser(this.cmbdept.Text.Trim(),string.Empty);
|
||||
if (f.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
RefreshList();
|
||||
}
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
var cnt = this.ta.Update(this.dsMSSQL.vGroupUser);
|
||||
if (cnt < 1)
|
||||
{
|
||||
FCOMMON.Util.MsgE("저장된 자료가 없습니다");
|
||||
}
|
||||
else
|
||||
{
|
||||
FCOMMON.Util.MsgI($"{cnt} 건의 자료가 추가/변경/삭제 되었습니다");
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void toolStripButton2_Click(object sender, EventArgs e)
|
||||
{
|
||||
//추가
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsMSSQL.vGroupUserRow;
|
||||
|
||||
|
||||
var f = new fAddNewUser(this.cmbdept.Text.Trim(),dr.id);
|
||||
if (f.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
RefreshList();
|
||||
|
||||
@@ -117,20 +117,14 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>186, 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="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>186, 17</value>
|
||||
</metadata>
|
||||
<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="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>321, 17</value>
|
||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
@@ -185,23 +179,34 @@
|
||||
rkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
||||
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
||||
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
||||
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
|
||||
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
|
||||
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
|
||||
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
|
||||
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
|
||||
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
|
||||
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
|
||||
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
|
||||
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
|
||||
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
|
||||
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="usersBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
|
||||
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
|
||||
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
|
||||
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
|
||||
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
|
||||
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
|
||||
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
|
||||
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
|
||||
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
|
||||
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="btDevel.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
@@ -219,14 +224,11 @@
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="processs.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>387, 17</value>
|
||||
<value>252, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>462, 17</value>
|
||||
<value>327, 17</value>
|
||||
</metadata>
|
||||
<data name="btRef.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
@@ -240,4 +242,10 @@
|
||||
BRhVTtsAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>495, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>433, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
Reference in New Issue
Block a user