现在的位置: 首页 > 综合 > 正文

.net2.0轻松取得应用程序图标

2012年12月07日 ⁄ 综合 ⁄ 共 182字 ⁄ 字号 评论关闭
感谢.net2.0为我们所做的。
     Icon icon = Icon.ExtractAssociatedIcon(textBox1.Text);
     pictureBox1.Image 
= icon.ToBitmap();

呵呵,以前要用Api,现在好轻松就取得了。
System.Drawing.Icon    Class。哈哈:)
郁闷,我的博客出了BUG。

【上篇】
【下篇】

抱歉!评论已关闭.