[MonoDevelop] 2 widgets in the same container using form designer?

Elmar Haneke elmar at haneke.de
Tue Aug 24 03:32:59 EDT 2010

> i think the subject pretty explains it all, i was wondering if by using the
> designer it was possible to add 2 widgets in the same container and then
> from the source of my application manage the display of one or the other
> using the show() and hide() methos.

It should work by using the "Visible"-Property. But, switching Widgets
on/off might have impact in Control-Layout.

> I've also taken a look at the gtk-gui/MainWindow.cs file but the comment
> says not to edit that file or things would likely screw up.

That file is rebuild automatically - your modifications will get lost.


More information about the Monodevelop-list mailing list