contre / Windows-API-Code-Pack-1.1

Windows API Code Pack 1.1
Other
161 stars 46 forks source link

Feature proposal: custom SelectionChangedEventArgs for selected folder and file names #40

Open anhellwig opened 3 years ago

anhellwig commented 3 years ago

Added custom CommonFileDialogSelectionChangedEventArgs, in order to work with the currently selected folder and file names in the SelectionChanged event handler. If there is some other way to obtain that information inside the event handler, which I missed, please comment.

gotoh commented 3 years ago

I'm grad to see this feature. BTW, another approach exists in https://github.com/wmrutten/Windows-API-Code-Pack-1.1/commit/21899014c260e749248e245019bf752b47c3563d by adding SelectedXxx properties.