Hi there, I'm sure I've asked this question before but searching does nothing and I completely forgot how to do this.
I need a way to have a user choose a picture from their hard drive and load that picture to an Image class using the location.
I've done this in the past, but as I said I can't remember how I did it.
I know you can apply a file type filter to the OpenFileDialog.
private void LoadImageToMemory()
{
openFileDialog1.Filter = "JPEG | jpeg";
openFileDialog1.ShowDialog();
}
Any guidance? Thank you!