- 博客(4)
- 收藏
- 关注
原创 装载外部DLL 全攻略
例DLL 文件内容如下:using System;using System.Windows.Forms;namespace ArLi.CommonPrj { public class ShowAboutBox { public static void ShowOn(Form fm) { MessageBox.Show("OK"); } }}编译后文件名叫 AboutBox.dl
2003-09-15 09:27:00
1135
1
原创 使用Shell_NotifyIcon 建一个标准气泡通知盒图标
虽然.net 扩展并平民化了大部分的API,但就notifyicon 来讲,系统自己的notifyicon 做的必然安全,以至于 shell32.dll 新版本(此气泡功能是win98 的ie5 就具备)的功能完全得不到体现,在CSDN 我也见过不少的人都在为扩展一个更完美的notifyicon 做努力,为此笔者就在中秋前夜的一些空闲写了这个扩展控件权砖引玉,这二天就有不少朋友扔鸡蛋,于是特撰
2003-09-14 19:06:00
3534
原创 编程使用WMI 控制连接属性
using System;using System.Management;namespace ArLi.CommonPrj { public class ChangeIP { /// /// Build of ArLi 2003.6.3 /// public static readonly System.Version myVersion = new System.Versio
2003-06-17 09:26:00
1370
原创 关于C# 的高效随机字符串
使用RNGCryptoServiceProvider 做种,可以在一秒内产生的随机数重复率非常的低,对于以往使用时间做种的方法是个升级,代码如下:using System;using System.Security.Cryptography;namespace ArLi.CommonPrj{ /// /// 随机密码 /// public sealed class RandomStr
2003-06-13 11:23:00
1469
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人