一点不足,文件夹图标是从shell32.dll中得到的.一般情况下是没有问题的.但是当文件夹的图片时自定义的时候就无法得到了.继续研究中
using System;
using System.IO;
using System.Drawing;
using Microsoft.Win32;
using System.Runtime.InteropServices;
namespace Allinhands.Common
{
<wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">/// 提供从操作系统读取图标的方法</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">public class GetSystemIcon</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">{</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">/// 依据文件名读取图标,若指定文件不存在,则返回空值。</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">public Icon GetIconByFileName</span><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">(string fileName)</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">{</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">if(fileName == null || fileName.Equals(string.Empty)) return null;</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">if(!File.Exists(fileName)) return null;</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">SHFILEINFO shinfo = new SHFILEINFO</span><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">();</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">//Use this to get the small Icon</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">Win32.SHGetFileInfo</span><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">(fileName, 0, ref shinfo,(uint)Marshal.SizeOf(shinfo),Win32.SHGFI_ICON|Win32.SHGFI_SMALLICON);</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">//The icon is returned in the hIcon member of th</span><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">e shinfo struct</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">System.Drawing.Icon myIcon = System.Drawing.Icon.FromHandle(shinfo.hIcon);</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">return myIcon;</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">}</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">/// 给出文件扩展名(.*),返回相应图标</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">/// 若不以"."开头则返回文件夹的图标。</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">public Icon GetIconByFileType(string fileType,bool isLarge)</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span></span></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr>
using System;
using System.IO;
using System.Drawing;
using Microsoft.Win32;
using System.Runtime.InteropServices;
namespace Allinhands.Common
{
<wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">/// 提供从操作系统读取图标的方法</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">public class GetSystemIcon</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">{</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">/// 依据文件名读取图标,若指定文件不存在,则返回空值。</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">public Icon GetIconByFileName</span><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">(string fileName)</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">{</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">if(fileName == null || fileName.Equals(string.Empty)) return null;</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">if(!File.Exists(fileName)) return null;</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">SHFILEINFO shinfo = new SHFILEINFO</span><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">();</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">//Use this to get the small Icon</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">Win32.SHGetFileInfo</span><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">(fileName, 0, ref shinfo,(uint)Marshal.SizeOf(shinfo),Win32.SHGFI_ICON|Win32.SHGFI_SMALLICON);</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">//The icon is returned in the hIcon member of th</span><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">e shinfo struct</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">System.Drawing.Icon myIcon = System.Drawing.Icon.FromHandle(shinfo.hIcon);</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">return myIcon;</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">}</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">/// 给出文件扩展名(.*),返回相应图标</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">/// 若不以"."开头则返回文件夹的图标。</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">///</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left">public Icon GetIconByFileType(string fileType,bool isLarge)</span><br style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"></span><wbr style="color:rgb(50,62,50); font-family:simsun; line-height:21px; text-align:left"><span></span></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr>