Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
thick-casting
Project
Project
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
潘栩锋
thick-casting
Commits
2820048d
Commit
2820048d
authored
Jul 31, 2021
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化 数据浏览器导出 excel 进度显示
parent
3ece0d23
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
22 deletions
+8
-22
ExcelOuput.cs
...ting/FLY.Thick.FilmCasting.UI.DbViewer/Core/ExcelOuput.cs
+8
-4
DgSelectMonth.xaml
...ting/FLY.Thick.FilmCasting.UI.DbViewer/DgSelectMonth.xaml
+0
-18
No files found.
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting.UI.DbViewer/Core/ExcelOuput.cs
View file @
2820048d
...
@@ -62,8 +62,7 @@ namespace FLY.Thick.FilmCasting.UI.DbViewer.Core
...
@@ -62,8 +62,7 @@ namespace FLY.Thick.FilmCasting.UI.DbViewer.Core
using
(
ExcelPackage
p
=
new
ExcelPackage
(
new
FileInfo
(
filepath
)))
using
(
ExcelPackage
p
=
new
ExcelPackage
(
new
FileInfo
(
filepath
)))
{
{
TotalRow
=
profilePack
.
ScanDatas
.
Count
();
CurrRowInit
(
profilePack
.
ScanDatas
.
Count
());
CurrRow
=
0
;
SaveToXlsxThk
(
p
,
profilePack
);
SaveToXlsxThk
(
p
,
profilePack
);
...
@@ -206,7 +205,11 @@ namespace FLY.Thick.FilmCasting.UI.DbViewer.Core
...
@@ -206,7 +205,11 @@ namespace FLY.Thick.FilmCasting.UI.DbViewer.Core
ToSheet
(
sheet
,
dataTable
);
ToSheet
(
sheet
,
dataTable
);
}
}
void
CurrRowInit
(
int
totalRow
)
{
TotalRow
=
totalRow
;
CurrRow
=
0
;
}
int
_currRow
=
0
;
int
_currRow
=
0
;
void
CurrRowGrowUpReady
()
void
CurrRowGrowUpReady
()
{
{
...
@@ -221,5 +224,6 @@ namespace FLY.Thick.FilmCasting.UI.DbViewer.Core
...
@@ -221,5 +224,6 @@ namespace FLY.Thick.FilmCasting.UI.DbViewer.Core
{
{
CurrRow
=
_currRow
+
cnt
;
CurrRow
=
_currRow
+
cnt
;
}
}
}
}
}
}
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting.UI.DbViewer/DgSelectMonth.xaml
View file @
2820048d
...
@@ -12,24 +12,6 @@
...
@@ -12,24 +12,6 @@
</dialog:CustomDialog.Resources>
</dialog:CustomDialog.Resources>
<Grid >
<Grid >
<Grid.Resources>
<Style TargetType="TextBlock" x:Key="ItemHeaderStyle" BasedOn="{StaticResource ItemHeaderStyle}">
<Setter Property="Width" Value="100"/>
<Setter Property="Background" Value="{StaticResource MahApps.Brushes.Highlight}"/>
<Setter Property="Foreground" Value="{StaticResource MahApps.Brushes.IdealForeground}"/>
<Setter Property="Padding" Value="2"/>
<Setter Property="FontSize" Value="20"/>
</Style>
<Style TargetType="Viewbox" x:Key="ItemContentViewboxStyle">
<Setter Property="Width" Value="180"/>
<Setter Property="Height" Value="30"/>
<Setter Property="HorizontalAlignment" Value="Left"/>
</Style>
<Style TargetType="TextBlock" x:Key="ItemContentStyle" BasedOn="{StaticResource ItemContentStyle}">
<Setter Property="FontSize" Value="24"/>
</Style>
</Grid.Resources>
<Grid.RowDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition/>
<RowDefinition/>
...
...
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