Пример #1
0
 public ViewLayoutList GetViewLayoutList(ViewName viewName)
 {
     return(GetViewSpecList(viewName.GroupId).GetViewLayouts(viewName.Name));
 }
Пример #2
0
 public bool ChooseView(ViewName viewName)
 {
     var viewInfo = BindingListSource.ViewContext.GetViewInfo(viewName);
     if (null == viewInfo)
     {
         return false;
     }
     BindingListSource.SetViewContext(BindingListSource.ViewContext, viewInfo);
     return true;
 }