.Net Desktop Application [closed]
I am using C# to develop my Desktop Application. Now I had a requirement to have a IMAGE on button like we have at desktop or any form. I want to know that is there any way to have an image on Button.
I want to know if it开发者_运维百科 is possible.
What kind of desktop application, Windows Forms or WPF? In WPF it's simple:
<Button>
<Image Source="img.png" />
</Button>
In WinForms add the Button
to the Form
and look in the Properties panel (press F4 if you don't see it) for the Image
property.
精彩评论