AllTheTimeWorld.com
Forms in C#
Privacy
Contact
Topics
Algorithms
Alice 3
C++
C# Windows
RGB Colors
Computer Basics
Computer Concepts
Faculty resources
HTML5
Java
Systems Analysis and Design
Visual Basic
Forms in C#
Learn C# (C sharp) in FREE step-by-step lessons.
Forms in C#
Adding Forms: About Box; Login Form; Custom Input Form
Up to now, you have worked with just one form.
In this lesson you will see how to add additional forms to a project.
In order to do this you will:
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.
/csharp/videos/csharp-aboutbox.mp4
About Box, part 2
:
Demonstrates the difference between Show() and ShowDialog()
/csharp/videos/csharp-modal.mp4
Custom Forms
:
In this video we create a custom form to get the days of the week the user can meet.
/csharp/videos/csharp-getdays.mp4
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
/csharp/videos/csharp-getdays2.mp4
Create a login form.
:
Close the program is the user and password are not correct
/csharp/videos/csharp-login.mp4
Create a picture viewer to change size of picture.
:
Add a form to display a picture.
/csharp/videos/csharp-picform.mp4