Implement web browser with C #

xiaoxiao2021-03-06  59

Noteping less, see the code. . . private AxSHDocVw.AxWebBrowser axWebBrowser1; private System.Windows.Forms.Button button1; private System.Windows.Forms.Label label1; private AxShockwaveFlashObjects.AxShockwaveFlash axShockwaveFlash1; System.Threading.Thread thread1 = new System.Threading.Thread (new System.Threading .Threadstart (thread_webbrowse); thread1.start (); private void thread_webbrowse () {// This is a tryler usage, encountering an error throwing exception Try {Object n = null; this.axwebbrowser1.navigate ("www." Sina.com.cn ", Ref n, ref n, ref n, ref n);} catch (exception ex) {this.Label_output.text = ex.toT7tring ();}}

转载请注明原文地址:https://www.9cbs.com/read-91381.html

New Post(0)