Rearranging controls on screen rotation

  • Thread starter Thread starter grk
  • Start date Start date
G

grk

I'm not sure if this is the right group...

I am writing my first C#.NET program (for .NET compact framework on a
Pocket PC). I would like the controls to rearrange themselves when
the screen is rotated from protrait to landscape.

If I were doing this in Java, I would handle the componentResized
event and redraw the controls within their layout, but I am not sure
how to best do this in .NET.

Can I use some combination of anchor/dock to do this?

I am using VS2005.

Thanks, Ralph
 
I am writing my first C#.NET program (for .NET compact framework on a
Pocket PC). I would like the controls to rearrange themselves when
the screen is rotated from protrait to landscape.

Can I use some combination of anchor/dock to do this?

That's exactly how you would do it. That's what I'm doing with a
blogging application I'm working on for the Compact Framework and its
working well so far:

http://tinyurl.com/2auexg
 
Back
Top