시간 변경
parent
f521eb3b1d
commit
f63614c69e
|
@ -460,9 +460,9 @@ namespace INT_PT002.Controls
|
||||||
time = DateTime.ParseExact(item.login_date.GetDateTime(), "yyyyMMddHHmmss", null);
|
time = DateTime.ParseExact(item.login_date.GetDateTime(), "yyyyMMddHHmmss", null);
|
||||||
this.SelectedUserItem.DateLogin = time;
|
this.SelectedUserItem.DateLogin = time;
|
||||||
time = DateTime.ParseExact(item.expire_account_date.GetDateTime(), "yyyyMMddHHmmss", null);
|
time = DateTime.ParseExact(item.expire_account_date.GetDateTime(), "yyyyMMddHHmmss", null);
|
||||||
this.SelectedUserItem.DateExpireRegister = time;
|
|
||||||
time = DateTime.ParseExact(item.expire_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
|
|
||||||
this.SelectedUserItem.DateExpireLogin = time;
|
this.SelectedUserItem.DateExpireLogin = time;
|
||||||
|
time = DateTime.ParseExact(item.expire_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
|
||||||
|
this.SelectedUserItem.DateExpireRegister = time;
|
||||||
|
|
||||||
this.SelectedUserItem.IsLockAccount = item.flock_status_account == 0 ? false : true;
|
this.SelectedUserItem.IsLockAccount = item.flock_status_account == 0 ? false : true;
|
||||||
this.SelectedUserItem.IsLockPassword = item.flock_status_password == 0 ? false : true;
|
this.SelectedUserItem.IsLockPassword = item.flock_status_password == 0 ? false : true;
|
||||||
|
@ -497,9 +497,9 @@ namespace INT_PT002.Controls
|
||||||
time = DateTime.ParseExact(item.login_date.GetDateTime(), "yyyyMMddHHmmss", null);
|
time = DateTime.ParseExact(item.login_date.GetDateTime(), "yyyyMMddHHmmss", null);
|
||||||
this.SelectedUserItem.DateLogin = time;
|
this.SelectedUserItem.DateLogin = time;
|
||||||
time = DateTime.ParseExact(item.expire_account_date.GetDateTime(), "yyyyMMddHHmmss", null);
|
time = DateTime.ParseExact(item.expire_account_date.GetDateTime(), "yyyyMMddHHmmss", null);
|
||||||
this.SelectedUserItem.DateExpireRegister = time;
|
|
||||||
time = DateTime.ParseExact(item.expire_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
|
|
||||||
this.SelectedUserItem.DateExpireLogin = time;
|
this.SelectedUserItem.DateExpireLogin = time;
|
||||||
|
time = DateTime.ParseExact(item.expire_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
|
||||||
|
this.SelectedUserItem.DateExpireRegister = time;
|
||||||
|
|
||||||
this.SelectedUserItem.IsLockAccount = item.flock_status_account == 0 ? false : true;
|
this.SelectedUserItem.IsLockAccount = item.flock_status_account == 0 ? false : true;
|
||||||
this.SelectedUserItem.IsLockPassword = item.flock_status_password == 0 ? false : true;
|
this.SelectedUserItem.IsLockPassword = item.flock_status_password == 0 ? false : true;
|
||||||
|
@ -528,8 +528,8 @@ namespace INT_PT002.Controls
|
||||||
this.textBoxPassword.Text = item.Password;
|
this.textBoxPassword.Text = item.Password;
|
||||||
this.labelExpiryDateOfAccount.Text = item.ExpireAccount.ToString();
|
this.labelExpiryDateOfAccount.Text = item.ExpireAccount.ToString();
|
||||||
this.labelExpiryDateOfPassword.Text = item.ExpirePassword.ToString();
|
this.labelExpiryDateOfPassword.Text = item.ExpirePassword.ToString();
|
||||||
this.labelExpiryDateOfAccount2.Text = string.Format("{0:yy/MM/dd} ~ {1:yy/MM/dd}", item.DateRegister, item.DateExpireRegister);
|
this.labelExpiryDateOfAccount2.Text = string.Format("{0:yy/MM/dd} ~ {1:yy/MM/dd}", item.DateRegister, item.DateExpireLogin);
|
||||||
this.labelExpiryDateOfPassword2.Text = string.Format("{0:yy/MM/dd} ~ {1:yy/MM/dd}", item.DateLogin, item.DateExpireLogin);
|
this.labelExpiryDateOfPassword2.Text = string.Format("{0:yy/MM/dd} ~ {1:yy/MM/dd}", item.DateLogin, item.DateExpireRegister);
|
||||||
|
|
||||||
this.CheckBoxCheckedAsLevel(item.Status);
|
this.CheckBoxCheckedAsLevel(item.Status);
|
||||||
|
|
||||||
|
|
|
@ -224,9 +224,9 @@ namespace INT_PT002.Forms
|
||||||
time = DateTime.ParseExact(userInfo.login_date.GetDateTime(), "yyyyMMddHHmmss", null);
|
time = DateTime.ParseExact(userInfo.login_date.GetDateTime(), "yyyyMMddHHmmss", null);
|
||||||
this.ParentForm.CurrentSystemStatus.CurrentUser.DateLogin = time;
|
this.ParentForm.CurrentSystemStatus.CurrentUser.DateLogin = time;
|
||||||
time = DateTime.ParseExact(userInfo.expire_account_date.GetDateTime(), "yyyyMMddHHmmss", null);
|
time = DateTime.ParseExact(userInfo.expire_account_date.GetDateTime(), "yyyyMMddHHmmss", null);
|
||||||
this.ParentForm.CurrentSystemStatus.CurrentUser.DateExpireRegister = time;
|
|
||||||
time = DateTime.ParseExact(userInfo.expire_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
|
|
||||||
this.ParentForm.CurrentSystemStatus.CurrentUser.DateExpireLogin = time;
|
this.ParentForm.CurrentSystemStatus.CurrentUser.DateExpireLogin = time;
|
||||||
|
time = DateTime.ParseExact(userInfo.expire_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
|
||||||
|
this.ParentForm.CurrentSystemStatus.CurrentUser.DateExpireRegister = time;
|
||||||
|
|
||||||
this.ParentForm.CurrentSystemStatus.CurrentUser.IsLockAccount = userInfo.flock_status_account == 0 ? false : true;
|
this.ParentForm.CurrentSystemStatus.CurrentUser.IsLockAccount = userInfo.flock_status_account == 0 ? false : true;
|
||||||
this.ParentForm.CurrentSystemStatus.CurrentUser.IsLockPassword = userInfo.flock_status_password == 0 ? false : true;
|
this.ParentForm.CurrentSystemStatus.CurrentUser.IsLockPassword = userInfo.flock_status_password == 0 ? false : true;
|
||||||
|
|
Loading…
Reference in New Issue