C#C
C#3y ago
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;
}


The pictures are in my resources

This is my Form1 design:

https://prnt.sc/D0bPBiyNr4Pu
Lightshot
Captured with Lightshot
Was this page helpful?