Essentially what I want to do is copy a WebBrowser object such that I can do the equivalent of "Open In New Tab" or "Open In New Window" actions, maintaining any posted data. I don't just want to navigate to the same URL as in the original WebBrowser object, rather I want to repeat the HttpWebRequest. Is this possible? How?
I believe the WebBrowser object is a control, and therefore it has a window handle, which is going to cause issues if you try to clone it. I don't think you're going to get the behavior you want doing this.
来源:https://stackoverflow.com/questions/794117/deep-copy-system-windows-forms-webbrowser-object-restore-state