A Multipurpose Message Dialog
Abstract
This article will describe a C# class for a more versatile Windows message dialog with the ability for custom buttons, textboxes, checkboxes, and a progress bar indicator. The .NET provided Message Box is quite versatile for general use, but there was a need to have buttons like Continue or Skip, and rather than make up a custom dialog for each type needed, this class was developed. Over time, additions to the class were added for a non-modal progress bar indicator, with the option to cancel or continue, and the ability to define and get input from checkboxes and textboxes. Controls are automatically positioned, with the window expanding if more room is needed, and defaults for buttons, checkboxes and textboxes can be defined.
Document Details
- Document Type
- Technical Report
- Publication Date
- Apr 17, 2018
- Accession Number
- AD1060540
Entities
People
- Darryl Bryk