An open API service indexing awesome lists of open source software.

https://github.com/karenpayneoregon/windows-api-pack

Provides code samples for displaying custom dialogs using Windows-API-Code-Pack-1.1 NuGet package, source code repository.
https://github.com/karenpayneoregon/windows-api-pack

vb-net vbnet windowsapicodepack

Last synced: 12 months ago
JSON representation

Provides code samples for displaying custom dialogs using Windows-API-Code-Pack-1.1 NuGet package, source code repository.

Awesome Lists containing this project

README

          

# Custom Window Forms dialog for VB.NET

This repository provides code samples for displaying custom dialogs using [Windows-API-Code-Pack-1.1 NuGet package](https://www.nuget.org/packages/WindowsAPICodePack-Core/1.1.1), [source code repository](https://github.com/aybe/Windows-API-Code-Pack-1.1). It's not perfect as per issues below but does work well within limits.

For some creating a window form with normal buttons with DialogResult set for each button is always another way to go.

#### There are several issues:
- DetailsCollapsedLabel and DetailsExpandedLabel can cause buttons to display wrong when the text is rather long.
- DetailsExpandedText has the same issue as above.

In both cases are extreme, should be fine for most cases.

![close me](assets/CloseMe.png)

The following is from the following Microsoft TeckNet article [section](https://social.technet.microsoft.com/wiki/contents/articles/53922.vb-net-reading-large-files-made-simple.aspx#Showing_progress) with full source. Note working with a progressbar requires a decent understanding of the dialog.

![progress](assets/progress.png)

![stupid](assets/Stupid.png)

![error](assets/error.png)