Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

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;
    }
Comment

PREVIOUS NEXT
Code Example
Csharp :: how to access path position variable in unity 
Csharp :: How to create a Blazor server-side application in command prompt 
Csharp :: How to print text to screen in c# 
Csharp :: list array 
Csharp :: spin with rigidbody 2d unity 
Csharp :: redis cache repository .net 
Csharp :: c# program exit 
Csharp :: Get Mouse World Position 
Csharp :: unity line renderer opacity 
Csharp :: unity subtract class 
Csharp :: demand a Security action c# 
Csharp :: access label from another class c# 
Csharp :: curl rest api keycloak 
Csharp :: blazor image button 
Csharp :: count number of rows in a table in c# 
Csharp :: stroke dash array wpf 
Csharp :: how to iterate a generic list in c# 
Csharp :: BulkWrite c# example mongodb 
Csharp :: boxing and unboxing in c# 
Csharp :: how to check if button is pressed unity 
Csharp :: autoit console write 
Csharp :: C# Async Function with await 
Csharp :: declare prop array c# 
Csharp :: how to move mouse with c# 
Csharp :: list c# 
Csharp :: create dropdown in datatable c# dynamically 
Csharp :: assert throw 
Csharp :: c# get enum name from value 
Csharp :: c# generate insert statement from object 
Csharp :: iserviceprovider vs iservicecollection 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =