修正SQL路徑
This commit is contained in:
parent
b5f46e2f27
commit
fec592d94a
@ -37,8 +37,8 @@ namespace DualScreenDemo{
|
||||
string artistA = reader["歌星 A"].ToString();
|
||||
string artistB = reader["歌星 B"].ToString();
|
||||
string fileName = reader["歌曲檔名"].ToString();
|
||||
string songFilePathHost1 = Path.Combine("\\SVR01\\DISK01\\", fileName); // \SVR01\DISK01\
|
||||
string songFilePathHost2 = Path.Combine("\\SVR01\\DISK01\\", fileName); // \SVR02\DISK01\
|
||||
string songFilePathHost1 = Path.Combine(@"\\SVR01\DISK05", fileName); // \SVR01\DISK01\
|
||||
string songFilePathHost2 = Path.Combine(@"\\SVR02\DISK01", fileName); // \SVR02\DISK01\
|
||||
string artistASimplified = reader["歌星A簡體"].ToString();
|
||||
string artistBSimplified = reader["歌星B簡體"].ToString();
|
||||
string songSimplified = reader["歌名簡體"].ToString();
|
||||
|
@ -1422,7 +1422,6 @@ namespace DualScreenDemo
|
||||
{
|
||||
|
||||
currentSelectedSong = label.Tag as SongData;
|
||||
|
||||
this.DoubleBuffered = true;
|
||||
this.SuspendLayout();
|
||||
|
||||
@ -2481,7 +2480,7 @@ namespace DualScreenDemo
|
||||
|
||||
isOnOrderedSongsPage = true;
|
||||
autoRefreshTimer.Start(); // 开始自动刷新
|
||||
|
||||
// 已點歌曲錨點
|
||||
currentSongList = playedSongsHistory;
|
||||
totalPages = (int)Math.Ceiling((double)playedSongsHistory.Count / itemsPerPage);
|
||||
multiPagePanel.currentPageIndex = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user