开发者

.Net Desktop Application [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