TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ghasem deh
NA
258
40k
How to use Mouse_Wheel to zoom in & out
Sep 2 2014 12:13 PM
How to use Mouse_Wheel to zoom in & out pictureBox ...
i use this code :
namespace Test_Code_Csharp
{
public
partial
class
Form1
:
Form
{
public
Form1
()
{
InitializeComponent
();
pictureBox1
.
MouseWheel
+= new
MouseEventHandler
(
pictureBox1_MouseWheel
);
}
void pictureBox1_MouseWheel
(
object sender
,
MouseEventArgs e
)
{
pictureBox1
.
Height
+=
e
.
Delta
/
60
;
pictureBox1
.
Width
+=
e
.
Delta
/
60
;
pictureBox1
.
Top
-=
e
.
Delta
/
120
;
pictureBox1
.
Left
-=
e
.
Delta
/
120
;
}
But no happen ! no error ! and no ...
Reply
Answers (
5
)
Practice sites
how to use goto inside foreach to end loop