コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the WebKitBrowser control.
        /// </summary>
        public WebKitBrowser()
        {
            NewWindowCreated           += delegate { };
            NewWindowRequest           += delegate { };
            DownloadBegin              += delegate { };
            Error                      += delegate { };
            Navigating                 += delegate { };
            Navigated                  += delegate { };
            DocumentCompleted          += delegate { };
            DocumentTitleChanged       += delegate { };
            ShowJavaScriptAlertPanel   += delegate { };
            ShowJavaScriptConfirmPanel += delegate { };
            ShowJavaScriptPromptPanel  += delegate { };
            InitializeComponent();

            core.Initialize(this);
        }
コード例 #2
0
ファイル: WebKitBrowser.cs プロジェクト: jharwig/webkitdotnet
        /// <summary>
        /// Initializes a new instance of the WebKitBrowser control.
        /// </summary>
        public WebKitBrowser(WebKitBrowserCore bCore)
        {
            core = bCore;
            NewWindowCreated += delegate { };
            NewWindowRequest += delegate { };
            DownloadBegin += delegate { };
            Error += delegate { };
            Navigating += delegate { };
            Navigated += delegate { };
            DocumentCompleted += delegate { };
            DocumentTitleChanged += delegate { };
            ShowJavaScriptAlertPanel += delegate { };
            ShowJavaScriptConfirmPanel += delegate { };
            ShowJavaScriptPromptPanel += delegate { };
            InitializeComponent();

            core.Initialize(this);
        }