Tag : .NET, Win (Windows App), C#, VS 2010 (.NET 4.x), Windows
Date :
2016-10-11 14:49:26
By :
natchaphon_
View :
870
Reply :
2
No. 1
Guest
เก็บไว้ใน Resources ได้ไหมครับจะใช้ก็ค่อยเรียกออกมา
You can bring this up by double-clicking My Project in Solution Explorer or your project Properties under the Project menu item.
The resource types that are supported in the Resource Editor are:
Strings
Images (PNG, BMP, GIF, JPEG, and TIFF are supported!)
Icons
Audio
Files
Other
ตัวอย่าง Code (VB.NET)
Private Sub RadioButton1_CheckedChanged( ...
Handles MyBase.Load
Button1.Image = My.Resources.EARTH.ToBitmap
Button1.Text = "Earth"
End Sub