摘要:ref 方法外对参数先赋值一个初始值,方法中修改该参数的值,并最终将修改后的值传出方法。out 方法外仅需要声明,方法中赋值,并传出,我觉得有点象方法的返回值。
阅读全文
摘要:Winform程序2.0的.需要引用Microsoft.mshtml.privatevoidForm1_Load(objectsender,EventArgse){webBrowser1.Navigate("http://www.baidu.com");webBrowser1.DocumentCompleted+=newWebBrowserDocumentCompletedEventHandler(webBrowser1_DocumentCompleted);}voidwebBrowser1_DocumentCompleted(objectsender,WebBrowser
阅读全文
摘要:usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Linq;usingSystem.Text;usingSystem.Windows.Forms;usingSystem.Threading;usingHtmlDom;namespaceHTMLElementSelect{publicpartialclassForm1:Form{publicForm1(){InitializeComponent();}Abo.
阅读全文