예제 #1
0
 public ChensNavigator()
 {
     InitializeComponent();
     jsModules = new JSModules();
     //jsModules.InitJSMoudles();
     //CreateMenuButton1s();
 }
예제 #2
0
 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();
 }
예제 #3
0
 public void SetMenu(JSModules _js)
 {
     jsModules = _js;
     CreateMenuButton1s();
     ResizeControls();
 }