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.

Open PDF

Document Details

Document Type
Technical Report
Publication Date
Apr 17, 2018
Accession Number
AD1060540

Entities

People

  • Darryl Bryk

Tags

DTIC Thesaurus Topics

  • Computations
  • Congress
  • Flight Instruments
  • Governments
  • Ground Position Indicators
  • Indicators
  • Instrumentation
  • Iterations
  • Mathematical Analysis
  • Mathematics
  • Measuring Instruments
  • Multipurpose
  • National Governments
  • Navigational Equipment
  • Personality
  • Standards
  • Template Patterns
  • Text Messaging
  • Trademarks
  • United States
  • United States Government

Readers

  • Agent-Based Social Robotics and Mobile-Assisted Learning in Virtual Environments.
  • Coastal and Marine Engineering/Sediment Transport/Hydraulic Engineering
  • Electrical Engineering