ellerre
asked on
C#, PocketPC and images...
I'm developing a C# program into the PocketPC 2003 enviroment.
I discovered (too late!) that a lot of features are not present into the .NET Compact Framework.
Ok, the question...
I have an image and I wish to use it like a button.
In the "standard" C# I can find the "pictureBox1_Click" event, but not using the compact framework.
Seems Microsoft do not loves anymore the "click", the "background color" etc..
How can I add it into my project?
(yes, I'm a beginner)
I discovered (too late!) that a lot of features are not present into the .NET Compact Framework.
Ok, the question...
I have an image and I wish to use it like a button.
In the "standard" C# I can find the "pictureBox1_Click" event, but not using the compact framework.
Seems Microsoft do not loves anymore the "click", the "background color" etc..
How can I add it into my project?
(yes, I'm a beginner)
ASKER
tnx!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
But, "PictureBox.OnClick" Event is supported by the .NET Compact Framework.. you can put your code in that event
BackColor is Also supported by .NET Compact framework :)
so look for
"OnClick" Event instead of "Click"
and
"BackColor" Property instead of "Background Color"
in the properties window of the picturebox control