© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
6 replies
dond~

Picturebox not displaying my pictures

I'm not sure what I'm doing wrong, my pictures don't show for some reason. This is my code:

public Form1()
{
    InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
    pictureBox1.Image = Properties.Resources.picture1;
    pictureBox2.Image = Properties.Resources.picture2;
    pictureBox3.Image = Properties.Resources.picture2;
}
public Form1()
{
    InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
    pictureBox1.Image = Properties.Resources.picture1;
    pictureBox2.Image = Properties.Resources.picture2;
    pictureBox3.Image = Properties.Resources.picture2;
}


The pictures are in my resources

This is my Form1 design:

https://prnt.sc/D0bPBiyNr4Pu
Lightshot
Screenshot
Captured with Lightshot
Screenshot
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ fade picturebox
C#CC# / help
2y ago
Help picturebox c#
C#CC# / help
2y ago
❔ transparent picturebox help
C#CC# / help
3y ago
❔ Create a picturebox_clicked event for each picturebox created
C#CC# / help
4y ago