AllTheTimeWorld.com

csharp controlsControls in C#

Controls in C#

Learn C# (C sharp) in FREE step-by-step lessons.

Controls in C#

Learn to add controls to the form.

The buttons, labels , scroll bars, list boxes and other things you see in a Windows program are called controls.

In this lesson you will learn to add controls to a program, change their appearance (properties) and make them function in the program.

 

In order to do this you will:

Please study the material at each of the links below.

  1. Microsoft Reference Microsoft Reference: C# Toolbox, Controls on Windows Forms

  2. Controls Controls: Adding controls to the form and change a few properties
    /csharp/videos/csharp-controls.mp4
  3. Ambient Properties for a Uniform Look Ambient Properties for a Uniform Look: Change font and colors of form first: When control is added it will have those same values
    /csharp/videos/csharp-ambient.mp4
  4. Adding Pictures with PictureBox Adding Pictures with PictureBox: An animated gif is added to a picture box.
    /csharp/videos/csharp-picturebox.mp4
  5. Pictures with Other controls Pictures with Other controls: In additon to the form and picture boxes,
    images can also be added to other controls such as label and button.
    /csharp/videos/csharp-otherpictures.mp4
  6. Adding Tool Tip to controls Adding Tool Tip to controls: Tool tips are the small words that appear when you move the mouse over a control
    /csharp/videos/csharp-tooltips.mp4
  7. Image alignment and text alignment: Image and text can be placed in one of 9 positions.

  8. Hot Spots Hot Spots: Labels are arranged over a picture to create hot spots to show parts of computer
    /csharp/videos/csharp-hotspots.mp4
  9. Naming controls: Give controls meaningful names such as picComputer or lblInstructions

  10. List of Controls: A list of some of the most common controls, names and use