'宣言 Public Overloads Sub LoadPreset( _ ByVal reader As TextReader, _ ByVal reset As Boolean _ )
public void LoadPreset( TextReader reader, bool reset )
Dim sr As System.IO.StreamReader = New System.IO.StreamReader(Me.Page.MapPath("./Onyx.xml")) Me.WebControl1.LoadPreset(sr,True) sr.Close()
System.IO.StreamReader sr = new System.IO.StreamReader(this.Page.MapPath("./Onyx.xml")); this.WebControl1.LoadPreset(sr,true); sr.Close();