I have an application with a PictureBox... it reads a record from the database to get a file path, then loads that image into the picturebox. When the image load is finished, it then is supposed to fire the LoadCompleted event and kick off further processing. Though the image loads fine and the program continues executing, the LoadCompleted event does not fire, so I run into problems down the road.
Here is where I configured the event:
And here's the code for the event itself:
I placed a break-point on the first line in the event handler, and it is never reached. Since the speech reco grammar is never created, errors occur a little later when I try to actually use the microphone.
private void pictureBox1_LoadCompleted(object sender, AsyncCompletedEventArgs e)
lblResults.ForeColor = Color.White;
lblResults.Text = "";
Any ideas why the stupid event handler won't fire? It was working earlier, but the changes I made since shouldn't have affected the PictureBox control or its events.