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;
     }
 }
コード例 #2
0
 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"];
 }
コード例 #3
0
 private void AdvTreeGroupNodeCreated(object sender, DataNodeEventArgs e)
 {
     e.Node.Style = this.favorite_list.Styles["groupstyle"];
 }
コード例 #4
0
 private void AdvTree7GroupNodeCreated(object sender, DataNodeEventArgs e)
 {
     e.Node.Style = this.channel_list.Styles["groupstyle"];
 }