Solved

C#, PocketPC and images...

Posted on 2003-11-02
3
196 Views
Last Modified: 2010-04-16
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)
0
Comment
Question by:ellerre
  • 2
3 Comments
 
LVL 19

Expert Comment

by:Desp
ID: 9668530
yes you are right... the .NET compact framework is only a small(not too small) subset of .NEt Framework
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
0
 

Author Comment

by:ellerre
ID: 9669610
tnx!
0
 
LVL 19

Accepted Solution

by:
Desp earned 250 total points
ID: 9669725
if your question has been answered then please close this question by accepting anyone answer so that this question is available to other peoples as well...
if you have some more problems regarding this question then please ask :)
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Bit flags and bit flag manipulation is perhaps one of the most underrated strategies in programming, likely because most programmers developing in high-level languages rely too much on the high-level features, and forget about the low-level ones. Th…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now