Example #1
0
 public void SetSystemIcon(string FileTypeWihthDot)
 {
     lbIcon.Image = IconReader.GetFileIcon(FileTypeWihthDot, IconReader.IconSize.Small, false).ToBitmap();
     // Refresh();
 }
Example #2
0
 public FileItem(String FileTypeWihthDot, bool UseSystemIcon)
 {
     InitializeComponent();
     lbIcon.Image = IconReader.GetFileIcon(FileTypeWihthDot, IconReader.IconSize.Small, false).ToBitmap();
     Refresh();
 }