Peter
Fri Mar 03 11:20:22 CST 2006
If Form1 is part of your application why not just provide a method to
publicly expose the events required. If it's a third-party application you
could always try subclassing the main window (requires some native code
under .NETCF v1.0).
Peter
--
Peter Foot
Windows Embedded MVP
www.peterfoot.net | www.inthehand.com
"Jean_pol" <jean_pol@voila.fr> wrote in message
news:1141379039.761768.315530@t39g2000cwt.googlegroups.com...
>
> Thank you for your answer Peter,
>
> But my problem is little bit different.
> I have 2 Forms:
> - Form1 with controls: Buttons, TextBox..., and Panels which contains
> controls
> - Form2 with nothing and transparent.
>
> My Form2, have the Focus, and I would like see, through the Form2, the
> Form1 (and his controls not only his background).
> I want to intercept Events by Form2.
>
> I have an transparent Form (I use example from Sergey Bogdanov ).
>
http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_thread/thread/ee732aa31de7d9ab/f6b89e44294957da?lnk=st&q=picturebox+transparent+group%3A*.compactframework&rnum=1&hl=en#f6b89e44294957da
> I also tested with transparent pictureBox with Bitmap.
>
> My form2 is transparent, very transparent, because I see the desktop
> and not the contents of my form1.
>
> Best regards,
>
> Jean Paul,
>