Thread: C#
View Single Post
Author Message
Heks365
Zero Posts
Join Date: Jan 2020
Old 01-30-2020 , 12:40   C#
Reply With Quote #1

Hello, I need some help with making a quick program for a friend of mine.
What i need help with is this:

I am Using Visual Studio, and now i have a ComboBox that shows some Vehicles (in the Combobox area)

Now i want it to display a Picture of that car when i select it (by arrows or by mouse)

So kinda

If Combobox(text) == ("V70");
{
pictureBox1.Image = Image.FromFile("../pics/V70.jpg");
}
Else if Combobox(text) == ("740");
{
pictureBox1.Image = Image.FromFile("../pics/740.jpg");
}

I know this dont work but i hope you guys understand what i want to do with this
I Surely do appreciate all help and tips (Beginner in this kinda stuff so
Greetings Heks365
Heks365 is offline