Solved

C#, PocketPC and images...

Posted on 2003-11-02
3
198 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows Service to Receive TCP Packets 4 120
Sum Column in GridView 3 42
About delegates in c sharp 3 31
Reset asp.net login password 4 28
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.

911 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

20 Experts available now in Live!

Get 1:1 Help Now