Archives for June 2010

Status of Quick Zip

Further to the previous status update, I would like to update the progress. Completed Items Toolbar commands –  It’s completed, except it currently cannot display the message log when there’s an error, and only few commands is implemented (3 for archive, 1 for file), and it doesnt support encryption as well. DirectoryTree style – Directory [...]

FileExplorer 0.6

FileExplorer includes two WPF controls, DirectoryTree and FileList.  Both support any normal/shell directory, background item loading, drag and drop, shell context menu, also refresh itself when the filesystem is changed. FileList also support seven different viewmodes, sort using grid header, multi-select via dragging and able to update itself when the FileSystem is Changed. I have [...]

TreeView in Windows 7 style

Introduction This article describe how to style the WPF TreeView so it looks like the one in Windows 7 File Explorer, I basically included 3 changes : Reduced indent spacing Full line selection indicator Auto fade expander arrows

Re: Once more about macros in C# (version 3)

Introduction Ivan Krivyakov suggested an Observable<T>, when declared as property in a class,  and  the property is changed, it will raise a PropertyChanged event automatically, thus any WPF control that link to the Observable<T> will update the value. I found it useful because developer no longer need to write getter, setter code and notifyChange code [...]

SimpleRoutedCommand

Updated : 07-07-10 Added instance specific register methods. Introduction Sacha Barber’s Cinch framework provides SimpleCommand, which allows setting ICommand‘s CanExecute() and Execute() method in one place, using lamba statement, it helps makes my code cleaner and thus easier to maintain. To reduce translation required I used the static RoutedUICommand library provided by WPF, like ApplicationCommands, [...]