resourceform.vb
来自「讲解visual studio的应用」· VB 代码 · 共 15 行
VB
15 行
Public Class ResourceForm
Private Sub btnBadResource_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBadResource.Click
'Demonstrates poor managment of resources - here strings are hardcoded
'in the code and an image is loaded from a content file.
Me.lblInformation.Text = "Information about the DJ Skype image that we have been able to load (the hard way)" & _
" from a file that has been packaged with this application"
Dim img As New Bitmap("DJ Skype.png")
Me.pctPhoto.Image = img
End Sub
End Class
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?