数字时钟,动态显示当前时间,C#源代码
public string ProcessTime()
{
string sTime;
// Get the current time
int iHour = DateTime.Now.Hour;
int iMin = DateTime.Now.Minute;
int iSec = DateTime.Now.Second;
// Format the current time into a string...
sTime = (iHour < 10) ? "0" + iHour.ToString() : iHour.ToString();
sTime += ":" + ( (iMin < 10) ? "0" + iMin.ToString() : iMin.ToString() );
sTime += ":" + ( (iSec < 10) ? "0" + iSec.ToString() : iSec.ToString() );
return sTime;
}
VisualStudio2008创建
更多免费资源下载:http://download.csdn.net/user/gouyue
QQ223857666勾月guocan@msn.cn
没有合适的资源?快使用搜索试试~ 我知道了~
数字时钟,动态显示当前时间,C#源代码
共94个文件
exe:24个
ssk:10个
xml:9个
4星 · 超过85%的资源 需积分: 50 266 下载量 12 浏览量
2009-04-02
10:47:23
上传
评论 3
收藏 2.47MB RAR 举报
温馨提示
数字时钟,动态显示当前时间,C#源代码 public string ProcessTime() { string sTime; // Get the current time int iHour = DateTime.Now.Hour; int iMin = DateTime.Now.Minute; int iSec = DateTime.Now.Second; // Format the current time into a string... sTime = (iHour < 10) ? "0" + iHour.ToString() : iHour.ToString(); sTime += ":" + ( (iMin < 10) ? "0" + iMin.ToString() : iMin.ToString() ); sTime += ":" + ( (iSec < 10) ? "0" + iSec.ToString() : iSec.ToString() ); return sTime; } VisualStudio2008创建
资源推荐
资源详情
资源评论
收起资源包目录
.rar (94个子文件)
数字时钟
DigitalClock
Form1.cs 1KB
bin
Debug
DigitalClock.exe 9KB
DigitalClock.vshost.exe 14KB
DigitalClock.pdb 26KB
DigitalClock.vshost.exe.manifest 490B
obj
Debug
DigitalClock.exe 9KB
DigitalClock.Form1.resources 180B
DigitalClock.csproj.FileListAbsolute.txt 1KB
DigitalClock.Properties.Resources.resources 180B
TempPE
DigitalClock.csproj.GenerateResource.Cache 847B
DigitalClock.pdb 26KB
Properties
Resources.Designer.cs 3KB
Settings.settings 249B
Resources.resx 5KB
Settings.Designer.cs 1KB
AssemblyInfo.cs 1KB
Program.cs 493B
Form1.Designer.cs 3KB
DigitalClock.csproj 4KB
Form1.resx 6KB
勾月桌面管理系统
勾月桌面管理系统VB6.0版
勾月桌面管理系统VB6.0版.exe 1.88MB
exe
定时闹钟
定时闹钟倒计时程序.exe 24KB
Set.ini 22B
勾月桌面管理系统(.net版)
IrisSkin2.dll 504KB
xml
wendang.xml 1KB
gongji.xml 792B
start.xml 1KB
youjian.xml 2KB
tongxun.xml 316B
wangzhi.xml 23KB
config.xml 231B
Word
event.doc 22KB
diary.doc 22KB
勾月桌面管理系统.exe 483KB
Database
data.mdb 212KB
skin
机械黑色.ssk 29KB
柔和沙.ssk 13KB
水晶蓝.ssk 16KB
深海浅蓝.ssk 16KB
水晶绿.ssk 16KB
波浪紫.ssk 46KB
银装素裹.ssk 16KB
玻璃橙.ssk 18KB
玻璃棕.ssk 17KB
exe
TimingClose
IrisSkin2.dll 504KB
TimingClose.exe 29KB
skin
机械黑色.ssk 29KB
Help
help.txt 1KB
SimpleClock
SimpleClock.pdb 74KB
SimpleClock.exe 56KB
ClockOption.sys 1KB
sound
SimpleClock.vshost.exe 14KB
images
BallClockAmber.bmp 48KB
pin
dayrect.png 533B
mins.png 1KB
secs.png 854B
Thumbs.db 6KB
hour.png 1KB
Aqua.bmp 40KB
Thumbs.db 19KB
Default.bmp 64KB
radioactive.bmp 48KB
SimpleClock.vshost.exe.manifest 490B
LoginFace
LoginFace.pdb 56KB
LoginFace.vshost.exe.manifest 490B
LoginFace.xml 117B
LoginFace.vshost.exe 14KB
LoginFace.exe 1.31MB
Address
Address.pdb 52KB
Address.vshost.exe.manifest 490B
mate.xml 5KB
Address.exe 31KB
Address.vshost.exe 14KB
LLKan
LLKan.exe 444KB
Chess
chess.exe 228KB
DSClock
Set.ini 22B
DSClock.exe 24KB
SourceManager
SourceManager.exe 18KB
MyComputer
MyComputer.exe 19KB
YunNian
Year.exe 17KB
quse
quse.exe 744KB
WebBrowser
WebBrowser.vshost.exe 14KB
AxInterop.SHDocVw.dll 44KB
WebBrowser.exe 40KB
Interop.SHDocVw.dll 128KB
WebBrowser.vshost.exe.manifest 490B
FormerList.dat 148B
WebBrowser.pdb 44KB
zheDangLan
zheDangLan.exe 15KB
RiLiBiao
RiLiBiao.exe 34KB
说明.txt 290B
DigitalClock.sln 926B
readme.txt 668B
DigitalClock.suo 15KB
共 94 条
- 1
勾月禅心
- 粉丝: 685
- 资源: 6702
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
前往页