Skip to Content
0
Former Member
Jul 21, 2016 at 03:07 PM

How does PictureButton resource work in .Net Assembly?

38 Views

Hi,

Does anybody know how PB picturebutton's picture file deploy work in a .Net Assembly dll?

Picture file name is specified in the .Net Assembly project file. PB (classic) deploys it successfully by generating the dll. Then add the dll to a C# window form application.

Run the WinForm application to open PB window with picturebutton control and the picture is shown. However, if I delete the picture file in the PB resource location, run the WinForm application again and I got System.IO.FileNotFoundException error.

Isn't the picture embedded in the dll and then loading from dll?

Thanks for any help!

Christine