C
C#3y ago
Jana ♡

✅ Please help guys

Help Me fix the error on my code
3 Replies
Jana ♡
Jana ♡OP3y ago
The Code is
string PICBOX1GIF;
PICBOX1GIF = @"C:/TrexLauncher Minecraft Bedrock/Launcher/Theme/Theme/PICBOX1GIF.gif";
if (File.Exists(PICBOX1GIF))
{
pictureBox1.ImageLocation = PICBOX1GIF;
}
else
{

}
string PICBOX1GIF;
PICBOX1GIF = @"C:/TrexLauncher Minecraft Bedrock/Launcher/Theme/Theme/PICBOX1GIF.gif";
if (File.Exists(PICBOX1GIF))
{
pictureBox1.ImageLocation = PICBOX1GIF;
}
else
{

}
The Picbox1 wont change ??? WHY ???? AAAAAAAAA
SG97
SG973y ago
does it enter the if clause
Jana ♡
Jana ♡OP3y ago
opps it worked sorry
pictureBox2.ImageLocation = PICBOX1GIF;
pictureBox2.ImageLocation = PICBOX1GIF;
thats the wrong one the true one was
pictureBox1.ImageLocation = PICBOX1GIF;
pictureBox1.ImageLocation = PICBOX1GIF;

Did you find this page helpful?