adspace


Give the code for Handling Mouse Events?

Answer Posted / Sanjay Kumar Singh

{"code": "using System; using System.Windows.Forms;npublic partial class Form1 : Form {n private void form_MouseMove(object sender, MouseEventArgs e) {n lblPositionX.Text = e.X.ToString();n lblPositionY.Text = e.Y.ToString();n }n public Form1() {n InitializeComponent();n this.MouseMove += form_MouseMove;n }n}"}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category