hi, I'm using Vs.net 2005.
what I have to do now is to respond to the Mouse_Down event
and draw somthing on a panel

In the Framework Application I can get a Graphics object from the
panel's CreateGraphics() method, and do the painting easily.

but in a NET CF application therse is a error when I use the same methodã??
how can i do that ï¼?
thanks in advanceï¼?

Re: how can I do the same thing in the SmartClient Application by Daniel

Daniel
Thu Mar 16 14:58:30 CST 2006

Discussed many times before. Search the archives:
http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/search?group=microsoft.public.dotnet.framework.compactframework&q=CreateGraphics&qt_g=1&searchnow=Search+this+group

E.g. see this
http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_thread/thread/4cd9cfa94c2c5793/9da09050cb2a8713

Cheers
Daniel
--
http://www.danielmoth.com/Blog/

"liugeng" <liugeng@discussions.microsoft.com> wrote in message
news:9A8374AC-5509-49E7-9719-60EBF4C18C1D@microsoft.com...
> hi, I'm using Vs.net 2005.
> what I have to do now is to respond to the Mouse_Down event
> and draw somthing on a panel
>
> In the Framework Application I can get a Graphics object from the
> panel's CreateGraphics() method, and do the painting easily.
>
> but in a NET CF application therse is a error when I use the same method?
> how can i do that ?
> thanks in advance?