43 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| // ========================================================================
 | |
| // Copyright 2006 - Volian Enterprises, Inc. All rights reserved.          
 | |
| // Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
 | |
| // ------------------------------------------------------------------------
 | |
| // $Workfile: $     $Revision: $                                           
 | |
| // $Author: $   $Date: $                                                   
 | |
| //                                                                         
 | |
| // $History: $                                                             
 | |
| // ========================================================================
 | |
| 
 | |
| using System;
 | |
| using System.Drawing;
 | |
| using System.Collections;
 | |
| using System.ComponentModel;
 | |
| using System.Windows.Forms;
 | |
| using System.Data;
 | |
| using System.Data.OleDb;
 | |
| using System.Collections.Specialized;
 | |
| using System.Collections.Generic;
 | |
| using System.Xml;
 | |
| using System.IO;
 | |
| using System.Text;
 | |
| using VEPROMS.CSLA.Library;
 | |
| 
 | |
| namespace DataLoader
 | |
| {
 | |
| 	public partial class Loader
 | |
| 	{
 | |
|         public bool LoadChildren(FolderInfo fld, TreeNode tn)
 | |
|         {
 | |
|             tn.Nodes.Clear();
 | |
|             bool bLoaded = true;
 | |
|             foreach (DocVersionInfo fdv in fld.FolderDocVersions)
 | |
|             {
 | |
|                 TreeNode tnc = tn.Nodes.Add(fdv.Title);
 | |
|                 tnc.Tag = fdv;
 | |
|                 tnc.Checked = fdv.ItemID != 0;
 | |
|                 bLoaded &= tnc.Checked;
 | |
|             }
 | |
|             return bLoaded;
 | |
|         }
 | |
| 	}
 | |
| } |