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