Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public PopupForm2(CefBrowser parentBrowser, CefPopupFeatures popupFeatures, CefWindowInfo windowInfo, string url, ref CefClient client, CefBrowserSettings settings)
- {
- InitializeComponent();
- _ParentBrowser = parentBrowser;
- _PopupFeatures = popupFeatures;
- _Client = client;
- _Settings = settings;
- _WindowInfo = windowInfo;
- }
- private void PopupForm_Load(object sender, EventArgs e)
- {
- AttachControls();
- }
- public void AttachControls()
- {
- _cefWebBrowserPopUpControl = new CefWebBrowserPopUp(null/*_WindowInfo*/, _Settings);
- _cefWebBrowserPopUpControl.Dock = DockStyle.Fill;
- _BrowserHolder.Controls.Add(_cefWebBrowserPopUpControl);
- _cefWebBrowserPopUpControl.BringToFront();
- _WindowInfo.Parent = Handle;
- }
Advertisement
Add Comment
Please, Sign In to add comment