clean code
This commit is contained in:
parent
435d668205
commit
1c8894c348
@ -1,7 +1,7 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using IniParser;
|
using IniParser;
|
||||||
using IniParser.Model;
|
using IniParser.Model;
|
||||||
using DBObj;
|
|
||||||
/* Song Search with ZhuYin */
|
/* Song Search with ZhuYin */
|
||||||
namespace DualScreenDemo
|
namespace DualScreenDemo
|
||||||
{
|
{
|
||||||
@ -311,7 +311,7 @@ namespace DualScreenDemo
|
|||||||
// 例如:根據輸入框的內容搜尋歌曲
|
// 例如:根據輸入框的內容搜尋歌曲
|
||||||
string query = $"SELECT * FROM SongLibrary WHERE `歌曲注音` = '{searchText}' ";
|
string query = $"SELECT * FROM SongLibrary WHERE `歌曲注音` = '{searchText}' ";
|
||||||
|
|
||||||
List<SongData> searchResults = SearchSongs_Mysql(query);
|
var searchResults = SearchSongs_Mysql(query);
|
||||||
// 重置分頁
|
// 重置分頁
|
||||||
currentPage = 0;
|
currentPage = 0;
|
||||||
currentSongList = searchResults;
|
currentSongList = searchResults;
|
||||||
|
@ -4,26 +4,6 @@ using IniParser;
|
|||||||
using IniParser.Model;
|
using IniParser.Model;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
ZhuYinSingers -> WordCountSongs
|
|
||||||
ZhuYin -> WordCount
|
|
||||||
phonetic -> numberWordCount
|
|
||||||
Phonetic -> NumberWordCount
|
|
||||||
inputBoxFontName -> inputBoxWordCountFontName
|
|
||||||
inputBoxFontSize -> inputBoxWordCountFontSize
|
|
||||||
inputBoxFontStyle -> inputBoxWordCountFontStyle
|
|
||||||
inputBoxForeColor -> inputBoxWordCountForeColor
|
|
||||||
LoadConfigData -> LoadConfigDataforWordCountSongs
|
|
||||||
LoadButtonCoordinates -> LoadButtonCoordinatesForWordCountSongs
|
|
||||||
LoadButtonImages -> LoadButtonImagesForWordCountSongs
|
|
||||||
LoadSpecialButtonCoordinates -> LoadSpecialButtonCoordinatesForWordCountSongs
|
|
||||||
RemoveWhiteBorder -> RemoveWhiteBorderForWordCountSongs
|
|
||||||
CreateSpecialButton -> CreateSpecialButtonForWordCountSongs
|
|
||||||
LoadInputBoxConfig -> LoadInputBoxConfigForWordCountSongs
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
namespace DualScreenDemo
|
namespace DualScreenDemo
|
||||||
{
|
{
|
||||||
public partial class PrimaryForm
|
public partial class PrimaryForm
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
using MySqlConnector;
|
|
||||||
using DBObj;
|
|
||||||
using System.Globalization;
|
|
||||||
using System.IO;
|
|
||||||
namespace DualScreenDemo
|
namespace DualScreenDemo
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user