System.Math Class
You can use the ;class to perform certain mathematical calculations. You can use its method to round numbers, get the square root of a certain number, or determine the result of…
Date Difference Calculator
This tutorial guides you through the creation of a Time Difference Calculator which determines the difference of two given dates and returns the result in days. The program uses the ;and ;methods.…
System.DateTime Class
The class of the .NET Framework allows you to use, store, and manipulate data of time and date. It has methods for manipulation of dates such as adding or subtracting…
User Controls
You can create your own controls if you don’t find what you want from the list of predefined controls available in .NET. You may need to create your own control…
Mouse Events
You can use several special events to react to certain mouse interactions to the control. You have seen the Click event which occurs when the a control is clicked by the mouse…
SaveFileDialog Control
The Save File Dialog control () allows you to save or write data to a specified file. The dialog allows you to browse your file system and pick a directory, then type…
OpenFileDialog Control
The Open File Dialog control () allows you to open and read file contents such as texts from text files. The dialog allows you to browse your file system and pick a…
FolderBrowserDialog Control
The Folder Browser Dialog control () allows you to browse for a directory in your system. The control uses a tree view to show all the folders. The Browser shows the Desktop…
FontDialog Control
The Font Dialog control () is a handy control for selecting different kinds of font and font-related properties. font dialog box Using the Font Dialog, you can change the font type, style,…
ColorDialog Control
The Color Dialog () is used when you want to pick different colors. For example, when you want to pick a color of the font or a background color for the form,…