235 lines
11 KiB
C#
235 lines
11 KiB
C#
namespace trayToDB
|
|
{
|
|
partial class Settings
|
|
{
|
|
/// <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.label3 = new System.Windows.Forms.Label();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.passwordTextbox = new System.Windows.Forms.TextBox();
|
|
this.userTextbox = new System.Windows.Forms.TextBox();
|
|
this.okButton = new System.Windows.Forms.Button();
|
|
this.testButton = new System.Windows.Forms.Button();
|
|
this.cancelButton = new System.Windows.Forms.Button();
|
|
this.serverSelector = new System.Windows.Forms.ComboBox();
|
|
this.port = new System.Windows.Forms.NumericUpDown();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.databaseTextbox = new System.Windows.Forms.TextBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.port)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(16, 23);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(59, 20);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "Server:";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(16, 63);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(42, 20);
|
|
this.label2.TabIndex = 1;
|
|
this.label2.Text = "Port:";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(16, 103);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(47, 20);
|
|
this.label3.TabIndex = 2;
|
|
this.label3.Text = "User:";
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(16, 140);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(82, 20);
|
|
this.label4.TabIndex = 3;
|
|
this.label4.Text = "Password:";
|
|
//
|
|
// passwordTextbox
|
|
//
|
|
this.passwordTextbox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.passwordTextbox.Location = new System.Drawing.Point(120, 135);
|
|
this.passwordTextbox.Name = "passwordTextbox";
|
|
this.passwordTextbox.PasswordChar = '*';
|
|
this.passwordTextbox.Size = new System.Drawing.Size(254, 26);
|
|
this.passwordTextbox.TabIndex = 4;
|
|
//
|
|
// userTextbox
|
|
//
|
|
this.userTextbox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.userTextbox.Location = new System.Drawing.Point(120, 98);
|
|
this.userTextbox.Name = "userTextbox";
|
|
this.userTextbox.Size = new System.Drawing.Size(254, 26);
|
|
this.userTextbox.TabIndex = 3;
|
|
//
|
|
// okButton
|
|
//
|
|
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.okButton.Location = new System.Drawing.Point(21, 214);
|
|
this.okButton.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
|
this.okButton.Name = "okButton";
|
|
this.okButton.Size = new System.Drawing.Size(112, 35);
|
|
this.okButton.TabIndex = 6;
|
|
this.okButton.Text = "OK";
|
|
this.okButton.UseVisualStyleBackColor = true;
|
|
this.okButton.Click += new System.EventHandler(this.okButton_Click);
|
|
//
|
|
// testButton
|
|
//
|
|
this.testButton.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
|
|
this.testButton.Location = new System.Drawing.Point(142, 214);
|
|
this.testButton.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
|
this.testButton.Name = "testButton";
|
|
this.testButton.Size = new System.Drawing.Size(112, 35);
|
|
this.testButton.TabIndex = 7;
|
|
this.testButton.Text = "Test";
|
|
this.testButton.UseVisualStyleBackColor = true;
|
|
this.testButton.Click += new System.EventHandler(this.testButton_Click);
|
|
//
|
|
// cancelButton
|
|
//
|
|
this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.cancelButton.Location = new System.Drawing.Point(264, 214);
|
|
this.cancelButton.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
|
this.cancelButton.Name = "cancelButton";
|
|
this.cancelButton.Size = new System.Drawing.Size(112, 35);
|
|
this.cancelButton.TabIndex = 8;
|
|
this.cancelButton.Text = "Cancel";
|
|
this.cancelButton.UseVisualStyleBackColor = true;
|
|
this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
|
|
//
|
|
// serverSelector
|
|
//
|
|
this.serverSelector.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.serverSelector.FormattingEnabled = true;
|
|
this.serverSelector.Items.AddRange(new object[] {
|
|
"localhost",
|
|
"141.211.98.143"});
|
|
this.serverSelector.Location = new System.Drawing.Point(120, 18);
|
|
this.serverSelector.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
|
this.serverSelector.Name = "serverSelector";
|
|
this.serverSelector.Size = new System.Drawing.Size(254, 28);
|
|
this.serverSelector.TabIndex = 1;
|
|
//
|
|
// port
|
|
//
|
|
this.port.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.port.Location = new System.Drawing.Point(120, 60);
|
|
this.port.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
|
this.port.Maximum = new decimal(new int[] {
|
|
65535,
|
|
0,
|
|
0,
|
|
0});
|
|
this.port.Name = "port";
|
|
this.port.Size = new System.Drawing.Size(256, 26);
|
|
this.port.TabIndex = 2;
|
|
this.port.Value = new decimal(new int[] {
|
|
3306,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(16, 178);
|
|
this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(83, 20);
|
|
this.label5.TabIndex = 16;
|
|
this.label5.Text = "Database:";
|
|
//
|
|
// databaseTextbox
|
|
//
|
|
this.databaseTextbox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.databaseTextbox.Location = new System.Drawing.Point(120, 174);
|
|
this.databaseTextbox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
|
this.databaseTextbox.Name = "databaseTextbox";
|
|
this.databaseTextbox.Size = new System.Drawing.Size(254, 26);
|
|
this.databaseTextbox.TabIndex = 5;
|
|
//
|
|
// Settings
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(402, 265);
|
|
this.Controls.Add(this.databaseTextbox);
|
|
this.Controls.Add(this.label5);
|
|
this.Controls.Add(this.port);
|
|
this.Controls.Add(this.serverSelector);
|
|
this.Controls.Add(this.cancelButton);
|
|
this.Controls.Add(this.testButton);
|
|
this.Controls.Add(this.okButton);
|
|
this.Controls.Add(this.userTextbox);
|
|
this.Controls.Add(this.passwordTextbox);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.label1);
|
|
this.Name = "Settings";
|
|
this.Text = "Settings";
|
|
this.Load += new System.EventHandler(this.Settings_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.port)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.TextBox passwordTextbox;
|
|
private System.Windows.Forms.TextBox userTextbox;
|
|
private System.Windows.Forms.Button okButton;
|
|
private System.Windows.Forms.Button testButton;
|
|
private System.Windows.Forms.Button cancelButton;
|
|
private System.Windows.Forms.ComboBox serverSelector;
|
|
private System.Windows.Forms.NumericUpDown port;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.TextBox databaseTextbox;
|
|
}
|
|
} |