181 lines
8.6 KiB
C#
181 lines
8.6 KiB
C#
namespace AdvertsingProfitControl
|
|
{
|
|
partial class FrmLoginForm
|
|
{
|
|
/// <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(FrmLoginForm));
|
|
this.serverNameLable = new System.Windows.Forms.Label();
|
|
this.authenticationTypeLabel = new System.Windows.Forms.Label();
|
|
this.connectButton = new System.Windows.Forms.Button();
|
|
this.authenticationTypeComboBox = new System.Windows.Forms.ComboBox();
|
|
this.loginLabel = new System.Windows.Forms.Label();
|
|
this.passwordLabel = new System.Windows.Forms.Label();
|
|
this.loginTextBox = new System.Windows.Forms.TextBox();
|
|
this.passwordTextBox = new System.Windows.Forms.TextBox();
|
|
this.serverNameComboBox = new System.Windows.Forms.ComboBox();
|
|
this.informationLabel = new System.Windows.Forms.Label();
|
|
this.SuspendLayout();
|
|
//
|
|
// serverNameLable
|
|
//
|
|
this.serverNameLable.AutoSize = true;
|
|
this.serverNameLable.Location = new System.Drawing.Point(15, 23);
|
|
this.serverNameLable.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
|
this.serverNameLable.Name = "serverNameLable";
|
|
this.serverNameLable.Size = new System.Drawing.Size(133, 25);
|
|
this.serverNameLable.TabIndex = 1;
|
|
this.serverNameLable.Text = "Server Name:";
|
|
//
|
|
// authenticationTypeLabel
|
|
//
|
|
this.authenticationTypeLabel.AutoSize = true;
|
|
this.authenticationTypeLabel.Location = new System.Drawing.Point(6, 89);
|
|
this.authenticationTypeLabel.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
|
this.authenticationTypeLabel.Name = "authenticationTypeLabel";
|
|
this.authenticationTypeLabel.Size = new System.Drawing.Size(142, 25);
|
|
this.authenticationTypeLabel.TabIndex = 3;
|
|
this.authenticationTypeLabel.Text = "Authentication:";
|
|
//
|
|
// connectButton
|
|
//
|
|
this.connectButton.Location = new System.Drawing.Point(476, 267);
|
|
this.connectButton.Margin = new System.Windows.Forms.Padding(6);
|
|
this.connectButton.Name = "connectButton";
|
|
this.connectButton.Size = new System.Drawing.Size(157, 42);
|
|
this.connectButton.TabIndex = 5;
|
|
this.connectButton.Text = "Connect";
|
|
this.connectButton.UseVisualStyleBackColor = true;
|
|
this.connectButton.Click += new System.EventHandler(this.AttemptConnection);
|
|
//
|
|
// authenticationTypeComboBox
|
|
//
|
|
this.authenticationTypeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.authenticationTypeComboBox.Enabled = false;
|
|
this.authenticationTypeComboBox.FormattingEnabled = true;
|
|
this.authenticationTypeComboBox.Items.AddRange(new object[] {
|
|
"Windows Authentication",
|
|
"SQL Server Authentication"});
|
|
this.authenticationTypeComboBox.Location = new System.Drawing.Point(167, 89);
|
|
this.authenticationTypeComboBox.MaxDropDownItems = 5;
|
|
this.authenticationTypeComboBox.Name = "authenticationTypeComboBox";
|
|
this.authenticationTypeComboBox.Size = new System.Drawing.Size(280, 32);
|
|
this.authenticationTypeComboBox.TabIndex = 2;
|
|
//
|
|
// loginLabel
|
|
//
|
|
this.loginLabel.AutoSize = true;
|
|
this.loginLabel.Location = new System.Drawing.Point(82, 155);
|
|
this.loginLabel.Name = "loginLabel";
|
|
this.loginLabel.Size = new System.Drawing.Size(66, 25);
|
|
this.loginLabel.TabIndex = 6;
|
|
this.loginLabel.Text = "Login:";
|
|
//
|
|
// passwordLabel
|
|
//
|
|
this.passwordLabel.AutoSize = true;
|
|
this.passwordLabel.Location = new System.Drawing.Point(44, 221);
|
|
this.passwordLabel.Name = "passwordLabel";
|
|
this.passwordLabel.Size = new System.Drawing.Size(104, 25);
|
|
this.passwordLabel.TabIndex = 7;
|
|
this.passwordLabel.Text = "Password:";
|
|
//
|
|
// loginTextBox
|
|
//
|
|
this.loginTextBox.Enabled = false;
|
|
this.loginTextBox.Location = new System.Drawing.Point(167, 155);
|
|
this.loginTextBox.Name = "loginTextBox";
|
|
this.loginTextBox.Size = new System.Drawing.Size(280, 29);
|
|
this.loginTextBox.TabIndex = 3;
|
|
//
|
|
// passwordTextBox
|
|
//
|
|
this.passwordTextBox.Enabled = false;
|
|
this.passwordTextBox.Location = new System.Drawing.Point(167, 218);
|
|
this.passwordTextBox.Name = "passwordTextBox";
|
|
this.passwordTextBox.PasswordChar = '*';
|
|
this.passwordTextBox.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
|
this.passwordTextBox.Size = new System.Drawing.Size(280, 29);
|
|
this.passwordTextBox.TabIndex = 4;
|
|
//
|
|
// serverNameComboBox
|
|
//
|
|
this.serverNameComboBox.FormattingEnabled = true;
|
|
this.serverNameComboBox.Location = new System.Drawing.Point(167, 23);
|
|
this.serverNameComboBox.Name = "serverNameComboBox";
|
|
this.serverNameComboBox.Size = new System.Drawing.Size(452, 32);
|
|
this.serverNameComboBox.TabIndex = 1;
|
|
//
|
|
// informationLabel
|
|
//
|
|
this.informationLabel.AutoSize = true;
|
|
this.informationLabel.Location = new System.Drawing.Point(11, 267);
|
|
this.informationLabel.Name = "informationLabel";
|
|
this.informationLabel.Size = new System.Drawing.Size(0, 25);
|
|
this.informationLabel.TabIndex = 11;
|
|
//
|
|
// FrmLoginForm
|
|
//
|
|
this.AcceptButton = this.connectButton;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 24F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(648, 324);
|
|
this.Controls.Add(this.informationLabel);
|
|
this.Controls.Add(this.serverNameComboBox);
|
|
this.Controls.Add(this.passwordTextBox);
|
|
this.Controls.Add(this.loginTextBox);
|
|
this.Controls.Add(this.passwordLabel);
|
|
this.Controls.Add(this.loginLabel);
|
|
this.Controls.Add(this.authenticationTypeComboBox);
|
|
this.Controls.Add(this.connectButton);
|
|
this.Controls.Add(this.authenticationTypeLabel);
|
|
this.Controls.Add(this.serverNameLable);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Margin = new System.Windows.Forms.Padding(6);
|
|
this.MaximizeBox = false;
|
|
this.Name = "FrmLoginForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Connect to Database";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
private System.Windows.Forms.Label serverNameLable;
|
|
private System.Windows.Forms.Label authenticationTypeLabel;
|
|
private System.Windows.Forms.Button connectButton;
|
|
private System.Windows.Forms.ComboBox authenticationTypeComboBox;
|
|
private System.Windows.Forms.Label loginLabel;
|
|
private System.Windows.Forms.Label passwordLabel;
|
|
private System.Windows.Forms.TextBox loginTextBox;
|
|
private System.Windows.Forms.TextBox passwordTextBox;
|
|
private System.Windows.Forms.ComboBox serverNameComboBox;
|
|
private System.Windows.Forms.Label informationLabel;
|
|
}
|
|
} |