Subversion Repositories DevTools

Rev

Rev 2151 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2139 ghuddy 1
using System;
2
using System.Collections;
3
using System.ComponentModel;
4
using System.Data;
5
using System.Drawing;
6
using System.Text;
7
using System.Windows.Forms;
8
 
9
namespace EA_ReqPro
10
{
11
   public class Logon : Form
12
   {
13
 
14
      public Logon(string username)
15
      {
16
         InitializeComponent();
17
         ebUserName.Text = username;
18
      }
19
 
20
      private void ebUserName_TextChanged(object sender, EventArgs e)
21
      {
22
 
23
      }
24
      /// <summary>
25
      /// Required designer variable.
26
      /// </summary>
27
      private System.ComponentModel.IContainer components = null;
28
 
29
      /// <summary>
30
      /// Clean up any resources being used.
31
      /// </summary>
32
      /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
33
      protected override void Dispose(bool disposing)
34
      {
35
         if (disposing && (components != null))
36
         {
37
            components.Dispose();
38
         }
39
         base.Dispose(disposing);
40
      }
41
 
42
      #region Windows Form Designer generated code
43
 
44
      /// <summary>
45
      /// Required method for Designer support - do not modify
46
      /// the contents of this method with the code editor.
47
      /// </summary>
48
      private void InitializeComponent()
49
      {
50
         this.label1 = new System.Windows.Forms.Label();
51
         this.label2 = new System.Windows.Forms.Label();
52
         this.ebUserName = new System.Windows.Forms.TextBox();
53
         this.ebPassword = new System.Windows.Forms.TextBox();
54
         this.btOk = new System.Windows.Forms.Button();
55
         this.btCancel = new System.Windows.Forms.Button();
56
         this.SuspendLayout();
57
         // 
58
         // label1
59
         // 
60
         this.label1.AutoSize = true;
61
         this.label1.Location = new System.Drawing.Point(8, 24);
62
         this.label1.Name = "label1";
63
         this.label1.Size = new System.Drawing.Size(67, 18);
64
         this.label1.TabIndex = 0;
65
         this.label1.Text = "Username";
66
         // 
67
         // label2
68
         // 
69
         this.label2.AutoSize = true;
70
         this.label2.Location = new System.Drawing.Point(8, 56);
71
         this.label2.Name = "label2";
72
         this.label2.Size = new System.Drawing.Size(64, 18);
73
         this.label2.TabIndex = 1;
74
         this.label2.Text = "Password";
75
         // 
76
         // ebUserName
77
         // 
78
         this.ebUserName.Location = new System.Drawing.Point(96, 16);
79
         this.ebUserName.Name = "ebUserName";
80
         this.ebUserName.Size = new System.Drawing.Size(237, 22);
81
         this.ebUserName.TabIndex = 2;
82
         this.ebUserName.Text = "";
83
         this.ebUserName.TextChanged += new System.EventHandler(this.ebUserName_TextChanged);
84
         // 
85
         // ebPassword
86
         // 
87
         this.ebPassword.Location = new System.Drawing.Point(96, 48);
88
         this.ebPassword.Name = "ebPassword";
89
         this.ebPassword.Size = new System.Drawing.Size(237, 22);
90
         this.ebPassword.TabIndex = 3;
91
         this.ebPassword.Text = "";
92
         // 
93
         // btOk
94
         // 
95
         this.btOk.DialogResult = System.Windows.Forms.DialogResult.OK;
96
         this.btOk.Location = new System.Drawing.Point(16, 112);
97
         this.btOk.Name = "btOk";
98
         this.btOk.TabIndex = 6;
99
         this.btOk.Text = "Ok";
100
         // 
101
         // btCancel
102
         // 
103
         this.btCancel.DialogResult = System.Windows.Forms.DialogResult.Abort;
104
         this.btCancel.Location = new System.Drawing.Point(112, 112);
105
         this.btCancel.Name = "btCancel";
106
         this.btCancel.TabIndex = 7;
107
         this.btCancel.Text = "Cancel";
108
         // 
109
         // Logon
110
         // 
111
         this.AcceptButton = this.btOk;
112
         this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
113
         this.CancelButton = this.btCancel;
114
         this.ClientSize = new System.Drawing.Size(368, 160);
115
         this.ControlBox = false;
116
         this.Controls.Add(this.btCancel);
117
         this.Controls.Add(this.btOk);
118
         this.Controls.Add(this.ebPassword);
119
         this.Controls.Add(this.ebUserName);
120
         this.Controls.Add(this.label2);
121
         this.Controls.Add(this.label1);
122
         this.Name = "Logon";
123
         this.Text = "ReqPro Database Login";
124
         this.Load += new System.EventHandler(this.Logon_Load);
125
         this.ResumeLayout(false);
126
 
127
      }
128
 
129
      #endregion
130
 
131
      private System.Windows.Forms.Label label1;
132
      private System.Windows.Forms.Label label2;
133
      private System.Windows.Forms.Button btOk;
134
      private System.Windows.Forms.Button btCancel;
135
      public System.Windows.Forms.TextBox ebUserName;
136
      public System.Windows.Forms.TextBox ebPassword;
137
 
138
      private void Logon_Load(object sender, System.EventArgs e)
139
      {
140
 
141
      }
142
   }
143
}