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:
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
Post a Comment