Surya sasidhar
Surya sasidhar

Reputation: 30313

window application to webapplication

In my window application when I login I open a new window there I want to display the webapplication that is like xxx.aspx in the same window. How can i write the code in window?

Upvotes: 1

Views: 263

Answers (1)

rahul
rahul

Reputation: 187080

I think you are looking for

WebBrowser Class

Enables the user to navigate Web pages inside your form.

The WebBrowser control lets you host Web pages and other browser-enabled documents in your Windows Forms applications. You can use the WebBrowser control, for example, to provide integrated HTML-based user assistance or Web browsing capabilities in your application. Additionally, you can use the WebBrowser control to add your existing Web-based controls to your Windows Forms client applications.

Edit:

Add a webbrowser control from your tool box to the form in which you need to show the web page.

and you can use the Navigate method

webBrowser1.Navigate("http://www.stackoverflow.com");

See

Navigate

Upvotes: 1

Related Questions