示例#1
0
 /// <summary>
 /// 获取列
 /// </summary>
 /// <param name="hiddenAttributes"></param>
 /// <param name="useDisplayName"></param>
 /// <returns></returns>
 public virtual DataGridViewColumn[] GetDataGridViewColumns(List <string> hiddenAttributes, bool useDisplayName = true, string [] orderedColNames = null)
 {
     return(DataGridViewUtil.BuildDataGridViewCols(ClassType, useDisplayName, hiddenAttributes, orderedColNames));
 }
示例#2
0
 /// <summary>
 /// 获取列
 /// </summary>
 /// <returns></returns>
 public virtual DataGridViewColumn[] GetDataGridViewColumns()
 {
     return(DataGridViewUtil.BuildDataGridViewCols(ClassType, UseDisplayName, HiddenAttributes));
 }