C#
JianDom
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C# 操作注册表
//设置ie打印的边距 RegistryKey regKey = Registry.CurrentUser; string SubKeyPath = @"Software\Microsoft\Internet Explorer"; RegistryKey optionKey = regKey.OpenSu原创 2015-01-24 11:42:19 · 525 阅读 · 0 评论 -
C# 泛型 无法将类型xx隐式转换为“T”
直接奖泛型转为T是不能转换的 要先转Object例: public static T GetValue(string inValue) { if (typeof(T) == typeof(Bitmap)) { return (T)(Object)new Bitmap(inValue);原创 2015-01-24 11:35:32 · 14315 阅读 · 4 评论
分享