c# - Form based on selected menu item -


i have made sidebar dock on left side of application.

now i'm wondering what's best way show form based on menu option they've selected sidebar.

this want do:

http://www.dreamincode.net/forums/topic/176782-building-an-application-poscash-register-part-one/

on left menu bar, on right side want have form based on option clicked on left.

i have looked mdi when controlbox though i've disabled in child form.

update: seems works well:

looks can create own user controls it:

user controls

if want second wont allow access main form unless closed.then use this...

second_form_name    sfn = new second_form_name(); sfn.showdialog(); 

if want second allow access main form unless closed.then use

 second_form_name    sfn = new second_form_name();   sfn.show(); 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -