Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
passing variables
Ian
19y
1.5k
1
Reply
okay, I've got a program where I get the coordinates of where the mouse clicked in the code for the form:
protected
override
void
OnMouseDown(MouseEventArgs e)
{
int
x, y;
x = e.X;
y = e.Y;
base
.OnMouseDown (e);
}
and I want to pass the values of x and y to a separate class and method. How do I do that?
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Replace string with nothing
FileStream question