Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VIZ.TVP.CBA
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘龙飞
VIZ.TVP.CBA
Commits
f5aa11c9
Commit
f5aa11c9
authored
Mar 09, 2023
by
wangonghui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片路径修改
parent
dd54b206
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
205 additions
and
120 deletions
+205
-120
VIZ.MIGU.CBA.Module/MVPPlayer/ViewModel/MvpPlayerViewModel.cs
+28
-28
VIZ.MIGU.CBA.Module/PlayerCompare/ViewModel/NewPlayerComPareViewModel.cs
+44
-23
VIZ.MIGU.CBA.Module/Setting/HttpUrl/HttpUrlPluginLifeCycle.cs
+1
-1
VIZ.MIGU.CBA.Module/Setting/HttpUrl/View/HttpUrlConfigView.xaml
+17
-1
VIZ.MIGU.CBA.Module/Setting/HttpUrl/ViewModel/HttpUrlConfigViewModel.cs
+37
-0
VIZ.MIGU.CBA.Module/SinglePlayer/ViewModel/NewSinglePlayerViewModel.cs
+28
-28
VIZ.MIGU.CBA.Module/Storge/HttpUrlConfigEntity.cs
+11
-0
VIZ.MIGU.CBA.Module/TeamStats/ViewModel/NewTeamStatsViewModel.cs
+39
-39
No files found.
VIZ.MIGU.CBA.Module/MVPPlayer/ViewModel/MvpPlayerViewModel.cs
View file @
f5aa11c9
...
@@ -147,22 +147,22 @@ namespace VIZ.TVP.CBA.Module
...
@@ -147,22 +147,22 @@ namespace VIZ.TVP.CBA.Module
{
{
PlayNum
=
HNameNums
[
selectPlayer
];
PlayNum
=
HNameNums
[
selectPlayer
];
if
(
TeamItems
[
selectedIndex
]
==
"北京控股666"
)
//
if (TeamItems[selectedIndex] == "北京控股666")
{
//
{
if
(
File
.
Exists
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
"北京控股"
)))
//
if (File.Exists(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, "北京控股")))
{
//
{
PlayerLogo
=
new
BitmapImage
(
new
Uri
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
"北京控股"
)));
//
PlayerLogo = new BitmapImage(new Uri(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, "北京控股")));
}
//
}
}
//
}
else
//
else
{
//
{
if
(
File
.
Exists
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
TeamItems
[
selectedIndex
])))
//
if (File.Exists(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, TeamItems[selectedIndex])))
{
//
{
PlayerLogo
=
new
BitmapImage
(
new
Uri
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
TeamItems
[
selectedIndex
])));
//
PlayerLogo = new BitmapImage(new Uri(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, TeamItems[selectedIndex])));
}
//
}
}
//
}
}
}
}
}
...
@@ -172,22 +172,22 @@ namespace VIZ.TVP.CBA.Module
...
@@ -172,22 +172,22 @@ namespace VIZ.TVP.CBA.Module
{
{
PlayNum
=
VNameNums
[
selectPlayer
];
PlayNum
=
VNameNums
[
selectPlayer
];
if
(
TeamItems
[
selectedIndex
]
==
"北京控股666"
)
//
if (TeamItems[selectedIndex] == "北京控股666")
{
//
{
if
(
File
.
Exists
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
"北京控股"
)))
//
if (File.Exists(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, "北京控股")))
{
//
{
PlayerLogo
=
new
BitmapImage
(
new
Uri
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
"北京控股"
)));
//
PlayerLogo = new BitmapImage(new Uri(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, "北京控股")));
}
//
}
}
//
}
else
//
else
{
//
{
if
(
File
.
Exists
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
TeamItems
[
selectedIndex
])))
//
if (File.Exists(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, TeamItems[selectedIndex])))
{
//
{
PlayerLogo
=
new
BitmapImage
(
new
Uri
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
TeamItems
[
selectedIndex
])));
//
PlayerLogo = new BitmapImage(new Uri(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, TeamItems[selectedIndex])));
}
//
}
}
//
}
}
}
}
}
...
...
VIZ.MIGU.CBA.Module/PlayerCompare/ViewModel/NewPlayerComPareViewModel.cs
View file @
f5aa11c9
...
@@ -335,7 +335,7 @@ namespace VIZ.TVP.CBA.Module
...
@@ -335,7 +335,7 @@ namespace VIZ.TVP.CBA.Module
string
baesePath
=
AppDomain
.
CurrentDomain
.
BaseDirectory
;
//
string baesePath = AppDomain.CurrentDomain.BaseDirectory;
private
string
aPlayer
;
private
string
aPlayer
;
...
@@ -349,21 +349,31 @@ namespace VIZ.TVP.CBA.Module
...
@@ -349,21 +349,31 @@ namespace VIZ.TVP.CBA.Module
if
(
APlayer
==
null
)
return
;
if
(
APlayer
==
null
)
return
;
if
(
AName
==
"北京控股666"
)
//
if (AName == "北京控股666")
{
//
{
if
(
File
.
Exists
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
"北京控股"
)))
//
if(File.Exists(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, "北京控股")))
{
//
{
APlayerLogo
=
new
BitmapImage
(
new
Uri
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
"北京控股"
)));
//
APlayerLogo = new BitmapImage(new Uri(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, "北京控股")));
}
//
}
//}
//else
//{
// if(File.Exists(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, AName)))
// {
// APlayerLogo = new BitmapImage(new Uri(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, AName)));
// }
//}
string
playPath
=
string
.
Format
(
"{0}\\{1}\\{2}.png"
,
AppSetup_InitCBALiteDB
.
HttpUrlConfigEntity
.
PlayersLogo
,
AName
,
APlayer
);
if
(
File
.
Exists
(
playPath
))
{
APlayerLogo
=
new
BitmapImage
(
new
Uri
(
playPath
));
}
}
else
else
{
{
if
(
File
.
Exists
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
AName
)))
APlayerLogo
=
null
;
{
APlayerLogo
=
new
BitmapImage
(
new
Uri
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
AName
)));
}
}
}
if
(
VNameNums
.
ContainsKey
(
APlayer
))
if
(
VNameNums
.
ContainsKey
(
APlayer
))
...
@@ -395,21 +405,32 @@ namespace VIZ.TVP.CBA.Module
...
@@ -395,21 +405,32 @@ namespace VIZ.TVP.CBA.Module
hPlayer
=
value
;
hPlayer
=
value
;
this
.
RaisePropertyChanged
(
nameof
(
HPlayer
));
this
.
RaisePropertyChanged
(
nameof
(
HPlayer
));
if
(
HPlayer
==
null
)
return
;
if
(
HPlayer
==
null
)
return
;
if
(
HName
==
"北京控股666"
)
//if (HName == "北京控股666")
{
//{
if
(
File
.
Exists
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
"北京控股"
)))
// if(File.Exists(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, "北京控股")))
{
// {
HPlayerLogo
=
new
BitmapImage
(
new
Uri
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
"北京控股"
)));
// HPlayerLogo = new BitmapImage(new Uri(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, "北京控股")));
}
// }
//}
//else
//{
// if(File.Exists(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, HName)))
// {
// HPlayerLogo = new BitmapImage(new Uri(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, HName)));
// }
//}
string
playPath
=
string
.
Format
(
"{0}\\{1}\\{2}.png"
,
AppSetup_InitCBALiteDB
.
HttpUrlConfigEntity
.
PlayersLogo
,
HName
,
hPlayer
);
if
(
File
.
Exists
(
playPath
))
{
HPlayerLogo
=
new
BitmapImage
(
new
Uri
(
playPath
));
}
}
else
else
{
{
if
(
File
.
Exists
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
HName
)))
HPlayerLogo
=
null
;
{
HPlayerLogo
=
new
BitmapImage
(
new
Uri
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
HName
)));
}
}
}
if
(
HNameNums
.
ContainsKey
(
HPlayer
))
if
(
HNameNums
.
ContainsKey
(
HPlayer
))
...
...
VIZ.MIGU.CBA.Module/Setting/HttpUrl/HttpUrlPluginLifeCycle.cs
View file @
f5aa11c9
...
@@ -24,7 +24,7 @@ namespace VIZ.TVP.CBA.Module
...
@@ -24,7 +24,7 @@ namespace VIZ.TVP.CBA.Module
/// <summary>
/// <summary>
/// 插件名称
/// 插件名称
/// </summary>
/// </summary>
public
const
string
PLUGIN_NAME
=
"
数据访问
配置"
;
public
const
string
PLUGIN_NAME
=
"
CBA赛事
配置"
;
/// <summary>
/// <summary>
/// 注册
/// 注册
...
...
VIZ.MIGU.CBA.Module/Setting/HttpUrl/View/HttpUrlConfigView.xaml
View file @
f5aa11c9
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<Grid>
<Grid>
<!-- 数据访问设置 -->
<!-- 数据访问设置 -->
<GroupBox Header="
主数据访问
配置" Margin="10" Padding="10">
<GroupBox Header="
CBA赛事
配置" Margin="10" Padding="10">
<Grid>
<Grid>
<Grid.ColumnDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="120"></ColumnDefinition>
<ColumnDefinition Width="120"></ColumnDefinition>
...
@@ -37,6 +37,9 @@
...
@@ -37,6 +37,9 @@
<RowDefinition Height="50"></RowDefinition>
<RowDefinition Height="50"></RowDefinition>
<RowDefinition Height="50"></RowDefinition>
<RowDefinition Height="50"></RowDefinition>
<RowDefinition Height="50"></RowDefinition>
<RowDefinition Height="50"></RowDefinition>
</Grid.RowDefinitions>
</Grid.RowDefinitions>
...
@@ -74,6 +77,19 @@
...
@@ -74,6 +77,19 @@
EditValue="{Binding Path=BAppKey,Mode=TwoWay}"></dxe:TextEdit>
EditValue="{Binding Path=BAppKey,Mode=TwoWay}"></dxe:TextEdit>
<TextBlock Text="图片地址:" Grid.Row="8" VerticalAlignment="Center" HorizontalAlignment="Center" />
<!-- 球队地址 -->
<TextBlock Text="球队图片地址:" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0" Grid.Row="9"></TextBlock>
<dxe:TextEdit Grid.Column="1" Height="30" Grid.Row="9"
EditValue="{Binding Path=TeamsLogo,Mode=TwoWay}"></dxe:TextEdit>
<TextBlock Text="球员图片地址:" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0" Grid.Row="10"></TextBlock>
<dxe:TextEdit Grid.Column="1" Height="30" Grid.Row="10"
EditValue="{Binding Path=PlayersLogo,Mode=TwoWay}"></dxe:TextEdit>
</Grid>
</Grid>
</GroupBox>
</GroupBox>
...
...
VIZ.MIGU.CBA.Module/Setting/HttpUrl/ViewModel/HttpUrlConfigViewModel.cs
View file @
f5aa11c9
...
@@ -149,6 +149,36 @@ namespace VIZ.TVP.CBA.Module
...
@@ -149,6 +149,36 @@ namespace VIZ.TVP.CBA.Module
#
endregion
#
endregion
#
region
图片地址
/// <summary>
/// 球队图片地址
/// </summary>
private
string
teamsLogo
;
public
string
TeamsLogo
{
get
{
return
teamsLogo
;
}
set
{
teamsLogo
=
value
;
this
.
RaisePropertyChanged
(
nameof
(
TeamsLogo
));
}
}
/// <summary>
/// 球员图片地址
/// </summary>
private
string
playersLogo
;
public
string
PlayersLogo
{
get
{
return
playersLogo
;
}
set
{
playersLogo
=
value
;
this
.
RaisePropertyChanged
(
nameof
(
PlayersLogo
));
}
}
#
endregion
// =========================================================================
// =========================================================================
// Command
// Command
// =========================================================================
// =========================================================================
...
@@ -179,6 +209,10 @@ namespace VIZ.TVP.CBA.Module
...
@@ -179,6 +209,10 @@ namespace VIZ.TVP.CBA.Module
this
.
BAppKey
=
AppSetup_InitCBALiteDB
.
HttpUrlConfigEntity
.
BAppKey
;
this
.
BAppKey
=
AppSetup_InitCBALiteDB
.
HttpUrlConfigEntity
.
BAppKey
;
this
.
TeamsLogo
=
AppSetup_InitCBALiteDB
.
HttpUrlConfigEntity
.
TeamsLogo
;
this
.
PlayersLogo
=
AppSetup_InitCBALiteDB
.
HttpUrlConfigEntity
.
PlayersLogo
;
}
}
...
@@ -203,6 +237,9 @@ namespace VIZ.TVP.CBA.Module
...
@@ -203,6 +237,9 @@ namespace VIZ.TVP.CBA.Module
config
.
BAppId
=
this
.
BAppId
;
config
.
BAppId
=
this
.
BAppId
;
config
.
BAppKey
=
this
.
BAppKey
;
config
.
BAppKey
=
this
.
BAppKey
;
config
.
TeamsLogo
=
this
.
TeamsLogo
;
config
.
PlayersLogo
=
this
.
PlayersLogo
;
AppSetup_InitCBALiteDB
.
cBALocalDbContext
.
HttpUrlConfig
.
Upsert
(
config
);
AppSetup_InitCBALiteDB
.
cBALocalDbContext
.
HttpUrlConfig
.
Upsert
(
config
);
...
...
VIZ.MIGU.CBA.Module/SinglePlayer/ViewModel/NewSinglePlayerViewModel.cs
View file @
f5aa11c9
...
@@ -149,22 +149,22 @@ namespace VIZ.TVP.CBA.Module
...
@@ -149,22 +149,22 @@ namespace VIZ.TVP.CBA.Module
{
{
PlayNum
=
HNameNums
[
selectPlayer
];
PlayNum
=
HNameNums
[
selectPlayer
];
if
(
TeamItems
[
selectedIndex
]
==
"北京控股666"
)
//
if (TeamItems[selectedIndex] == "北京控股666")
{
//
{
if
(
File
.
Exists
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
"北京控股"
)))
//
if(File.Exists(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, "北京控股")))
{
//
{
PlayerLogo
=
new
BitmapImage
(
new
Uri
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
"北京控股"
)));
//
PlayerLogo = new BitmapImage(new Uri(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, "北京控股")));
}
//
}
}
//
}
else
//
else
{
//
{
if
(
File
.
Exists
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
TeamItems
[
selectedIndex
])))
//
if(File.Exists(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, TeamItems[selectedIndex])))
{
//
{
PlayerLogo
=
new
BitmapImage
(
new
Uri
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
TeamItems
[
selectedIndex
])));
//
PlayerLogo = new BitmapImage(new Uri(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, TeamItems[selectedIndex])));
}
//
}
}
//
}
}
}
}
}
...
@@ -174,22 +174,22 @@ namespace VIZ.TVP.CBA.Module
...
@@ -174,22 +174,22 @@ namespace VIZ.TVP.CBA.Module
{
{
PlayNum
=
VNameNums
[
selectPlayer
];
PlayNum
=
VNameNums
[
selectPlayer
];
if
(
TeamItems
[
selectedIndex
]
==
"北京控股666"
)
//
if (TeamItems[selectedIndex] == "北京控股666")
{
//
{
if
(
File
.
Exists
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
"北京控股"
)))
//
if(File.Exists(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, "北京控股")))
{
//
{
PlayerLogo
=
new
BitmapImage
(
new
Uri
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
"北京控股"
)));
//
PlayerLogo = new BitmapImage(new Uri(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, "北京控股")));
}
//
}
}
//
}
else
//
else
{
//
{
if
(
File
.
Exists
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
TeamItems
[
selectedIndex
])))
//
if(File.Exists(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, TeamItems[selectedIndex])))
{
//
{
PlayerLogo
=
new
BitmapImage
(
new
Uri
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
TeamItems
[
selectedIndex
])));
//
PlayerLogo = new BitmapImage(new Uri(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, TeamItems[selectedIndex])));
}
//
}
}
//
}
}
}
}
}
...
...
VIZ.MIGU.CBA.Module/Storge/HttpUrlConfigEntity.cs
View file @
f5aa11c9
...
@@ -56,6 +56,17 @@ namespace VIZ.TVP.CBA.Module
...
@@ -56,6 +56,17 @@ namespace VIZ.TVP.CBA.Module
/// </summary>
/// </summary>
public
string
BAppKey
{
get
;
set
;
}
=
"ffrw7ilc8i6r3pkzvl"
;
public
string
BAppKey
{
get
;
set
;
}
=
"ffrw7ilc8i6r3pkzvl"
;
/// <summary>
/// 球队图片地址
/// </summary>
public
string
TeamsLogo
{
get
;
set
;
}
=
"Z:\\2022_migu_picture\\teamlogo\\"
;
/// <summary>
/// 球员图片地址
/// </summary>
public
string
PlayersLogo
{
get
;
set
;
}
=
"Z:\\2022_migu_picture\\PlayerHeadLogo\\"
;
#
endregion
#
endregion
...
...
VIZ.MIGU.CBA.Module/TeamStats/ViewModel/NewTeamStatsViewModel.cs
View file @
f5aa11c9
...
@@ -1318,48 +1318,48 @@ namespace VIZ.TVP.CBA.Module
...
@@ -1318,48 +1318,48 @@ namespace VIZ.TVP.CBA.Module
HomeTeam
=
onAirDataModel
.
liveTeamInfo
.
HomeTeamCNAlias
;
HomeTeam
=
onAirDataModel
.
liveTeamInfo
.
HomeTeamCNAlias
;
string
baesePath
=
AppDomain
.
CurrentDomain
.
BaseDirectory
;
//
string baesePath = AppDomain.CurrentDomain.BaseDirectory;
if
(!
string
.
IsNullOrEmpty
(
HomeTeam
))
//
if (!string.IsNullOrEmpty(HomeTeam))
{
//
{
if
(
HomeTeam
==
"北京控股666"
)
//
if (HomeTeam == "北京控股666")
{
//
{
if
(
File
.
Exists
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
"北京控股"
)))
//
if(File.Exists(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, "北京控股")))
{
//
{
HomeTeamLogo
=
new
BitmapImage
(
new
Uri
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
"北京控股"
)));
//
HomeTeamLogo = new BitmapImage(new Uri(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, "北京控股")));
}
//
}
}
//
}
else
//
else
{
//
{
if
(
File
.
Exists
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
HomeTeam
)))
//
if(File.Exists(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, HomeTeam)))
{
//
{
HomeTeamLogo
=
new
BitmapImage
(
new
Uri
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
HomeTeam
)));
//
HomeTeamLogo = new BitmapImage(new Uri(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, HomeTeam)));
}
//
}
}
//
}
}
//
}
AwayTeam
=
onAirDataModel
.
liveTeamInfo
.
VisitingTeamCNAlias
;
AwayTeam
=
onAirDataModel
.
liveTeamInfo
.
VisitingTeamCNAlias
;
if
(!
string
.
IsNullOrEmpty
(
AwayTeam
))
//
if (!string.IsNullOrEmpty(AwayTeam))
{
//
{
if
(
AwayTeam
==
"北京控股666"
)
//
if (AwayTeam == "北京控股666")
{
//
{
if
(
File
.
Exists
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
"北京控股"
)))
//
if(File.Exists(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, "北京控股")))
{
//
{
AwayTeamLogo
=
new
BitmapImage
(
new
Uri
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
"北京控股"
)));
//
AwayTeamLogo = new BitmapImage(new Uri(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, "北京控股")));
}
//
}
}
//
}
else
//
else
{
//
{
if
(
File
.
Exists
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
AwayTeam
)))
//
if(File.Exists(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, AwayTeam)))
{
//
{
AwayTeamLogo
=
new
BitmapImage
(
new
Uri
(
string
.
Format
(
"{0}Image\\Teamlogo\\{1}.png"
,
baesePath
,
AwayTeam
)));
//
AwayTeamLogo = new BitmapImage(new Uri(string.Format("{0}Image\\Teamlogo\\{1}.png", baesePath, AwayTeam)));
}
//
}
}
//
}
}
//
}
TeamSeasonData
=
await
JsonModel
.
PostTeamSeasonData_Path
(
Matchtypeid
);
TeamSeasonData
=
await
JsonModel
.
PostTeamSeasonData_Path
(
Matchtypeid
);
...
...
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