Sunday, 15 April 2012

c# - How can I fit my HTML page to the Web Browser in win Form? -



c# - How can I fit my HTML page to the Web Browser in win Form? -

i can navigate google in simple web browser (with doc in parent control), resolution bi component size.

i hope can help me.

please give screenshot. made new winforms-application next code-behind (nothing in designer)

public partial class form1 : form { webbrowser wb = new webbrowser(); public form1() { initializecomponent(); this.controls.add(wb); wb.dock = dockstyle.fill; load += onload; } private void onload(object sender, eventargs eventargs) { wb.navigate("http://www.google.de"); } }

and works fine

c# winforms webbrowser-control

No comments:

Post a Comment