Subversion Repositories DevTools

Rev

Rev 2139 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2139 Rev 2151
Line 1... Line 1...
1
using System;
1
using System;
2
using System.Collections;
2
using System.Collections;
3
using System.ComponentModel;
3
using System.ComponentModel;
4
using System.Data;
4
using System.Data;
5
using System.Drawing;
5
using System.Drawing;
6
using System.Text;
6
using System.Text;
7
using System.Windows.Forms;
7
using System.Windows.Forms;
8
 
8
 
9
namespace EA_ReqPro
9
namespace EA_ReqPro
10
{
10
{
11
   public class Logon : Form
11
   public class Logon : Form
12
   {
12
   {
13
 
13
 
14
      public Logon(string username)
14
      public Logon(string username)
15
      {
15
      {
16
         InitializeComponent();
16
         InitializeComponent();
17
         ebUserName.Text = username;
17
         ebUserName.Text = username;
18
      }
18
      }
19
 
19
 
20
      private void ebUserName_TextChanged(object sender, EventArgs e)
20
      private void ebUserName_TextChanged(object sender, EventArgs e)
21
      {
21
      {
22
 
22
 
23
      }
23
      }
24
      /// <summary>
24
      /// <summary>
25
      /// Required designer variable.
25
      /// Required designer variable.
26
      /// </summary>
26
      /// </summary>
27
      private System.ComponentModel.IContainer components = null;
27
      private System.ComponentModel.IContainer components = null;
28
 
28
 
29
      /// <summary>
29
      /// <summary>
30
      /// Clean up any resources being used.
30
      /// Clean up any resources being used.
31
      /// </summary>
31
      /// </summary>
32
      /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
32
      /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
33
      protected override void Dispose(bool disposing)
33
      protected override void Dispose(bool disposing)
34
      {
34
      {
35
         if (disposing && (components != null))
35
         if (disposing && (components != null))
36
         {
36
         {
37
            components.Dispose();
37
            components.Dispose();
38
         }
38
         }
39
         base.Dispose(disposing);
39
         base.Dispose(disposing);
40
      }
40
      }
41
 
41
 
42
      #region Windows Form Designer generated code
42
      #region Windows Form Designer generated code
43
 
43
 
44
      /// <summary>
44
      /// <summary>
45
      /// Required method for Designer support - do not modify
45
      /// Required method for Designer support - do not modify
46
      /// the contents of this method with the code editor.
46
      /// the contents of this method with the code editor.
47
      /// </summary>
47
      /// </summary>
48
      private void InitializeComponent()
48
      private void InitializeComponent()
49
      {
49
      {
50
         this.label1 = new System.Windows.Forms.Label();
50
         this.label1 = new System.Windows.Forms.Label();
51
         this.label2 = new System.Windows.Forms.Label();
51
         this.label2 = new System.Windows.Forms.Label();
52
         this.ebUserName = new System.Windows.Forms.TextBox();
52
         this.ebUserName = new System.Windows.Forms.TextBox();
53
         this.ebPassword = new System.Windows.Forms.TextBox();
53
         this.ebPassword = new System.Windows.Forms.TextBox();
54
         this.btOk = new System.Windows.Forms.Button();
54
         this.btOk = new System.Windows.Forms.Button();
Line 84... Line 84...
84
         // 
84
         // 
85
         // ebPassword
85
         // ebPassword
86
         // 
86
         // 
87
         this.ebPassword.Location = new System.Drawing.Point(96, 48);
87
         this.ebPassword.Location = new System.Drawing.Point(96, 48);
88
         this.ebPassword.Name = "ebPassword";
88
         this.ebPassword.Name = "ebPassword";
-
 
89
         this.ebPassword.PasswordChar = '*';
89
         this.ebPassword.Size = new System.Drawing.Size(237, 22);
90
         this.ebPassword.Size = new System.Drawing.Size(237, 22);
90
         this.ebPassword.TabIndex = 3;
91
         this.ebPassword.TabIndex = 3;
91
         this.ebPassword.Text = "";
92
         this.ebPassword.Text = "";
92
         // 
93
         // 
93
         // btOk
94
         // btOk
Line 117... Line 118...
117
         this.Controls.Add(this.btOk);
118
         this.Controls.Add(this.btOk);
118
         this.Controls.Add(this.ebPassword);
119
         this.Controls.Add(this.ebPassword);
119
         this.Controls.Add(this.ebUserName);
120
         this.Controls.Add(this.ebUserName);
120
         this.Controls.Add(this.label2);
121
         this.Controls.Add(this.label2);
121
         this.Controls.Add(this.label1);
122
         this.Controls.Add(this.label1);
-
 
123
         this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
122
         this.Name = "Logon";
124
         this.Name = "Logon";
-
 
125
         this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
123
         this.Text = "ReqPro Database Login";
126
         this.Text = "ReqPro Database Login";
-
 
127
         this.TopMost = true;
124
         this.Load += new System.EventHandler(this.Logon_Load);
128
         this.Load += new System.EventHandler(this.Logon_Load);
125
         this.ResumeLayout(false);
129
         this.ResumeLayout(false);
126
 
130
 
127
      }
131
      }
128
 
132
 
129
      #endregion
133
      #endregion
130
 
134
 
131
      private System.Windows.Forms.Label label1;
135
      private System.Windows.Forms.Label label1;
132
      private System.Windows.Forms.Label label2;
136
      private System.Windows.Forms.Label label2;
133
      private System.Windows.Forms.Button btOk;
137
      private System.Windows.Forms.Button btOk;
134
      private System.Windows.Forms.Button btCancel;
138
      private System.Windows.Forms.Button btCancel;
135
      public System.Windows.Forms.TextBox ebUserName;
139
      public System.Windows.Forms.TextBox ebUserName;
136
      public System.Windows.Forms.TextBox ebPassword;
140
      public System.Windows.Forms.TextBox ebPassword;
137
 
141
 
138
      private void Logon_Load(object sender, System.EventArgs e)
142
      private void Logon_Load(object sender, System.EventArgs e)
139
      {
143
      {
140
      
144
      
141
      }
145
      }
142
   }
146
   }
143
}
147
}
144
148