This commit is contained in:
43
PROMS/DataLoader/LoadTreeNh.cs
Normal file
43
PROMS/DataLoader/LoadTreeNh.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
// ========================================================================
|
||||
// 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 Volian.CSLA.Library;
|
||||
|
||||
namespace DataLoader
|
||||
{
|
||||
public partial class frmLoader : Form
|
||||
{
|
||||
private bool LoadChildren(FolderInfo fld, TreeNode tn)
|
||||
{
|
||||
tn.Nodes.Clear();
|
||||
bool bLoaded = true;
|
||||
foreach (DocVersionInfo fdv in fld.DocVersions)
|
||||
{
|
||||
TreeNode tnc = tn.Nodes.Add(fdv.Title);
|
||||
tnc.Tag = fdv;
|
||||
tnc.Checked = fdv.StructureID != 0;
|
||||
bLoaded &= tnc.Checked;
|
||||
}
|
||||
return bLoaded;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user