資源簡介
獲取文件圖標
代碼片段和文件信息
using?System;
using?System.Drawing;
using?System.Collections;
using?System.ComponentModel;
using?System.Data;
using?System.Runtime.InteropServices;
namespace?Etier.Iconhelper
{
///?
///?Provides?static?methods?to?read?system?icons?for?both?folders?and?files.
///?
///?
///?IconReader.GetFileIcon(“c:\\general.xls“);
///?
public?class?IconReader
{
///?
///?Options?to?specify?the?size?of?icons?to?return.
///?
public?enum?IconSize
{
///?
///?Specify?large?icon?-?32?pixels?by?32?pixels.
///?
Large?=?0
///?
///?Specify?small?icon?-?16?pixels?by?16?pixels.
///?
Small?=?1
}
????????
///?
///?Options?to?specify?whether?folders?should?be?in?the?open?or?closed?state.
///?
public?enum?FolderType
{
///?
///?Specify?open?folder.
///?
Open?=?0
///
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2002-06-13?19:44??bin\
?????目錄???????????0??2002-06-16?11:30??bin\Debug\
?????目錄???????????0??2002-06-16?11:30??bin\Release\
?????目錄???????????0??2002-06-16?11:34??docs\
?????目錄???????????0??2002-06-16?11:34??docs\Msdn\
?????目錄???????????0??2002-06-13?19:44??obj\
?????目錄???????????0??2002-07-02?16:51??obj\Debug\
?????目錄???????????0??2002-06-13?19:44??obj\Debug\temp\
?????目錄???????????0??2002-06-13?19:44??obj\Debug\TempPE\
?????目錄???????????0??2002-06-14?21:10??obj\Release\
?????目錄???????????0??2002-06-13?19:44??obj\Release\temp\
?????目錄???????????0??2002-06-13?19:44??obj\Release\TempPE\
?????文件????????4446??2002-07-02?16:51??IconListManager.cs
?????文件????????8378??2002-07-02?17:06??Icon
- 上一篇:C# 飛行棋 游戲
- 下一篇:VC中PC SC智能卡接口的編程
評論
共有 條評論