Félix

Its posible in this vesion add an image to a button

thanks


Re: .NET Compact Framework Imege in a button

Nazim

NETCF does not support the backroung image property for buttons ... but you can always create a custom control. Check out

http://winfx.msdn.microsoft.com/library/default.asp url=/library/en-us/dv_fxnetcf/html/b26fdec0-334c-446f-8a37-a2f5eb02d5e6.asp

I think you should just be able to use the one above. I know there are a whole bunch of these custom controls you can find on the web. Happy hunting.

-Nazim






Re: .NET Compact Framework Imege in a button

Peter Foot

The quick-starts contain an example "Button with a Picture":-
http://samples.gotdotnet.com/quickstart/CompactFramework/

Also the OpenNETCF Smart Device Framework contains a ButtonEx control which supports images. You can either download the SDF (www.opennetcf.org/sdf/), or use the source code directly (http://vault.netcf.tv/VaultService/VaultWeb/VaultHistory.aspx File=2%24%2fSDF%2fOpenNETCF.Windows.Forms%2fButton.cs)
username:guest password:guest

While there are a few samples around for the desktop framework you may need to modify the code slightly to work on the Compact Framework.

Peter




Re: .NET Compact Framework Imege in a button

vikesh

 Peter Foot wrote:
The quick-starts contain an example "Button with a Picture":-
http://samples.gotdotnet.com/quickstart/CompactFramework/

Also the OpenNETCF Smart Device Framework contains a ButtonEx control which supports images. You can either download the SDF (www.opennetcf.org/sdf/), or use the source code directly (http://vault.netcf.tv/VaultService/VaultWeb/VaultHistory.aspx File=2%24%2fSDF%2fOpenNETCF.Windows.Forms%2fButton.cs)
username:guest password:guest

While there are a few samples around for the desktop framework you may need to modify the code slightly to work on the Compact Framework.

Peter





Re: .NET Compact Framework Imege in a button

hani sallam

vikesh wrote:
http://samples.gotdotnet.com/quickstart/CompactFramework/

Also the OpenNETCF Smart Device Framework contains a ButtonEx control which supports images. You can either download the SDF (www.opennetcf.org/sdf/), or use the source code directly (http://vault.netcf.tv/VaultService/VaultWeb/VaultHistory.aspx File=2%24%2fSDF%2fOpenNETCF.Windows.Forms%2fButton.cs)
username:guest password:guest

While there are a few samples around for the desktop framework you may need to modify the code slightly to work on the Compact Framework.

Peter