 | Getting the Active Process When developing software that monitors running processes, it can be useful to obtain details of the currently active application. The .NET framework does not provide methods to permit this so Platform Invocation Services (P/Invoke) must be used. |
 | Capture Right, Middle and "X" Button Clicks When a user interacts with a Windows Forms application using the mouse, most operations will be controlled with the left (or primary) mouse button. However, it is often important to be able to detect when the user clicks one of the other buttons. |
 | Hiding the Mouse Pointer Some applications require that the mouse pointer be hidden during use. Examples of such software include screen savers and graphical applications or games. Each may fundamentally change the manner of display or the general behaviour of the cursor. |
 | Restarting a Windows Forms Application It can be useful to immediately terminate a Windows Forms program and restart it. This can be used as part of a recovery process for an application that has raised an unexpected exception or following an automated updates to the software. |
 | Using a Form in Place of a Control When you have developed a Windows Forms control, you may find that it would be helpful to have it behave as a control. This would allow you to use the form within another form, potentially including it several times and promoting reuse. |
 | Binding a ComboBox to an Enumeration Enumerations provide a useful manner in which to create a group of related constants that can be viewed as strings or integer values. When these values are bound to a combobox, the user can select an option directly from a list of the enumeration strings. |
 | Creating a Windows Service Windows services are background processes that usually have no direct interaction with the user interface. This article explains how to create a windows service with an example that monitors the file system for changes using a FileSystemWatcher object. |
 | Detect the Status of a Windows Service When developing software that relies upon the availability of Windows services, it is important to be able to determine a service's status. This article explains how to check if a service is running, either on a local computer or on a remote server. |
 | Windows Forms Application Version Numbers Using the information in the AssemblyInfo class file, various information relating to a Windows Forms application can be defined, including a four-part version number. This information can be particularly helpful when multiple versions are in live usage. |
 | Detecting the Tab Key in Windows Forms Most keypresses in Windows Forms applications can be detected using a mixture of the KeyDown, KeyUp and KeyPress events. However, as the tab key is used to move between controls, it is not captured by these events and must be handled differently. |
|
|