Solved

C#, PocketPC and images...

Posted on 2003-11-02
3
228 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

628 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