버그 수정 및 출고 준비

master
DESKTOP-999R8N3\CJY 2023-09-18 18:01:05 +09:00
parent 58c859ac8a
commit bf4fc3a028
10 changed files with 192 additions and 208 deletions

View File

@ -183,6 +183,7 @@ namespace INT69DC_7C.DialogForms
private void DisplayTreeViewUpdate2()
{
int fileCount = 0;
string[] fileName;
//TreeNode node;
List<string> years = new List<string>();
List<string> months = new List<string>();
@ -249,7 +250,8 @@ namespace INT69DC_7C.DialogForms
for (int k = 0; k < this.ListInspectionFile[i].Months[j].Days.Count; k++)
{
nodeMonth.Nodes.Add(this.ListInspectionFile[i].Months[j].Days[k]);
fileName = this.ListInspectionFile[i].Months[j].Days[k].Split('.');
nodeMonth.Nodes.Add(fileName[0]);
fileCount++;
}
node.Nodes.Add(nodeMonth);
@ -312,25 +314,25 @@ namespace INT69DC_7C.DialogForms
{
fileName = e.Node.Text;
this.ParentForm.SelectFilePath = string.Format("{0}{1}", this.ParentForm.ParentForm.PathDataBackupFolder, fileName);
this.ParentForm.SelectFilePath = string.Format("{0}{1}.csv", this.ParentForm.ParentForm.PathDataBackupFolder, fileName);
name = fileName.Split('_');
this.labelFileName.Text = fileName;
this.labelDate.Text = string.Format("{0}.{1}.{2}", name[0].Substring(0, 4), name[0].Substring(4, 2), name[0].Substring(6, 2));
this.labelProductNo.Text = name[1].Substring(0, name[1].Length - 4);
this.labelProductNo.Text = name[1];
}
else
{
if (e.Node.Text.Length > 10)
{
fileName = e.Node.Text;
pathFileName = string.Format("{0}{1}\\{2}\\{3}",
pathFileName = string.Format("{0}{1}\\{2}\\{3}.csv",
this.ParentForm.ParentForm.PathDataInspectionFolder, fileName.Substring(1, 4), int.Parse(fileName.Substring(5, 2)), fileName);
this.ParentForm.SelectFilePath = pathFileName;
name = fileName.Split('_');
this.labelFileName.Text = fileName;
this.labelDate.Text = string.Format("{0}.{1}.{2}", name[0].Substring(1, 4), name[0].Substring(5, 2), name[0].Substring(7, 2));
this.labelProductNo.Text = name[1].Substring(0, name[1].Length - 4);
this.labelProductNo.Text = name[1];
}
}
}

View File

@ -136,6 +136,7 @@ namespace INT69DC_7C.DialogForms
private void DisplayTreeViewUpdate()
{
int fileCount = 0;
string[] fileName;
//TreeNode node;
List<DataBackupYear> listHistoryFile = new List<DataBackupYear>();
List<string> years = new List<string>();
@ -203,7 +204,8 @@ namespace INT69DC_7C.DialogForms
for (int k = 0; k < listHistoryFile[i].Months[j].Days.Count; k++)
{
nodeMonth.Nodes.Add(listHistoryFile[i].Months[j].Days[k]);
fileName = listHistoryFile[i].Months[j].Days[k].Split('.');
nodeMonth.Nodes.Add(fileName[0]);
fileCount++;
}
node.Nodes.Add(nodeMonth);
@ -237,7 +239,7 @@ namespace INT69DC_7C.DialogForms
year = this.SeletedFilePath.Substring(1, 4);
iMonth = int.Parse(this.SeletedFilePath.Substring(5, 2));
month = iMonth.ToString();
path = string.Format("{0}{1}\\{2}\\{3}", this.ParentForm.ParentForm.PathDataHistoryFolder, year, month, this.SeletedFilePath);
path = string.Format("{0}{1}\\{2}\\{3}.csv", this.ParentForm.ParentForm.PathDataHistoryFolder, year, month, this.SeletedFilePath);
ret = this.ParentForm.DataRead(path);
if (ret == 0)

View File

@ -97,23 +97,23 @@
//
// textBoxID
//
this.textBoxID.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular);
this.textBoxID.Location = new System.Drawing.Point(287, 76);
this.textBoxID.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Regular);
this.textBoxID.Location = new System.Drawing.Point(258, 76);
this.textBoxID.MaxLength = 20;
this.textBoxID.Name = "textBoxID";
this.textBoxID.Size = new System.Drawing.Size(218, 37);
this.textBoxID.Size = new System.Drawing.Size(248, 34);
this.textBoxID.TabIndex = 2;
this.textBoxID.Text = "ABCDEFGHJK";
this.textBoxID.GotFocus += new System.EventHandler(this.textBoxID_GotFocus);
//
// textBoxPassword
//
this.textBoxPassword.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular);
this.textBoxPassword.Location = new System.Drawing.Point(287, 121);
this.textBoxPassword.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Regular);
this.textBoxPassword.Location = new System.Drawing.Point(258, 121);
this.textBoxPassword.MaxLength = 20;
this.textBoxPassword.Name = "textBoxPassword";
this.textBoxPassword.PasswordChar = '*';
this.textBoxPassword.Size = new System.Drawing.Size(218, 37);
this.textBoxPassword.Size = new System.Drawing.Size(248, 34);
this.textBoxPassword.TabIndex = 5;
this.textBoxPassword.Text = "ABCDEFGHJK";
this.textBoxPassword.GotFocus += new System.EventHandler(this.textBoxPassword_GotFocus);
@ -210,6 +210,7 @@
this.smartButton1.TextLocation = new System.Drawing.Point(0, 0);
this.smartButton1.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButton1.UpImage = null;
this.smartButton1.Visible = false;
this.smartButton1.Click += new System.EventHandler(this.smartButton1_Click);
//
// smartButtonAdmin
@ -242,6 +243,7 @@
this.smartButtonAdmin.TextLocation = new System.Drawing.Point(0, 0);
this.smartButtonAdmin.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButtonAdmin.UpImage = null;
this.smartButtonAdmin.Visible = false;
this.smartButtonAdmin.Click += new System.EventHandler(this.smartButtonAdmin_Click);
//
// smartButtonIUser11
@ -274,6 +276,7 @@
this.smartButtonIUser11.TextLocation = new System.Drawing.Point(0, 0);
this.smartButtonIUser11.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButtonIUser11.UpImage = null;
this.smartButtonIUser11.Visible = false;
this.smartButtonIUser11.Click += new System.EventHandler(this.smartButtonIUser11_Click);
//
// smartButtonUser22
@ -306,6 +309,7 @@
this.smartButtonUser22.TextLocation = new System.Drawing.Point(0, 0);
this.smartButtonUser22.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButtonUser22.UpImage = null;
this.smartButtonUser22.Visible = false;
this.smartButtonUser22.Click += new System.EventHandler(this.smartButtonUser22_Click);
//
// smartButtonUser33
@ -338,6 +342,7 @@
this.smartButtonUser33.TextLocation = new System.Drawing.Point(0, 0);
this.smartButtonUser33.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButtonUser33.UpImage = null;
this.smartButtonUser33.Visible = false;
this.smartButtonUser33.Click += new System.EventHandler(this.smartButtonUser33_Click);
//
// labelTitle2
@ -348,13 +353,13 @@
this.labelTitle2.BackPictureBox2 = null;
this.labelTitle2.BorderColor = System.Drawing.Color.Black;
this.labelTitle2.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitle2.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
this.labelTitle2.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.labelTitle2.ForeColor = System.Drawing.SystemColors.Control;
this.labelTitle2.InitVisible = true;
this.labelTitle2.LineSpacing = 0F;
this.labelTitle2.Location = new System.Drawing.Point(131, 76);
this.labelTitle2.Name = "labelTitle2";
this.labelTitle2.Size = new System.Drawing.Size(150, 37);
this.labelTitle2.Size = new System.Drawing.Size(121, 34);
this.labelTitle2.TabIndex = 19;
this.labelTitle2.Text = "ID";
this.labelTitle2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
@ -369,13 +374,13 @@
this.labelTitle3.BackPictureBox2 = null;
this.labelTitle3.BorderColor = System.Drawing.Color.Black;
this.labelTitle3.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitle3.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
this.labelTitle3.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.labelTitle3.ForeColor = System.Drawing.SystemColors.Control;
this.labelTitle3.InitVisible = true;
this.labelTitle3.LineSpacing = 0F;
this.labelTitle3.Location = new System.Drawing.Point(131, 121);
this.labelTitle3.Name = "labelTitle3";
this.labelTitle3.Size = new System.Drawing.Size(150, 37);
this.labelTitle3.Size = new System.Drawing.Size(121, 34);
this.labelTitle3.TabIndex = 20;
this.labelTitle3.Text = "Confirmation";
this.labelTitle3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;

