Home > Back-end >  How to use c # code changing a form's background?
How to use c # code changing a form's background?

Time:11-13

I see some people say that this is the Image of img=Image. FromFile (@ "? The path ");
But don't know what to write in path directly copy and paste the image path
No matter use

CodePudding user response:

Copy image to the program. EXE directory, directly in the file name to open (extension)

CodePudding user response:

If in the IDE running unable to open the picture, and then double-click exe running,

CodePudding user response:

The original poster said it need absolute path to use it, other I don't know, if you don't know what is the absolute path to the below website, has explained to https://bbs.csdn.net/topics/392170732#new_post

CodePudding user response:

Sent you a wrong is the
https://zhinan.sogou.com/guide/detail/? Id=316512397840
  • Related