Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
Kivii.Client.OfficeSample
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
示例代码
Kivii.Client.OfficeSample
Commits
7f809d62
Commit
7f809d62
authored
Sep 18, 2019
by
施晓雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
02f8cb74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
31 deletions
+60
-31
FrmMain.Designer.cs
Kivii.Client.OfficeSample/FrmMain.Designer.cs
+60
-31
No files found.
Kivii.Client.OfficeSample/FrmMain.Designer.cs
View file @
7f809d62
...
...
@@ -33,18 +33,22 @@
this
.
tbxReportId
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label2
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
tbxServiceUrl
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
pgResult
=
new
System
.
Windows
.
Forms
.
PropertyGrid
();
this
.
btnGenerateXlsx
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
label3
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
tbxTemplateFileName
=
new
System
.
Windows
.
Forms
.
TextBox
();
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
();
//
// btnGetReport
//
this
.
btnGetReport
.
Location
=
new
System
.
Drawing
.
Point
(
25
6
,
7
2
);
this
.
btnGetReport
.
Location
=
new
System
.
Drawing
.
Point
(
25
3
,
2
2
);
this
.
btnGetReport
.
Name
=
"btnGetReport"
;
this
.
btnGetReport
.
Size
=
new
System
.
Drawing
.
Size
(
75
,
2
3
);
this
.
btnGetReport
.
Size
=
new
System
.
Drawing
.
Size
(
75
,
5
3
);
this
.
btnGetReport
.
TabIndex
=
0
;
this
.
btnGetReport
.
Text
=
"获取"
;
this
.
btnGetReport
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -53,15 +57,15 @@
// label1
//
this
.
label1
.
AutoSize
=
true
;
this
.
label1
.
Location
=
new
System
.
Drawing
.
Point
(
41
,
7
7
);
this
.
label1
.
Location
=
new
System
.
Drawing
.
Point
(
15
,
5
7
);
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
.
Text
=
"报告号"
;
this
.
label1
.
Text
=
"报告
编
号"
;
//
// tbxReportId
//
this
.
tbxReportId
.
Location
=
new
System
.
Drawing
.
Point
(
8
8
,
7
4
);
this
.
tbxReportId
.
Location
=
new
System
.
Drawing
.
Point
(
8
5
,
5
4
);
this
.
tbxReportId
.
Name
=
"tbxReportId"
;
this
.
tbxReportId
.
Size
=
new
System
.
Drawing
.
Size
(
162
,
21
);
this
.
tbxReportId
.
TabIndex
=
2
;
...
...
@@ -69,31 +73,23 @@
// label2
//
this
.
label2
.
AutoSize
=
true
;
this
.
label2
.
Location
=
new
System
.
Drawing
.
Point
(
1
8
,
4
7
);
this
.
label2
.
Location
=
new
System
.
Drawing
.
Point
(
1
5
,
2
7
);
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
.
Text
=
"服务
器
地址"
;
this
.
label2
.
Text
=
"服务地址"
;
//
// tbxServiceUrl
//
this
.
tbxServiceUrl
.
Location
=
new
System
.
Drawing
.
Point
(
8
8
,
4
4
);
this
.
tbxServiceUrl
.
Location
=
new
System
.
Drawing
.
Point
(
8
5
,
2
4
);
this
.
tbxServiceUrl
.
Name
=
"tbxServiceUrl"
;
this
.
tbxServiceUrl
.
Size
=
new
System
.
Drawing
.
Size
(
162
,
21
);
this
.
tbxServiceUrl
.
TabIndex
=
2
;
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
//
this
.
btnGenerateXlsx
.
Location
=
new
System
.
Drawing
.
Point
(
29
,
187
);
this
.
btnGenerateXlsx
.
Location
=
new
System
.
Drawing
.
Point
(
374
,
72
);
this
.
btnGenerateXlsx
.
Name
=
"btnGenerateXlsx"
;
this
.
btnGenerateXlsx
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
23
);
this
.
btnGenerateXlsx
.
TabIndex
=
0
;
...
...
@@ -104,7 +100,7 @@
// label3
//
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
.
Size
=
new
System
.
Drawing
.
Size
(
53
,
12
);
this
.
label3
.
TabIndex
=
1
;
...
...
@@ -112,14 +108,14 @@
//
// 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
.
Size
=
new
System
.
Drawing
.
Size
(
162
,
21
);
this
.
tbxTemplateFileName
.
TabIndex
=
2
;
//
// 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
.
Size
=
new
System
.
Drawing
.
Size
(
50
,
23
);
this
.
btnSelectTemplateFile
.
TabIndex
=
0
;
...
...
@@ -127,23 +123,54 @@
this
.
btnSelectTemplateFile
.
UseVisualStyleBackColor
=
true
;
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
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
904
,
541
);
this
.
Controls
.
Add
(
this
.
pgResult
);
this
.
Controls
.
Add
(
this
.
tbxServiceUrl
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
940
,
736
);
this
.
Controls
.
Add
(
this
.
panel1
);
this
.
Controls
.
Add
(
this
.
tbxTemplateFileName
);
this
.
Controls
.
Add
(
this
.
tbxReportId
);
this
.
Controls
.
Add
(
this
.
label2
);
this
.
Controls
.
Add
(
this
.
label3
);
this
.
Controls
.
Add
(
this
.
btnSelectTemplateFile
);
this
.
Controls
.
Add
(
this
.
btnGenerateXlsx
);
this
.
Controls
.
Add
(
this
.
label1
);
this
.
Controls
.
Add
(
this
.
btnGetReport
);
this
.
Name
=
"FrmMain"
;
this
.
Text
=
"Office测试"
;
this
.
panel1
.
ResumeLayout
(
false
);
this
.
groupBox1
.
ResumeLayout
(
false
);
this
.
groupBox1
.
PerformLayout
();
this
.
ResumeLayout
(
false
);
this
.
PerformLayout
();
...
...
@@ -156,11 +183,13 @@
private
System
.
Windows
.
Forms
.
TextBox
tbxReportId
;
private
System
.
Windows
.
Forms
.
Label
label2
;
private
System
.
Windows
.
Forms
.
TextBox
tbxServiceUrl
;
private
System
.
Windows
.
Forms
.
PropertyGrid
pgResult
;
private
System
.
Windows
.
Forms
.
Button
btnGenerateXlsx
;
private
System
.
Windows
.
Forms
.
Label
label3
;
private
System
.
Windows
.
Forms
.
TextBox
tbxTemplateFileName
;
private
System
.
Windows
.
Forms
.
Button
btnSelectTemplateFile
;
private
System
.
Windows
.
Forms
.
Panel
panel1
;
private
System
.
Windows
.
Forms
.
PropertyGrid
pgResult
;
private
System
.
Windows
.
Forms
.
GroupBox
groupBox1
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment