示例#1
0
 public void AddChild(string key, dynamic model)
 {
     Framework.View control = LuadicrousApplication.ViewFactory.CreateView(LuadicrousApplication.SourceManager.GetView(LuadicrousApplication.GetFileInfo(Template)), key, model);
     views.Add(key, control);
     AddToTable(control.Control);
     base.AddChildren(control);
 }
示例#2
0
 public void AddChild(string key, dynamic model)
 {
     //table.SuspendLayout();
     Framework.View control = LuadicrousApplication.ViewFactory.CreateView(LuadicrousApplication.SourceManager.GetView(LuadicrousApplication.GetFileInfo(Template)), key, model);
     views.Add(key, control);
     AddToTable(control.Control);
     base.AddChildren(control);
     //table.ResumeLayout();
     table.PerformLayout();
 }