Private Sub 儲存設定(ByVal 是否變更使用者名稱及密碼 As Boolean) Try Dim XDom As XmlDocument = New XmlDocument() XDom.Load(System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetModules(0).FullyQualifiedName) & "\CSY.xml")
'登入設定 Dim settings As XmlNode = XDom.SelectSingleNode("/記事本/設定參數")
If settings Is Nothing Then Dim _data As XmlElement = XDom.CreateElement("設定參數")
Dim _login As XmlElement = XDom.CreateElement("登入設定") Dim _loginV As XmlCDataSection = XDom.CreateCDataSection(登入設定.Checked)