c# - User Control that acts like a standard Window, only confined to a pane -
i'm making program generate code me, , i'm fashioning ui after game maker due how easy interface is. has splitcontainer panel1 containing treeview , panel2 containing arbitrary amount of self-contained windows (real windows, not hacky workaround). wanted use user-controls store controls use modify things, can't figure out way put in window inside splitcontainer's panel2. can me?
here's example:
http://i.stack.imgur.com/cg6ko.png
those 2 sprite property windows i'm trying do.
you try using mdi form , implement treeview control, check out sort of docking panel. i've used 1 in past (http://sourceforge.net/projects/dockpanelsuite/).
it flexible. set 1 of these dockpanel forms, docked left of mdi form. "on top" , user can resize splitter control on form. if like, can has "autohide" feature may or may not desirable in case.
it can contain treeview, can load mdi child forms like.
you'll find you're not fighting how "windows" want behave , things run lot more smoothly.
Comments
Post a Comment