J
jp2msft
I am experimenting with a concept the engineers want.
I want to create an app that runs in the console. When an event happens, I
want to display an image.
Can I do this without having a form?
Right now, my app compiles, but crashes with an unhandled exception at this
part:
//
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)
resources.GetObject("imageList1.ImageStream")));
//
It is erroring because I do not have anything called "imageList1.ImageStream".
How would I define something like this?
I included a Resources.resx file, and loaded several images into it. I just
don't know how to access them.
Can anyone help?
I want to create an app that runs in the console. When an event happens, I
want to display an image.
Can I do this without having a form?
Right now, my app compiles, but crashes with an unhandled exception at this
part:
//
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)
resources.GetObject("imageList1.ImageStream")));
//
It is erroring because I do not have anything called "imageList1.ImageStream".
How would I define something like this?
I included a Resources.resx file, and loaded several images into it. I just
don't know how to access them.
Can anyone help?