Ejemplo n.º 1
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.txtPassword = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.label14 = new System.Windows.Forms.Label();
            this.lblHeader = new System.Windows.Forms.Label();
            this.txtUserName = new System.Windows.Forms.TextBox();
            this.imgIcon = new System.Windows.Forms.PictureBox();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.cmdCancel = new System.Windows.Forms.Button();
            this.cmdEnter = new System.Windows.Forms.Button();
            this.keyboardcontrol1 = new AceSoft.KeyBoardHook.Keyboardcontrol();
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            // 
            // txtPassword
            // 
            this.txtPassword.AcceptsTab = true;
            this.txtPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtPassword.Font = new System.Drawing.Font("Wingdings", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
            this.txtPassword.Location = new System.Drawing.Point(319, 123);
            this.txtPassword.Name = "txtPassword";
            this.txtPassword.PasswordChar = 'l';
            this.txtPassword.Size = new System.Drawing.Size(332, 25);
            this.txtPassword.TabIndex = 1;
            this.txtPassword.GotFocus += new System.EventHandler(this.txtPassword_GotFocus);
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold);
            this.label2.ForeColor = System.Drawing.Color.MediumBlue;
            this.label2.Location = new System.Drawing.Point(168, 121);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(102, 23);
            this.label2.TabIndex = 3;
            this.label2.Text = "Password";
            // 
            // label14
            // 
            this.label14.AutoSize = true;
            this.label14.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold);
            this.label14.ForeColor = System.Drawing.Color.MediumBlue;
            this.label14.Location = new System.Drawing.Point(168, 84);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(114, 23);
            this.label14.TabIndex = 2;
            this.label14.Text = "User Name";
            // 
            // lblHeader
            // 
            this.lblHeader.AutoSize = true;
            this.lblHeader.BackColor = System.Drawing.Color.Transparent;
            this.lblHeader.CausesValidation = false;
            this.lblHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblHeader.ForeColor = System.Drawing.Color.White;
            this.lblHeader.Location = new System.Drawing.Point(74, 24);
            this.lblHeader.Name = "lblHeader";
            this.lblHeader.Size = new System.Drawing.Size(91, 13);
            this.lblHeader.TabIndex = 4;
            this.lblHeader.Text = "System access";
            // 
            // txtUserName
            // 
            this.txtUserName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.txtUserName.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtUserName.Location = new System.Drawing.Point(319, 84);
            this.txtUserName.Name = "txtUserName";
            this.txtUserName.Size = new System.Drawing.Size(332, 27);
            this.txtUserName.TabIndex = 0;
            this.txtUserName.TextChanged += new System.EventHandler(this.txtUserName_TextChanged);
            this.txtUserName.GotFocus += new System.EventHandler(this.txtUserName_GotFocus);
            this.txtUserName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtUserName_KeyDown);
            this.txtUserName.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtUserName_KeyPress);
            // 
            // imgIcon
            // 
            this.imgIcon.BackColor = System.Drawing.Color.Blue;
            this.imgIcon.Location = new System.Drawing.Point(16, 8);
            this.imgIcon.Name = "imgIcon";
            this.imgIcon.Size = new System.Drawing.Size(49, 49);
            this.imgIcon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
            this.imgIcon.TabIndex = 14;
            this.imgIcon.TabStop = false;
            this.imgIcon.Click += new System.EventHandler(this.imgIcon_Click);
            // 
            // groupBox1
            // 
            this.groupBox1.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.groupBox1.BackColor = System.Drawing.Color.White;
            this.groupBox1.Controls.Add(this.txtPassword);
            this.groupBox1.Controls.Add(this.txtUserName);
            this.groupBox1.Controls.Add(this.label14);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Font = new System.Drawing.Font("Tahoma", 8.25F);
            this.groupBox1.ForeColor = System.Drawing.Color.Blue;
            this.groupBox1.Location = new System.Drawing.Point(8, 65);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(1008, 237);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Please swipe your access card or Enter user name and password to login.";
            // 
            // cmdCancel
            // 
            this.cmdCancel.AutoSize = true;
            this.cmdCancel.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.cmdCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.cmdCancel.Font = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmdCancel.ForeColor = System.Drawing.Color.White;
            this.cmdCancel.Location = new System.Drawing.Point(765, 618);
            this.cmdCancel.Name = "cmdCancel";
            this.cmdCancel.Size = new System.Drawing.Size(106, 83);
            this.cmdCancel.TabIndex = 2;
            this.cmdCancel.Text = "CANCEL";
            this.cmdCancel.UseVisualStyleBackColor = true;
            this.cmdCancel.Click += new System.EventHandler(this.cmdCancel_Click);
            // 
            // cmdEnter
            // 
            this.cmdEnter.AutoSize = true;
            this.cmdEnter.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.cmdEnter.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.cmdEnter.Font = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmdEnter.ForeColor = System.Drawing.Color.White;
            this.cmdEnter.Location = new System.Drawing.Point(877, 618);
            this.cmdEnter.Name = "cmdEnter";
            this.cmdEnter.Size = new System.Drawing.Size(106, 83);
            this.cmdEnter.TabIndex = 1;
            this.cmdEnter.Text = "ENTER";
            this.cmdEnter.UseVisualStyleBackColor = true;
            this.cmdEnter.Click += new System.EventHandler(this.cmdEnter_Click);
            // 
            // keyboardcontrol1
            // 
            this.keyboardcontrol1.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.keyboardcontrol1.BackColor = System.Drawing.Color.White;
            this.keyboardcontrol1.Location = new System.Drawing.Point(95, 323);
            this.keyboardcontrol1.Name = "keyboardcontrol1";
            this.keyboardcontrol1.Size = new System.Drawing.Size(814, 134);
            this.keyboardcontrol1.TabIndex = 3;
            this.keyboardcontrol1.TabStop = false;
            this.keyboardcontrol1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardcontrol1_UserKeyPressed);
            // 
            // LogInWnd
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
            this.BackColor = System.Drawing.Color.White;
            this.ClientSize = new System.Drawing.Size(1022, 764);
            this.ControlBox = false;
            this.Controls.Add(this.cmdCancel);
            this.Controls.Add(this.cmdEnter);
            this.Controls.Add(this.keyboardcontrol1);
            this.Controls.Add(this.lblHeader);
            this.Controls.Add(this.imgIcon);
            this.Controls.Add(this.groupBox1);
            this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
            this.KeyPreview = true;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "LogInWnd";
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Activated += new System.EventHandler(this.LogInWnd_Activated);
            this.Load += new System.EventHandler(this.LogInWnd_Load);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.LogInWnd_KeyDown);
            ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
