stillinlife101
Programmer
I have the function
public void FormLine(Point pt1, Point pt2) {}
that is declared in my main form. I want to call the function (i.e. in another class type frmMain.FormLine(params)) from another class, but it doesn't show up. How do I access those functions without making another instance of the form? It's not enough to make it static, it has to refer to the original instance of the form.
Thanks,
Dan
public void FormLine(Point pt1, Point pt2) {}
that is declared in my main form. I want to call the function (i.e. in another class type frmMain.FormLine(params)) from another class, but it doesn't show up. How do I access those functions without making another instance of the form? It's not enough to make it static, it has to refer to the original instance of the form.
Thanks,
Dan