資源簡介
個人定時鬧鐘源碼功能介紹:帶聲音提示,整點半天報時。可按次、天、月、年分別提醒。自帶記事本可進行快捷編輯,自動保存。可開機自動啟動和定時關機。自動最小化到托盤,簡單實用,耗用內容低

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Text;
namespace?Alert
{
public?static?class?Constants
{
///?
///?整點提醒
///?
public?static?bool?IsHourAlert?=?true;
///?
///?半點提醒
///?
public?static?bool?IsHalfHourAlert?=?true;
///?
///?是否有聲音提示
///?
public?static?bool?IsSound?=?true;
///?
///?提醒列表
///?
public?static?List?AlertList?=?new?List();
}
public?class?TimeAlert
{
public?TimeAlert()
{?
}
//指定時間提醒
public?TimeAlert(string?message?SplitTypeEnum?splitType?DateTime?alertTime)
{
if?(alertTime? {
return;
}
this.Message?=?message;
this.AlertTime?=?alertTime;
this.SplitType?=?splitType;
}
///?
///?提醒信息
///?
public?string?Message;
///?
///?間隔類型
///?
public?SplitTypeEnum?SplitType;
///?
///?提醒時間
///?
public?DateTime?AlertTime;
private?static?string[]?TypeName?=?{“一次““每天““每月““每年“};
public?static?string?GetSplitTypeName(SplitTypeEnum?type)
{
return?TypeName[(int)type];
}
public?static?SplitTypeEnum?GetSplitType(string?type)
{
int?index?=?0;
for?(int?i?=?0;?i? {
if?(type?==TypeName[i])
{
index?=?i;
break;
}
}
return?(SplitTypeEnum)index;
}
///?
///?間隔類型
///?
public?enum?SplitTypeEnum
{?
///?
///?僅提示一次
///?
OnlyOne
///?
///?每天
///?
Day
///?
///?每月
///?
Month
///?
///?每年
///?
Year
}
}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????1973??2013-10-22?09:06??51Aspx源碼必讀.txt
?????文件????????5855??2013-10-18?14:37??Alarm?Clock.csproj
?????文件???????38078??2013-10-17?09:58??App.ico
?????文件????????1907??2013-10-18?11:11??Constants.cs
?????文件?????????388??2013-10-18?11:11??Program.cs
?????目錄???????????0??2013-10-22?09:07??Properties\
?????文件????????1168??2012-01-18?14:23??Properties\AssemblyInfo.cs
?????文件????????3208??2013-10-18?11:11??Properties\Resources.Designer.cs
?????文件????????6188??2012-01-20?16:52??Properties\Resources.resx
?????文件????????1105??2013-10-18?11:11??Properties\Settings.Designer.cs
?????文件?????????249??2012-01-18?14:23??Properties\Settings.settings
?????文件????????2651??2013-10-18?13:22??RegistryManager.cs
?????目錄???????????0??2013-10-22?09:07??Resources\
?????文件???????17132??2012-01-20?16:52??Resources\msg.wav
?????目錄???????????0??2013-10-22?09:07??bin\
?????目錄???????????0??2013-10-22?09:07??bin\Debug\
?????文件??????171520??2013-10-22?09:00??bin\Debug\Alert.exe
?????文件???????77312??2013-10-22?09:00??bin\Debug\Alert.pdb
?????文件???????11608??2013-10-22?09:00??bin\Debug\Alert.vshost.exe
?????文件?????????490??2012-06-02?22:34??bin\Debug\Alert.vshost.exe.manifest
?????文件???????61440??2013-10-18?14:35??bin\Debug\AxInterop.WMPLib.dll
?????文件???????69632??2013-10-22?09:00??bin\Debug\Interop.MediaPla
?????文件??????339968??2013-10-22?09:00??bin\Debug\Interop.WMPLib.dll
?????文件??????????81??2013-10-18?11:39??bin\Debug\data.txt
?????文件??????????68??2013-10-21?08:47??bin\Debug\set.txt
?????文件??????450382??2013-10-17?14:34??bin\Debug\唯美鬧鐘鈴聲.mp3
?????目錄???????????0??2013-10-22?09:07??bin\Release\
?????文件???????77824??2012-02-01?11:12??bin\Release\Alert.exe
?????文件???????58880??2012-02-01?11:12??bin\Release\Alert.pdb
?????文件????????5632??2005-12-08?14:51??bin\Release\Alert.vshost.exe
?????文件????????9249??2013-10-18?11:11??frmBalloonTip.Designer.cs
............此處省略45個文件信息
- 上一篇:非常全面的音樂播放器
- 下一篇:聊天小程序
評論
共有 條評論