Answers for "how to change cursor style on a picturebox in c#"

C#
0

c# picturebox cursor hand

private void pictureBox1_MouseEnter(object sender, EventArgs e)
    {
        pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;
        pictureBox1.Cursor = Cursors.Hand;
    }

    private void pictureBox1_MouseLeave(object sender, EventArgs e)
    {
        pictureBox1.SizeMode = PictureBoxSizeMode.Zoom;
        pictureBox1.Cursor = Cursors.Default;
    }
Posted by: Guest on November-26-2020

Code answers related to "how to change cursor style on a picturebox in c#"

C# Answers by Framework

Browse Popular Code Answers by Language