public ChensNavigator() { InitializeComponent(); jsModules = new JSModules(); //jsModules.InitJSMoudles(); //CreateMenuButton1s(); }
public ChensMenuButton1(JSModule module, JSModules modules, Panel panel) { this.Height = 40; jsmodule = module; this.childPanel = panel; jsmodules = modules.modules.Where(p => p.ParentID == module.ID).ToList <JSModule>(); InitializeComponent(); this.CreateChildPanel(); }
public void SetMenu(JSModules _js) { jsModules = _js; CreateMenuButton1s(); ResizeControls(); }