开发者

c# express: where is my picbox?

开发者 https://www.devze.com 2022-12-18 19:45 出处:网络
I am 开发者_如何转开发not a visual studio programmer but I need to whip up a quick app to display an image and manipulate it\'s height and width using a slider.I\'ve done the quick google and all of t

I am 开发者_如何转开发not a visual studio programmer but I need to whip up a quick app to display an image and manipulate it's height and width using a slider. I've done the quick google and all of the information talks about using picturebox(picbox) as the image containing control but I don't seem to have a picbox control in my VS C# express install.

Should it be missing? How do I get it back or install it? What are my alternatives?


If you've looked carefully in the toolbox and couldn't find it, you may have accidentally deleted the icon. Right click on the "All Windows Forms" section header in the toolbox and select "Choose Items". Check the checkbox near the "PictureBox" control. It'll show up in the toolbox.

In WPF, you should be looking for the "Image" control instead.


It was that I was in a WPF project rather than a windows form project like Mehrdad pointed out

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号