基于C#的定点播放音乐功能的实现.  被引量:1

Implementation of Playing Music at Fixed-point on C#

在线阅读下载全文

作  者:罗丽云[1] 

机构地区:[1]广州科技职业技术学院,广州511000

出  处:《计算机光盘软件与应用》2010年第16期98-98,104,共2页Computer CD Software and Application

摘  要:根据广州科技职业技术学院图书馆的要求,本文实现了定点播放音乐的功能。本文描述了在时钟控件中,通过c#中的DateTime类来获取电脑时间,使用if条件语句判断是否符合播放音乐的时间,再通过switch语句对不同星期的不同时段进行匹配,最后激发时钟控件实现定点播放音乐的功能。将此功能嵌入在图书查询系统中,是本文在应用上的一个创新点。According to the requirement of Guangzhou Institute of Science &Technology library, this article realized the function of playing music at fixed-point.This paper describes at the clock control component,through the datetime class in the C# language to get the computer time,use statement to judge whether the time is correspond to the playing music time.Then using switch statement to match different times in different day.Finally, stimulating the clock control component realized the function of playing music at fixed-point.This function is embedded in the library query system,and it is an innovation point in the application.

关 键 词:C# DateTime类 IF语句 SWITCH语句 

分 类 号:TP311.13[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象