private static FileSystemEntryCollection GetFileSystemEntries(string path, IconSizeType sizeType, Size itemSize, bool getIcons) { FileSystemEntryCollection col = new FileSystemEntryCollection(); FileSystemHelper.InitDirectories(path, col, sizeType, itemSize, getIcons); FileSystemHelper.InitFiles(path, col, sizeType, itemSize); return col; }
void OnShowFileNameExtensionsCheckItemClick(object sender, ItemClickEventArgs e) { FileSystemEntryCollection col = gridControl.DataSource as FileSystemEntryCollection; if (col == null) { return; } col.ShowExtensions = ((BarCheckItem)e.Item).Checked; gridControl.RefreshDataSource(); }