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 -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -