개정판 9eb0ff8a
Test: Test 코드 추가
Change-Id: I159955948bb35bce5ca45a222603a5f978c8f0fb
ID2.Manager/ID2.Manager/Forms/Login.cs | ||
---|---|---|
81 | 81 |
|
82 | 82 |
private void RadButtonOK_Click(object sender, EventArgs e) |
83 | 83 |
{ |
84 |
MessageBox.Show("IsValidatioin"); |
|
84 | 85 |
if (!IsValidatioin()) return; |
85 | 86 |
|
86 | 87 |
//DB연결해서 체크로직추가 |
88 |
MessageBox.Show("GetUserInfo"); |
|
87 | 89 |
UserInfo userInfo = new UserController().GetUserInfo(this.radTextBoxID.Text, Globals.EncryptionSHA256(this.radTextBoxPW.Text)); |
88 | 90 |
|
89 | 91 |
if (userInfo == null) |
... | ... | |
94 | 96 |
} |
95 | 97 |
|
96 | 98 |
//체크완료 시 로그인 |
99 |
MessageBox.Show("GetAllUserInfo"); |
|
97 | 100 |
Program.informations.ActiveUser = userInfo; |
98 | 101 |
IEnumerable<UserInfo> allUserList = new UserController().GetAllUserInfo(); |
99 | 102 |
allUserList.ToList().ForEach(x => Program.informations.UserList.Add(x.DeepCopy(x))); |
100 | 103 |
|
104 |
MessageBox.Show("SaveConfig"); |
|
101 | 105 |
SaveConfig(userInfo); |
102 | 106 |
|
103 | 107 |
this.DialogResult = DialogResult.OK; |
내보내기 Unified diff