Exemplo n.º 1
0
 // -------------------------------------------------------------------------
 public void ADD_TRENODE(DevExpress.XtraTreeList.TreeList treeView, DevExpress.XtraTreeList.Nodes.TreeListNode prjNode)
 {
     object[] oo = new object[] { this.Name };
     DevExpress.XtraTreeList.Nodes.TreeListNode dsNode = treeView.AppendNode(oo, prjNode.Id, -1, -1, this.GET_DS_ICON( ), this);
     if (this.IS_FIXED( ))
     {
         // FIXED SNAPSHOT...
         object[] ooo = new object[] { this.SnapshotFile };
         DevExpress.XtraTreeList.Nodes.TreeListNode child = treeView.AppendNode(ooo, dsNode.Id, -1, -1, this.GET_SS_ICON( ), this);
         dsNode.Expand( );
     }
     else
     {
         // DYNAMIC SNAPSHOT...
         object[] ooo = new object[] { this.GET_SSP_FILENAME() };
         DevExpress.XtraTreeList.Nodes.TreeListNode child = treeView.AppendNode(ooo, dsNode.Id, -1, -1, this.GET_SS_ICON( ));
         dsNode.Collapse( );
     }
 }