|
|
Title | Display vertical and horizontal lines as a crosshair in C# |
Description | This example shows how to display vertical and horizontal lines as a crosshair in C#. |
Keywords | C#, csharp, c sharp, VB .NET, crosshair |
Categories | Graphics, VB.NET |
|
|
Thanks to Markus Seitz.
This example draws vertical and horizontal lines at the cursor's position, making a crosshair. It draws a diagonal line and a background picture so you can see what happens as you move the cursor around. (Also try putting another application over this one and then removing it.) It also shows one way to make the background permanent.
See the code for details. This example is in C# but you should be able to easily convert it to VB .NET.
|
|
|
|
|
|