Ejemplo n.º 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.txtPassword      = new System.Windows.Forms.TextBox();
     this.label2           = new System.Windows.Forms.Label();
     this.label14          = new System.Windows.Forms.Label();
     this.lblHeader        = new System.Windows.Forms.Label();
     this.txtUserName      = new System.Windows.Forms.TextBox();
     this.imgIcon          = new System.Windows.Forms.PictureBox();
     this.groupBox1        = new System.Windows.Forms.GroupBox();
     this.cmdCancel        = new System.Windows.Forms.Button();
     this.cmdEnter         = new System.Windows.Forms.Button();
     this.keyboardcontrol1 = new AceSoft.KeyBoardHook.Keyboardcontrol();
     ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // txtPassword
     //
     this.txtPassword.AcceptsTab   = true;
     this.txtPassword.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtPassword.Font         = new System.Drawing.Font("Wingdings", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(2)));
     this.txtPassword.Location     = new System.Drawing.Point(319, 123);
     this.txtPassword.Name         = "txtPassword";
     this.txtPassword.PasswordChar = 'l';
     this.txtPassword.Size         = new System.Drawing.Size(332, 25);
     this.txtPassword.TabIndex     = 1;
     this.txtPassword.GotFocus    += new System.EventHandler(this.txtPassword_GotFocus);
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Font      = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold);
     this.label2.ForeColor = System.Drawing.Color.MediumBlue;
     this.label2.Location  = new System.Drawing.Point(168, 121);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(102, 23);
     this.label2.TabIndex  = 3;
     this.label2.Text      = "Password";
     //
     // label14
     //
     this.label14.AutoSize  = true;
     this.label14.Font      = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold);
     this.label14.ForeColor = System.Drawing.Color.MediumBlue;
     this.label14.Location  = new System.Drawing.Point(168, 84);
     this.label14.Name      = "label14";
     this.label14.Size      = new System.Drawing.Size(114, 23);
     this.label14.TabIndex  = 2;
     this.label14.Text      = "User Name";
     //
     // lblHeader
     //
     this.lblHeader.AutoSize         = true;
     this.lblHeader.BackColor        = System.Drawing.Color.Transparent;
     this.lblHeader.CausesValidation = false;
     this.lblHeader.Font             = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblHeader.ForeColor        = System.Drawing.Color.White;
     this.lblHeader.Location         = new System.Drawing.Point(74, 24);
     this.lblHeader.Name             = "lblHeader";
     this.lblHeader.Size             = new System.Drawing.Size(91, 13);
     this.lblHeader.TabIndex         = 4;
     this.lblHeader.Text             = "System access";
     //
     // txtUserName
     //
     this.txtUserName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtUserName.Font        = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtUserName.Location    = new System.Drawing.Point(319, 84);
     this.txtUserName.Name        = "txtUserName";
     this.txtUserName.Size        = new System.Drawing.Size(332, 27);
     this.txtUserName.TabIndex    = 0;
     this.txtUserName.GotFocus   += new System.EventHandler(this.txtUserName_GotFocus);
     //
     // imgIcon
     //
     this.imgIcon.BackColor = System.Drawing.Color.Blue;
     this.imgIcon.Location  = new System.Drawing.Point(16, 8);
     this.imgIcon.Name      = "imgIcon";
     this.imgIcon.Size      = new System.Drawing.Size(49, 49);
     this.imgIcon.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.imgIcon.TabIndex  = 14;
     this.imgIcon.TabStop   = false;
     this.imgIcon.Click    += new System.EventHandler(this.imgIcon_Click);
     //
     // groupBox1
     //
     this.groupBox1.Anchor    = System.Windows.Forms.AnchorStyles.None;
     this.groupBox1.BackColor = System.Drawing.Color.White;
     this.groupBox1.Controls.Add(this.txtPassword);
     this.groupBox1.Controls.Add(this.txtUserName);
     this.groupBox1.Controls.Add(this.label14);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Font      = new System.Drawing.Font("Tahoma", 8.25F);
     this.groupBox1.ForeColor = System.Drawing.Color.Blue;
     this.groupBox1.Location  = new System.Drawing.Point(8, 65);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(1008, 237);
     this.groupBox1.TabIndex  = 0;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "Please swipe your access card or Enter user name and password to login.";
     //
     // cmdCancel
     //
     this.cmdCancel.AutoSize = true;
     this.cmdCancel.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.cmdCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.cmdCancel.Font      = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmdCancel.ForeColor = System.Drawing.Color.White;
     this.cmdCancel.Location  = new System.Drawing.Point(765, 618);
     this.cmdCancel.Name      = "cmdCancel";
     this.cmdCancel.Size      = new System.Drawing.Size(106, 83);
     this.cmdCancel.TabIndex  = 2;
     this.cmdCancel.Text      = "CANCEL";
     this.cmdCancel.UseVisualStyleBackColor = true;
     this.cmdCancel.Click += new System.EventHandler(this.cmdCancel_Click);
     //
     // cmdEnter
     //
     this.cmdEnter.AutoSize = true;
     this.cmdEnter.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.cmdEnter.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.cmdEnter.Font      = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmdEnter.ForeColor = System.Drawing.Color.White;
     this.cmdEnter.Location  = new System.Drawing.Point(877, 618);
     this.cmdEnter.Name      = "cmdEnter";
     this.cmdEnter.Size      = new System.Drawing.Size(106, 83);
     this.cmdEnter.TabIndex  = 1;
     this.cmdEnter.Text      = "ENTER";
     this.cmdEnter.UseVisualStyleBackColor = true;
     this.cmdEnter.Click += new System.EventHandler(this.cmdEnter_Click);
     //
     // keyboardcontrol1
     //
     this.keyboardcontrol1.Anchor          = System.Windows.Forms.AnchorStyles.None;
     this.keyboardcontrol1.BackColor       = System.Drawing.Color.White;
     this.keyboardcontrol1.Location        = new System.Drawing.Point(95, 323);
     this.keyboardcontrol1.Name            = "keyboardcontrol1";
     this.keyboardcontrol1.Size            = new System.Drawing.Size(814, 134);
     this.keyboardcontrol1.TabIndex        = 3;
     this.keyboardcontrol1.TabStop         = false;
     this.keyboardcontrol1.UserKeyPressed += new AceSoft.KeyBoardHook.KeyboardDelegate(this.keyboardcontrol1_UserKeyPressed);
     //
     // LogInWnd
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(1022, 766);
     this.ControlBox        = false;
     this.Controls.Add(this.cmdCancel);
     this.Controls.Add(this.cmdEnter);
     this.Controls.Add(this.keyboardcontrol1);
     this.Controls.Add(this.lblHeader);
     this.Controls.Add(this.imgIcon);
     this.Controls.Add(this.groupBox1);
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.KeyPreview      = true;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "LogInWnd";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Load           += new System.EventHandler(this.LogInWnd_Load);
     this.Activated      += new System.EventHandler(this.LogInWnd_Activated);
     this.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.LogInWnd_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.imgIcon)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }