Button Control
The Button control () is usually wont to execute commands once it’s clicked. once a button is clicked, you specify codes that may be used. Buttons are typically used to…
Windows Form
Windows Forms (or simply forms) are the windows you see in a Windows Application. You can create multiple forms in a single application. Each form inherits the properties and methods of the ;class.…
Naming Your Controls
Always make a habit of naming controls. We name our control using its Name property. Naming controls follows the guideline for naming variables such as spaces, special characters, and the use of…
C# Controls
C# Control is the visual components that compose the graphical user interface. Everything you see in a GUI is a C# Control, including the form itself. c# control is located…
MessageBox Class
The is a static category that’s wont to show message boxes for prompting, confirmation and warning users. To show a message box, simply call the Show method of the MessageBox class. The simplest version…
Separating Design and Functionality
When we create a new windows form, a class that inherits from ;is generated. This class is separated in two files thanks to the feature called partial classes. Partial classes allow…
C# Event Handling
Graphical user interfaces in .NET and Visual C# uses event handling mechanism to handle events that occur while the program is running. Events are behaviors or happenings that occur when…
Creating a Simple Windows Forms
You will now experience visual programming which is the “Visual” in Visual C#. Please note that this lesson guides you to the creation of a simple windows application which uses…
C# Visual Programming
Graphical User Interfaces (GUI) allow a user to interact easily with the program using different visual components. On the early days of the computer world, applications are text based and…
Expression-Bodied Members
Expression-bodied members is a feature introduced in C# 6 that allows you to use lambda-like syntax to simplify writing of methods, properties, operator overloads, and indexers of a class. Instead of…