For a rookie of me, in the recent take over a project, make oneself also drunk, side also have no big god of the scene guidance, only rely on the degree Niang and Google's great help, otherwise such a small project can now also pay not, but in this process kind also really practical learning to a lot of things, I first say in WinForm the problem of embedding the browser in. in WinForm Embedded browser, in fact WinForm has its own control -----WebBrowser Control, For the use of this control, you can click WebBrowser to see the detailed introduction and use of methods, but I would like to say that using this control to pass parameters or use IP Access I would not, If you have a meeting, please tell the younger sister.
So in the existing browser space can not be used, I found a package of browser engine, use this to solve I have to ip Access server also to pass parameters of the puzzle, let me say how to solve this problem. first in webkit.net official website Download webkit.net, then unzip it, unzip the file Bindebug folder, Next add the reference in the project, click Browse will bin folder webkitbrowser.dll file added to the reference, Use the following method
Webkit.webkitbrowser browser = new Webkitbrowser (); Browser. Dock = DockStyle.Fill; This. Controls.Add (browser); String url = "http://xxx.xxx.xx.xx:xxxx/xx/xx?xx=value1&xx=value2; Browser. Navigate (URL); Browser. AutoSize = true;
the above is my WinForm To solve the browser control method, if you have other solutions, you can also tell me Oh ~ ~
WinForm using an external browser to resolve WebBrowser issues