[Mono-winforms-list] Is this possible with a winform?

Paul Johnson paul at all-the-johnsons.co.uk
Mon Dec 13 16:34:00 EST 2010


Hi,

Many moons ago I developed a piece of code on a completely different
operating system. It was quite a funky piece of code and I'd like to
re-release it as a winform application. Problem is that it had a very odd
thing on the window.

The software was a graphic carousel package, so there was a fast forward,
rewind, stop etc system attached to the window which looked like this

+-----------------------------------------------+
| Picture title                                        X |
+-----------------------------------------------+
|                                                             |
|                                                             |
|         piccy                                            |------|
|                                                             |  >>  |
|                                                             |       |
|                                                             |  << |
|                                                             |       |
|                                                             |   #  |
|                                                             |       |
+-----------------------------------------------+-----+

The bit on the right was attached to the window as a borderless panel. If
the picture was too large, it was scaled to fit, but the panel then appeared
inside of the window. Window moved, so did the panel.

I did think of creating a panel, attaching it to the window and then adding
an event so that when things moved, resized etc, the panel moved with it.
However, this is problematic.

Is this sort of thing possible using a winform or do I need to rethink my
UI?

TTFN

Paul

P.S. Sorry if the ASCII art gets messed up - I'm having to use webmail until
my main box is fixed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20101213/04775aa2/attachment-0001.html 


More information about the Mono-winforms-list mailing list