Re: graphics and diagram with pocket
- From: "Marco De Carolis" <mdecarol@xxxxxxxxxxx>
- Date: Wed, 1 Jun 2005 12:26:35 +0200
Hi Dave,
thank you for your help.
This afternoon I will try it.
Excuse me if have readen only today, but I have a lot of job open a this
time.
Thank you again
marco
"Dave Corby" <DaveCorby@xxxxxxxxxxxxxxxxxxxxxxxxx> ha scritto nel messaggio
news:AAC48DC1-66BC-44BE-BC9E-2BCB6D90B8C5@xxxxxxxxxxxxxxxx
> Marco,
>
> I have just written my first little graphics routine for C# on Pocket PC.
>
> I found help myself so here it is for you too.
> I have ripped out all my main code to the basic requirement for you.
> I am sure there is a better way - but I havent found it yet!
>
> I am drawing on a panel and had to add an extra paint function:
>
> panel1.Paint += new PaintEventHandler(DrawGraphics);
>
> private void DrawGraphics(object sender, PaintEventArgs e)
> {
>
> Pen myPen = new Pen(Color.Blue);
> e.Graphics.DrawLine(myPen, i1, i2 ,i3 ,i4);
>
> myPen.Dispose();
> }
>
> Hope that helps!
>
> Regards,
>
> Dave
>
> "Marco De Carolis" wrote:
>
>> Does anyone has developed application with graphics or diagram within
>> ..compact framework?
>>
>> thank you in advance
>>
>> best regards
>>
>> marco
>>
>>
>>
.
- Prev by Date: Re: how can we use HTC camera API by COWBURN in evc++.
- Next by Date: Icon
- Previous by thread: Emulator ActiveSync Connection Tool doesn't connect
- Next by thread: Icon
- Index(es):
Relevant Pages
|