随笔分类 -  C#

C#
用C#控制计算机重启、关机及注销
摘要:代码如下:usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Runtime.InteropServices;namespacechkipsrv{publicclassShudown{[StructLayout(LayoutKind.Sequential,Pack=1)]internalstructTok... 阅读全文

posted @ 2007-02-05 10:27 zenith 阅读(1108) 评论(2) 推荐(0)

[DataGrid]DataBinder.Eval()的两种用法
摘要:原文:http://paker.cnblogs.com/archive/2006/03/07/344806.html第一种用法也是最常用的用法,估计相关的资料都比较常见;一般在.aspx文件中使用 1 第二种是直接在DataGird的ItemBound事件里使用DataBinder.Eval().这种用法十分灵活,如果你需要对目标数据进行一些加工处理,这种方法应该能够满足。当然,也可以使用第一... 阅读全文

posted @ 2006-10-08 18:09 zenith 阅读(489) 评论(0) 推荐(0)

建立第一个directX程序——在C#下利用DirectSound实现声音播放
摘要:建立第一个directX程序——在C#下利用DirectSound实现声音播放 阅读全文

posted @ 2006-08-30 11:53 zenith 阅读(15866) 评论(11) 推荐(1)

导航