Subversion Repositories DevTools

Rev

Rev 2151 | Blame | Compare with Previous | Last modification | View Log | RSS feed

using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace EA_ReqPro
{
   public class Logon : Form
   {

      public Logon(string username)
      {
         InitializeComponent();
         ebUserName.Text = username;
      }

      private void ebUserName_TextChanged(object sender, EventArgs e)
      {

      }
      /// <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()
      {
         this.label1 = new System.Windows.Forms.Label();
         this.label2 = new System.Windows.Forms.Label();
         this.ebUserName = new System.Windows.Forms.TextBox();
         this.ebPassword = new System.Windows.Forms.TextBox();
         this.btOk = new System.Windows.Forms.Button();
         this.btCancel = new System.Windows.Forms.Button();
         this.SuspendLayout();
         // 
         // label1
         // 
         this.label1.AutoSize = true;
         this.label1.Location = new System.Drawing.Point(8, 24);
         this.label1.Name = "label1";
         this.label1.Size = new System.Drawing.Size(67, 18);
         this.label1.TabIndex = 0;
         this.label1.Text = "Username";
         // 
         // label2
         // 
         this.label2.AutoSize = true;
         this.label2.Location = new System.Drawing.Point(8, 56);
         this.label2.Name = "label2";
         this.label2.Size = new System.Drawing.Size(64, 18);
         this.label2.TabIndex = 1;
         this.label2.Text = "Password";
         // 
         // ebUserName
         // 
         this.ebUserName.Location = new System.Drawing.Point(96, 16);
         this.ebUserName.Name = "ebUserName";
         this.ebUserName.Size = new System.Drawing.Size(237, 22);
         this.ebUserName.TabIndex = 2;
         this.ebUserName.Text = "";
         this.ebUserName.TextChanged += new System.EventHandler(this.ebUserName_TextChanged);
         // 
         // ebPassword
         // 
         this.ebPassword.Location = new System.Drawing.Point(96, 48);
         this.ebPassword.Name = "ebPassword";
         this.ebPassword.PasswordChar = '*';
         this.ebPassword.Size = new System.Drawing.Size(237, 22);
         this.ebPassword.TabIndex = 3;
         this.ebPassword.Text = "";
         // 
         // btOk
         // 
         this.btOk.DialogResult = System.Windows.Forms.DialogResult.OK;
         this.btOk.Location = new System.Drawing.Point(160, 96);
         this.btOk.Name = "btOk";
         this.btOk.TabIndex = 6;
         this.btOk.Text = "Ok";
         // 
         // btCancel
         // 
         this.btCancel.DialogResult = System.Windows.Forms.DialogResult.Abort;
         this.btCancel.Location = new System.Drawing.Point(256, 96);
         this.btCancel.Name = "btCancel";
         this.btCancel.TabIndex = 7;
         this.btCancel.Text = "Cancel";
         // 
         // Logon
         // 
         this.AcceptButton = this.btOk;
         this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
         this.CancelButton = this.btCancel;
         this.ClientSize = new System.Drawing.Size(346, 138);
         this.ControlBox = false;
         this.Controls.Add(this.btCancel);
         this.Controls.Add(this.btOk);
         this.Controls.Add(this.ebPassword);
         this.Controls.Add(this.ebUserName);
         this.Controls.Add(this.label2);
         this.Controls.Add(this.label1);
         this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
         this.Name = "Logon";
         this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
         this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
         this.Text = "ReqPro Database Login";
         this.TopMost = true;
         this.Load += new System.EventHandler(this.Logon_Load);
         this.ResumeLayout(false);

      }

      #endregion

      private System.Windows.Forms.Label label1;
      private System.Windows.Forms.Label label2;
      private System.Windows.Forms.Button btOk;
      private System.Windows.Forms.Button btCancel;
      public System.Windows.Forms.TextBox ebUserName;
      public System.Windows.Forms.TextBox ebPassword;

      private void Logon_Load(object sender, System.EventArgs e)
      {
      
      }
   }
}