DialogFormLogOn1

master
DESKTOP-999R8N3\CJY 2023-09-12 14:36:48 +09:00
parent d415cba571
commit a64d29bd0c
4 changed files with 0 additions and 1997 deletions

View File

@ -1,462 +0,0 @@
namespace INT69DC_7C.DialogForms
{
partial class DialogFormLogOn1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DialogFormLogOn1));
this.smartForm1 = new SmartX.SmartForm();
this.smartKeyboard = new SmartX.SmartKeyboard();
this.textBoxID = new System.Windows.Forms.TextBox();
this.textBoxPassword = new System.Windows.Forms.TextBox();
this.buttonLogon = new SmartX.SmartButton();
this.buttonCancel = new SmartX.SmartButton();
this.smartButton1 = new SmartX.SmartButton();
this.smartButtonAdmin = new SmartX.SmartButton();
this.smartButtonIUser11 = new SmartX.SmartButton();
this.smartButtonUser22 = new SmartX.SmartButton();
this.smartButtonUser33 = new SmartX.SmartButton();
this.pictureBoxImage = new System.Windows.Forms.PictureBox();
this.labelTitlePassword = new SmartX.SmartLabel();
this.labelTitleID = new SmartX.SmartLabel();
this.labelTitle = new SmartX.SmartLabel();
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).BeginInit();
this.SuspendLayout();
//
// smartForm1
//
this.smartForm1.CenterLocation = false;
this.smartForm1.Image = ((System.Drawing.Image)(resources.GetObject("smartForm1.Image")));
this.smartForm1.LCDDirection = SmartX.SmartForm.LCDDIRECTIONS.HORIZONTAL;
this.smartForm1.LCDSize = SmartX.SmartForm.LCDRESOLUTION.CUSTOMIZING;
this.smartForm1.Location = new System.Drawing.Point(0, 0);
this.smartForm1.MainForm = null;
this.smartForm1.Mode = SmartX.SmartForm.RUNMODE.RUNTIME;
this.smartForm1.MouseCursor = SmartX.SmartForm.OnOff.OFF;
this.smartForm1.Name = "smartForm1";
this.smartForm1.Size = new System.Drawing.Size(710, 470);
this.smartForm1.SpecialFunctionClickPointSize = 100;
this.smartForm1.SuspendLayoutInterval = 1;
//
// smartKeyboard
//
this.smartKeyboard.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
this.smartKeyboard.ControlKeyDisable = false;
this.smartKeyboard.DesignMinimize = false;
this.smartKeyboard.FontColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.smartKeyboard.HanYoungKeyDisable = true;
this.smartKeyboard.KeyboardType = SmartX.SmartKeyboard.KEYBOARDTYPES.NORMAL;
this.smartKeyboard.KeyFillColor = System.Drawing.Color.Black;
this.smartKeyboard.KeyOutLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.smartKeyboard.KeyOutLineWidth = 1;
this.smartKeyboard.KeyPressImage1 = null;
this.smartKeyboard.KeyPressImage2 = null;
this.smartKeyboard.KeyPressImage3 = null;
this.smartKeyboard.KeyUpImage1 = null;
this.smartKeyboard.KeyUpImage2 = null;
this.smartKeyboard.KeyUpImage3 = null;
this.smartKeyboard.LeftMargin = 5;
this.smartKeyboard.Location = new System.Drawing.Point(12, 191);
this.smartKeyboard.Name = "smartKeyboard";
this.smartKeyboard.PressFontColor = System.Drawing.Color.Olive;
this.smartKeyboard.PressKeyFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.smartKeyboard.PressKeyOutLineColor = System.Drawing.Color.Green;
this.smartKeyboard.RoundedCorners = true;
this.smartKeyboard.SetBackimage = null;
this.smartKeyboard.Size = new System.Drawing.Size(692, 276);
this.smartKeyboard.TabIndex = 10;
this.smartKeyboard.TABKeyDisable = false;
this.smartKeyboard.TargetInputObject = null;
this.smartKeyboard.Text = "smartKeyboard1";
this.smartKeyboard.ThemeStyle = SmartX.SmartKeyboard.KEYBOARDTHEMESTYLE.CUSTOMIZED_LITE;
this.smartKeyboard.TopMargin = 5;
this.smartKeyboard.OnXKeyClick += new System.EventHandler(this.smartKeyboard_OnXKeyClick);
this.smartKeyboard.Click += new System.EventHandler(this.smartKeyboard_Click);
//
// textBoxID
//
this.textBoxID.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Regular);
this.textBoxID.Location = new System.Drawing.Point(255, 81);
this.textBoxID.MaxLength = 20;
this.textBoxID.Name = "textBoxID";
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", 18F, System.Drawing.FontStyle.Regular);
this.textBoxPassword.Location = new System.Drawing.Point(255, 126);
this.textBoxPassword.MaxLength = 20;
this.textBoxPassword.Name = "textBoxPassword";
this.textBoxPassword.PasswordChar = '*';
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);
//
// buttonLogon
//
this.buttonLogon.BackPictureBox = null;
this.buttonLogon.BackPictureBox1 = null;
this.buttonLogon.BackPictureBox2 = null;
this.buttonLogon.ButtonColor = System.Drawing.Color.Gray;
this.buttonLogon.ButtonImageAutoSize = true;
this.buttonLogon.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonLogon.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonLogon.DisableImage")));
this.buttonLogon.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonLogon.DownImage")));
this.buttonLogon.GroupID = 0;
this.buttonLogon.InitVisible = true;
this.buttonLogon.Location = new System.Drawing.Point(512, 82);
this.buttonLogon.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonLogon.Name = "buttonLogon";
this.buttonLogon.NestedClickEventPrevent = false;
this.buttonLogon.OutlinePixel = 1;
this.buttonLogon.RepeatInterval = 200;
this.buttonLogon.RepeatIntervalAccelerate = null;
this.buttonLogon.SafeInterval = 200;
this.buttonLogon.Size = new System.Drawing.Size(75, 75);
this.buttonLogon.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonLogon.TabIndex = 6;
this.buttonLogon.TextColor = System.Drawing.Color.Black;
this.buttonLogon.TextDownColor = System.Drawing.Color.White;
this.buttonLogon.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonLogon.TextLocation = new System.Drawing.Point(0, 0);
this.buttonLogon.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonLogon.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonLogon.UpImage")));
this.buttonLogon.Click += new System.EventHandler(this.buttonLogOn_Click);
//
// buttonCancel
//
this.buttonCancel.BackPictureBox = null;
this.buttonCancel.BackPictureBox1 = null;
this.buttonCancel.BackPictureBox2 = null;
this.buttonCancel.ButtonColor = System.Drawing.Color.Gray;
this.buttonCancel.ButtonImageAutoSize = true;
this.buttonCancel.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.buttonCancel.DisableImage = ((System.Drawing.Image)(resources.GetObject("buttonCancel.DisableImage")));
this.buttonCancel.DownImage = ((System.Drawing.Image)(resources.GetObject("buttonCancel.DownImage")));
this.buttonCancel.GroupID = 0;
this.buttonCancel.InitVisible = true;
this.buttonCancel.Location = new System.Drawing.Point(593, 82);
this.buttonCancel.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.NestedClickEventPrevent = false;
this.buttonCancel.OutlinePixel = 1;
this.buttonCancel.RepeatInterval = 200;
this.buttonCancel.RepeatIntervalAccelerate = null;
this.buttonCancel.SafeInterval = 200;
this.buttonCancel.Size = new System.Drawing.Size(75, 75);
this.buttonCancel.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.buttonCancel.TabIndex = 7;
this.buttonCancel.TextColor = System.Drawing.Color.Black;
this.buttonCancel.TextDownColor = System.Drawing.Color.White;
this.buttonCancel.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.buttonCancel.TextLocation = new System.Drawing.Point(0, 0);
this.buttonCancel.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.buttonCancel.UpImage = ((System.Drawing.Image)(resources.GetObject("buttonCancel.UpImage")));
this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
//
// smartButton1
//
this.smartButton1.BackPictureBox = null;
this.smartButton1.BackPictureBox1 = null;
this.smartButton1.BackPictureBox2 = null;
this.smartButton1.ButtonColor = System.Drawing.Color.Gray;
this.smartButton1.ButtonImageAutoSize = true;
this.smartButton1.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.smartButton1.DisableImage = null;
this.smartButton1.DownImage = null;
this.smartButton1.GroupID = 0;
this.smartButton1.InitVisible = true;
this.smartButton1.Location = new System.Drawing.Point(512, 30);
this.smartButton1.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.smartButton1.Name = "smartButton1";
this.smartButton1.NestedClickEventPrevent = false;
this.smartButton1.OutlinePixel = 1;
this.smartButton1.RepeatInterval = 200;
this.smartButton1.RepeatIntervalAccelerate = null;
this.smartButton1.SafeInterval = 200;
this.smartButton1.Size = new System.Drawing.Size(75, 43);
this.smartButton1.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.smartButton1.TabIndex = 12;
this.smartButton1.Text = "Intech";
this.smartButton1.TextColor = System.Drawing.Color.Black;
this.smartButton1.TextDownColor = System.Drawing.Color.White;
this.smartButton1.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.smartButton1.TextLocation = new System.Drawing.Point(0, 0);
this.smartButton1.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButton1.UpImage = null;
this.smartButton1.Click += new System.EventHandler(this.smartButton1_Click);
//
// smartButtonAdmin
//
this.smartButtonAdmin.BackPictureBox = null;
this.smartButtonAdmin.BackPictureBox1 = null;
this.smartButtonAdmin.BackPictureBox2 = null;
this.smartButtonAdmin.ButtonColor = System.Drawing.Color.Gray;
this.smartButtonAdmin.ButtonImageAutoSize = true;
this.smartButtonAdmin.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.smartButtonAdmin.DisableImage = null;
this.smartButtonAdmin.DownImage = null;
this.smartButtonAdmin.GroupID = 0;
this.smartButtonAdmin.InitVisible = true;
this.smartButtonAdmin.Location = new System.Drawing.Point(593, 30);
this.smartButtonAdmin.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.smartButtonAdmin.Name = "smartButtonAdmin";
this.smartButtonAdmin.NestedClickEventPrevent = false;
this.smartButtonAdmin.OutlinePixel = 1;
this.smartButtonAdmin.RepeatInterval = 200;
this.smartButtonAdmin.RepeatIntervalAccelerate = null;
this.smartButtonAdmin.SafeInterval = 200;
this.smartButtonAdmin.Size = new System.Drawing.Size(75, 43);
this.smartButtonAdmin.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.smartButtonAdmin.TabIndex = 14;
this.smartButtonAdmin.Text = "admin";
this.smartButtonAdmin.TextColor = System.Drawing.Color.Black;
this.smartButtonAdmin.TextDownColor = System.Drawing.Color.White;
this.smartButtonAdmin.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.smartButtonAdmin.TextLocation = new System.Drawing.Point(0, 0);
this.smartButtonAdmin.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButtonAdmin.UpImage = null;
this.smartButtonAdmin.Click += new System.EventHandler(this.smartButtonAdmin_Click);
//
// smartButtonIUser11
//
this.smartButtonIUser11.BackPictureBox = null;
this.smartButtonIUser11.BackPictureBox1 = null;
this.smartButtonIUser11.BackPictureBox2 = null;
this.smartButtonIUser11.ButtonColor = System.Drawing.Color.Gray;
this.smartButtonIUser11.ButtonImageAutoSize = true;
this.smartButtonIUser11.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.smartButtonIUser11.DisableImage = null;
this.smartButtonIUser11.DownImage = null;
this.smartButtonIUser11.GroupID = 0;
this.smartButtonIUser11.InitVisible = true;
this.smartButtonIUser11.Location = new System.Drawing.Point(173, 30);
this.smartButtonIUser11.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.smartButtonIUser11.Name = "smartButtonIUser11";
this.smartButtonIUser11.NestedClickEventPrevent = false;
this.smartButtonIUser11.OutlinePixel = 1;
this.smartButtonIUser11.RepeatInterval = 200;
this.smartButtonIUser11.RepeatIntervalAccelerate = null;
this.smartButtonIUser11.SafeInterval = 200;
this.smartButtonIUser11.Size = new System.Drawing.Size(75, 43);
this.smartButtonIUser11.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.smartButtonIUser11.TabIndex = 15;
this.smartButtonIUser11.Text = "user11";
this.smartButtonIUser11.TextColor = System.Drawing.Color.Black;
this.smartButtonIUser11.TextDownColor = System.Drawing.Color.White;
this.smartButtonIUser11.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.smartButtonIUser11.TextLocation = new System.Drawing.Point(0, 0);
this.smartButtonIUser11.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButtonIUser11.UpImage = null;
this.smartButtonIUser11.Click += new System.EventHandler(this.smartButtonIUser11_Click);
//
// smartButtonUser22
//
this.smartButtonUser22.BackPictureBox = null;
this.smartButtonUser22.BackPictureBox1 = null;
this.smartButtonUser22.BackPictureBox2 = null;
this.smartButtonUser22.ButtonColor = System.Drawing.Color.Gray;
this.smartButtonUser22.ButtonImageAutoSize = true;
this.smartButtonUser22.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.smartButtonUser22.DisableImage = null;
this.smartButtonUser22.DownImage = null;
this.smartButtonUser22.GroupID = 0;
this.smartButtonUser22.InitVisible = true;
this.smartButtonUser22.Location = new System.Drawing.Point(254, 30);
this.smartButtonUser22.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.smartButtonUser22.Name = "smartButtonUser22";
this.smartButtonUser22.NestedClickEventPrevent = false;
this.smartButtonUser22.OutlinePixel = 1;
this.smartButtonUser22.RepeatInterval = 200;
this.smartButtonUser22.RepeatIntervalAccelerate = null;
this.smartButtonUser22.SafeInterval = 200;
this.smartButtonUser22.Size = new System.Drawing.Size(75, 43);
this.smartButtonUser22.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.smartButtonUser22.TabIndex = 16;
this.smartButtonUser22.Text = "user22";
this.smartButtonUser22.TextColor = System.Drawing.Color.Black;
this.smartButtonUser22.TextDownColor = System.Drawing.Color.White;
this.smartButtonUser22.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.smartButtonUser22.TextLocation = new System.Drawing.Point(0, 0);
this.smartButtonUser22.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButtonUser22.UpImage = null;
this.smartButtonUser22.Click += new System.EventHandler(this.smartButtonUser22_Click);
//
// smartButtonUser33
//
this.smartButtonUser33.BackPictureBox = null;
this.smartButtonUser33.BackPictureBox1 = null;
this.smartButtonUser33.BackPictureBox2 = null;
this.smartButtonUser33.ButtonColor = System.Drawing.Color.Gray;
this.smartButtonUser33.ButtonImageAutoSize = true;
this.smartButtonUser33.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
this.smartButtonUser33.DisableImage = null;
this.smartButtonUser33.DownImage = null;
this.smartButtonUser33.GroupID = 0;
this.smartButtonUser33.InitVisible = true;
this.smartButtonUser33.Location = new System.Drawing.Point(335, 30);
this.smartButtonUser33.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
this.smartButtonUser33.Name = "smartButtonUser33";
this.smartButtonUser33.NestedClickEventPrevent = false;
this.smartButtonUser33.OutlinePixel = 1;
this.smartButtonUser33.RepeatInterval = 200;
this.smartButtonUser33.RepeatIntervalAccelerate = null;
this.smartButtonUser33.SafeInterval = 200;
this.smartButtonUser33.Size = new System.Drawing.Size(75, 43);
this.smartButtonUser33.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
this.smartButtonUser33.TabIndex = 17;
this.smartButtonUser33.Text = "user33";
this.smartButtonUser33.TextColor = System.Drawing.Color.Black;
this.smartButtonUser33.TextDownColor = System.Drawing.Color.White;
this.smartButtonUser33.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
this.smartButtonUser33.TextLocation = new System.Drawing.Point(0, 0);
this.smartButtonUser33.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
this.smartButtonUser33.UpImage = null;
this.smartButtonUser33.Click += new System.EventHandler(this.smartButtonUser33_Click);
//
// pictureBoxImage
//
this.pictureBoxImage.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxImage.Image")));
this.pictureBoxImage.Location = new System.Drawing.Point(40, 68);
this.pictureBoxImage.Name = "pictureBoxImage";
this.pictureBoxImage.Size = new System.Drawing.Size(66, 72);
//
// labelTitlePassword
//
this.labelTitlePassword.BackColor = System.Drawing.Color.White;
this.labelTitlePassword.BackPictureBox = null;
this.labelTitlePassword.BackPictureBox1 = null;
this.labelTitlePassword.BackPictureBox2 = null;
this.labelTitlePassword.BorderColor = System.Drawing.Color.Black;
this.labelTitlePassword.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitlePassword.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelTitlePassword.ForeColor = System.Drawing.Color.Gray;
this.labelTitlePassword.InitVisible = true;
this.labelTitlePassword.LineSpacing = 0F;
this.labelTitlePassword.Location = new System.Drawing.Point(129, 126);
this.labelTitlePassword.Name = "labelTitlePassword";
this.labelTitlePassword.Size = new System.Drawing.Size(120, 34);
this.labelTitlePassword.TabIndex = 184;
this.labelTitlePassword.Text = "비밀번호";
this.labelTitlePassword.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitlePassword.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitlePassword.Wordwrap = false;
//
// labelTitleID
//
this.labelTitleID.BackColor = System.Drawing.Color.White;
this.labelTitleID.BackPictureBox = null;
this.labelTitleID.BackPictureBox1 = null;
this.labelTitleID.BackPictureBox2 = null;
this.labelTitleID.BorderColor = System.Drawing.Color.Black;
this.labelTitleID.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.labelTitleID.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
this.labelTitleID.ForeColor = System.Drawing.Color.Gray;
this.labelTitleID.InitVisible = true;
this.labelTitleID.LineSpacing = 0F;
this.labelTitleID.Location = new System.Drawing.Point(129, 81);
this.labelTitleID.Name = "labelTitleID";
this.labelTitleID.Size = new System.Drawing.Size(120, 34);
this.labelTitleID.TabIndex = 183;
this.labelTitleID.Text = "ID";
this.labelTitleID.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitleID.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitleID.Wordwrap = false;
//
// labelTitle
//
this.labelTitle.BackColor = System.Drawing.Color.White;
this.labelTitle.BackPictureBox = null;
this.labelTitle.BackPictureBox1 = null;
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", 20F, System.Drawing.FontStyle.Bold);
this.labelTitle.ForeColor = System.Drawing.Color.Gray;
this.labelTitle.InitVisible = true;
this.labelTitle.LineSpacing = 0F;
this.labelTitle.Location = new System.Drawing.Point(129, 25);
this.labelTitle.Name = "labelTitle";
this.labelTitle.Size = new System.Drawing.Size(546, 50);
this.labelTitle.TabIndex = 182;
this.labelTitle.Text = "로그인";
this.labelTitle.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
this.labelTitle.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
this.labelTitle.Wordwrap = false;
//
// DialogFormLogOn1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.ClientSize = new System.Drawing.Size(710, 470);
this.ControlBox = false;
this.Controls.Add(this.pictureBoxImage);
this.Controls.Add(this.labelTitlePassword);
this.Controls.Add(this.labelTitleID);
this.Controls.Add(this.smartButtonUser33);
this.Controls.Add(this.smartButtonUser22);
this.Controls.Add(this.smartButtonIUser11);
this.Controls.Add(this.smartButtonAdmin);
this.Controls.Add(this.smartButton1);
this.Controls.Add(this.buttonCancel);
this.Controls.Add(this.buttonLogon);
this.Controls.Add(this.textBoxPassword);
this.Controls.Add(this.textBoxID);
this.Controls.Add(this.smartKeyboard);
this.Controls.Add(this.labelTitle);
this.Controls.Add(this.smartForm1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "DialogFormLogOn1";
this.Text = "DialogFormLogOn";
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private SmartX.SmartForm smartForm1;
private SmartX.SmartKeyboard smartKeyboard;
private System.Windows.Forms.TextBox textBoxID;
private System.Windows.Forms.TextBox textBoxPassword;
private SmartX.SmartButton buttonLogon;
private SmartX.SmartButton buttonCancel;
private SmartX.SmartButton smartButton1;
private SmartX.SmartButton smartButtonAdmin;
private SmartX.SmartButton smartButtonIUser11;
private SmartX.SmartButton smartButtonUser22;
private SmartX.SmartButton smartButtonUser33;
private System.Windows.Forms.PictureBox pictureBoxImage;
private SmartX.SmartLabel labelTitlePassword;
private SmartX.SmartLabel labelTitleID;
private SmartX.SmartLabel labelTitle;
}
}

View File

@ -1,470 +0,0 @@
using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using INT69DC_ImageDll;
using INT69DC_7C.Forms;
using INT69DC_7C.Part11_UserManager;
using System.Text.RegularExpressions;
namespace INT69DC_7C.DialogForms
{
public partial class DialogFormLogOn1 : Form
{
#region Field
private bool IsPart11;
// false : 패스워드 변경, true : 로그인
private bool IsLogin;
private string ID;
private string Password;
UserManager.UserMgr_user_info_t UserInfo = new UserManager.UserMgr_user_info_t();
private FormMain m_ParentForm;
#endregion
#region Constructor
public DialogFormLogOn1(FormMain parent, DataStore.LanguageID language, bool isPart11)
{
InitializeComponent();
this.ParentForm = parent;
this.IsPart11 = isPart11;
this.IsLogin = true;
this.InitializeContnrol();
this.InitializeDesignLogOn(language);
this.DefaultSettingLogOn();
}
public DialogFormLogOn1(FormMain parent, DataStore.LanguageID language, string id)
{
InitializeComponent();
this.ParentForm = parent;
this.ID = id;
this.IsLogin = false;
this.InitializeContnrol();
this.InitializeDesignChangePassword(language);
this.DefaultSettingChangePassword();
}
#endregion
#region Property
public FormMain ParentForm
{
get { return this.m_ParentForm; }
private set { this.m_ParentForm = value; }
}
#endregion
#region Method
private void InitializeContnrol()
{
int x = 0, y = 0;
x = Screen.PrimaryScreen.Bounds.Width / 2 - this.Size.Width / 2;
y = Screen.PrimaryScreen.Bounds.Height / 2 - this.Size.Height / 2;
this.Location = new Point(x, y);
this.Size = new Size(450, 165);
}
public void InitializeDesignLogOn(DataStore.LanguageID language)
{
ImageDll images = new ImageDll();
this.pictureBoxImage.Image = new Bitmap(images.GetImage(ImageDll.ButtonImages.LoginImage1));
if (language == DataStore.LanguageID.English)
{
this.labelTitle.Text = "User Login";
this.labelTitleID.Text = "ID";
this.labelTitlePassword.Text = "Password";
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginCancelDisable));
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginCancelDown));
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginCancelUp));
this.buttonLogon.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginLoginDisable));
this.buttonLogon.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginLoginDown));
this.buttonLogon.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginLoginUp));
}
else if (language == DataStore.LanguageID.Chinese)
{
this.labelTitle.Text = "登錄";
this.labelTitleID.Text = "用户名";
this.labelTitlePassword.Text = "密码";
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginCancelDisable));
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginCancelDown));
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginCancelUp));
this.buttonLogon.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginLoginDisable));
this.buttonLogon.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginLoginDown));
this.buttonLogon.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginLoginUp));
}
else if (language == DataStore.LanguageID.Czech)
{
}
else
{
this.labelTitle.Text = "로그인";
this.labelTitleID.Text = "ID";
this.labelTitlePassword.Text = "비밀번호";
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korMainLoginCancelDisable));
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korMainLoginCancelDown));
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korMainLoginCancelUp));
this.buttonLogon.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korMainLoginLoginDisable));
this.buttonLogon.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korMainLoginLoginDown));
this.buttonLogon.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korMainLoginLoginUp));
}
}
private void DefaultSettingLogOn()
{
this.textBoxID.Text = "";
this.textBoxPassword.Text = "";
this.smartKeyboard.KeyboardType = SmartX.SmartKeyboard.KEYBOARDTYPES.NORMAL;
this.smartKeyboard.Show();
}
private void Login()
{
// Check ID
if (this.textBoxID.Text.Length < 6)
{
// ID : 6~20자 입력하세요
DialogFormMessage msg = new DialogFormMessage(null, 3, this.ParentForm.SystemConfig.Language);
msg.ShowDialog();
return;
}
// Check Password
if (this.textBoxPassword.Text.Length < 6)
{
// PASSWORD : 6~20자 입력하세요
DialogFormMessage msg = new DialogFormMessage(null, 9, this.ParentForm.SystemConfig.Language);
msg.ShowDialog();
return;
}
UserManager.UserManager_UserLoginDirect(this.textBoxID.Text, this.textBoxPassword.Text, ref this.UserInfo);
if (this.UserInfo.status == 0)
{
#region 로그인 성공
try
{
string sValue = "";
this.SuccessLogin(this.UserInfo);
//sValue = this.ParentForm.ChildFormMainDisplay.DisplayExpireOfPassword(this.ParentForm.SystemConfig.CurrentUser.Group);
if (sValue != "-")
{
int intExpireDate = int.Parse(sValue);
if (intExpireDate >= -10)
{
int extract = int.Parse(Regex.Replace(sValue, @"\D", ""));
DialogFormYesNo df = new DialogFormYesNo(this.ParentForm.SystemConfig.Language, 2, extract.ToString());
df.BringToFront();
if (df.ShowDialog() == DialogResult.Yes)
{
DialogFormLogOn1 changePW = new DialogFormLogOn1(this.ParentForm, this.ParentForm.SystemConfig.Language, this.textBoxID.Text);
if (changePW.ShowDialog() == DialogResult.OK)
{
UserManager.UserManager_UserLockRelease(this.textBoxID.Text, false, true);
UserManager.UserManager_UserLoginDirect(this.textBoxID.Text, this.ParentForm.SystemConfig.CurrentUser.Password, ref this.UserInfo);
this.SuccessLogin(this.UserInfo);
}
}
}
}
}
catch (Exception ex)
{
FormMain.Exception(ex);
this.DialogResult = DialogResult.Cancel;
this.Close();
return;
}
this.DialogResult = DialogResult.OK;
this.Close();
#endregion
}
else
{
if (this.UserInfo.status == 15) // USER_MGR_STATUS_PW_PASSWORD_LOCK
{
this.Close();
DialogFormLogOn1 changePW = new DialogFormLogOn1(this.ParentForm, this.ParentForm.SystemConfig.Language, this.textBoxID.Text);
if (changePW.ShowDialog() == DialogResult.OK)
{
UserManager.UserManager_UserLoginDirect(this.textBoxID.Text, this.ParentForm.SystemConfig.CurrentUser.Password, ref this.UserInfo);
// console
Console.WriteLine(this.UserInfo.status.ToString());
this.SuccessLogin(this.UserInfo);
this.DialogResult = DialogResult.OK;
this.Close();
}
}
else
{
DialogFormMessage myMsg = new DialogFormMessage(null, this.UserInfo.status, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
}
}
}
private void SuccessLogin(UserManager.UserMgr_user_info_t user)
{
if (user.active_level == 1)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Level1;
else if (user.active_level == 2)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Level2;
else if (user.active_level == 3)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Level3;
else if (user.active_level == 9)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Admin;
else if (user.active_level == 10)
this.ParentForm.SystemConfig.CurrentUser.Group = DataStore.UserGroup.Developer;
this.ParentForm.SystemConfig.CurrentUser.ActiveLevel = user.active_level;
this.ParentForm.SystemConfig.CurrentUser.ID = user.user_id;
this.ParentForm.SystemConfig.CurrentUser.Password = user.user_pw;
this.ParentForm.SystemConfig.CurrentUser.ExpireId = user.id_expire_period;
this.ParentForm.SystemConfig.CurrentUser.ExpirePassword = user.password_expire_period;
// console
Console.WriteLine(user.password_register_date.GetDateTime());
DateTime time = DateTime.ParseExact(user.password_register_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DatePasswordRegister = time;
// console
Console.WriteLine(user.id_login_date.GetDateTime());
time = DateTime.ParseExact(user.id_login_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DateIdLogin = time;
if (this.ParentForm.SystemConfig.CurrentUser.Group == DataStore.UserGroup.Admin
|| this.ParentForm.SystemConfig.CurrentUser.Group == DataStore.UserGroup.Developer)
{
this.ParentForm.SystemConfig.CurrentUser.DateIdExpire = DateTime.Now;
this.ParentForm.SystemConfig.CurrentUser.DatePasswordExpire = DateTime.Now;
}
else
{
// console
Console.WriteLine(user.id_expire_date.GetDateTime());
time = DateTime.ParseExact(user.id_expire_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DatePasswordExpire = time;
// console
Console.WriteLine(user.password_expire_date.GetDateTime());
time = DateTime.ParseExact(user.password_expire_date.GetDateTime(), "yyyyMMddHHmmss", null);
this.ParentForm.SystemConfig.CurrentUser.DateIdExpire = time;
}
this.ParentForm.SystemConfig.CurrentUser.IsLockAccount = user.id_flock_status == 0 ? false : true;
this.ParentForm.SystemConfig.CurrentUser.IsLockPassword = user.password_flock_status == 0 ? false : true;
if (this.ParentForm.SystemConfig.IsPart11 == true)
this.ParentForm.SystemConfig.CurrentUser.IsAdmin = user.fadmin == 0 ? false : true;
else
this.ParentForm.SystemConfig.CurrentUser.IsAdmin = true;
}
public void InitializeDesignChangePassword(DataStore.LanguageID language)
{
ImageDll images = new ImageDll();
this.pictureBoxImage.Image = new Bitmap(images.GetImage(ImageDll.ButtonImages.LoginImage2));
if (language == DataStore.LanguageID.English)
{
this.labelTitle.Text = "Change Password";
this.labelTitleID.Text = "New";
this.labelTitlePassword.Text = "Verify";
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginCancelDisable));
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginCancelDown));
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginCancelUp));
this.buttonLogon.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginChangeDisable));
this.buttonLogon.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginChangeDown));
this.buttonLogon.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginChangeUp));
}
else if (language == DataStore.LanguageID.Chinese)
{
this.labelTitle.Text = "更改密码";
this.labelTitleID.Text = "新的";
this.labelTitlePassword.Text = "核实";
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginCancelDisable));
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginCancelDown));
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginCancelUp));
this.buttonLogon.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginChangeDisable));
this.buttonLogon.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginChangeDown));
this.buttonLogon.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginChangeUp));
}
else if (language == DataStore.LanguageID.Czech)
{
}
else
{
this.labelTitle.Text = "비밀번호 변경";
this.labelTitleID.Text = "새 비밀번호";
this.labelTitlePassword.Text = "비밀번호 확인";
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korMainLoginCancelDisable));
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korMainLoginCancelDown));
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korMainLoginCancelUp));
this.buttonLogon.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korMainLoginChangeDisable));
this.buttonLogon.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korMainLoginChangeDown));
this.buttonLogon.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korMainLoginChangeUp));
}
}
private void DefaultSettingChangePassword()
{
this.textBoxID.Text = "";
this.textBoxPassword.Text = "";
this.textBoxID.PasswordChar = '*';
this.textBoxPassword.PasswordChar = '*';
this.smartKeyboard.KeyboardType = SmartX.SmartKeyboard.KEYBOARDTYPES.NORMAL;
this.smartKeyboard.Show();
}
private void SaveChangePassword()
{
string detail = "";
// Check Password
if (this.textBoxPassword.Text.Length < 6)
{
// PASSWORD : 6~20자 입력하세요
DialogFormMessage msg = new DialogFormMessage(null, 9, this.ParentForm.SystemConfig.Language);
msg.ShowDialog();
return;
}
try
{
if (this.textBoxID.Text != this.textBoxPassword.Text)
{
// 비밀번호가 동일하지 않습니다
DialogFormMessage myMsg = new DialogFormMessage(null, 17, this.ParentForm.SystemConfig.Language);
myMsg.ShowDialog();
}
else
{
UserManager.UserManager_UserModifyPW(this.ID, this.textBoxPassword.Text);
this.ParentForm.SystemConfig.CurrentUser.Password = this.textBoxPassword.Text;
this.DialogResult = DialogResult.OK;
this.Close();
this.Dispose();
}
}
catch
{
this.DialogResult = DialogResult.Cancel;
this.Close();
this.Dispose();
}
}
#endregion
#region Event Handler
private void buttonLogOn_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.IsPart11 == true)
this.ParentForm.ChildFormMainDisplay.Part11AutomaticLogoutReset();
if (this.IsLogin == true)
this.Login();
else
this.SaveChangePassword();
}
private void buttonCancel_Click(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.IsPart11 == true)
this.ParentForm.ChildFormMainDisplay.Part11AutomaticLogoutReset();
this.DialogResult = DialogResult.Cancel;
this.Close();
}
private void textBoxID_GotFocus(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.IsPart11 == true)
this.ParentForm.ChildFormMainDisplay.Part11AutomaticLogoutReset();
this.smartKeyboard.TargetInputObject = this.textBoxID;
this.textBoxID.Select(this.textBoxID.Text.Length, 0);
}
private void textBoxPassword_GotFocus(object sender, EventArgs e)
{
// Automatic Logout Reset
if (this.IsPart11 == true)
this.ParentForm.ChildFormMainDisplay.Part11AutomaticLogoutReset();
this.smartKeyboard.TargetInputObject = this.textBoxPassword;
this.textBoxPassword.Select(this.textBoxPassword.Text.Length, 0);
}
private void smartKeyboard_OnXKeyClick(object sender, EventArgs e)
{
//this.smartKeyboard.Show();
}
private void smartKeyboard_Click(object sender, EventArgs e)
{
}
#endregion
private void smartButton1_Click(object sender, EventArgs e)
{
this.textBoxID.Text = "Intech";
this.textBoxPassword.Text = "I20090810!";
}
private void smartButtonAdmin_Click(object sender, EventArgs e)
{
this.textBoxID.Text = "admin00";
this.textBoxPassword.Text = "admin12!";
}
private void smartButtonIUser11_Click(object sender, EventArgs e)
{
this.textBoxID.Text = "user11";
this.textBoxPassword.Text = "user11!";
}
private void smartButtonUser22_Click(object sender, EventArgs e)
{
this.textBoxID.Text = "user22";
this.textBoxPassword.Text = "user22!";
}
private void smartButtonUser33_Click(object sender, EventArgs e)
{
this.textBoxID.Text = "user33";
this.textBoxPassword.Text = "user33!";
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -232,12 +232,6 @@
<Compile Include="DialogForms\DialogFormLogOn.designer.cs"> <Compile Include="DialogForms\DialogFormLogOn.designer.cs">
<DependentUpon>DialogFormLogOn.cs</DependentUpon> <DependentUpon>DialogFormLogOn.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="DialogForms\DialogFormLogOn1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DialogForms\DialogFormLogOn1.Designer.cs">
<DependentUpon>DialogFormLogOn1.cs</DependentUpon>
</Compile>
<Compile Include="DialogForms\DialogFormPasswordKeyPad1.cs"> <Compile Include="DialogForms\DialogFormPasswordKeyPad1.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@ -516,10 +510,6 @@
<DependentUpon>DialogFormLogOn.cs</DependentUpon> <DependentUpon>DialogFormLogOn.cs</DependentUpon>
<SubType>Designer</SubType> <SubType>Designer</SubType>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="DialogForms\DialogFormLogOn1.resx">
<DependentUpon>DialogFormLogOn1.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="DialogForms\DialogFormPasswordKeyPad1.resx"> <EmbeddedResource Include="DialogForms\DialogFormPasswordKeyPad1.resx">
<DependentUpon>DialogFormPasswordKeyPad1.cs</DependentUpon> <DependentUpon>DialogFormPasswordKeyPad1.cs</DependentUpon>
<SubType>Designer</SubType> <SubType>Designer</SubType>