301 lines
10 KiB
C#
301 lines
10 KiB
C#
namespace Start
|
|
{
|
|
partial class Main
|
|
{
|
|
/// <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()
|
|
{
|
|
groupBox1 = new GroupBox();
|
|
connectButton = new Button();
|
|
passwordTextBox = new TextBox();
|
|
usernameTextBox = new TextBox();
|
|
serverTextBox = new TextBox();
|
|
label3 = new Label();
|
|
label2 = new Label();
|
|
label1 = new Label();
|
|
groupBox2 = new GroupBox();
|
|
portBtn = new Button();
|
|
apiPortTBox = new TextBox();
|
|
nginxPortTBox = new TextBox();
|
|
label4 = new Label();
|
|
label5 = new Label();
|
|
groupBox3 = new GroupBox();
|
|
activeBtn = new Button();
|
|
KeySecreteTextBox = new TextBox();
|
|
machineTextBox = new TextBox();
|
|
machineCodeLB = new Label();
|
|
label6 = new Label();
|
|
label7 = new Label();
|
|
groupBox1.SuspendLayout();
|
|
groupBox2.SuspendLayout();
|
|
groupBox3.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// groupBox1
|
|
//
|
|
groupBox1.Controls.Add(connectButton);
|
|
groupBox1.Controls.Add(passwordTextBox);
|
|
groupBox1.Controls.Add(usernameTextBox);
|
|
groupBox1.Controls.Add(serverTextBox);
|
|
groupBox1.Controls.Add(label3);
|
|
groupBox1.Controls.Add(label2);
|
|
groupBox1.Controls.Add(label1);
|
|
groupBox1.Location = new Point(24, 25);
|
|
groupBox1.Name = "groupBox1";
|
|
groupBox1.Size = new Size(738, 220);
|
|
groupBox1.TabIndex = 0;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = "数据库";
|
|
//
|
|
// connectButton
|
|
//
|
|
connectButton.Location = new Point(531, 86);
|
|
connectButton.Name = "connectButton";
|
|
connectButton.Size = new Size(128, 49);
|
|
connectButton.TabIndex = 6;
|
|
connectButton.Text = "测试连接";
|
|
connectButton.UseVisualStyleBackColor = true;
|
|
connectButton.Click += connectButton_Click;
|
|
//
|
|
// passwordTextBox
|
|
//
|
|
passwordTextBox.Location = new Point(193, 144);
|
|
passwordTextBox.Name = "passwordTextBox";
|
|
passwordTextBox.Size = new Size(271, 23);
|
|
passwordTextBox.TabIndex = 5;
|
|
passwordTextBox.Text = "123456";
|
|
//
|
|
// usernameTextBox
|
|
//
|
|
usernameTextBox.Location = new Point(193, 99);
|
|
usernameTextBox.Name = "usernameTextBox";
|
|
usernameTextBox.Size = new Size(271, 23);
|
|
usernameTextBox.TabIndex = 4;
|
|
usernameTextBox.Text = "sa";
|
|
//
|
|
// serverTextBox
|
|
//
|
|
serverTextBox.Location = new Point(193, 51);
|
|
serverTextBox.Name = "serverTextBox";
|
|
serverTextBox.Size = new Size(271, 23);
|
|
serverTextBox.TabIndex = 3;
|
|
serverTextBox.Text = ".";
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(26, 141);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(32, 17);
|
|
label3.TabIndex = 2;
|
|
label3.Text = "密码";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(26, 95);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(44, 17);
|
|
label2.TabIndex = 1;
|
|
label2.Text = "登录名";
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(26, 45);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(56, 17);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "服务器名";
|
|
//
|
|
// groupBox2
|
|
//
|
|
groupBox2.Controls.Add(portBtn);
|
|
groupBox2.Controls.Add(apiPortTBox);
|
|
groupBox2.Controls.Add(nginxPortTBox);
|
|
groupBox2.Controls.Add(label4);
|
|
groupBox2.Controls.Add(label5);
|
|
groupBox2.Location = new Point(24, 266);
|
|
groupBox2.Name = "groupBox2";
|
|
groupBox2.Size = new Size(738, 206);
|
|
groupBox2.TabIndex = 1;
|
|
groupBox2.TabStop = false;
|
|
groupBox2.Text = "Nginx";
|
|
//
|
|
// portBtn
|
|
//
|
|
portBtn.Location = new Point(531, 86);
|
|
portBtn.Name = "portBtn";
|
|
portBtn.Size = new Size(128, 49);
|
|
portBtn.TabIndex = 7;
|
|
portBtn.Text = "测试端口";
|
|
portBtn.UseVisualStyleBackColor = true;
|
|
portBtn.Click += portBtn_Click;
|
|
//
|
|
// apiPortTBox
|
|
//
|
|
apiPortTBox.Location = new Point(218, 112);
|
|
apiPortTBox.Name = "apiPortTBox";
|
|
apiPortTBox.Size = new Size(100, 23);
|
|
apiPortTBox.TabIndex = 5;
|
|
apiPortTBox.Text = "7100";
|
|
//
|
|
// nginxPortTBox
|
|
//
|
|
nginxPortTBox.Location = new Point(217, 64);
|
|
nginxPortTBox.Name = "nginxPortTBox";
|
|
nginxPortTBox.Size = new Size(100, 23);
|
|
nginxPortTBox.TabIndex = 4;
|
|
nginxPortTBox.Text = "9527";
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(26, 113);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(80, 17);
|
|
label4.TabIndex = 3;
|
|
label4.Text = "服务启动端口";
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Location = new Point(26, 63);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(90, 17);
|
|
label5.TabIndex = 2;
|
|
label5.Text = "Nginx启动端口";
|
|
//
|
|
// groupBox3
|
|
//
|
|
groupBox3.Controls.Add(activeBtn);
|
|
groupBox3.Controls.Add(KeySecreteTextBox);
|
|
groupBox3.Controls.Add(machineTextBox);
|
|
groupBox3.Controls.Add(machineCodeLB);
|
|
groupBox3.Controls.Add(label6);
|
|
groupBox3.Controls.Add(label7);
|
|
groupBox3.Location = new Point(24, 502);
|
|
groupBox3.Name = "groupBox3";
|
|
groupBox3.Size = new Size(738, 172);
|
|
groupBox3.TabIndex = 2;
|
|
groupBox3.TabStop = false;
|
|
groupBox3.Text = "激活码";
|
|
//
|
|
// activeBtn
|
|
//
|
|
activeBtn.Location = new Point(531, 75);
|
|
activeBtn.Name = "activeBtn";
|
|
activeBtn.Size = new Size(128, 49);
|
|
activeBtn.TabIndex = 9;
|
|
activeBtn.Text = "激活";
|
|
activeBtn.UseVisualStyleBackColor = true;
|
|
activeBtn.Click += activeBtn_Click;
|
|
//
|
|
// KeySecreteTextBox
|
|
//
|
|
KeySecreteTextBox.Location = new Point(193, 101);
|
|
KeySecreteTextBox.Name = "KeySecreteTextBox";
|
|
KeySecreteTextBox.Size = new Size(271, 23);
|
|
KeySecreteTextBox.TabIndex = 8;
|
|
//
|
|
// machineTextBox
|
|
//
|
|
machineTextBox.Location = new Point(193, 51);
|
|
machineTextBox.Name = "machineTextBox";
|
|
machineTextBox.ReadOnly = true;
|
|
machineTextBox.Size = new Size(271, 23);
|
|
machineTextBox.TabIndex = 7;
|
|
//
|
|
// machineCodeLB
|
|
//
|
|
machineCodeLB.AutoSize = true;
|
|
machineCodeLB.Location = new Point(163, 51);
|
|
machineCodeLB.Name = "machineCodeLB";
|
|
machineCodeLB.Size = new Size(0, 17);
|
|
machineCodeLB.TabIndex = 6;
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Location = new Point(26, 101);
|
|
label6.Name = "label6";
|
|
label6.Size = new Size(44, 17);
|
|
label6.TabIndex = 5;
|
|
label6.Text = "激活码";
|
|
//
|
|
// label7
|
|
//
|
|
label7.AutoSize = true;
|
|
label7.Location = new Point(26, 51);
|
|
label7.Name = "label7";
|
|
label7.Size = new Size(44, 17);
|
|
label7.TabIndex = 4;
|
|
label7.Text = "机器码";
|
|
//
|
|
// Main
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(800, 798);
|
|
Controls.Add(groupBox3);
|
|
Controls.Add(groupBox2);
|
|
Controls.Add(groupBox1);
|
|
Name = "Main";
|
|
Text = "EI Image Viewer";
|
|
groupBox1.ResumeLayout(false);
|
|
groupBox1.PerformLayout();
|
|
groupBox2.ResumeLayout(false);
|
|
groupBox2.PerformLayout();
|
|
groupBox3.ResumeLayout(false);
|
|
groupBox3.PerformLayout();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private GroupBox groupBox1;
|
|
private Label label3;
|
|
private Label label2;
|
|
private Label label1;
|
|
private TextBox passwordTextBox;
|
|
private TextBox usernameTextBox;
|
|
private TextBox serverTextBox;
|
|
private Button connectButton;
|
|
private GroupBox groupBox2;
|
|
private TextBox apiPortTBox;
|
|
private TextBox nginxPortTBox;
|
|
private Label label4;
|
|
private Label label5;
|
|
private GroupBox groupBox3;
|
|
private Button portBtn;
|
|
private Label machineCodeLB;
|
|
private Label label6;
|
|
private Label label7;
|
|
private Button activeBtn;
|
|
private TextBox KeySecreteTextBox;
|
|
private TextBox machineTextBox;
|
|
}
|
|
} |