Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
Kivii.Client.Invoices.Etax
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.Invoices.Etax
Commits
cfee3744
Commit
cfee3744
authored
Apr 07, 2024
by
陶然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化上传文件名称
parent
3dea9fd9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
47 deletions
+45
-47
.gitignore
.gitignore
+4
-0
FrmMain.Designer.cs
Src/FrmMain.Designer.cs
+38
-44
FrmMain.cs
Src/FrmMain.cs
+1
-1
AssemblyInfo.cs
Src/Properties/AssemblyInfo.cs
+2
-2
No files found.
.gitignore
View file @
cfee3744
...
...
@@ -6,3 +6,7 @@
/Src/packages
/Src/obj/Debug
/.vs
/Src/.vs/Kivii.Client.Invoices.Etax.V4.0/FileContentIndex
/Src/obj/Release
/packages
/Kivii.Client.Invoices.Etax.V4.0.sln
Src/FrmMain.Designer.cs
View file @
cfee3744
...
...
@@ -64,15 +64,17 @@
this
.
plConfigs
.
Controls
.
Add
(
this
.
tbxUserName
);
this
.
plConfigs
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Top
;
this
.
plConfigs
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
plConfigs
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
plConfigs
.
Name
=
"plConfigs"
;
this
.
plConfigs
.
Size
=
new
System
.
Drawing
.
Size
(
588
,
167
);
this
.
plConfigs
.
Size
=
new
System
.
Drawing
.
Size
(
396
,
111
);
this
.
plConfigs
.
TabIndex
=
0
;
//
// btnStopTimer
//
this
.
btnStopTimer
.
Location
=
new
System
.
Drawing
.
Point
(
296
,
129
);
this
.
btnStopTimer
.
Location
=
new
System
.
Drawing
.
Point
(
197
,
86
);
this
.
btnStopTimer
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
btnStopTimer
.
Name
=
"btnStopTimer"
;
this
.
btnStopTimer
.
Size
=
new
System
.
Drawing
.
Size
(
282
,
32
);
this
.
btnStopTimer
.
Size
=
new
System
.
Drawing
.
Size
(
188
,
21
);
this
.
btnStopTimer
.
TabIndex
=
29
;
this
.
btnStopTimer
.
Text
=
"暂停读取"
;
this
.
btnStopTimer
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -80,9 +82,10 @@
//
// btnStartTimer
//
this
.
btnStartTimer
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
129
);
this
.
btnStartTimer
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
86
);
this
.
btnStartTimer
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
btnStartTimer
.
Name
=
"btnStartTimer"
;
this
.
btnStartTimer
.
Size
=
new
System
.
Drawing
.
Size
(
282
,
32
);
this
.
btnStartTimer
.
Size
=
new
System
.
Drawing
.
Size
(
188
,
21
);
this
.
btnStartTimer
.
TabIndex
=
28
;
this
.
btnStartTimer
.
Text
=
"开始读取"
;
this
.
btnStartTimer
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -91,10 +94,9 @@
// btnLogout
//
this
.
btnLogout
.
Enabled
=
false
;
this
.
btnLogout
.
Location
=
new
System
.
Drawing
.
Point
(
466
,
89
);
this
.
btnLogout
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
btnLogout
.
Location
=
new
System
.
Drawing
.
Point
(
311
,
59
);
this
.
btnLogout
.
Name
=
"btnLogout"
;
this
.
btnLogout
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
34
);
this
.
btnLogout
.
Size
=
new
System
.
Drawing
.
Size
(
75
,
23
);
this
.
btnLogout
.
TabIndex
=
27
;
this
.
btnLogout
.
Text
=
"退出"
;
this
.
btnLogout
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -102,10 +104,9 @@
//
// btnLogin
//
this
.
btnLogin
.
Location
=
new
System
.
Drawing
.
Point
(
466
,
13
);
this
.
btnLogin
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
btnLogin
.
Location
=
new
System
.
Drawing
.
Point
(
311
,
9
);
this
.
btnLogin
.
Name
=
"btnLogin"
;
this
.
btnLogin
.
Size
=
new
System
.
Drawing
.
Size
(
112
,
70
);
this
.
btnLogin
.
Size
=
new
System
.
Drawing
.
Size
(
75
,
47
);
this
.
btnLogin
.
TabIndex
=
26
;
this
.
btnLogin
.
Text
=
"登录"
;
this
.
btnLogin
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -113,10 +114,9 @@
//
// btnSelectFileFolder
//
this
.
btnSelectFileFolder
.
Location
=
new
System
.
Drawing
.
Point
(
398
,
90
);
this
.
btnSelectFileFolder
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
btnSelectFileFolder
.
Location
=
new
System
.
Drawing
.
Point
(
265
,
60
);
this
.
btnSelectFileFolder
.
Name
=
"btnSelectFileFolder"
;
this
.
btnSelectFileFolder
.
Size
=
new
System
.
Drawing
.
Size
(
60
,
32
);
this
.
btnSelectFileFolder
.
Size
=
new
System
.
Drawing
.
Size
(
40
,
21
);
this
.
btnSelectFileFolder
.
TabIndex
=
25
;
this
.
btnSelectFileFolder
.
Text
=
"..."
;
this
.
btnSelectFileFolder
.
UseVisualStyleBackColor
=
true
;
...
...
@@ -124,99 +124,93 @@
//
// tbFilePath
//
this
.
tbFilePath
.
Location
=
new
System
.
Drawing
.
Point
(
103
,
94
);
this
.
tbFilePath
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
tbFilePath
.
Location
=
new
System
.
Drawing
.
Point
(
69
,
63
);
this
.
tbFilePath
.
Name
=
"tbFilePath"
;
this
.
tbFilePath
.
ReadOnly
=
true
;
this
.
tbFilePath
.
Size
=
new
System
.
Drawing
.
Size
(
287
,
28
);
this
.
tbFilePath
.
Size
=
new
System
.
Drawing
.
Size
(
193
,
21
);
this
.
tbFilePath
.
TabIndex
=
24
;
//
// lblInsert
//
this
.
lblInsert
.
AutoSize
=
true
;
this
.
lblInsert
.
Location
=
new
System
.
Drawing
.
Point
(
13
,
97
);
this
.
lblInsert
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
0
,
4
,
0
);
this
.
lblInsert
.
Location
=
new
System
.
Drawing
.
Point
(
9
,
65
);
this
.
lblInsert
.
Name
=
"lblInsert"
;
this
.
lblInsert
.
Size
=
new
System
.
Drawing
.
Size
(
89
,
18
);
this
.
lblInsert
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
12
);
this
.
lblInsert
.
TabIndex
=
23
;
this
.
lblInsert
.
Text
=
"读取路径:"
;
//
// lblUrl
//
this
.
lblUrl
.
AutoSize
=
true
;
this
.
lblUrl
.
Location
=
new
System
.
Drawing
.
Point
(
13
,
16
);
this
.
lblUrl
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
0
,
4
,
0
);
this
.
lblUrl
.
Location
=
new
System
.
Drawing
.
Point
(
9
,
11
);
this
.
lblUrl
.
Name
=
"lblUrl"
;
this
.
lblUrl
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
18
);
this
.
lblUrl
.
Size
=
new
System
.
Drawing
.
Size
(
47
,
12
);
this
.
lblUrl
.
TabIndex
=
13
;
this
.
lblUrl
.
Text
=
"服务器:"
;
//
// lblUser
//
this
.
lblUser
.
AutoSize
=
true
;
this
.
lblUser
.
Location
=
new
System
.
Drawing
.
Point
(
13
,
58
);
this
.
lblUser
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
0
,
4
,
0
);
this
.
lblUser
.
Location
=
new
System
.
Drawing
.
Point
(
9
,
39
);
this
.
lblUser
.
Name
=
"lblUser"
;
this
.
lblUser
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
18
);
this
.
lblUser
.
Size
=
new
System
.
Drawing
.
Size
(
47
,
12
);
this
.
lblUser
.
TabIndex
=
14
;
this
.
lblUser
.
Text
=
"用户名:"
;
//
// lblPassword
//
this
.
lblPassword
.
AutoSize
=
true
;
this
.
lblPassword
.
Location
=
new
System
.
Drawing
.
Point
(
215
,
58
);
this
.
lblPassword
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
0
,
4
,
0
);
this
.
lblPassword
.
Location
=
new
System
.
Drawing
.
Point
(
143
,
39
);
this
.
lblPassword
.
Name
=
"lblPassword"
;
this
.
lblPassword
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
18
);
this
.
lblPassword
.
Size
=
new
System
.
Drawing
.
Size
(
47
,
12
);
this
.
lblPassword
.
TabIndex
=
15
;
this
.
lblPassword
.
Text
=
"密 码:"
;
//
// tbxPassword
//
this
.
tbxPassword
.
Location
=
new
System
.
Drawing
.
Point
(
294
,
55
);
this
.
tbxPassword
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
tbxPassword
.
Location
=
new
System
.
Drawing
.
Point
(
196
,
37
);
this
.
tbxPassword
.
Name
=
"tbxPassword"
;
this
.
tbxPassword
.
PasswordChar
=
'*'
;
this
.
tbxPassword
.
Size
=
new
System
.
Drawing
.
Size
(
1
64
,
28
);
this
.
tbxPassword
.
Size
=
new
System
.
Drawing
.
Size
(
1
11
,
21
);
this
.
tbxPassword
.
TabIndex
=
18
;
//
// tbxServiceUrl
//
this
.
tbxServiceUrl
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Window
;
this
.
tbxServiceUrl
.
Location
=
new
System
.
Drawing
.
Point
(
103
,
13
);
this
.
tbxServiceUrl
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
tbxServiceUrl
.
Location
=
new
System
.
Drawing
.
Point
(
69
,
9
);
this
.
tbxServiceUrl
.
Name
=
"tbxServiceUrl"
;
this
.
tbxServiceUrl
.
Size
=
new
System
.
Drawing
.
Size
(
355
,
28
);
this
.
tbxServiceUrl
.
Size
=
new
System
.
Drawing
.
Size
(
238
,
21
);
this
.
tbxServiceUrl
.
TabIndex
=
16
;
//
// tbxUserName
//
this
.
tbxUserName
.
Location
=
new
System
.
Drawing
.
Point
(
103
,
55
);
this
.
tbxUserName
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
tbxUserName
.
Location
=
new
System
.
Drawing
.
Point
(
69
,
37
);
this
.
tbxUserName
.
Name
=
"tbxUserName"
;
this
.
tbxUserName
.
Size
=
new
System
.
Drawing
.
Size
(
104
,
28
);
this
.
tbxUserName
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
21
);
this
.
tbxUserName
.
TabIndex
=
17
;
//
// rtbMessage
//
this
.
rtbMessage
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
rtbMessage
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
167
);
this
.
rtbMessage
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
111
);
this
.
rtbMessage
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
rtbMessage
.
Name
=
"rtbMessage"
;
this
.
rtbMessage
.
Size
=
new
System
.
Drawing
.
Size
(
588
,
677
);
this
.
rtbMessage
.
Size
=
new
System
.
Drawing
.
Size
(
396
,
463
);
this
.
rtbMessage
.
TabIndex
=
1
;
this
.
rtbMessage
.
Text
=
""
;
//
// FrmMain
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
9F
,
18
F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12
F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
588
,
84
4
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
396
,
57
4
);
this
.
Controls
.
Add
(
this
.
rtbMessage
);
this
.
Controls
.
Add
(
this
.
plConfigs
);
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
this
.
MinimumSize
=
new
System
.
Drawing
.
Size
(
610
,
900
);
this
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
2
,
2
,
2
,
2
);
this
.
MinimumSize
=
new
System
.
Drawing
.
Size
(
412
,
613
);
this
.
Name
=
"FrmMain"
;
this
.
Text
=
"数电票PDF、OFD文件上传客户端V4.
0
"
;
this
.
Text
=
"数电票PDF、OFD文件上传客户端V4.
1
"
;
this
.
Load
+=
new
System
.
EventHandler
(
this
.
FrmMain_Load
);
this
.
plConfigs
.
ResumeLayout
(
false
);
this
.
plConfigs
.
PerformLayout
();
...
...
Src/FrmMain.cs
View file @
cfee3744
...
...
@@ -311,7 +311,7 @@ namespace Kivii.Client.Invoices.Etax
Stream
stream
=
new
MemoryStream
(
bytes
);
List
<
UploadFile
>
files
=
new
List
<
UploadFile
>();
var
uploadFile
=
new
UploadFile
(
$"
{
serialNumber
}{
file
.
Extension
}
"
,
stream
);
var
uploadFile
=
new
UploadFile
(
$"
{
file
.
Name
}
"
,
stream
);
files
.
Add
(
uploadFile
);
var
requestUp
=
new
RequestStorage
();
requestUp
.
OwnerKvid
=
resp
.
Results
[
0
].
Kvid
;
...
...
Src/Properties/AssemblyInfo.cs
View file @
cfee3744
...
...
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.2.2024.40
4
0")]
[assembly: AssemblyFileVersion("5.2.2024.40
4
0")]
[assembly: AssemblyVersion("5.2.2024.40
7
0")]
[assembly: AssemblyFileVersion("5.2.2024.40
7
0")]
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