E
Eric B.
I am going crazy. Trying to create a secondary form, do a .DrawToBitmap of
the WebBrowser on it and send the bitmap to a PictureBox on the first form.
My problem is I cannot seem to create a method on form2 that I can access on
form1.
I tried using the advice from this link:
http://stackoverflow.com/questions/8566/best-way-to-access-a-control-on-another-form-in-c
I added this property code to form2:
public boolean ControlIsVisible
{
get { return control.Visible; }
set { control.Visible = value; }
}
Just to see if I could access it from form1, no go.
What am I doing wrong? Please Help!
Eric B.
the WebBrowser on it and send the bitmap to a PictureBox on the first form.
My problem is I cannot seem to create a method on form2 that I can access on
form1.
I tried using the advice from this link:
http://stackoverflow.com/questions/8566/best-way-to-access-a-control-on-another-form-in-c
I added this property code to form2:
public boolean ControlIsVisible
{
get { return control.Visible; }
set { control.Visible = value; }
}
Just to see if I could access it from form1, no go.
What am I doing wrong? Please Help!
Eric B.