Microsoft Manual: Getting Started
What do I need?
Your first Program: Hello World
Files in your project
The Menu
Changing Properties at Design Time
Controls
Ambient Properties for a Uniform Look
Adding Pictures with PictureBox
Pictures with Other controls
Adding Tool Tip to controls
Hot Spots
Naming controls
List of Controls
Writing Code for Buttons
Comments
Selecting code from list
Arguments
Concatenation
Sender
The Visible Property
Selecting Events
Microsoft Manual: Variables
Variables
Drill on Names
Drill on type
Assigning Values to a Variable
Static Variables
Global Variables
Operators
The mod operator: remainder
finding dozens
Order of operations
Drill: Order of operations
calculate grade
Algebra to code
Decimal values on scroll bars
Random Numbers
Microsoft Manual: Decision Structures
IF Statements
Top or bottom?
AND And OR
Left or Right?
Check Boxes and Radio Buttons
Boolean functions: isNumeric and isDate
Additional Examples
Draw a circle
The Brush
Group Boxes
Drawing lines
Arc and Pie
Array of Points
Drawing Strings: The Font Class
Numbered Dots Project
Numbered Dots Solution
General Procedures
Adding a pet
Area
functions
Passing Arguments
Passing Arguments to a function
Passing Variables by Reference
Calculating tip using procedures and functions
Text Boxes
Input Boxes
Message Boxes
More Message Boxes
Dialog Boxes
Open File Dialog
A Demo loop program
For Loops
Step: change the increment
While Loops
While, cont.
Endless loops
Do Loops
Nested Loops
For Each Loops
Graphics with Loops
Scalar Variables vs. Arrays
Example 1: Initialize
Out of Bounds Exception
Arrays of Objects
A lookup example
Julian Date
ReDim: Change the Size of the Array
No Duplicates
Collections
LINQ
The String Class
Names: Using String Functions
Names: Other ways to do the same thing!
Validating Strings
Regular Expressions
Regular Expressions, continued
Anagrams
Cryptograms
Directory
Browse for Folder
Display the Picture
Simple Picture Viewer
Text Files
Creating a lookup list from a file
Menu List
Save
Do you want to save?
On Closing
Reformatting Files
Save as XML
Introduction
Build the Menu
Code to Exit
Add items to a listbox
Delete items from the listbox
Save: Write the contents of the list box to a file
Open File: Read file and add to list box
Ask the user if he wants to save
Code for AskToSave
Code for changes
When to ask the user if he wants to save
The User closes the program
The finishing touches
Select a Font
Go to a webpage for help
On ReSize make the list box fill the form.
Print Preview and Print
Adding the About Box
Viewing a Picture
Code and instructions to view a picture
Select a folder
Display the picture selected in the combo box
Use a timer to create a slide show
The Pizza Project
Designing the form
The Controls
Write the code to calculate the price
Read the list of toppings from a file
New Data Source
Data Tables
Data Connections
Data Changes
Data Changes Code
Forms
Form to Select Days
Show Modal
Show Form
Ready Made Forms
Password
MDI Multiple Documents
Code for the MDI
The Rich Text Box and a Menu
Add a ToolBar
Resize the RichTextBox to fill the Form
Save the contents of the RichText Box
Open a File
Save As
New
Ask to Save
Formatting the Rich Text Box
Code for the complete Rich Text Box Application
A Fraction Class
Code for Fraction Class