Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExplorerBrowser throws ArgumentNullException in Designer #225

Closed
tajbender opened this issue Apr 22, 2021 · 2 comments
Closed

ExplorerBrowser throws ArgumentNullException in Designer #225

tajbender opened this issue Apr 22, 2021 · 2 comments

Comments

@tajbender
Copy link
Contributor

tajbender commented Apr 22, 2021

Describe the bug
ExplorerBrowser throws ArgumentNullException when a new instance is dropped in Designer, cause in Design-Mode there is no ExplorerBrowser-Instance that has been created. That's why GetFolderView2() fails.

What code is involved
Windows.Forms/Controls/ExplorerBrowser.cs -> get_ThumbnailSize()

Expected behavior
See the attached Patch-File. Using that would fix the Issue, but please take a look if it's exactly the behavior you intended. Using this (quick-fix) solved the problem for me:

21-04-22 ExplorerBrowser Designer-ThumbnailSize.zip

Screenshots
ExplorerBrowser - ThumbnailSize

@tajbender
Copy link
Contributor Author

Sorry, wait a moment... This doesn't fix the problem in ExplorerBrowserTestForm cause of the PropertyGrid.

@dahall dahall closed this as completed in d14609c Jul 22, 2021
@dahall
Copy link
Owner

dahall commented Jul 22, 2021

Finally got this fixed. Sorry for the delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants