CodeExplorer Posted December 24, 2022 Posted December 24, 2022 (edited) So I've added an ImageList to MainForm but unfortunately in compiled exe is not under MainForm resource but as an separated resource called imageListTreeView.ImageStream, when I try to run the program it complain about resource not being found: this.imageListTreeView.ImageStream = (ImageListStreamer)componentResourceManager.GetObject("imageListTreeView.ImageStream"); How to fix this problem? Edited December 24, 2022 by CodeExplorer
aIjundi Posted December 24, 2022 Posted December 24, 2022 It's hard to guess without having something to look at. Post the project (or DM if it's private)
CodeExplorer Posted December 25, 2022 Author Posted December 25, 2022 (edited) I resolved my problems. I simply added again all images and now all works ok, and now ImageList is included in MainForm. To be frankly I have no idea on why this error came from first place. Edited December 25, 2022 by CodeExplorer
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now