227 lines
12 KiB
C#
227 lines
12 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.mainMenu = new System.Windows.Forms.MenuStrip();
|
|
this.databaseToolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.checkIntegrityToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.mainMenu.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// serverNameLable
|
|
//
|
|
this.serverNameLable.AutoSize = true;
|
|
this.serverNameLable.Location = new System.Drawing.Point(22, 53);
|
|
this.serverNameLable.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
|
this.serverNameLable.Name = "serverNameLable";
|
|
this.serverNameLable.Size = new System.Drawing.Size(105, 20);
|
|
this.serverNameLable.TabIndex = 1;
|
|
this.serverNameLable.Text = "Server Name:";
|
|
//
|
|
// authenticationTypeLabel
|
|
//
|
|
this.authenticationTypeLabel.AutoSize = true;
|
|
this.authenticationTypeLabel.Location = new System.Drawing.Point(15, 108);
|
|
this.authenticationTypeLabel.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
|
|
this.authenticationTypeLabel.Name = "authenticationTypeLabel";
|
|
this.authenticationTypeLabel.Size = new System.Drawing.Size(116, 20);
|
|
this.authenticationTypeLabel.TabIndex = 3;
|
|
this.authenticationTypeLabel.Text = "Authentication:";
|
|
//
|
|
// connectButton
|
|
//
|
|
this.connectButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.connectButton.Location = new System.Drawing.Point(421, 257);
|
|
this.connectButton.Margin = new System.Windows.Forms.Padding(5);
|
|
this.connectButton.Name = "connectButton";
|
|
this.connectButton.Size = new System.Drawing.Size(128, 35);
|
|
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(146, 108);
|
|
this.authenticationTypeComboBox.Margin = new System.Windows.Forms.Padding(2);
|
|
this.authenticationTypeComboBox.MaxDropDownItems = 5;
|
|
this.authenticationTypeComboBox.Name = "authenticationTypeComboBox";
|
|
this.authenticationTypeComboBox.Size = new System.Drawing.Size(230, 28);
|
|
this.authenticationTypeComboBox.TabIndex = 2;
|
|
//
|
|
// loginLabel
|
|
//
|
|
this.loginLabel.AutoSize = true;
|
|
this.loginLabel.Location = new System.Drawing.Point(77, 163);
|
|
this.loginLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.loginLabel.Name = "loginLabel";
|
|
this.loginLabel.Size = new System.Drawing.Size(52, 20);
|
|
this.loginLabel.TabIndex = 6;
|
|
this.loginLabel.Text = "Login:";
|
|
//
|
|
// passwordLabel
|
|
//
|
|
this.passwordLabel.AutoSize = true;
|
|
this.passwordLabel.Location = new System.Drawing.Point(46, 218);
|
|
this.passwordLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.passwordLabel.Name = "passwordLabel";
|
|
this.passwordLabel.Size = new System.Drawing.Size(82, 20);
|
|
this.passwordLabel.TabIndex = 7;
|
|
this.passwordLabel.Text = "Password:";
|
|
//
|
|
// loginTextBox
|
|
//
|
|
this.loginTextBox.Enabled = false;
|
|
this.loginTextBox.Location = new System.Drawing.Point(146, 163);
|
|
this.loginTextBox.Margin = new System.Windows.Forms.Padding(2);
|
|
this.loginTextBox.Name = "loginTextBox";
|
|
this.loginTextBox.Size = new System.Drawing.Size(230, 26);
|
|
this.loginTextBox.TabIndex = 3;
|
|
//
|
|
// passwordTextBox
|
|
//
|
|
this.passwordTextBox.Enabled = false;
|
|
this.passwordTextBox.Location = new System.Drawing.Point(146, 216);
|
|
this.passwordTextBox.Margin = new System.Windows.Forms.Padding(2);
|
|
this.passwordTextBox.Name = "passwordTextBox";
|
|
this.passwordTextBox.PasswordChar = '*';
|
|
this.passwordTextBox.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
|
this.passwordTextBox.Size = new System.Drawing.Size(230, 26);
|
|
this.passwordTextBox.TabIndex = 4;
|
|
//
|
|
// serverNameComboBox
|
|
//
|
|
this.serverNameComboBox.FormattingEnabled = true;
|
|
this.serverNameComboBox.Location = new System.Drawing.Point(146, 53);
|
|
this.serverNameComboBox.Margin = new System.Windows.Forms.Padding(2);
|
|
this.serverNameComboBox.Name = "serverNameComboBox";
|
|
this.serverNameComboBox.Size = new System.Drawing.Size(371, 28);
|
|
this.serverNameComboBox.TabIndex = 1;
|
|
//
|
|
// informationLabel
|
|
//
|
|
this.informationLabel.AutoSize = true;
|
|
this.informationLabel.Location = new System.Drawing.Point(10, 256);
|
|
this.informationLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.informationLabel.Name = "informationLabel";
|
|
this.informationLabel.Size = new System.Drawing.Size(0, 20);
|
|
this.informationLabel.TabIndex = 11;
|
|
//
|
|
// mainMenu
|
|
//
|
|
this.mainMenu.ImageScalingSize = new System.Drawing.Size(28, 28);
|
|
this.mainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.databaseToolsToolStripMenuItem});
|
|
this.mainMenu.Location = new System.Drawing.Point(0, 0);
|
|
this.mainMenu.Name = "mainMenu";
|
|
this.mainMenu.Padding = new System.Windows.Forms.Padding(5, 2, 0, 2);
|
|
this.mainMenu.Size = new System.Drawing.Size(562, 33);
|
|
this.mainMenu.TabIndex = 12;
|
|
this.mainMenu.Text = "menuStrip1";
|
|
//
|
|
// databaseToolsToolStripMenuItem
|
|
//
|
|
this.databaseToolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.checkIntegrityToolStripMenuItem});
|
|
this.databaseToolsToolStripMenuItem.Name = "databaseToolsToolStripMenuItem";
|
|
this.databaseToolsToolStripMenuItem.Size = new System.Drawing.Size(144, 29);
|
|
this.databaseToolsToolStripMenuItem.Text = "&Database Tools";
|
|
//
|
|
// checkIntegrityToolStripMenuItem
|
|
//
|
|
this.checkIntegrityToolStripMenuItem.Name = "checkIntegrityToolStripMenuItem";
|
|
this.checkIntegrityToolStripMenuItem.Size = new System.Drawing.Size(214, 30);
|
|
this.checkIntegrityToolStripMenuItem.Text = "&Check Integrity";
|
|
this.checkIntegrityToolStripMenuItem.Click += new System.EventHandler(this.checkIntegrityToolStripMenuItem_Click);
|
|
//
|
|
// FrmLoginForm
|
|
//
|
|
this.AcceptButton = this.connectButton;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(562, 305);
|
|
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.Controls.Add(this.mainMenu);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MainMenuStrip = this.mainMenu;
|
|
this.Margin = new System.Windows.Forms.Padding(5);
|
|
this.MaximizeBox = false;
|
|
this.Name = "FrmLoginForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Connect to Database";
|
|
this.mainMenu.ResumeLayout(false);
|
|
this.mainMenu.PerformLayout();
|
|
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;
|
|
private System.Windows.Forms.MenuStrip mainMenu;
|
|
private System.Windows.Forms.ToolStripMenuItem databaseToolsToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem checkIntegrityToolStripMenuItem;
|
|
}
|
|
} |