Skip to content

Instantly share code, notes, and snippets.

@nhoxbypass
Created December 11, 2017 14:20
Show Gist options
  • Save nhoxbypass/0a8cba0597e045d12adfae8b51873cf4 to your computer and use it in GitHub Desktop.
Save nhoxbypass/0a8cba0597e045d12adfae8b51873cf4 to your computer and use it in GitHub Desktop.
private void Form1_Load(object sender, EventArgs e)
{
// Chèn ảnh từ ổ cứng trực tiếp bằng thuộc tính ImageLocation
// Thiết lập thuộc tính Size một cách tự động
pictureBox1.ImageLocation = "BeigeMonitor1.png";
pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment