Zebra0.com
Forms in C#
Privacy
Contact
Topics
Algorithms
Alice 3
C++
C# Windows
RGB Colors
Computer Basics
Computer Concepts
HTML5
K12: Resources for Parents
Fidget Quilts
Forms in C#
Learn C# (C sharp) in FREE step-by-step lessons.
Module 12: Forms in C#
Up to now, you have worked with just one form.
In this lesson you will see how to add additional forms to a project.
Goals:
Adding Forms: About Box; Login Form; Custom Input Form.
Objectives:
Add an About Box to a program;
Create and use a custom form;
Understand the difference between Show() and ShowDialog();
Create a login form;
Write an application similar to the picture viewer application.
Please study the material at each of the links below.
Microsoft Reference
:
Forms
Add an About Box to a program
:
An About Box is one type of form that can be added to a program.
About Box, part 2
:
Demonstrates the difference between Show() and ShowDialog()
Custom Forms
:
In this video we create a custom form to get the days of the week the user can meet.
Using the custom form
:
A Form is shown modal, when closed selections are processed
A second way of getting days
:
Create a list of the days from the custom form
Create a login form
:
Close the program if the user and password are not correct
Create a picture viewer to change size of picture
:
Add a form to display a picture.
Glossary for forms lesson
Full Glossary