+
C# Integrated Development Environment

C# Integrated Development Environment

Author: Lilian Dyer
Description:

To introduce the Integrated Development Environment creating a Windows Forms Application.

Notice that the Form is an object which contains other objects. Also notice each objects properties.

(more)
See More
Try a College Course Free

Sophia’s self-paced online courses are a great way to save time and money as you earn credits eligible for transfer to over 2,000 colleges and universities.*

Begin Free Trial
No credit card required

25 Sophia partners guarantee credit transfer.

221 Institutions have accepted or given pre-approval for credit transfer.

* The American Council on Education's College Credit Recommendation Service (ACE Credit®) has evaluated and recommended college credit for 20 of Sophia’s online courses. More than 2,000 colleges and universities consider ACE CREDIT recommendations in determining the applicability to their course and degree programs.

Tutorial

A note about 'Namespaces"

C# is a powerful programming language.  It helps to have a wonderful editor such as the Visual Studio IDE to write C# programs. 

In the following video you will see that when you create a Windows Forms Application, an instance of a Form will be created with a default name Form1.  This is what you see:

Form1 System.Windows.Forms.Form

He will tell you that System.Windows.Forms is a namespace.  So what is a namespace? A namespace holds a collection of classes organized into groups.

System.Windows.Forms holds a group of classes that can be used by the objects a Form contains.  A form can contain buttons, labels, checkboxes, and much more. These are all classes inside the namespace System.Windows.Forms.

All C# programs use the System namespace which is the global container.   Your program can have any number of namespaces according to the needs of your program.

A Windows Form Object with the IDE

When you create a Windows Forms Application in the Visual Studio C# IDE, you are creating an instance of a Class called Form.
Watch for the properties of the instance of the Class Form in this video.

Source: Enrique David Espinosa

Part 2

Adding controls to the form.

Source: Enrique David Espinoza