private void advTree1_DataNodeCreated(object sender, DataNodeEventArgs e) { e.Node.Cells[1].CheckBoxVisible = true; e.Node.Cells[1].CheckBoxAlignment = eCellPartAlignment.NearCenter; e.Node.Cells[1].CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.CheckBox; e.Node.Cells[1].Checked = ((繁星推薦入學校內志願選填.志願)e.Node.DataKey).忽略; e.Node.Cells[1].Text = ""; if (((繁星推薦入學校內志願選填.志願)e.Node.DataKey).RecordStatus == RecordStatus.Insert) { InsertNode = e.Node; } }
private void AdvTreeDataNodeCreated(object sender, DataNodeEventArgs e) { e.Node.Cells[1].StyleNormal = this.favorite_list.Styles["subitemstyle"]; e.Node.Cells[2].StyleNormal = this.favorite_list.Styles["subitemphone"]; e.Node.Cells[3].StyleNormal = this.favorite_list.Styles["subitemphone"]; }
private void AdvTreeGroupNodeCreated(object sender, DataNodeEventArgs e) { e.Node.Style = this.favorite_list.Styles["groupstyle"]; }
private void AdvTree7GroupNodeCreated(object sender, DataNodeEventArgs e) { e.Node.Style = this.channel_list.Styles["groupstyle"]; }