Commit 7f809d62 by 施晓雨

1

parent 02f8cb74
...@@ -33,18 +33,22 @@ ...@@ -33,18 +33,22 @@
this.tbxReportId = new System.Windows.Forms.TextBox(); this.tbxReportId = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label();
this.tbxServiceUrl = new System.Windows.Forms.TextBox(); this.tbxServiceUrl = new System.Windows.Forms.TextBox();
this.pgResult = new System.Windows.Forms.PropertyGrid();
this.btnGenerateXlsx = new System.Windows.Forms.Button(); this.btnGenerateXlsx = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label();
this.tbxTemplateFileName = new System.Windows.Forms.TextBox(); this.tbxTemplateFileName = new System.Windows.Forms.TextBox();
this.btnSelectTemplateFile = new System.Windows.Forms.Button(); this.btnSelectTemplateFile = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.pgResult = new System.Windows.Forms.PropertyGrid();
this.panel1.SuspendLayout();
this.groupBox1.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// btnGetReport // btnGetReport
// //
this.btnGetReport.Location = new System.Drawing.Point(256, 72); this.btnGetReport.Location = new System.Drawing.Point(253, 22);
this.btnGetReport.Name = "btnGetReport"; this.btnGetReport.Name = "btnGetReport";
this.btnGetReport.Size = new System.Drawing.Size(75, 23); this.btnGetReport.Size = new System.Drawing.Size(75, 53);
this.btnGetReport.TabIndex = 0; this.btnGetReport.TabIndex = 0;
this.btnGetReport.Text = "获取"; this.btnGetReport.Text = "获取";
this.btnGetReport.UseVisualStyleBackColor = true; this.btnGetReport.UseVisualStyleBackColor = true;
...@@ -53,15 +57,15 @@ ...@@ -53,15 +57,15 @@
// label1 // label1
// //
this.label1.AutoSize = true; this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(41, 77); this.label1.Location = new System.Drawing.Point(15, 57);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(41, 12); this.label1.Size = new System.Drawing.Size(53, 12);
this.label1.TabIndex = 1; this.label1.TabIndex = 1;
this.label1.Text = "报告号"; this.label1.Text = "报告号";
// //
// tbxReportId // tbxReportId
// //
this.tbxReportId.Location = new System.Drawing.Point(88, 74); this.tbxReportId.Location = new System.Drawing.Point(85, 54);
this.tbxReportId.Name = "tbxReportId"; this.tbxReportId.Name = "tbxReportId";
this.tbxReportId.Size = new System.Drawing.Size(162, 21); this.tbxReportId.Size = new System.Drawing.Size(162, 21);
this.tbxReportId.TabIndex = 2; this.tbxReportId.TabIndex = 2;
...@@ -69,31 +73,23 @@ ...@@ -69,31 +73,23 @@
// label2 // label2
// //
this.label2.AutoSize = true; this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(18, 47); this.label2.Location = new System.Drawing.Point(15, 27);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(65, 12); this.label2.Size = new System.Drawing.Size(53, 12);
this.label2.TabIndex = 1; this.label2.TabIndex = 1;
this.label2.Text = "服务地址"; this.label2.Text = "服务地址";
// //
// tbxServiceUrl // tbxServiceUrl
// //
this.tbxServiceUrl.Location = new System.Drawing.Point(88, 44); this.tbxServiceUrl.Location = new System.Drawing.Point(85, 24);
this.tbxServiceUrl.Name = "tbxServiceUrl"; this.tbxServiceUrl.Name = "tbxServiceUrl";
this.tbxServiceUrl.Size = new System.Drawing.Size(162, 21); this.tbxServiceUrl.Size = new System.Drawing.Size(162, 21);
this.tbxServiceUrl.TabIndex = 2; this.tbxServiceUrl.TabIndex = 2;
this.tbxServiceUrl.Text = "http://k5.jst-gov.com"; this.tbxServiceUrl.Text = "http://k5.jst-gov.com";
// //
// pgResult
//
this.pgResult.Dock = System.Windows.Forms.DockStyle.Right;
this.pgResult.Location = new System.Drawing.Point(619, 0);
this.pgResult.Name = "pgResult";
this.pgResult.Size = new System.Drawing.Size(285, 541);
this.pgResult.TabIndex = 3;
//
// btnGenerateXlsx // btnGenerateXlsx
// //
this.btnGenerateXlsx.Location = new System.Drawing.Point(29, 187); this.btnGenerateXlsx.Location = new System.Drawing.Point(374, 72);
this.btnGenerateXlsx.Name = "btnGenerateXlsx"; this.btnGenerateXlsx.Name = "btnGenerateXlsx";
this.btnGenerateXlsx.Size = new System.Drawing.Size(112, 23); this.btnGenerateXlsx.Size = new System.Drawing.Size(112, 23);
this.btnGenerateXlsx.TabIndex = 0; this.btnGenerateXlsx.TabIndex = 0;
...@@ -104,7 +100,7 @@ ...@@ -104,7 +100,7 @@
// label3 // label3
// //
this.label3.AutoSize = true; this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(18, 146); this.label3.Location = new System.Drawing.Point(363, 31);
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(53, 12); this.label3.Size = new System.Drawing.Size(53, 12);
this.label3.TabIndex = 1; this.label3.TabIndex = 1;
...@@ -112,14 +108,14 @@ ...@@ -112,14 +108,14 @@
// //
// tbxTemplateFileName // tbxTemplateFileName
// //
this.tbxTemplateFileName.Location = new System.Drawing.Point(88, 143); this.tbxTemplateFileName.Location = new System.Drawing.Point(433, 28);
this.tbxTemplateFileName.Name = "tbxTemplateFileName"; this.tbxTemplateFileName.Name = "tbxTemplateFileName";
this.tbxTemplateFileName.Size = new System.Drawing.Size(162, 21); this.tbxTemplateFileName.Size = new System.Drawing.Size(162, 21);
this.tbxTemplateFileName.TabIndex = 2; this.tbxTemplateFileName.TabIndex = 2;
// //
// btnSelectTemplateFile // btnSelectTemplateFile
// //
this.btnSelectTemplateFile.Location = new System.Drawing.Point(256, 141); this.btnSelectTemplateFile.Location = new System.Drawing.Point(601, 26);
this.btnSelectTemplateFile.Name = "btnSelectTemplateFile"; this.btnSelectTemplateFile.Name = "btnSelectTemplateFile";
this.btnSelectTemplateFile.Size = new System.Drawing.Size(50, 23); this.btnSelectTemplateFile.Size = new System.Drawing.Size(50, 23);
this.btnSelectTemplateFile.TabIndex = 0; this.btnSelectTemplateFile.TabIndex = 0;
...@@ -127,23 +123,54 @@ ...@@ -127,23 +123,54 @@
this.btnSelectTemplateFile.UseVisualStyleBackColor = true; this.btnSelectTemplateFile.UseVisualStyleBackColor = true;
this.btnSelectTemplateFile.Click += new System.EventHandler(this.btnSelectTemplateFile_Click); this.btnSelectTemplateFile.Click += new System.EventHandler(this.btnSelectTemplateFile_Click);
// //
// panel1
//
this.panel1.Controls.Add(this.pgResult);
this.panel1.Controls.Add(this.groupBox1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(339, 736);
this.panel1.TabIndex = 4;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.tbxReportId);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.tbxServiceUrl);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.btnGetReport);
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
this.groupBox1.Location = new System.Drawing.Point(0, 0);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(339, 95);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "获取数据";
//
// pgResult
//
this.pgResult.Dock = System.Windows.Forms.DockStyle.Fill;
this.pgResult.Location = new System.Drawing.Point(0, 95);
this.pgResult.Name = "pgResult";
this.pgResult.Size = new System.Drawing.Size(339, 641);
this.pgResult.TabIndex = 4;
//
// FrmMain // FrmMain
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(904, 541); this.ClientSize = new System.Drawing.Size(940, 736);
this.Controls.Add(this.pgResult); this.Controls.Add(this.panel1);
this.Controls.Add(this.tbxServiceUrl);
this.Controls.Add(this.tbxTemplateFileName); this.Controls.Add(this.tbxTemplateFileName);
this.Controls.Add(this.tbxReportId);
this.Controls.Add(this.label2);
this.Controls.Add(this.label3); this.Controls.Add(this.label3);
this.Controls.Add(this.btnSelectTemplateFile); this.Controls.Add(this.btnSelectTemplateFile);
this.Controls.Add(this.btnGenerateXlsx); this.Controls.Add(this.btnGenerateXlsx);
this.Controls.Add(this.label1);
this.Controls.Add(this.btnGetReport);
this.Name = "FrmMain"; this.Name = "FrmMain";
this.Text = "Office测试"; this.Text = "Office测试";
this.panel1.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
...@@ -156,11 +183,13 @@ ...@@ -156,11 +183,13 @@
private System.Windows.Forms.TextBox tbxReportId; private System.Windows.Forms.TextBox tbxReportId;
private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox tbxServiceUrl; private System.Windows.Forms.TextBox tbxServiceUrl;
private System.Windows.Forms.PropertyGrid pgResult;
private System.Windows.Forms.Button btnGenerateXlsx; private System.Windows.Forms.Button btnGenerateXlsx;
private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox tbxTemplateFileName; private System.Windows.Forms.TextBox tbxTemplateFileName;
private System.Windows.Forms.Button btnSelectTemplateFile; private System.Windows.Forms.Button btnSelectTemplateFile;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.PropertyGrid pgResult;
private System.Windows.Forms.GroupBox groupBox1;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment