0
Follow
2
View

The image will change to a file when it is added to the folder

dishu3 注册会员
2023-01-25 11:40

did you add that image by drag and drop the file? it has not become a file the problem is that it has not been loaded in the most appropriate way.

Try to add the file as a resource, to do that go to the project menu in the resource tab. In that section add resource specifying the type and you should be good to go. Later when you want to call the image from code you can find it in the resources that are easily accessible via code.

to call image via code search on stack is well documented.

ddl223 注册会员
2023-01-25 11:40

Click on the file -> Add -> Exististing File ->

About the Author

Question Info

Publish Time
2023-01-25 11:40
Update Time
2023-01-25 11:40