Skip to main content
Dialogs in C#
Privacy
Contact
Topics
Algorithms
Alice 3
C++
C# Windows
RGB Colors
Computer Basics
Computer Concepts
HTML5
K12: Resources for Parents
Fidget Quilts
Dialogs in C#
Learn C# (C sharp) in FREE step-by-step lessons.
Unit III: User Interface
Please study the material at each of the links below.
Microsoft Reference
:
C# Dialogs, Common Dialogs and Message Boxes
Happy Birthday
:
This is an overview of the app that we will create in this lesson.
Create the menu for the Happy Birthday App
:
Shows how to build the menu for the Happy Birthday program.
Create the tool strip for the Happy Birthday App
:
Shows how to build the toolstrip (at the top of the form), plus two images to download
Create the status strip for the Happy Birthday App
:
Create the status strip (at the bottom of the form) & add code to display the current time
Add the font dialog for the Happy Birthday App
:
The Font Dialog is one of the common dialog controls for selecting fonts and font properties
Add the Open dialog to select a picture
:
Includes setting the filter to select only picture types.
Add the Color dialog to select a background color for the Happy Birthday App
:
Includes a different way to determine if the user clicked cancel
Add the code for New and Exit: The last of the Happy Birthday App
:
Shows how to save and restore the form settings at start
A Message Box Example
:
Explanation of using a message box.
Message Box Buttons and Icons
:
In addition to OK, and YesNO, other buttons can be shown
Glossary for dialogs lesson
Full Glossary