📄 dsfavorites.vb
字号:
Partial Class DsFavorites
Partial Class ZipsDataTable
Private mFavoritesPath As String = String.Concat(Application.StartupPath, "\Favorites.xml")
Public Sub LoadFavorites()
'Only attempt the read the xml file if it exists.
If My.Computer.FileSystem.FileExists(mFavoritesPath) = True Then _
Me.ReadXml(mFavoritesPath)
End Sub
Public Sub SaveFavorites()
'Write the table out to an xml file in the same folder as the application.
Me.WriteXml(mFavoritesPath, System.Data.XmlWriteMode.WriteSchema)
End Sub
End Class
End Class
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -