c# - Need help accessing webbrowser control from form1 -
i need know 1 thing stuck..
i have form1 main form. have panel in , created form2.
i added form2 panel below
form2 frm = new form2(); frm.toplevel = false; frm.show(); panel1.controls.add(frm);
my form 2 has webbrowser control in it. need access webbrowser control form1. how can it??
change protection of webbrowser control public, or create public property returns webbrowser control.
then can reference with
frm.mywebbrowsercontrol
Comments
Post a Comment