Microsoft Visual C# Programming
FunctionX Press FunctionX C#  F# ASP.NET Visual Basic C++ C++/CLI SQL Server Visual C++/CLI
Microsoft Visual C# Programming

Microsoft Visual C# is a programming environment used to create computer applications for the Microsoft Windows family of operating systems. It combines the C# language and the .NET Framework.

Microsoft Visual C# is available in two options. It can be used from Microsoft Visual C# 2010 Express. It is also available as a member of Microsoft Visual Studio.

This web site provides lessons and topics on how to create graphical applications using Microsoft Visual C#.

To follow the lessons on this web site, you can use either Microsoft Visual C# Express or Microsoft Visual Studio. The former is freely available. You can download it from the Microsoft web site.

Fundamentals

 

Microsoft Visual Studio

Fundamentals Introduction to Microsoft Visual C# Exception Handling The Code Editor
Graphical Applications Fundamentals Delegates The Toolbox
The Forms of an Application Events The Properties Window
Introduction to Dialog Boxes Using a Library  
Message Boxes Application Online Help  

SDI/MDI Applications

Controls Fundamentals

Accessories

Main Menu Introduction to Application Design Point
Contextual Menu Introduction to Controls Properties Size
Visual Characteristics of Menu Items Details on Controls Properties Rectangle
SDI and MDI Applications Introduction to Controls Containers  
Printing    
 

Controls

Browse For Folder Button Check Box Checked List Box Color Dialog Box Combo Box
Context Menu Data Grid View Data View Date Picker Domain Up-Down Flow Layout Panel
Font Dialog Box Group Box Image List Label List Box List View
Link Label Masked Text Box Month Calendar Numeric Up-Down Open File Dialog Page Setup
Panel Picture Box Print Dialog Box Print Preview Progress Bar Radio Button
Rich Text Box Save File Dialog Scroll Bar Split Container Status Strip Tab Control
Text Box Tick Counter Time Picker Timer Tool Strip Track Bar
  Tree View     Table Layout Panel  
 

Arrays and Collections

Serialization

Fundamentals
[1] Introduction to Collections
[2] Iterating Through a Collection
[3] Implementing a Collection Using .NET
[4] Introduction to Built-In Collection Classes
[5] Dictionary-Based Collections
[6] Linked Lists
 
Binary
SOAP
Example of a Collection Application
 

Data Sets

XML

File Processing

1. Introduction to Data Sets

1. Introduction to eXtensible Markup Language

Introduction
2. The Tables of a Data Set 2. Introduction to XML Elements Drives and Their Contents
3. The Columns of a Table 3. Operations on XML Elements Directories
4. Introduction to Records 4. Maintenance of XML Elements Files Information
5. Assistance With Data Entry 5. Characteristics of XML Nodes Operations on Files
6. Data Relationships 6. XML Reading and Writing  
7. Records Maintenance    
   

ADO.NET and Databases

 

Fundamentals [1] Introduction to Microsoft SQL Server
[2] Introduction to ADO.NET Databases
[3] Introduction to the Structured Query Language
[4] Transact-SQL Data Types and Variables
[5] Transact-SQL Expressions
 
[6] Introduction to Transact-SQL Functions
[7] Introduction to the Tables of a Database
[8] Introduction to the Records of a Database
[9] Assistance With Data Entry
 

ADO.NET How-To

Visual Support

Data Selection

ADO.NET Topics

Create a TableAdd a Column to a Table Data Source Introduction Sorting Records
Rename a ColumnDelete a Column Binding Source Topics on Data Selection Data Joins
Create a Record Table Adapter Data Selection and Permissions Check Constraint
  Binding Navigator Selecting Records from Different Tables Merging Records
  Data Adapater Uniting the Records Functions and Data Entry
      Copying Records
      Moving Records
 

Filtering Records

 

Relationships

Records Maintenance

Introduction Pattern: LIKE Primary Key Updating Records
Topics on Filtering Records BETWEEN | IN Foreign Key Deleting Records
Filtering String-Based Fields UNION Referential Integrity Unique Records
Filtering Numeric Fields   Types of Relationships Moving Records
Logical Conjunction and Disjunction   Topics on Data Relationships  
 

ADO.NET Topics 2

 
Display the records of a table in a data grid view (1) ADO.NET and Table Adapters
Display the records of a table in a data grid view (2) Using the Data Set of a Table Adapter
Display the records of a table in a data grid view (3) Common Table Expressions (CTE)
 

Drawing and GDI+ Programming

