You should use System.Windows.Forms.Cursor.Position: “A Point that represents the cursor’s position in screen coordinates.”
More Related Contents:
- Get cursor position with respect to the control – C#
- Console Application with few tasks [closed]
- How to enable assembly bind failure logging (Fusion) in .NET
- How to resize an Image C#
- Automating the InvokeRequired code pattern
- What is the difference between null and System.DBNull.Value?
- How can I add double quotes to a string that is inside a variable?
- Why is Multiple Inheritance not allowed in Java or C#?
- How can I use Async with ForEach?
- Event Bubbling and MVP: ASP.NET
- Why can’t I have protected interface members?
- LINQ Where Ignore Accentuation and Case
- An error occurred during report processing. -RLDC reporting in ASP.NET MVC
- How do I log a user out when they close their browser or tab in ASP.NET MVC?
- Using AppDomain in C# to dynamically load and unload dll
- How can I return the current action in an ASP.NET MVC view?
- Non client painting on aero glass window
- .NET FileInfo.LastWriteTime & FileInfo.LastAccessTime are wrong
- variable ” of type ” referenced from scope ”, but it is not defined
- Convert DataTable to JSON with key per row
- EditorFor() and html properties
- Display a Image in a console application
- Reverse a string with accent chars?
- How can I write a generic anonymous method?
- C# Convert List to Dictionary
- Using multiple instances of MemoryCache
- Why do arrays in .net only implement IEnumerable and not IEnumerable?
- Should the order of LINQ query clauses affect Entity Framework performance?
- How do I resolve the value of a databinding inside a MarkupExtension?
- DataTable to List