示例#1
0
        public Form1()
        {
            InitializeComponent();

            m_webView = new MBVIP_WebView();
            m_webView.Bind(panel1.Handle);

            m_webView.onTitleChanged += new EventHandler <MBVIP_WebView.TitleChangedEventArgs>(webView_OnTitleChange);
            m_webView.onUrlChanged   += new EventHandler <MBVIP_WebView.UrlChangedEventArgs>(webView_OnUrlChange);

            m_webView.LoadUrl("http://miniblink.net/");
        }
示例#2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            m_webView = new MBVIP_WebView();
            m_webView.Bind(panel1.Handle);

            m_webView.onTitleChanged         += webView_OnTitleChange;
            m_webView.onUrlChanged           += webView_OnURLChange;
            m_webView.onLoadingFinish        += webView_OnLoadingFinish;
            m_webView.onLoadUrlBegin         += webView_OnLoadUrlBegin;
            m_webView.onLoadUrlEnd           += webView_onLoadUrlEnd;
            m_webView.onDocumentReady        += webView_OnDocumentReady;
            m_webView.onDownload             += webView_OnDownload;
            m_webView.onNetResponse          += webView_OnNetResponse;
            m_webView.onImageBufferToDataURL += webView_OnImageBufferToDataURL;

            m_webView.LoadUrl("https://cn.bing.com/search?q=http+analyzer&PC=U316&FORM=CHROMN");
        }