会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
立己达人
夫仁者,己欲立而立人,已欲达而达人。 ——《论语· 雍也》
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
下一页
2014年7月19日
C# Win32 查询
摘要: System.Management 命名空间http://msdn.microsoft.com/ZH-CN/library/gg145024(v=vs.110).aspxManagementObjectSearcher Classhttp://msdn.microsoft.com/en-US/lib...
阅读全文
posted @ 2014-07-19 14:43 立己达人
阅读(170)
评论(0)
推荐(0)
2014年7月11日
C# Winform 注册程序开机启动
摘要: 1 开机启动public static bool SetAutoRun(string keyName, string filePath){ try { RegistryKey Local= Registry.LocalMachine; RegistryKey ...
阅读全文
posted @ 2014-07-11 11:44 立己达人
阅读(331)
评论(0)
推荐(0)
2014年7月10日
C# 安装字体
摘要: 遍历所有字体InstalledFontCollection MyFont = new InstalledFontCollection();FontFamily[] MyFontFamilies = MyFont.Families;List installedFontNames = new List(...
阅读全文
posted @ 2014-07-10 15:08 立己达人
阅读(2949)
评论(0)
推荐(0)
2014年7月9日
C# 获取本地计算机名,IP,MAC地址,硬盘ID
摘要: using System;using System.Data;using System.Configuration;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using Syste...
阅读全文
posted @ 2014-07-09 09:04 立己达人
阅读(316)
评论(0)
推荐(0)
2014年7月7日
C# Json 操作
摘要: 1. 引入命名空间using System.Web.Script.Serialization;2. 解析 Json 为 Dictionary 类型JavaScriptSerializer js = new JavaScriptSerializer();return js.Deserialize(st...
阅读全文
posted @ 2014-07-07 11:37 立己达人
阅读(134)
评论(0)
推荐(0)
2014年7月5日
C# Winform 打印
摘要: Win32_Printer classhttp://msdn.microsoft.com/zh-cn/library/aa394363.aspx1. 设置默认打印机using System;using System.Collections.Generic;using System.Linq;usin...
阅读全文
posted @ 2014-07-05 10:17 立己达人
阅读(3359)
评论(0)
推荐(0)
2014年7月3日
C# 绘图
摘要: http://www.cnblogs.com/peterzb/archive/2009/07/19/1526555.html1. 生成缩略图. /// /// 生成缩略图 /// /// 源路径 /// 目标路径 ...
阅读全文
posted @ 2014-07-03 16:08 立己达人
阅读(245)
评论(0)
推荐(0)
2014年7月2日
开源代码 Url
摘要: 1.http://www.sharejs.com/codes/2. http://msdn.microsoft.com/zh-cn/library/vstudio/gg145045(v=vs.100).aspx3.http://www.open-open.com/http://startbootst...
阅读全文
posted @ 2014-07-02 17:10 立己达人
阅读(323)
评论(0)
推荐(0)
C# Html 颜色转为 Color 对象
摘要: // By using the ColorTranslator you can easily convert color values// definied in the hexadecimal format (like it is used in HTML)Color Color1 = Syste...
阅读全文
posted @ 2014-07-02 17:07 立己达人
阅读(1683)
评论(0)
推荐(0)
2014年7月1日
C# 字体操作
摘要: using System.Windows.Forms;using System.Runtime.InteropServices;using System.IO;[DllImport("kernel32.dll", SetLastError = true)]static extern int Writ...
阅读全文
posted @ 2014-07-01 18:39 立己达人
阅读(686)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告