Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
String^ path = "C:\Users\Abu Bakr\Pictures\Photoshop\Thumbnail for zactonia.png"; Picture->Image = System::Drawing::Image::FromFile(path);
我正在尝试制作幻灯片程序。这是我的问题,我无法将图像放入图片框。
尝试转义'\':
String^ path = "C:\\Users\\Abu Bakr\\Pictures\Photoshop\\Thumbnail for zactonia.png"; Picture->Image = System::Drawing::Image::FromFile(path);