Graphics Accessories

Fundamentals Introduction to Applications Graphics Color  
Drawing Strings Cursor  
  Icon  
  Pen  
     
 

GDI+ Shapes

Curves

Brushes

Bitmaps

Lines Introduction to Curves Solid Brushes Introduction to Bitmaps
Polygons Pie Hatched Brushes Copying a Picture
Ellipses and Circles Arc Textured Brushes Flipping a Picture
Rectangles and Squares Bézier Curves Linear Gradient Brushes Mirroring a Picture
  Closed Curves   Rotating a Picture
      Scaling a Picture
   

Language Integrated Query (LINQ)

 

Fundamentals [1] Introduction to the LINQ [06] LINQ Operators  
[2] Sorting a List [07] LINQ and the Enumerable Class  
[3] Using a Criterion to Select [08] LINQ and Arrays  
[4] LINQ and the String Class [09] Grouping Records  
[5] Logincal Conjunction & Disjunction [10] Joining Records  
 
 

Simple Applications

Windows Controls Applied

 

 
Boolean Algebra

This is an exercise on Boolean algebra (it includes only the AND and the OR operations).

Car Inventory

This application is used to review a list of objects; in this case, the objects are cars. The application uses two track bars.

College Park Auto-Repair

A data grid view is used to display a collection of values. This application explores some of its features.

Compounded Interest

The compounded interest is the amount of money paid as interest on a loan.

Elementary Addition

This small application can help you check your ability to perform simple additions of natural numbers (integers between 0 and 99).

Elementary operations

This application can let a kid practice such operations as the addition, the subtraction, and the multiplication.

HTML Body Tag Formatter

This application explores the properties of scroll bars.

Simple Interest 1

This example explores the implementation of a button control.

Simple Interest 2

This application uses a date/time picker to select a date value to reduce the likelihood of mistakes.

 
 
Movie Review

This application shows how to use a domain up/down to visit the members of an array, retrieve its members and display their values.

Payroll Evaluation

This example uses some of the features of a text box, including auto-completion.

Pledge Distribution

This example uses a combination of three spin buttons to distribute one value in three portions.

Progress Clock

This is an example of an application that uses the progress bar to display the current time. It gets the actual time from the computer.

 

GDI+ Examples

Color Selector

This example shows how to use the GetPixel() method of the Bitmap class to get the color of a pixel.

Continually Moving Lines

This example illustrates two perpendicular lines drawn on a form but continually moving from one side to another.

Collision Detection I

This is our first example of object collision. It uses shapes of Microsoft Visual Basic Power Packs.

Collision Detection II

This is another example of collision detection. This one uses the the picture box to represent the objects that are moving.

 

Statistics

 
Factorial, Permutation, Combination

As the title indicates, this example has three methods used to calculate the factorial, the permutation, and the combination, respectively.

Percentage Conversions

This application shows how to convert a decimal value or a fraction to a percentage, or how to find the decimal value of a percentage.

Measures of Center

These are examples of routine calculations made in statistics, including the mean, the median, the mode, and the midrange.

Standard Deviation | Standard Deviation

This exercise defines the standard deviation and shows how to calculate it.

The z Score

This application defines the z score and shows how to calculate the z scores of the elements of a series.

Probability Distribution (Mean, Variance, Std Dev)

This application shows how to calculate the mean, the variance, and the standard deviation for a probability distribution of random variables.

Binomial Probability Distribution

This exercise defines the binomial probability distribution and includes a method to calculate it.

Linear Correlation Coefficient

This is a definition of the linear correlation coefficient and an application that calculates it.

Applications

 
  File Processing Data Set XML ADO.NET
Ceil Inn The Collection Class      
Kolo Bank       Triggers
Watts A Loan   Data Entry   Commanding a Database
Altair Realtors Linked Lists   Characteristics of XML Nodes Aggregate Queries
Solo Music Store Implementing a .NET Collection Class      
Monson University       Topics on Data Relationships
Bethesda Car Rental Dictionary-Based Collections Data Relationships   Data Binding With a Binding Source
Solas Property Rental     Operations on XML Elements Introduction to Data Selection
Fun Department Store       Views
College Park Auto Parts Built-In Collection Classes Introduction to Data Sets   Using a Collection Class
College Park Auto Repair     XML Reading and Writing Data Binding With the Data Reader
Georgetown Dry Cleaning Services File-Based Application   Maintenance of XML Elements Data Adapters and Data Sets
 
 
Copyright © 2008-2016, FunctionX, Inc. Contact