public static DirectoryViewer handleDrop(this DirectoryViewer directory, bool value) { directory.invokeOnThread(() => directory._HandleDrop = value); return(directory); }
/*public static DirectoryViewer add_Directory(this Control control, string startDirectory) * { * return (DirectoryViewer)control.invokeOnThread( * () => * { * var directory = new DirectoryViewer(); * directory.Dock = DockStyle.Fill; * //directory.simpleMode_withAddressBar(); * //directory.simpleMode(); * directory._ViewMode = DirectoryViewer.ViewMode.Simple_With_LocationBar; * directory.openDirectory(startDirectory); * control.Controls.Add(directory); * return directory; * }); * }*/ public static DirectoryViewer processDroppedObjects(this DirectoryViewer directory, bool value) { directory.invokeOnThread(() => directory._ProcessDroppedObjects = value); return(directory); }