I want to get the mouse position with respect to the control in which mouse pointer is present. That means when I place the cursor to the starting point (Top-Left corner) of
private void panel1_MouseMove(object sender, MouseEventArgs e) { Text = panel1.PointToClient(Cursor.Position).ToString(); }