View File

@ -195,10 +195,10 @@ namespace INT69DC_7C.DialogForms
this.ParentForm.SystemConfig.CurrentUser.ExpireId = userInfo.id_expire_period;
this.ParentForm.SystemConfig.CurrentUser.ExpirePassword = userInfo.password_expire_period;
Console.WriteLine(userInfo.password_register_date.GetDateTime());
Console.WriteLine(userInfo.id_login_date.GetDateTime());
Console.WriteLine(userInfo.id_expire_date.GetDateTime());
Console.WriteLine(userInfo.password_expire_date.GetDateTime());
//Console.WriteLine(userInfo.password_register_date.GetDateTime());
//Console.WriteLine(userInfo.id_login_date.GetDateTime());
//Console.WriteLine(userInfo.id_expire_date.GetDateTime());
//Console.WriteLine(userInfo.password_expire_date.GetDateTime());
DateTime time = DateTime.ParseExact(userInfo.password_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DatePasswordRegister = time;
@ -276,7 +276,7 @@ namespace INT69DC_7C.DialogForms
id = this.ParentForm.SystemConfig.CurrentUser.ID;
pass = this.textBoxID.Text;
Console.WriteLine(string.Format("UserManager_UserModifyPW : {0}, {1}", id, pass));
//Console.WriteLine(string.Format("UserManager_UserModifyPW : {0}, {1}", id, pass));
ret = UserManager.UserManager_UserModifyPWDirect(id, pass);
}
else
@ -284,7 +284,7 @@ namespace INT69DC_7C.DialogForms
id = this.ParentForm.ChildFormMainDisplay.ChangeID;
pass = this.textBoxID.Text;
Console.WriteLine(string.Format("UserManager_UserModifyPW : {0}, {1}", id, pass));
//Console.WriteLine(string.Format("UserManager_UserModifyPW : {0}, {1}", id, pass));
ret = UserManager.UserManager_UserModifyPWDirect(id, pass);
}
@ -343,7 +343,7 @@ namespace INT69DC_7C.DialogForms
else
{
// 비밀번호 변경 실패 시 메시지??
Console.WriteLine(ret.ToString());
//Console.WriteLine(ret.ToString());
DialogFormMessage myMsg = new DialogFormMessage(null, ret, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
}

View File

@ -398,8 +398,8 @@ namespace INT69DC_7C.Forms
{
this.Splash = new SmartX.SmartSplash();
this.Splash.CenterPosition = false;
this.Splash.Left = 462;
this.Splash.Top = 200;
this.Splash.Left = 480;
this.Splash.Top = 360;
this.Splash.AnimationInterval = 200;
this.Splash.LoadingImagePathname = "SmartLoading4";
this.Splash.Start();

View File

@ -917,7 +917,7 @@ namespace INT69DC_7C.Forms
expiryDay = user.GetPasswordExpiryDday();
if (expiryDay >= -10)
{
Console.WriteLine("password : " + expiryDay.ToString());
//Console.WriteLine("password : " + expiryDay.ToString());
DialogFormYesNo myDlg = new DialogFormYesNo(this.ParentForm.SystemConfig.Language, 2, expiryDay.ToString());
if (myDlg.ShowDialog() == DialogResult.Yes)
{
@ -935,9 +935,9 @@ namespace INT69DC_7C.Forms
UserManager.UserMgr_user_info_t userInfo = new UserManager.UserMgr_user_info_t();
UserManager.UserManager_UserLoginDirect(id, pass, ref userInfo);
Console.WriteLine(string.Format("status : {0}", userInfo.status));
Console.WriteLine("ID : " + id);
Console.WriteLine("pass : " + pass);
//Console.WriteLine(string.Format("status : {0}", userInfo.status));
//Console.WriteLine("ID : " + id);
//Console.WriteLine("pass : " + pass);
if (userInfo.status == 0)
{
@ -959,10 +959,10 @@ namespace INT69DC_7C.Forms
this.ParentForm.SystemConfig.CurrentUser.ExpireId = userInfo.id_expire_period;
this.ParentForm.SystemConfig.CurrentUser.ExpirePassword = userInfo.password_expire_period;
Console.WriteLine(userInfo.password_register_date.GetDateTime());
Console.WriteLine(userInfo.id_login_date.GetDateTime());
Console.WriteLine(userInfo.id_expire_date.GetDateTime());
Console.WriteLine(userInfo.password_expire_date.GetDateTime());
//Console.WriteLine(userInfo.password_register_date.GetDateTime());
//Console.WriteLine(userInfo.id_login_date.GetDateTime());
//Console.WriteLine(userInfo.id_expire_date.GetDateTime());
//Console.WriteLine(userInfo.password_expire_date.GetDateTime());
DateTime time = DateTime.ParseExact(userInfo.password_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DatePasswordRegister = time;
@ -2394,15 +2394,15 @@ namespace INT69DC_7C.Forms
}
public void CallBackUserListModifyInfoDataEvent(UserManager.UserMgr_user_info_t userInfo)
{
Console.WriteLine("status : " + userInfo.status.ToString());
Console.WriteLine("ID : " + userInfo.user_id);
Console.WriteLine("pass : " + userInfo.user_pw);
//Console.WriteLine("status : " + userInfo.status.ToString());
//Console.WriteLine("ID : " + userInfo.user_id);
//Console.WriteLine("pass : " + userInfo.user_pw);
if (userInfo.status == 0)
{
Console.WriteLine("Group : " + this.ParentForm.SystemConfig.CurrentUser.Group.ToString());
//Console.WriteLine("Group : " + this.ParentForm.SystemConfig.CurrentUser.Group.ToString());
if (this.ParentForm.SystemConfig.CurrentUser.Group == DataStore.UserGroup.LogOut)
{
Console.WriteLine("DirectLogin");
//Console.WriteLine("DirectLogin");
this.DirectLogin(userInfo.user_id, userInfo.user_pw);
}
else

View File

@ -8286,80 +8286,80 @@
XTesb3QPLh88M+QwdP6m681Lt7xuXbu94vbgcOjwnZHokdE77DtTd1PuvriXeW/h/sYH6AdFD6UeVjxS
fNTws+7PbaOWo6fHXMf6Hwc/vj/OGn/2S8Yv7ycKnpCfVEyqTDZPmU2dmnafvvF05dOJZ+nPFmYKf5X+
tfa5zvMffnP8rX82YnbiBf/Fp99LXsq/PPRq2aueuYC5R69TXy/MF72Rf3P4LeNt37vwd5MLWe+x7ys/
6H7o/ujz8cGn1E+f/gUDmPP8usTo0wAAAAlwSFlzAAAOxAAADsQBlSsOGwAAEQJJREFUeF7tm+lbVscZ
h/kP0rSJJi5R06Rt0vZbttZv7YeYNotRk/SD2qgJixtoo1EaRTQgiIKAgFGrqFXcERMRWVzYUXZRcEti
XKNZ+xf0x/vM+zDMe3jPgMic4zX3NZfXnJk5c54zN8+cc0Qj8nLzlJKzIefTTz9dtGjRnDlzoqKiIi1G
iY6Onj9//scff7w6eXVuTq4iC0VVuHz58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b5
+QOAQ0SdFVLX4KAZMJU4HjisMD8/XzRJcIYhBUVTGIsWLaIxgwgDH0rnosJ1Wh99kG/Iuvr6eqvQQSHM
US9AkuEOivHMzJkz5Ru24wyRYW1Bgb5QSIHu2rULdV8oBGh3fBaVQQBbt24VJwyEoqKi0JLkU4Vm87RC
GVwzRS+OBwXNMLjlI/B9okmwiKLJCQxDRgZTrz8ZGRn0jbx3WOdAJzSm0HK/6KdwwYIF33zzTWVlJZ5z
Dlt8AvINWWcV+hir0PdYhb7HQWFFRQVukiUWn4B8Q9bV1dVZhX7FKvQ9VqHvcVBYXl6Om+Qhi09AviHr
amtrrUK/YhX6HmeFaBX9Fs/joJAeZ0S/xfPQ48yJEydiYmKiZs2adfnyZVZYbPE80ARZUAhr8fHxUQkJ
CYFAoLq6GmKtQl+Al4rS0lIoKywsXLhwYVTy0mTUGhsbjxw5Qk80YqDFk0AQNEHW8ePH09PTV65cGZWT
nTNv3jwkIhITiQjDYqzFe8AfpyB8xcXF5eXmReXn5S/5ZMmOHTvweEPPpRhkc9GDkD+kGW6BeJBJTU1N
Tk6GvqDCDTkbYmNjy8rK6H/cYxBS1Yr0DiQPUpB/EIQtdNOmTUlJSXAnFKKkp6XPnj0bQ9FdVVWFrRaj
kZE4zWIWWADQASnYP5F/W7duxbtEVmZWP4VBi+np6MjOzsY4pCPttnCO3dViECiACOhAduEQ+yfyL2N9
Bou7o5DK0qVLkY4ZGRn79u2jnIV2/GkxAi0+8g9vDWlpabjfpaSkKMpUhSi5G3JXLF/x8ccfw2W0xTTY
GvH+jve/1JWpeP5UZOXn5f8f0r0d8IymYwQAAAAASUVORK5CYII=
</value>
</data>
<data name="buttonOptionSetting.DisableImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

View File

@ -185,7 +185,7 @@ namespace INT69DC_7C.Forms
string code = "", message1 = "", message2 = "", detail = "";
bool isNewReg = false;
if (this.listBoxUserList.SelectItemIndex == -1)
if (this.listBoxUserList.SelectedIndex == -1)
isNewReg = true;
else
isNewReg = false;
@ -337,7 +337,7 @@ namespace INT69DC_7C.Forms
private void UserNew()
{
this.listBoxUserList.SelectedIndexChanged -= new EventHandler(this.listBoxUserList_SelectedIndexChanged);
this.listBoxUserList.SelectItemIndex = -1;
this.listBoxUserList.SelectedIndex = -1;
this.listBoxUserList.SelectedIndexChanged += new EventHandler(this.listBoxUserList_SelectedIndexChanged);
this.UpdateInitializeUserDisplay(this.ParentForm.SystemConfig);
@ -511,7 +511,7 @@ namespace INT69DC_7C.Forms
this.labelAutomaticLogoutTime.Text = system.AutomaticLogout.ToString();
this.listBoxUserList.SelectedIndexChanged -= new EventHandler(this.listBoxUserList_SelectedIndexChanged);
this.listBoxUserList.SelectItemIndex = -1;
this.listBoxUserList.SelectedIndex = -1;
this.listBoxUserList.SelectedIndexChanged += new EventHandler(this.listBoxUserList_SelectedIndexChanged);
}
private void UpdateCurrentUserItem(UserManager.UserMgr_user_list_t item)
@ -537,10 +537,10 @@ namespace INT69DC_7C.Forms
else
this.SelectedUserItem.Group = DataStore.UserGroup.None;
Console.WriteLine(item.password_register_date.GetDateTime());
Console.WriteLine(item.id_login_date.GetDateTime());
Console.WriteLine(item.id_expire_date.GetDateTime());
Console.WriteLine(item.password_expire_date.GetDateTime());
//Console.WriteLine(item.password_register_date.GetDateTime());
//Console.WriteLine(item.id_login_date.GetDateTime());
//Console.WriteLine(item.id_expire_date.GetDateTime());
//Console.WriteLine(item.password_expire_date.GetDateTime());
DateTime time = DateTime.ParseExact(item.password_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.SelectedUserItem.DatePasswordRegister = time;
@ -579,10 +579,10 @@ namespace INT69DC_7C.Forms
else if (item.active_level == 10)
this.SelectedUserItem.Group = DataStore.UserGroup.Developer;
Console.WriteLine(item.password_register_date.GetDateTime());
Console.WriteLine(item.id_login_date.GetDateTime());
Console.WriteLine(item.id_expire_date.GetDateTime());
Console.WriteLine(item.password_expire_date.GetDateTime());
//Console.WriteLine(item.password_register_date.GetDateTime());
//Console.WriteLine(item.id_login_date.GetDateTime());
//Console.WriteLine(item.id_expire_date.GetDateTime());
//Console.WriteLine(item.password_expire_date.GetDateTime());
DateTime time = DateTime.ParseExact(item.password_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.SelectedUserItem.DatePasswordRegister = time;
@ -678,9 +678,9 @@ namespace INT69DC_7C.Forms
}
private void UpdateUserListBoxDisplay(List<string> items)
{
this.listBoxUserList.ClearAll();
this.listBoxUserList.Items.Clear();
for (int i = 1; i < items.Count; i++)
this.listBoxUserList.AddItem(items[i]);
this.listBoxUserList.Items.Add(items[i]);
}
private void UpdateAccessRightDisplay(int level)
{
@ -780,7 +780,7 @@ namespace INT69DC_7C.Forms
this.ParentForm.ListDllUserName.Add(user.user_id);
this.UpdateUserListBoxDisplay(this.ParentForm.ListDllUserName);
this.listBoxUserList.SelectItemIndex = this.listBoxUserList.ItemCount - 1;
this.listBoxUserList.SelectedIndex = this.listBoxUserList.Items.Count - 1;
this.buttonDelete.Visible = true;
this.buttonSave.Visible = false;
@ -840,7 +840,7 @@ namespace INT69DC_7C.Forms
this.ParentForm.SetTrackingHistoryData(DataStore.TrackingOperation.UserEditor, detail);
// 메시지 박스 교체
UserManager.UserManager_GetUserListID(this.listBoxUserList.Items[this.listBoxUserList.SelectItemIndex]);
UserManager.UserManager_GetUserListID(this.listBoxUserList.SelectedItem.ToString());
DialogFormMessage dlg = new DialogFormMessage(DataStore.MessageBoxIcon.Asterisk, code, message1, message2, 0);
dlg.ShowDialog();
@ -859,7 +859,7 @@ namespace INT69DC_7C.Forms
this.SelectedUserItem.IsLockAccount = user.flock_status_account == 0 ? false : true;
this.SelectedUserItem.IsLockPassword = user.flock_status_password == 0 ? false : true;
UserManager.UserManager_GetUserListID(this.listBoxUserList.Items[this.listBoxUserList.SelectItemIndex]);
UserManager.UserManager_GetUserListID(this.SelectedUserItem.ID);
}
}
public void CallBackUserListDeleteDataEvent(UserManager.UserMgr_user_del_t user)
@ -988,10 +988,10 @@ namespace INT69DC_7C.Forms
if (this.listBoxUserList.Items.Count <= 1)
return;
if (this.listBoxUserList.SelectItemIndex <= 0)
if (this.listBoxUserList.SelectedIndex <= 0)
return;
string id = this.listBoxUserList.Items[this.listBoxUserList.SelectItemIndex];
string id = this.listBoxUserList.Items[this.listBoxUserList.SelectedIndex].ToString();
UserManager.UserManager_UserDel(id);
}
@ -1004,7 +1004,7 @@ namespace INT69DC_7C.Forms
if (this.listBoxUserList.Items.Count <= 1)
return;
if (this.listBoxUserList.SelectItemIndex <= 0)
if (this.listBoxUserList.SelectedIndex <= 0)
return;
// 메시지
@ -1240,16 +1240,16 @@ namespace INT69DC_7C.Forms
private void listBoxUserList_SelectedIndexChanged(object sender, EventArgs e)
{
int index = this.listBoxUserList.SelectItemIndex;
int index = this.listBoxUserList.SelectedIndex;
if (index != -1)
{
if (this.ParentForm.SystemConfig.CurrentUser.ID == this.listBoxUserList.Items[index])
if (this.ParentForm.SystemConfig.CurrentUser.ID == this.listBoxUserList.Items[index].ToString())
this.buttonDelete.Visible = false;
else
this.buttonDelete.Visible = true;
UserManager.UserManager_GetUserListID(this.listBoxUserList.Items[index]);
UserManager.UserManager_GetUserListID(this.listBoxUserList.SelectedItem.ToString());
}
}
#endregion

View File

@ -32,8 +32,8 @@
this.smartForm1 = new SmartX.SmartForm();
this.labelTitle = new SmartX.SmartLabel();
this.buttonBack = new SmartX.SmartButton();
this.listBoxUserList = new SmartX.SmartListBox();
this.smartGroupBox1 = new SmartX.SmartGroupBox();
this.buttonResetPW = new SmartX.SmartButton();
this.comboBoxAccessRight = new System.Windows.Forms.ComboBox();
this.labelAccessRightAdmin = new SmartX.SmartLabel();
this.labelAutoLogoutWarning = new SmartX.SmartLabel();
@ -83,7 +83,7 @@
this.labelID = new SmartX.SmartLabel();
this.labelTitleID = new SmartX.SmartLabel();
this.buttonGroupEditor = new SmartX.SmartButton();
this.buttonResetPW = new SmartX.SmartButton();
this.listBoxUserList = new System.Windows.Forms.ListBox();
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit();
this.smartGroupBox1.SuspendLayout();
this.smartGroupBox2.SuspendLayout();
@ -111,7 +111,7 @@
this.labelTitle.BackPictureBox2 = null;
this.labelTitle.BorderColor = System.Drawing.Color.Black;
this.labelTitle.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitle.Font = new System.Drawing.Font("New Gulim", 35F, System.Drawing.FontStyle.Bold);
this.labelTitle.Font = new System.Drawing.Font("새굴림", 35F, System.Drawing.FontStyle.Bold);
this.labelTitle.InitVisible = true;
this.labelTitle.LineSpacing = 0F;
this.labelTitle.Location = new System.Drawing.Point(199, 7);
@ -154,41 +154,6 @@
this.buttonBack.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonBack.UpImage")));
this.buttonBack.Click += new System.EventHandler(this.buttonBack_Click);
//
// listBoxUserList
//
this.listBoxUserList.BackColor = System.Drawing.Color.White;
this.listBoxUserList.BackPictureBox = null;
this.listBoxUserList.BackPictureBox1 = null;
this.listBoxUserList.BackPictureBox2 = null;
this.listBoxUserList.ColumnAlign = SmartX.SmartListBox.COLUMNALIGNS.CENTER;
this.listBoxUserList.ColumnDelimiter = '\0';
this.listBoxUserList.ColumnOffsets = null;
this.listBoxUserList.Font = new System.Drawing.Font("Arial", 24F, System.Drawing.FontStyle.Bold);
this.listBoxUserList.FontColor = System.Drawing.Color.Black;
this.listBoxUserList.InitVisible = true;
this.listBoxUserList.ItemAddOrder = SmartX.SmartListBox.ITEMADDORDERS.BOTTOMADD;
this.listBoxUserList.ItemOffsetGap = 0;
this.listBoxUserList.ItemOffsetX = 0;
this.listBoxUserList.ItemOffsetY = 0;
this.listBoxUserList.Location = new System.Drawing.Point(23, 101);
this.listBoxUserList.MouseMoveEventSpace = 3;
this.listBoxUserList.MouseMoveSpace = 10;
this.listBoxUserList.Name = "listBoxUserList";
this.listBoxUserList.OutLineColor = System.Drawing.SystemColors.ControlText;
this.listBoxUserList.SelectColor = System.Drawing.Color.DarkBlue;
this.listBoxUserList.SelectFilled = true;
this.listBoxUserList.SelectFontColor = System.Drawing.Color.White;
this.listBoxUserList.SelectItemIndex = -1;
this.listBoxUserList.SeparationlineColor1 = System.Drawing.Color.Gray;
this.listBoxUserList.SeparationlineColor2 = System.Drawing.Color.LightGray;
this.listBoxUserList.SeparationLineStyle = SmartX.SmartListBox.SEPARATIONLINETYPES.None;
this.listBoxUserList.SeparationlineVisibleBottom = true;
this.listBoxUserList.SeparationlineVisibleTop = true;
this.listBoxUserList.Size = new System.Drawing.Size(350, 544);
this.listBoxUserList.TabIndex = 187;
this.listBoxUserList.Text = "smartListBox1";
this.listBoxUserList.SelectedIndexChanged += new System.EventHandler(this.listBoxUserList_SelectedIndexChanged);
//
// smartGroupBox1
//
this.smartGroupBox1.BackColor = System.Drawing.Color.White;
@ -236,9 +201,41 @@
this.smartGroupBox1.TabIndex = 192;
this.smartGroupBox1.TextColor = System.Drawing.Color.Black;
//
// buttonResetPW
//
this.buttonResetPW.BackPictureBox = null;
this.buttonResetPW.BackPictureBox1 = null;
this.buttonResetPW.BackPictureBox2 = null;
this.buttonResetPW.ButtonColor = System.Drawing.Color.Gainsboro;
this.buttonResetPW.ButtonImageAutoSize = true;
this.buttonResetPW.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonResetPW.DisableImage = null;
this.buttonResetPW.DownImage = null;
this.buttonResetPW.GroupID = 0;
this.buttonResetPW.InitVisible = true;
this.buttonResetPW.Location = new System.Drawing.Point(516, 120);
this.buttonResetPW.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonResetPW.Name = "buttonResetPW";
this.buttonResetPW.NestedClickEventPrevent = false;
this.buttonResetPW.OutlinePixel = 1;
this.buttonResetPW.RepeatInterval = 200;
this.buttonResetPW.RepeatIntervalAccelerate = null;
this.buttonResetPW.SafeInterval = 200;
this.buttonResetPW.Size = new System.Drawing.Size(80, 30);
this.buttonResetPW.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonResetPW.TabIndex = 243;
this.buttonResetPW.Text = "Reset";
this.buttonResetPW.TextColor = System.Drawing.Color.Black;
this.buttonResetPW.TextDownColor = System.Drawing.Color.White;
this.buttonResetPW.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonResetPW.TextLocation = new System.Drawing.Point(0, 0);
this.buttonResetPW.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonResetPW.UpImage = null;
this.buttonResetPW.Click += new System.EventHandler(this.buttonResetPW_Click);
//
// comboBoxAccessRight
//
this.comboBoxAccessRight.Font = new System.Drawing.Font("New Gulim", 15F, System.Drawing.FontStyle.Regular);
this.comboBoxAccessRight.Font = new System.Drawing.Font("새굴림", 15F, System.Drawing.FontStyle.Regular);
this.comboBoxAccessRight.Location = new System.Drawing.Point(219, 156);
this.comboBoxAccessRight.Name = "comboBoxAccessRight";
this.comboBoxAccessRight.Size = new System.Drawing.Size(291, 29);
@ -447,7 +444,7 @@
this.labelStatusExpiryPassword.BackPictureBox2 = null;
this.labelStatusExpiryPassword.BorderColor = System.Drawing.Color.Black;
this.labelStatusExpiryPassword.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStatusExpiryPassword.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStatusExpiryPassword.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStatusExpiryPassword.ForeColor = System.Drawing.Color.DarkRed;
this.labelStatusExpiryPassword.InitVisible = true;
this.labelStatusExpiryPassword.LineSpacing = 0F;
@ -468,7 +465,7 @@
this.labelStatusExpiryAccount.BackPictureBox2 = null;
this.labelStatusExpiryAccount.BorderColor = System.Drawing.Color.Black;
this.labelStatusExpiryAccount.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelStatusExpiryAccount.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
this.labelStatusExpiryAccount.Font = new System.Drawing.Font("새굴림", 10F, System.Drawing.FontStyle.Bold);
this.labelStatusExpiryAccount.ForeColor = System.Drawing.Color.DarkRed;
this.labelStatusExpiryAccount.InitVisible = true;
this.labelStatusExpiryAccount.LineSpacing = 0F;
@ -1238,37 +1235,13 @@
this.buttonGroupEditor.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonGroupEditor.UpImage")));
this.buttonGroupEditor.Click += new System.EventHandler(this.buttonGroupEditor_Click);
//
// buttonResetPW
// listBoxUserList
//
this.buttonResetPW.BackPictureBox = null;
this.buttonResetPW.BackPictureBox1 = null;
this.buttonResetPW.BackPictureBox2 = null;
this.buttonResetPW.ButtonColor = System.Drawing.Color.Gainsboro;
this.buttonResetPW.ButtonImageAutoSize = true;
this.buttonResetPW.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonResetPW.DisableImage = null;
this.buttonResetPW.DownImage = null;
this.buttonResetPW.GroupID = 0;
this.buttonResetPW.InitVisible = true;
this.buttonResetPW.Location = new System.Drawing.Point(516, 120);
this.buttonResetPW.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonResetPW.Name = "buttonResetPW";
this.buttonResetPW.NestedClickEventPrevent = false;
this.buttonResetPW.OutlinePixel = 1;
this.buttonResetPW.RepeatInterval = 200;
this.buttonResetPW.RepeatIntervalAccelerate = null;
this.buttonResetPW.SafeInterval = 200;
this.buttonResetPW.Size = new System.Drawing.Size(80, 30);
this.buttonResetPW.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonResetPW.TabIndex = 243;
this.buttonResetPW.Text = "Reset";
this.buttonResetPW.TextColor = System.Drawing.Color.Black;
this.buttonResetPW.TextDownColor = System.Drawing.Color.White;
this.buttonResetPW.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonResetPW.TextLocation = new System.Drawing.Point(0, 0);
this.buttonResetPW.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonResetPW.UpImage = null;
this.buttonResetPW.Click += new System.EventHandler(this.buttonResetPW_Click);
this.listBoxUserList.Font = new System.Drawing.Font("새굴림", 20F, System.Drawing.FontStyle.Bold);
this.listBoxUserList.Location = new System.Drawing.Point(16, 101);
this.listBoxUserList.Name = "listBoxUserList";
this.listBoxUserList.Size = new System.Drawing.Size(357, 560);
this.listBoxUserList.TabIndex = 211;
//
// FormUserEditor
//
@ -1276,9 +1249,9 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(1024, 768);
this.Controls.Add(this.listBoxUserList);
this.Controls.Add(this.buttonGroupEditor);
this.Controls.Add(this.smartGroupBox1);
this.Controls.Add(this.listBoxUserList);
this.Controls.Add(this.buttonBack);
this.Controls.Add(this.labelTitle);
this.Controls.Add(this.smartForm1);
@ -1296,7 +1269,6 @@
private SmartX.SmartForm smartForm1;
private SmartX.SmartLabel labelTitle;
private SmartX.SmartButton buttonBack;
private SmartX.SmartListBox listBoxUserList;
private SmartX.SmartGroupBox smartGroupBox1;
private SmartX.SmartLabel labelTitleID;
private SmartX.SmartLabel labelExpiryDateOfAccount;
@ -1348,5 +1320,6 @@
public SmartX.SmartLabel labelAccessRightAdmin;
private SmartX.SmartLabel labelEquipment;
private SmartX.SmartButton buttonResetPW;
public System.Windows.Forms.ListBox listBoxUserList;
}
}

View File

@ -25,6 +25,8 @@
PW 초기값 : Password12!
- 모터설정 - 모터 테스트(COM1, RS485)
'정회전' 동작 안하는 버그 수정
- Level1, 2 default 그룹 bool값 적용
- 데이터뷰어 - 파일 선택창에 필터 추가
@ Ver 10.13.0 by LSJ
- 2023.08.07