Form showing mouse coordinates

Posts 1–4 of 4 · Page 1 of 1
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.rar101 KB · 11 downloads 1/52 malicious
So... you used a C# built-in method to do it? Congratz i guess... but why post it here? -.-
File Clear - Approved!
cool basic use for c# , usefull if you want to make a teamviewer like program
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Talk with us