c# - Main Menu. Best practices. -


i use windows forms, don't know library well. need create main menu. now:

i create windows form. on create 2 panels: pnlmainmenu (dock = top) , pnlwindow (dock = fill). use pnlmainmenu menu, pnlwindow drawing figures.

on pnltools create menu: system.windows.forms.menustrip mainmenu (dock = top) , panel pnltools (dock = fill). use pnltools different instruments.

in way have lot of controls on form. need create new windowsform mainmenu only? example:

menuform = new mainmenuform(); menuform.pnlmainmenu.parent = this.pnlmainmenu; menuform.pnlmainmenu.dock = dockstyle.fill;     


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -