lundi 7 décembre 2020

How to do that if the link is wrong then don't crash

Visual Studio 2019 c#:

i want when i paste a link into the textbox, it will show in the picturebox. But if the link is bad then will always crash. I want to solve this with "if".

My code: pictureBox2.Load(metroTextBox3.Text);

Aucun commentaire:

Enregistrer un commentaire