private chkExtensions_Unchecked ( object sender, RoutedEventArgs e ) : void | ||
sender | object | |
e | RoutedEventArgs | |
return | void |
private void chkExtensions_Unchecked(object sender, RoutedEventArgs e) {
if (_IsCalledFromLoading) return;
Dispatcher.BeginInvoke(new Action(
delegate () {
var state = new BExplorer.Shell.Interop.Shell32.SHELLSTATE();
state.fShowExtensions = 0;
BExplorer.Shell.Interop.Shell32.SHGetSetSettings(ref state, BExplorer.Shell.Interop.Shell32.SSF.SSF_SHOWEXTENSIONS, true);
this._ShellListView.IsFileExtensionShown = false;
_ShellListView.RefreshContents();
}
));
}