File Download Example
-
18 February 2007
Framework: 2.0
Windows Application
This example demonstrates how to download a file using the WebClient Class. Includes a progress bar indicating download progress and some error handling.
Simple DataGridView Example
-
07 February 2007
Framework: 2.0
Windows Application
This example demonstrates how to load data into the DataGridView control using string array's.
Registry Example 1
-
01 February 2007
Framework: 2.0
Windows Application
This is a very simple registry example. When the form is loaded a registry key is created. Click the button on the center of the form to set the position of the form in the registry, then unload and load the form again. The form will be positioned in a new location. Please note, before you use this example, you should be familiar with the registry keys so that you can delete any keys that you create.
A Custom Message Box
-
21 January 2007
Framework: 2.0
Windows Application
This example source code demonstrates how you can develop your own messages box.
Form With Gradient Effect
-
19 January 2007
Framework: 2.0
Windows Application
This sample program demonstrates how to add a gradient effect to a windows form. The effect can be used on any other windows UI components.
Read File From Server
-
20 December 2006
Framework: 2.0
Windows Application
This example demonstrates how to use the WebClient Class in C# to read a text file hosted on a HTTP server.
Port Scanner V1.0 (TCP)
-
17 December 2006
Framework: 2.0
Windows Application
This example program is a GUI based Port Scanner. It is a basic implementation. It allows you to enter a host name or an IP address and scan a range of ports. The results of the scan are shown in a multiline textbox control. This example also uses the progressbar control to show how much of the scan is complete.
File Writer
-
10 December 2006
Framework: 2.0
Windows Application
This example is a GUI based File Writer example. Uses the saveOpenDialog, the richTextBox control and the menuStrip control. The StreamWriter Class is used to save the text.
File Reader
-
10 December 2006
Framework: 2.0
Windows Application
This example is a GUI based File Reader example. Uses the openOpenDialog, the richTextBox control and the menuStrip control. The StreamReader Class is used to read a text file.
PrintTimesTable
-
08 December 2006
Framework: 2.0
Windows Application
This program will build a multiplication table derived from two inputs (X, Y). No Error handling. Some comments are included in the code.
1
2
3
4
5
6
7
8
9
10
11
12