479 lines
18 KiB
C#
479 lines
18 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();
|
|
confimDeployBtn = new Button();
|
|
testDBBtn = new Button();
|
|
testServicebtn = new Button();
|
|
serviceDisplayNameTBox = new TextBox();
|
|
serviceNameTBox = new TextBox();
|
|
label11 = new Label();
|
|
label10 = new Label();
|
|
selectPathBtn = new Button();
|
|
folderPathTbox = new TextBox();
|
|
label9 = new Label();
|
|
dbNameTBox = new TextBox();
|
|
label8 = new Label();
|
|
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();
|
|
groupBox4 = new GroupBox();
|
|
logTBox = new RichTextBox();
|
|
folderBrowserDialog1 = new FolderBrowserDialog();
|
|
groupBox1.SuspendLayout();
|
|
groupBox2.SuspendLayout();
|
|
groupBox3.SuspendLayout();
|
|
groupBox4.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(570, 187);
|
|
groupBox1.TabIndex = 0;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = "第一步:数据库";
|
|
//
|
|
// connectButton
|
|
//
|
|
connectButton.Location = new Point(418, 69);
|
|
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(120, 134);
|
|
passwordTextBox.Name = "passwordTextBox";
|
|
passwordTextBox.Size = new Size(271, 23);
|
|
passwordTextBox.TabIndex = 5;
|
|
passwordTextBox.Text = "123456";
|
|
//
|
|
// usernameTextBox
|
|
//
|
|
usernameTextBox.Location = new Point(120, 89);
|
|
usernameTextBox.Name = "usernameTextBox";
|
|
usernameTextBox.Size = new Size(271, 23);
|
|
usernameTextBox.TabIndex = 4;
|
|
usernameTextBox.Text = "sa";
|
|
//
|
|
// serverTextBox
|
|
//
|
|
serverTextBox.Location = new Point(120, 41);
|
|
serverTextBox.Name = "serverTextBox";
|
|
serverTextBox.Size = new Size(271, 23);
|
|
serverTextBox.TabIndex = 3;
|
|
serverTextBox.Text = ".";
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(26, 131);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(32, 17);
|
|
label3.TabIndex = 2;
|
|
label3.Text = "密码";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(26, 85);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(44, 17);
|
|
label2.TabIndex = 1;
|
|
label2.Text = "登录名";
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(26, 35);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(56, 17);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "服务器名";
|
|
//
|
|
// groupBox2
|
|
//
|
|
groupBox2.Controls.Add(confimDeployBtn);
|
|
groupBox2.Controls.Add(testDBBtn);
|
|
groupBox2.Controls.Add(testServicebtn);
|
|
groupBox2.Controls.Add(serviceDisplayNameTBox);
|
|
groupBox2.Controls.Add(serviceNameTBox);
|
|
groupBox2.Controls.Add(label11);
|
|
groupBox2.Controls.Add(label10);
|
|
groupBox2.Controls.Add(selectPathBtn);
|
|
groupBox2.Controls.Add(folderPathTbox);
|
|
groupBox2.Controls.Add(label9);
|
|
groupBox2.Controls.Add(dbNameTBox);
|
|
groupBox2.Controls.Add(label8);
|
|
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, 231);
|
|
groupBox2.Name = "groupBox2";
|
|
groupBox2.Size = new Size(570, 439);
|
|
groupBox2.TabIndex = 1;
|
|
groupBox2.TabStop = false;
|
|
groupBox2.Text = "第二步: 部署配置";
|
|
//
|
|
// confimDeployBtn
|
|
//
|
|
confimDeployBtn.Enabled = false;
|
|
confimDeployBtn.Location = new Point(220, 369);
|
|
confimDeployBtn.Name = "confimDeployBtn";
|
|
confimDeployBtn.Size = new Size(128, 49);
|
|
confimDeployBtn.TabIndex = 19;
|
|
confimDeployBtn.Text = "确认部署配置";
|
|
confimDeployBtn.UseVisualStyleBackColor = true;
|
|
confimDeployBtn.Click += confimDeployBtn_Click;
|
|
//
|
|
// testDBBtn
|
|
//
|
|
testDBBtn.Enabled = false;
|
|
testDBBtn.Location = new Point(417, 196);
|
|
testDBBtn.Name = "testDBBtn";
|
|
testDBBtn.Size = new Size(128, 49);
|
|
testDBBtn.TabIndex = 18;
|
|
testDBBtn.Text = "测试数据库名";
|
|
testDBBtn.UseVisualStyleBackColor = true;
|
|
testDBBtn.Click += testDBBtn_Click;
|
|
//
|
|
// testServicebtn
|
|
//
|
|
testServicebtn.Enabled = false;
|
|
testServicebtn.Location = new Point(417, 276);
|
|
testServicebtn.Name = "testServicebtn";
|
|
testServicebtn.Size = new Size(128, 49);
|
|
testServicebtn.TabIndex = 17;
|
|
testServicebtn.Text = "测试服务名称";
|
|
testServicebtn.UseVisualStyleBackColor = true;
|
|
testServicebtn.Click += testServicebtn_Click;
|
|
//
|
|
// serviceDisplayNameTBox
|
|
//
|
|
serviceDisplayNameTBox.Location = new Point(197, 308);
|
|
serviceDisplayNameTBox.Name = "serviceDisplayNameTBox";
|
|
serviceDisplayNameTBox.Size = new Size(197, 23);
|
|
serviceDisplayNameTBox.TabIndex = 16;
|
|
serviceDisplayNameTBox.Text = "EI_Image_Viewer_DisplayName";
|
|
//
|
|
// serviceNameTBox
|
|
//
|
|
serviceNameTBox.Location = new Point(197, 251);
|
|
serviceNameTBox.Name = "serviceNameTBox";
|
|
serviceNameTBox.Size = new Size(197, 23);
|
|
serviceNameTBox.TabIndex = 15;
|
|
serviceNameTBox.Text = "EI_Image_Viewer";
|
|
//
|
|
// label11
|
|
//
|
|
label11.AutoSize = true;
|
|
label11.Location = new Point(20, 308);
|
|
label11.Name = "label11";
|
|
label11.Size = new Size(128, 17);
|
|
label11.TabIndex = 14;
|
|
label11.Text = "网站后端服务显示名称";
|
|
//
|
|
// label10
|
|
//
|
|
label10.AutoSize = true;
|
|
label10.Location = new Point(20, 254);
|
|
label10.Name = "label10";
|
|
label10.Size = new Size(104, 17);
|
|
label10.TabIndex = 13;
|
|
label10.Text = "网站后端服务名称";
|
|
//
|
|
// selectPathBtn
|
|
//
|
|
selectPathBtn.Enabled = false;
|
|
selectPathBtn.Location = new Point(417, 44);
|
|
selectPathBtn.Name = "selectPathBtn";
|
|
selectPathBtn.Size = new Size(128, 31);
|
|
selectPathBtn.TabIndex = 12;
|
|
selectPathBtn.Text = "选择部署路径";
|
|
selectPathBtn.UseVisualStyleBackColor = true;
|
|
selectPathBtn.Click += selectPathBtn_Click;
|
|
//
|
|
// folderPathTbox
|
|
//
|
|
folderPathTbox.Enabled = false;
|
|
folderPathTbox.Location = new Point(119, 48);
|
|
folderPathTbox.Name = "folderPathTbox";
|
|
folderPathTbox.Size = new Size(271, 23);
|
|
folderPathTbox.TabIndex = 11;
|
|
//
|
|
// label9
|
|
//
|
|
label9.AutoSize = true;
|
|
label9.Location = new Point(20, 51);
|
|
label9.Name = "label9";
|
|
label9.Size = new Size(92, 17);
|
|
label9.TabIndex = 10;
|
|
label9.Text = "网站部署文件夹";
|
|
//
|
|
// dbNameTBox
|
|
//
|
|
dbNameTBox.Location = new Point(198, 196);
|
|
dbNameTBox.Name = "dbNameTBox";
|
|
dbNameTBox.Size = new Size(197, 23);
|
|
dbNameTBox.TabIndex = 9;
|
|
dbNameTBox.Text = "IRaCIS";
|
|
//
|
|
// label8
|
|
//
|
|
label8.AutoSize = true;
|
|
label8.Location = new Point(20, 201);
|
|
label8.Name = "label8";
|
|
label8.Size = new Size(92, 17);
|
|
label8.TabIndex = 8;
|
|
label8.Text = "部署数据库名称";
|
|
//
|
|
// portBtn
|
|
//
|
|
portBtn.Enabled = false;
|
|
portBtn.Location = new Point(417, 114);
|
|
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(198, 151);
|
|
apiPortTBox.Name = "apiPortTBox";
|
|
apiPortTBox.Size = new Size(197, 23);
|
|
apiPortTBox.TabIndex = 5;
|
|
apiPortTBox.Text = "7100";
|
|
//
|
|
// nginxPortTBox
|
|
//
|
|
nginxPortTBox.Location = new Point(197, 103);
|
|
nginxPortTBox.Name = "nginxPortTBox";
|
|
nginxPortTBox.Size = new Size(197, 23);
|
|
nginxPortTBox.TabIndex = 4;
|
|
nginxPortTBox.Text = "9520";
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(20, 157);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(128, 17);
|
|
label4.TabIndex = 3;
|
|
label4.Text = "网站后端服务启动端口";
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Location = new Point(20, 107);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(104, 17);
|
|
label5.TabIndex = 2;
|
|
label5.Text = "网站前端访问端口";
|
|
//
|
|
// 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(12, 693);
|
|
groupBox3.Name = "groupBox3";
|
|
groupBox3.Size = new Size(582, 183);
|
|
groupBox3.TabIndex = 2;
|
|
groupBox3.TabStop = false;
|
|
groupBox3.Text = "第三部:激活码";
|
|
//
|
|
// activeBtn
|
|
//
|
|
activeBtn.Enabled = false;
|
|
activeBtn.Location = new Point(430, 69);
|
|
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(131, 101);
|
|
KeySecreteTextBox.Multiline = true;
|
|
KeySecreteTextBox.Name = "KeySecreteTextBox";
|
|
KeySecreteTextBox.Size = new Size(271, 42);
|
|
KeySecreteTextBox.TabIndex = 8;
|
|
//
|
|
// machineTextBox
|
|
//
|
|
machineTextBox.Location = new Point(132, 45);
|
|
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 = "机器码";
|
|
//
|
|
// groupBox4
|
|
//
|
|
groupBox4.Controls.Add(logTBox);
|
|
groupBox4.Location = new Point(618, 25);
|
|
groupBox4.Name = "groupBox4";
|
|
groupBox4.Size = new Size(391, 851);
|
|
groupBox4.TabIndex = 4;
|
|
groupBox4.TabStop = false;
|
|
groupBox4.Text = "部署提示日志";
|
|
//
|
|
// logTBox
|
|
//
|
|
logTBox.Location = new Point(6, 22);
|
|
logTBox.Name = "logTBox";
|
|
logTBox.Size = new Size(359, 816);
|
|
logTBox.TabIndex = 0;
|
|
logTBox.Text = "";
|
|
//
|
|
// Main
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1021, 914);
|
|
Controls.Add(groupBox4);
|
|
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();
|
|
groupBox4.ResumeLayout(false);
|
|
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;
|
|
private GroupBox groupBox4;
|
|
private RichTextBox logTBox;
|
|
private TextBox dbNameTBox;
|
|
private Label label8;
|
|
private Button selectPathBtn;
|
|
private TextBox folderPathTbox;
|
|
private Label label9;
|
|
private FolderBrowserDialog folderBrowserDialog1;
|
|
private TextBox serviceDisplayNameTBox;
|
|
private TextBox serviceNameTBox;
|
|
private Label label11;
|
|
private Label label10;
|
|
private Button testDBBtn;
|
|
private Button testServicebtn;
|
|
private Button confimDeployBtn;
|
|
}
|
|
} |