..전자실 추가 중

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

@@ -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)
{
}
}
}