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?
Passing variables
okay, I've got a program where I get the coordinates of where the mouse clicked in the code for the form:
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Jesse11 pointsPosted Nov 16, 2005, 8:03 AM EST
Jesse11 pointsPosted Nov 16, 2005, 8:04 AM EST