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;
 }
Exemplo n.º 2
0
        void OnShowFileNameExtensionsCheckItemClick(object sender, ItemClickEventArgs e)
        {
            FileSystemEntryCollection col = gridControl.DataSource as FileSystemEntryCollection;

            if (col == null)
            {
                return;
            }
            col.ShowExtensions = ((BarCheckItem)e.Item).Checked;
            gridControl.RefreshDataSource();
        }