就是能自动下载匹配歌词 然后唱的时候能跟好歌词就行 在网上找了找例子 都没有注释 看的一头雾水
解决方案 »
- WPF 程序崩溃,自动重启
- 数据库存储过程执行代码,因数据库不同一段出错,不段正常,不得其解.
- c#操作日志
- 对一个项目是否一般只需一个NUnit类来测试?该测试类是否会对最终程序的发布有影响呢?
- 请问c#中怎样去一个字符串中的最后的n个字符???c#中有没有现成的函数可以调用?象vb中的Right函数一样!
- 我们是做DELPHI的,公司是网络公司,老板今天要我们转NET,问有哪些比较好的资源的.net网站
- 如何使子控件背景色为Color.Transparent时不重绘父控件
- ========== 【快来看呀】末结贴集分回收器就职宣言!!!==========
- 打开word或excel时如何避免提示窗口?(winform内嵌ie控件)
- 这样用Thread.sleep,好象有问题,请教!
- 异步调用,高手请进!!!
- Asp.net操作Excel表格时如何将选定的范围的单元格全部加上边框?
{
try
{
for (int i = 0; i < lrcString.Length; i++)
{
int l = lrcString[i].LastIndexOf("]");
if(l == 9)
{
if (getLengthWithFormat2(currentPos) == lrcString[i].Substring(l - 8, 5))
{
listItem = lrcString[i].Substring(l + 1, lrcString[i].Length - l - 1);
return listItem;
}
}
else
if (l == 19)
{
if (getLengthWithFormat2(currentPos) == lrcString[i].Substring(l - 8, 5) || getLengthWithFormat2(currentPos) == lrcString[i].Substring(l - 18, 5))
{
listItem = lrcString[i].Substring(l + 1, lrcString[i].Length - l - 1);
return listItem;
}
}
else
if (l == 29)
{
if (getLengthWithFormat2(currentPos) == lrcString[i].Substring(l - 8, 5) || getLengthWithFormat2(currentPos) == lrcString[i].Substring(l - 18, 5) || getLengthWithFormat2(currentPos) == lrcString[i].Substring(l - 28, 5))
{
listItem = lrcString[i].Substring(l + 1, lrcString[i].Length - l - 1);
return listItem;
}
}
else
if (l == 39)
{
if (getLengthWithFormat2(currentPos) == lrcString[i].Substring(l - 8, 5) || getLengthWithFormat2(currentPos) == lrcString[i].Substring(l - 18, 5) || getLengthWithFormat2(currentPos) == lrcString[i].Substring(l - 28, 5) || getLengthWithFormat2(currentPos) == lrcString[i].Substring(l - 38, 5))
{
listItem = lrcString[i].Substring(l + 1, lrcString[i].Length - l - 1);
return listItem;
}
}
else
if (l == 49)
{
if (getLengthWithFormat2(currentPos) == lrcString[i].Substring(l - 8, 5) || getLengthWithFormat2(currentPos) == lrcString[i].Substring(l - 18, 5) || getLengthWithFormat2(currentPos) == lrcString[i].Substring(l - 28, 5) || getLengthWithFormat2(currentPos) == lrcString[i].Substring(l - 38, 5) || getLengthWithFormat2(currentPos) == lrcString[i].Substring(l - 48, 5))
{
listItem = lrcString[i].Substring(l + 1, lrcString[i].Length - l - 1);
return listItem;
}
}
}
return listItemUnAdd;
}
catch
{
return listItemUnAdd;
}
}
这个方法的参数是干什么的啊 看半天也没明白