This website works better with JavaScript.
Home
Explore
Help
Sign In
BWPB3
/
WinFormControl
Watch
9
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Activity
Browse Source
调整。
master
yibo
7 years ago
parent
43a766ec5a
commit
07041f4f19
2 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
WinFormControl/UWeightControl.cs
+1
-2
WinFormControl/Utils/SoundPalyUtil.cs
+ 2
- 1
WinFormControl/UWeightControl.cs
View File
@ -203,7 +203,8 @@ namespace WinFormControl
str
=
"0"
;
this
.
Invoke
(
new
Action
(
delegate
(
)
{
var
v
=
decimal
.
Parse
(
str
)
;
decimal
v
=
0
;
decimal
.
TryParse
(
str
,
out
v
)
;
lblChengZhong
.
Text
=
string
.
Format
(
format
,
v
)
;
if
(
str
!
=
"0"
)
{
+ 1
- 2
WinFormControl/Utils/SoundPalyUtil.cs
View File
@ -26,8 +26,7 @@ namespace WinFormControl
if
(
!
File
.
Exists
(
filePath
)
)
return
;
player
.
SoundLocation
=
filePath
;
player
.
Load
(
)
;
player
.
Play
(
)
;
player
.
PlaySync
(
)
;
}
}
Write
Preview
Loading…
Cancel
Save