Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
Kivii.Client.Sample.ImageUploader.V4.5
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.Sample.ImageUploader.V4.5
Commits
5c0f6133
Commit
5c0f6133
authored
Jun 24, 2024
by
Neo Turing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
9153f31e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
FrmMain.Designer.cs
Src/FrmMain.Designer.cs
+0
-0
FrmMain.cs
Src/FrmMain.cs
+4
-6
Kivii.Client.Sample.ImageUploader.V4.5.csproj
Src/Kivii.Client.Sample.ImageUploader.V4.5.csproj
+1
-1
No files found.
Src/FrmMain.Designer.cs
View file @
5c0f6133
This diff is collapsed.
Click to expand it.
Src/FrmMain.cs
View file @
5c0f6133
...
@@ -38,7 +38,7 @@ namespace Kivii.Sample.ImageUploader
...
@@ -38,7 +38,7 @@ namespace Kivii.Sample.ImageUploader
private
List
<
DbFile
>
photos
=
new
List
<
DbFile
>();
private
List
<
DbFile
>
photos
=
new
List
<
DbFile
>();
private
Report
currentReport
=
null
;
private
Report
currentReport
=
null
;
private
DbFile
currentPhoto
=
null
;
private
DbFile
currentPhoto
=
null
;
private
CanonForm
canonForm
=
null
;
//
private CanonForm canonForm = null;
public
FrmMain
()
public
FrmMain
()
{
{
...
@@ -993,11 +993,9 @@ namespace Kivii.Sample.ImageUploader
...
@@ -993,11 +993,9 @@ namespace Kivii.Sample.ImageUploader
private
void
btnCanon_Click
(
object
sender
,
EventArgs
e
)
private
void
btnCanon_Click
(
object
sender
,
EventArgs
e
)
{
{
if
(
canonForm
==
null
)
var
canonForm
=
new
CanonForm
();
{
canonForm
=
new
CanonForm
();
canonForm
.
DownloadCompletely
+=
CanonForm_DownloadCompletely
;
canonForm
.
DownloadCompletely
+=
CanonForm_DownloadCompletely
;
}
canonForm
.
ShowDialog
();
canonForm
.
ShowDialog
();
}
}
...
@@ -1013,7 +1011,7 @@ namespace Kivii.Sample.ImageUploader
...
@@ -1013,7 +1011,7 @@ namespace Kivii.Sample.ImageUploader
// 捕获当前帧
// 捕获当前帧
Bitmap
bitmap
=
System
.
Drawing
.
Image
.
FromFile
(
filePath
)
as
Bitmap
;
Bitmap
bitmap
=
System
.
Drawing
.
Image
.
FromFile
(
filePath
)
as
Bitmap
;
if
(
bitmap
==
null
)
return
;
if
(
bitmap
==
null
)
return
;
var
picName
=
fileInfo
.
Name
;
var
picName
=
$"
{
DateTime
.
Now
.
ToString
(
"mmssfff"
)}
_
{
fileInfo
.
Name
}
"
;
string
reportId
=
string
.
Empty
;
string
reportId
=
string
.
Empty
;
if
(
currentReport
!=
null
)
if
(
currentReport
!=
null
)
{
{
...
...
Src/Kivii.Client.Sample.ImageUploader.V4.5.csproj
View file @
5c0f6133
...
@@ -136,7 +136,7 @@
...
@@ -136,7 +136,7 @@
<Content
Include=
"Camera.ico"
/>
<Content
Include=
"Camera.ico"
/>
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"..\..\Kivii.Client.Canon
.V4.5
\Src\Kivii.Client.Canon.V4.5.csproj"
>
<ProjectReference
Include=
"..\..\Kivii.Client.Canon\Src\Kivii.Client.Canon.V4.5.csproj"
>
<Project>
{08fa5081-59f1-4e6a-b44c-309ef67159e6}
</Project>
<Project>
{08fa5081-59f1-4e6a-b44c-309ef67159e6}
</Project>
<Name>
Kivii.Client.Canon.V4.5
</Name>
<Name>
Kivii.Client.Canon.V4.5
</Name>
</ProjectReference>
</ProjectReference>
...
...
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