public TableBuilder AddColumns(params ColumnDefinition[] columns) { if (_prepared) { throw new TableAlreadyDefinedException(); } ColumnDefinitions.AddRange(columns); return(this); }
public override void BeginInit() { base.BeginInit(); Sentence_From = "UserInfoSet AS t1"; ColumnDefinitions.AddRange(new CD[] { new CD(typeof(DataGridViewTextBoxColumn), "用户名", null, "t1.UserName", "colUserName"), new CD(typeof(DataGridViewTextBoxColumn), "姓名", null, "t1.DisplayName", "colDisplayName"), new CD(typeof(DataGridViewCheckBoxColumn), "禁用", null, "t1.Disabled", "colDisabled", 20), }); }
public DefinitionNode(params ColumnDefinition[] columns) { ColumnDefinitions.AddRange(columns); }