AddInMenuItem[] BuildMenuItems(GameControl gc) { AddIn[] addIns = addInManager.GetAddIns(); AddInMenuItem[] menuItems = new AddInMenuItem[addIns.Length]; for (int x = 0; x < addIns.Length; ++x) { menuItems[x] = new AddInMenuItem(addInManager, addIns[x], gc.AppID); } return(menuItems); }
AddInMenuItem[] BuildMenuItems( GameControl gc ) { AddIn[] addIns = addInManager.GetAddIns(); AddInMenuItem[] menuItems = new AddInMenuItem[ addIns.Length ]; for ( int x = 0 ; x < addIns.Length ; ++x ) menuItems[ x ] = new AddInMenuItem( addInManager, addIns[ x ], gc.AppID ); return menuItems; }