477 lines
18 KiB
C#
477 lines
18 KiB
C#
namespace PublishSite
|
|
{
|
|
partial class PublishForm
|
|
{
|
|
/// <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();
|
|
rb_production = new RadioButton();
|
|
rb_Verify = new RadioButton();
|
|
rb_test = new RadioButton();
|
|
rb_local = new RadioButton();
|
|
groupBox3 = new GroupBox();
|
|
logTBox = new RichTextBox();
|
|
tabControl1 = new TabControl();
|
|
tabPage1 = new TabPage();
|
|
groupBox2 = new GroupBox();
|
|
stopServiceBtn = new Button();
|
|
startServiceBtn = new Button();
|
|
label2 = new Label();
|
|
startOrStopServiceTbox = new TextBox();
|
|
deleteService_Btn = new Button();
|
|
createService_Btn = new Button();
|
|
en_TBox = new TextBox();
|
|
label1 = new Label();
|
|
selectPathBtn = new Button();
|
|
exePathTbox = new TextBox();
|
|
label9 = new Label();
|
|
serviceDisplayNameTBox = new TextBox();
|
|
serviceNameTBox = new TextBox();
|
|
label11 = new Label();
|
|
label10 = new Label();
|
|
tabPage2 = new TabPage();
|
|
label3 = new Label();
|
|
bakPathTBox = new TextBox();
|
|
label4 = new Label();
|
|
bakDbName = new TextBox();
|
|
label5 = new Label();
|
|
bakPublishPath = new TextBox();
|
|
startBakBtn = new Button();
|
|
groupBox4 = new GroupBox();
|
|
groupBox1.SuspendLayout();
|
|
groupBox3.SuspendLayout();
|
|
tabControl1.SuspendLayout();
|
|
tabPage1.SuspendLayout();
|
|
groupBox2.SuspendLayout();
|
|
tabPage2.SuspendLayout();
|
|
groupBox4.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// groupBox1
|
|
//
|
|
groupBox1.Controls.Add(rb_production);
|
|
groupBox1.Controls.Add(rb_Verify);
|
|
groupBox1.Controls.Add(rb_test);
|
|
groupBox1.Controls.Add(rb_local);
|
|
groupBox1.Location = new Point(12, 12);
|
|
groupBox1.Name = "groupBox1";
|
|
groupBox1.Size = new Size(605, 116);
|
|
groupBox1.TabIndex = 1;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = "环境";
|
|
//
|
|
// rb_production
|
|
//
|
|
rb_production.AutoSize = true;
|
|
rb_production.Location = new Point(434, 53);
|
|
rb_production.Name = "rb_production";
|
|
rb_production.Size = new Size(50, 21);
|
|
rb_production.TabIndex = 3;
|
|
rb_production.Text = "正式";
|
|
rb_production.UseVisualStyleBackColor = true;
|
|
//
|
|
// rb_Verify
|
|
//
|
|
rb_Verify.AutoSize = true;
|
|
rb_Verify.Location = new Point(300, 53);
|
|
rb_Verify.Name = "rb_Verify";
|
|
rb_Verify.Size = new Size(50, 21);
|
|
rb_Verify.TabIndex = 2;
|
|
rb_Verify.Text = "验证";
|
|
rb_Verify.UseVisualStyleBackColor = true;
|
|
//
|
|
// rb_test
|
|
//
|
|
rb_test.AutoSize = true;
|
|
rb_test.Location = new Point(164, 53);
|
|
rb_test.Name = "rb_test";
|
|
rb_test.Size = new Size(50, 21);
|
|
rb_test.TabIndex = 1;
|
|
rb_test.Text = "测试";
|
|
rb_test.UseVisualStyleBackColor = true;
|
|
//
|
|
// rb_local
|
|
//
|
|
rb_local.AutoSize = true;
|
|
rb_local.Checked = true;
|
|
rb_local.Location = new Point(24, 53);
|
|
rb_local.Name = "rb_local";
|
|
rb_local.Size = new Size(50, 21);
|
|
rb_local.TabIndex = 0;
|
|
rb_local.TabStop = true;
|
|
rb_local.Text = "本机";
|
|
rb_local.UseVisualStyleBackColor = true;
|
|
//
|
|
// groupBox3
|
|
//
|
|
groupBox3.Controls.Add(logTBox);
|
|
groupBox3.Location = new Point(691, 24);
|
|
groupBox3.Name = "groupBox3";
|
|
groupBox3.Size = new Size(412, 1048);
|
|
groupBox3.TabIndex = 3;
|
|
groupBox3.TabStop = false;
|
|
groupBox3.Text = "日志";
|
|
//
|
|
// logTBox
|
|
//
|
|
logTBox.Location = new Point(23, 21);
|
|
logTBox.Name = "logTBox";
|
|
logTBox.Size = new Size(359, 1013);
|
|
logTBox.TabIndex = 1;
|
|
logTBox.Text = "";
|
|
//
|
|
// tabControl1
|
|
//
|
|
tabControl1.Controls.Add(tabPage1);
|
|
tabControl1.Controls.Add(tabPage2);
|
|
tabControl1.Location = new Point(12, 148);
|
|
tabControl1.Name = "tabControl1";
|
|
tabControl1.SelectedIndex = 0;
|
|
tabControl1.Size = new Size(609, 914);
|
|
tabControl1.TabIndex = 4;
|
|
//
|
|
// tabPage1
|
|
//
|
|
tabPage1.Controls.Add(groupBox4);
|
|
tabPage1.Controls.Add(groupBox2);
|
|
tabPage1.Location = new Point(4, 26);
|
|
tabPage1.Name = "tabPage1";
|
|
tabPage1.Padding = new Padding(3);
|
|
tabPage1.Size = new Size(601, 884);
|
|
tabPage1.TabIndex = 0;
|
|
tabPage1.Text = "服务";
|
|
tabPage1.UseVisualStyleBackColor = true;
|
|
//
|
|
// groupBox2
|
|
//
|
|
groupBox2.Controls.Add(stopServiceBtn);
|
|
groupBox2.Controls.Add(startServiceBtn);
|
|
groupBox2.Controls.Add(label2);
|
|
groupBox2.Controls.Add(startOrStopServiceTbox);
|
|
groupBox2.Location = new Point(20, 341);
|
|
groupBox2.Name = "groupBox2";
|
|
groupBox2.Size = new Size(538, 187);
|
|
groupBox2.TabIndex = 39;
|
|
groupBox2.TabStop = false;
|
|
groupBox2.Text = "服务停止与启动";
|
|
//
|
|
// stopServiceBtn
|
|
//
|
|
stopServiceBtn.Enabled = false;
|
|
stopServiceBtn.Location = new Point(261, 101);
|
|
stopServiceBtn.Name = "stopServiceBtn";
|
|
stopServiceBtn.Size = new Size(128, 40);
|
|
stopServiceBtn.TabIndex = 39;
|
|
stopServiceBtn.Text = "停止服务";
|
|
stopServiceBtn.UseVisualStyleBackColor = true;
|
|
//
|
|
// startServiceBtn
|
|
//
|
|
startServiceBtn.Enabled = false;
|
|
startServiceBtn.Location = new Point(94, 101);
|
|
startServiceBtn.Name = "startServiceBtn";
|
|
startServiceBtn.Size = new Size(128, 40);
|
|
startServiceBtn.TabIndex = 38;
|
|
startServiceBtn.Text = "启动服务";
|
|
startServiceBtn.UseVisualStyleBackColor = true;
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(20, 52);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(56, 17);
|
|
label2.TabIndex = 32;
|
|
label2.Text = "服务名称";
|
|
//
|
|
// startOrStopServiceTbox
|
|
//
|
|
startOrStopServiceTbox.Location = new Point(99, 49);
|
|
startOrStopServiceTbox.Name = "startOrStopServiceTbox";
|
|
startOrStopServiceTbox.Size = new Size(259, 23);
|
|
startOrStopServiceTbox.TabIndex = 31;
|
|
startOrStopServiceTbox.Text = "EI_Image_Viewer";
|
|
//
|
|
// deleteService_Btn
|
|
//
|
|
deleteService_Btn.Enabled = false;
|
|
deleteService_Btn.Location = new Point(417, 33);
|
|
deleteService_Btn.Name = "deleteService_Btn";
|
|
deleteService_Btn.Size = new Size(95, 27);
|
|
deleteService_Btn.TabIndex = 38;
|
|
deleteService_Btn.Text = "删除服务";
|
|
deleteService_Btn.UseVisualStyleBackColor = true;
|
|
//
|
|
// createService_Btn
|
|
//
|
|
createService_Btn.Enabled = false;
|
|
createService_Btn.Location = new Point(167, 232);
|
|
createService_Btn.Name = "createService_Btn";
|
|
createService_Btn.Size = new Size(128, 40);
|
|
createService_Btn.TabIndex = 37;
|
|
createService_Btn.Text = "创建服务";
|
|
createService_Btn.UseVisualStyleBackColor = true;
|
|
createService_Btn.Click += createService_Btn_Click;
|
|
//
|
|
// en_TBox
|
|
//
|
|
en_TBox.Location = new Point(140, 176);
|
|
en_TBox.Name = "en_TBox";
|
|
en_TBox.Size = new Size(259, 23);
|
|
en_TBox.TabIndex = 36;
|
|
en_TBox.Text = "Development";
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(71, 176);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(44, 17);
|
|
label1.TabIndex = 35;
|
|
label1.Text = "环境名";
|
|
//
|
|
// selectPathBtn
|
|
//
|
|
selectPathBtn.Enabled = false;
|
|
selectPathBtn.Location = new Point(417, 125);
|
|
selectPathBtn.Name = "selectPathBtn";
|
|
selectPathBtn.Size = new Size(95, 27);
|
|
selectPathBtn.TabIndex = 34;
|
|
selectPathBtn.Text = "选择";
|
|
selectPathBtn.UseVisualStyleBackColor = true;
|
|
//
|
|
// exePathTbox
|
|
//
|
|
exePathTbox.Enabled = false;
|
|
exePathTbox.Location = new Point(140, 126);
|
|
exePathTbox.Name = "exePathTbox";
|
|
exePathTbox.Size = new Size(259, 23);
|
|
exePathTbox.TabIndex = 33;
|
|
//
|
|
// label9
|
|
//
|
|
label9.AutoSize = true;
|
|
label9.Location = new Point(71, 130);
|
|
label9.Name = "label9";
|
|
label9.Size = new Size(32, 17);
|
|
label9.TabIndex = 32;
|
|
label9.Text = "程序";
|
|
//
|
|
// serviceDisplayNameTBox
|
|
//
|
|
serviceDisplayNameTBox.Location = new Point(140, 79);
|
|
serviceDisplayNameTBox.Name = "serviceDisplayNameTBox";
|
|
serviceDisplayNameTBox.Size = new Size(259, 23);
|
|
serviceDisplayNameTBox.TabIndex = 31;
|
|
serviceDisplayNameTBox.Text = "EI_Image_Viewer_DisplayName";
|
|
//
|
|
// serviceNameTBox
|
|
//
|
|
serviceNameTBox.Location = new Point(140, 33);
|
|
serviceNameTBox.Name = "serviceNameTBox";
|
|
serviceNameTBox.Size = new Size(259, 23);
|
|
serviceNameTBox.TabIndex = 30;
|
|
serviceNameTBox.Text = "EI_Image_Viewer";
|
|
//
|
|
// label11
|
|
//
|
|
label11.AutoSize = true;
|
|
label11.Location = new Point(-1, 82);
|
|
label11.Name = "label11";
|
|
label11.Size = new Size(128, 17);
|
|
label11.TabIndex = 29;
|
|
label11.Text = "网站后端服务显示名称";
|
|
//
|
|
// label10
|
|
//
|
|
label10.AutoSize = true;
|
|
label10.Location = new Point(23, 36);
|
|
label10.Name = "label10";
|
|
label10.Size = new Size(104, 17);
|
|
label10.TabIndex = 28;
|
|
label10.Text = "网站后端服务名称";
|
|
//
|
|
// tabPage2
|
|
//
|
|
tabPage2.Controls.Add(startBakBtn);
|
|
tabPage2.Controls.Add(bakPublishPath);
|
|
tabPage2.Controls.Add(label5);
|
|
tabPage2.Controls.Add(bakDbName);
|
|
tabPage2.Controls.Add(label4);
|
|
tabPage2.Controls.Add(bakPathTBox);
|
|
tabPage2.Controls.Add(label3);
|
|
tabPage2.Location = new Point(4, 26);
|
|
tabPage2.Name = "tabPage2";
|
|
tabPage2.Padding = new Padding(3);
|
|
tabPage2.Size = new Size(601, 884);
|
|
tabPage2.TabIndex = 1;
|
|
tabPage2.Text = "备份与发布";
|
|
tabPage2.UseVisualStyleBackColor = true;
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(6, 79);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(92, 17);
|
|
label3.TabIndex = 0;
|
|
label3.Text = "数据库备份路径";
|
|
//
|
|
// bakPathTBox
|
|
//
|
|
bakPathTBox.Enabled = false;
|
|
bakPathTBox.Location = new Point(115, 75);
|
|
bakPathTBox.Name = "bakPathTBox";
|
|
bakPathTBox.Size = new Size(474, 23);
|
|
bakPathTBox.TabIndex = 1;
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(20, 31);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(68, 17);
|
|
label4.TabIndex = 2;
|
|
label4.Text = "备份数据库";
|
|
//
|
|
// bakDbName
|
|
//
|
|
bakDbName.Enabled = false;
|
|
bakDbName.Location = new Point(114, 28);
|
|
bakDbName.Name = "bakDbName";
|
|
bakDbName.Size = new Size(474, 23);
|
|
bakDbName.TabIndex = 3;
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Location = new Point(6, 128);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(104, 17);
|
|
label5.TabIndex = 4;
|
|
label5.Text = "发布程序备份路径";
|
|
//
|
|
// bakPublishPath
|
|
//
|
|
bakPublishPath.Enabled = false;
|
|
bakPublishPath.Location = new Point(117, 125);
|
|
bakPublishPath.Name = "bakPublishPath";
|
|
bakPublishPath.Size = new Size(474, 23);
|
|
bakPublishPath.TabIndex = 5;
|
|
//
|
|
// startBakBtn
|
|
//
|
|
startBakBtn.Location = new Point(160, 204);
|
|
startBakBtn.Name = "startBakBtn";
|
|
startBakBtn.Size = new Size(213, 53);
|
|
startBakBtn.TabIndex = 6;
|
|
startBakBtn.Text = "开始备份";
|
|
startBakBtn.UseVisualStyleBackColor = true;
|
|
startBakBtn.Click += startBakBtn_Click;
|
|
//
|
|
// groupBox4
|
|
//
|
|
groupBox4.Controls.Add(serviceNameTBox);
|
|
groupBox4.Controls.Add(label10);
|
|
groupBox4.Controls.Add(deleteService_Btn);
|
|
groupBox4.Controls.Add(label11);
|
|
groupBox4.Controls.Add(createService_Btn);
|
|
groupBox4.Controls.Add(serviceDisplayNameTBox);
|
|
groupBox4.Controls.Add(en_TBox);
|
|
groupBox4.Controls.Add(label9);
|
|
groupBox4.Controls.Add(label1);
|
|
groupBox4.Controls.Add(exePathTbox);
|
|
groupBox4.Controls.Add(selectPathBtn);
|
|
groupBox4.Location = new Point(20, 28);
|
|
groupBox4.Name = "groupBox4";
|
|
groupBox4.Size = new Size(538, 289);
|
|
groupBox4.TabIndex = 40;
|
|
groupBox4.TabStop = false;
|
|
groupBox4.Text = "服务创建与删除";
|
|
//
|
|
// PublishForm
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1131, 1074);
|
|
Controls.Add(tabControl1);
|
|
Controls.Add(groupBox3);
|
|
Controls.Add(groupBox1);
|
|
Name = "PublishForm";
|
|
Text = "PublishForm";
|
|
Load += PublishForm_Load;
|
|
groupBox1.ResumeLayout(false);
|
|
groupBox1.PerformLayout();
|
|
groupBox3.ResumeLayout(false);
|
|
tabControl1.ResumeLayout(false);
|
|
tabPage1.ResumeLayout(false);
|
|
groupBox2.ResumeLayout(false);
|
|
groupBox2.PerformLayout();
|
|
tabPage2.ResumeLayout(false);
|
|
tabPage2.PerformLayout();
|
|
groupBox4.ResumeLayout(false);
|
|
groupBox4.PerformLayout();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
private GroupBox groupBox1;
|
|
private RadioButton rb_production;
|
|
private RadioButton rb_Verify;
|
|
private RadioButton rb_test;
|
|
private RadioButton rb_local;
|
|
private GroupBox groupBox3;
|
|
private RichTextBox logTBox;
|
|
private TabControl tabControl1;
|
|
private TabPage tabPage1;
|
|
private Button deleteService_Btn;
|
|
private Button createService_Btn;
|
|
private TextBox en_TBox;
|
|
private Label label1;
|
|
private Button selectPathBtn;
|
|
private TextBox exePathTbox;
|
|
private Label label9;
|
|
private TextBox serviceDisplayNameTBox;
|
|
private TextBox serviceNameTBox;
|
|
private Label label11;
|
|
private Label label10;
|
|
private TabPage tabPage2;
|
|
private GroupBox groupBox2;
|
|
private Button stopServiceBtn;
|
|
private Button startServiceBtn;
|
|
private Label label2;
|
|
private TextBox startOrStopServiceTbox;
|
|
private Label label4;
|
|
private TextBox bakPathTBox;
|
|
private Label label3;
|
|
private TextBox bakDbName;
|
|
private TextBox bakPublishPath;
|
|
private Label label5;
|
|
private GroupBox groupBox4;
|
|
private Button startBakBtn;
|
|
}
|
|
} |