Form showing mouse coordinates
Hello, Ive build an form that showing your mouse coordinates outside the form.
Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace MouseCoordinates
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
TimerMouseCoordinates.Start();
}
private void btnExit_Click(object sender, EventArgs e)
{
Application.Exit();
}
private void TimerMouseCoordinates_Tick(object sender, EventArgs e)
{
lblXas.Text = "X = " + Cursor.Position.X;
lblYas.Text = "Y = " + Cursor.Position.Y;
}
}
}
Screenshot
http://prntscr.com/3id47t
VirrusScan
https://www.virustotal.com/nl/file/f...is/1399842297/
http://virusscan.jotti.org/en/scanre...43d89604b9834e
MouseCoordinates_mpgh.net.rar So... you used a C# built-in method to do it? Congratz i guess... but why post it here? -.-
cool basic use for c# , usefull if you want to make a teamviewer like program