499 lines
18 KiB
C#
499 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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
|
|
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();
|
|
nginxServiceDisplayNameTbox = new TextBox();
|
|
nginxServiceNameTbox = new TextBox();
|
|
label12 = new Label();
|
|
label13 = new Label();
|
|
confimDeployBtn = 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();
|
|
apiPortTBox = new TextBox();
|
|
nginxPortTBox = new TextBox();
|
|
label4 = new Label();
|
|
label5 = new Label();
|
|
groupBox3 = new GroupBox();
|
|
btnCopy = new Button();
|
|
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(11, 12);
|
|
groupBox1.Name = "groupBox1";
|
|
groupBox1.Size = new Size(547, 205);
|
|
groupBox1.TabIndex = 0;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = "第一步:验证数据库";
|
|
//
|
|
// connectButton
|
|
//
|
|
connectButton.Location = new Point(195, 150);
|
|
connectButton.Name = "connectButton";
|
|
connectButton.Size = new Size(128, 40);
|
|
connectButton.TabIndex = 6;
|
|
connectButton.Text = "测试连接";
|
|
connectButton.UseVisualStyleBackColor = true;
|
|
connectButton.Click += connectButton_Click;
|
|
//
|
|
// passwordTextBox
|
|
//
|
|
passwordTextBox.Location = new Point(154, 113);
|
|
passwordTextBox.Name = "passwordTextBox";
|
|
passwordTextBox.PasswordChar = '*';
|
|
passwordTextBox.Size = new Size(271, 23);
|
|
passwordTextBox.TabIndex = 5;
|
|
//
|
|
// usernameTextBox
|
|
//
|
|
usernameTextBox.Location = new Point(156, 73);
|
|
usernameTextBox.Name = "usernameTextBox";
|
|
usernameTextBox.Size = new Size(271, 23);
|
|
usernameTextBox.TabIndex = 4;
|
|
usernameTextBox.Text = "sa";
|
|
//
|
|
// serverTextBox
|
|
//
|
|
serverTextBox.Location = new Point(156, 33);
|
|
serverTextBox.Name = "serverTextBox";
|
|
serverTextBox.Size = new Size(271, 23);
|
|
serverTextBox.TabIndex = 3;
|
|
serverTextBox.Text = ".";
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(107, 113);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(32, 17);
|
|
label3.TabIndex = 2;
|
|
label3.Text = "密码";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(101, 73);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(44, 17);
|
|
label2.TabIndex = 1;
|
|
label2.Text = "登录名";
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(95, 33);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(56, 17);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "服务器名";
|
|
//
|
|
// groupBox2
|
|
//
|
|
groupBox2.Controls.Add(nginxServiceDisplayNameTbox);
|
|
groupBox2.Controls.Add(nginxServiceNameTbox);
|
|
groupBox2.Controls.Add(label12);
|
|
groupBox2.Controls.Add(label13);
|
|
groupBox2.Controls.Add(confimDeployBtn);
|
|
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(apiPortTBox);
|
|
groupBox2.Controls.Add(nginxPortTBox);
|
|
groupBox2.Controls.Add(label4);
|
|
groupBox2.Controls.Add(label5);
|
|
groupBox2.Location = new Point(12, 223);
|
|
groupBox2.Name = "groupBox2";
|
|
groupBox2.Size = new Size(546, 468);
|
|
groupBox2.TabIndex = 1;
|
|
groupBox2.TabStop = false;
|
|
groupBox2.Text = "第二步: 部署参数配置";
|
|
//
|
|
// nginxServiceDisplayNameTbox
|
|
//
|
|
nginxServiceDisplayNameTbox.Location = new Point(151, 368);
|
|
nginxServiceDisplayNameTbox.Name = "nginxServiceDisplayNameTbox";
|
|
nginxServiceDisplayNameTbox.Size = new Size(259, 23);
|
|
nginxServiceDisplayNameTbox.TabIndex = 23;
|
|
nginxServiceDisplayNameTbox.Text = "EI_Nginx_Self_Starting";
|
|
//
|
|
// nginxServiceNameTbox
|
|
//
|
|
nginxServiceNameTbox.Location = new Point(151, 322);
|
|
nginxServiceNameTbox.Name = "nginxServiceNameTbox";
|
|
nginxServiceNameTbox.Size = new Size(259, 23);
|
|
nginxServiceNameTbox.TabIndex = 22;
|
|
nginxServiceNameTbox.Text = "EI_Nginx";
|
|
//
|
|
// label12
|
|
//
|
|
label12.AutoSize = true;
|
|
label12.Location = new Point(27, 368);
|
|
label12.Name = "label12";
|
|
label12.Size = new Size(111, 17);
|
|
label12.TabIndex = 21;
|
|
label12.Text = "nginx服务显示名称";
|
|
//
|
|
// label13
|
|
//
|
|
label13.AutoSize = true;
|
|
label13.Location = new Point(51, 322);
|
|
label13.Name = "label13";
|
|
label13.Size = new Size(87, 17);
|
|
label13.TabIndex = 20;
|
|
label13.Text = "nginx服务名称";
|
|
//
|
|
// confimDeployBtn
|
|
//
|
|
confimDeployBtn.Enabled = false;
|
|
confimDeployBtn.Location = new Point(195, 409);
|
|
confimDeployBtn.Name = "confimDeployBtn";
|
|
confimDeployBtn.Size = new Size(128, 40);
|
|
confimDeployBtn.TabIndex = 19;
|
|
confimDeployBtn.Text = "确认部署配置";
|
|
confimDeployBtn.UseVisualStyleBackColor = true;
|
|
confimDeployBtn.Click += confimDeployBtn_Click;
|
|
//
|
|
// serviceDisplayNameTBox
|
|
//
|
|
serviceDisplayNameTBox.Location = new Point(152, 274);
|
|
serviceDisplayNameTBox.Name = "serviceDisplayNameTBox";
|
|
serviceDisplayNameTBox.Size = new Size(259, 23);
|
|
serviceDisplayNameTBox.TabIndex = 16;
|
|
serviceDisplayNameTBox.Text = "EI_Image_Viewer_DisplayName";
|
|
//
|
|
// serviceNameTBox
|
|
//
|
|
serviceNameTBox.Location = new Point(152, 228);
|
|
serviceNameTBox.Name = "serviceNameTBox";
|
|
serviceNameTBox.Size = new Size(259, 23);
|
|
serviceNameTBox.TabIndex = 15;
|
|
serviceNameTBox.Text = "EI_Image_Viewer";
|
|
//
|
|
// label11
|
|
//
|
|
label11.AutoSize = true;
|
|
label11.Location = new Point(11, 277);
|
|
label11.Name = "label11";
|
|
label11.Size = new Size(128, 17);
|
|
label11.TabIndex = 14;
|
|
label11.Text = "网站后端服务显示名称";
|
|
//
|
|
// label10
|
|
//
|
|
label10.AutoSize = true;
|
|
label10.Location = new Point(35, 231);
|
|
label10.Name = "label10";
|
|
label10.Size = new Size(104, 17);
|
|
label10.TabIndex = 13;
|
|
label10.Text = "网站后端服务名称";
|
|
//
|
|
// selectPathBtn
|
|
//
|
|
selectPathBtn.Enabled = false;
|
|
selectPathBtn.Location = new Point(429, 43);
|
|
selectPathBtn.Name = "selectPathBtn";
|
|
selectPathBtn.Size = new Size(95, 27);
|
|
selectPathBtn.TabIndex = 12;
|
|
selectPathBtn.Text = "选择";
|
|
selectPathBtn.UseVisualStyleBackColor = true;
|
|
selectPathBtn.Click += selectPathBtn_Click;
|
|
//
|
|
// folderPathTbox
|
|
//
|
|
folderPathTbox.Enabled = false;
|
|
folderPathTbox.Location = new Point(152, 44);
|
|
folderPathTbox.Name = "folderPathTbox";
|
|
folderPathTbox.Size = new Size(259, 23);
|
|
folderPathTbox.TabIndex = 11;
|
|
//
|
|
// label9
|
|
//
|
|
label9.AutoSize = true;
|
|
label9.Location = new Point(83, 48);
|
|
label9.Name = "label9";
|
|
label9.Size = new Size(56, 17);
|
|
label9.TabIndex = 10;
|
|
label9.Text = "部署路径";
|
|
//
|
|
// dbNameTBox
|
|
//
|
|
dbNameTBox.Location = new Point(152, 182);
|
|
dbNameTBox.Name = "dbNameTBox";
|
|
dbNameTBox.Size = new Size(259, 23);
|
|
dbNameTBox.TabIndex = 9;
|
|
dbNameTBox.Text = "IRaCIS";
|
|
//
|
|
// label8
|
|
//
|
|
label8.AutoSize = true;
|
|
label8.Location = new Point(47, 185);
|
|
label8.Name = "label8";
|
|
label8.Size = new Size(92, 17);
|
|
label8.TabIndex = 8;
|
|
label8.Text = "部署数据库名称";
|
|
//
|
|
// apiPortTBox
|
|
//
|
|
apiPortTBox.Location = new Point(152, 136);
|
|
apiPortTBox.Name = "apiPortTBox";
|
|
apiPortTBox.Size = new Size(259, 23);
|
|
apiPortTBox.TabIndex = 5;
|
|
apiPortTBox.Text = "7100";
|
|
//
|
|
// nginxPortTBox
|
|
//
|
|
nginxPortTBox.Location = new Point(152, 90);
|
|
nginxPortTBox.Name = "nginxPortTBox";
|
|
nginxPortTBox.Size = new Size(259, 23);
|
|
nginxPortTBox.TabIndex = 4;
|
|
nginxPortTBox.Text = "9520";
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(11, 140);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(128, 17);
|
|
label4.TabIndex = 3;
|
|
label4.Text = "网站后端服务启动端口";
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Location = new Point(35, 93);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(104, 17);
|
|
label5.TabIndex = 2;
|
|
label5.Text = "网站前端访问端口";
|
|
//
|
|
// groupBox3
|
|
//
|
|
groupBox3.Controls.Add(btnCopy);
|
|
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(11, 714);
|
|
groupBox3.Name = "groupBox3";
|
|
groupBox3.Size = new Size(544, 221);
|
|
groupBox3.TabIndex = 2;
|
|
groupBox3.TabStop = false;
|
|
groupBox3.Text = "第三步:激活与部署";
|
|
//
|
|
// btnCopy
|
|
//
|
|
btnCopy.Location = new Point(429, 39);
|
|
btnCopy.Name = "btnCopy";
|
|
btnCopy.Size = new Size(93, 27);
|
|
btnCopy.TabIndex = 13;
|
|
btnCopy.Text = "复制";
|
|
btnCopy.UseVisualStyleBackColor = true;
|
|
btnCopy.Click += btnCopy_Click;
|
|
//
|
|
// activeBtn
|
|
//
|
|
activeBtn.Enabled = false;
|
|
activeBtn.Location = new Point(195, 139);
|
|
activeBtn.Name = "activeBtn";
|
|
activeBtn.Size = new Size(128, 40);
|
|
activeBtn.TabIndex = 9;
|
|
activeBtn.Text = "激活并部署";
|
|
activeBtn.UseVisualStyleBackColor = true;
|
|
activeBtn.Click += activeBtn_Click;
|
|
//
|
|
// KeySecreteTextBox
|
|
//
|
|
KeySecreteTextBox.Location = new Point(152, 92);
|
|
KeySecreteTextBox.Name = "KeySecreteTextBox";
|
|
KeySecreteTextBox.Size = new Size(259, 23);
|
|
KeySecreteTextBox.TabIndex = 8;
|
|
//
|
|
// machineTextBox
|
|
//
|
|
machineTextBox.Location = new Point(152, 42);
|
|
machineTextBox.Name = "machineTextBox";
|
|
machineTextBox.ReadOnly = true;
|
|
machineTextBox.Size = new Size(259, 23);
|
|
machineTextBox.TabIndex = 7;
|
|
//
|
|
// machineCodeLB
|
|
//
|
|
machineCodeLB.AutoSize = true;
|
|
machineCodeLB.Location = new Point(163, 44);
|
|
machineCodeLB.Name = "machineCodeLB";
|
|
machineCodeLB.Size = new Size(0, 17);
|
|
machineCodeLB.TabIndex = 6;
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Location = new Point(95, 94);
|
|
label6.Name = "label6";
|
|
label6.Size = new Size(44, 17);
|
|
label6.TabIndex = 5;
|
|
label6.Text = "激活码";
|
|
//
|
|
// label7
|
|
//
|
|
label7.AutoSize = true;
|
|
label7.Location = new Point(95, 44);
|
|
label7.Name = "label7";
|
|
label7.Size = new Size(44, 17);
|
|
label7.TabIndex = 4;
|
|
label7.Text = "机器码";
|
|
//
|
|
// groupBox4
|
|
//
|
|
groupBox4.Controls.Add(logTBox);
|
|
groupBox4.Location = new Point(570, 11);
|
|
groupBox4.Name = "groupBox4";
|
|
groupBox4.Size = new Size(391, 825);
|
|
groupBox4.TabIndex = 4;
|
|
groupBox4.TabStop = false;
|
|
groupBox4.Text = "部署日志";
|
|
//
|
|
// logTBox
|
|
//
|
|
logTBox.Location = new Point(6, 22);
|
|
logTBox.Name = "logTBox";
|
|
logTBox.Size = new Size(359, 797);
|
|
logTBox.TabIndex = 0;
|
|
logTBox.Text = "";
|
|
//
|
|
// Main
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(977, 944);
|
|
Controls.Add(groupBox4);
|
|
Controls.Add(groupBox3);
|
|
Controls.Add(groupBox2);
|
|
Controls.Add(groupBox1);
|
|
Icon = (Icon)resources.GetObject("$this.Icon");
|
|
Name = "Main";
|
|
Text = "安装 - EI Image Viewer V1";
|
|
TopMost = true;
|
|
Load += Main_Load;
|
|
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 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 confimDeployBtn;
|
|
private Button btnCopy;
|
|
private TextBox nginxServiceDisplayNameTbox;
|
|
private TextBox nginxServiceNameTbox;
|
|
private Label label12;
|
|
private Label label13;
|
|
}
|
|
} |