public TemplateStruct(TemplateStruct linkedTemplateStruct, string name, MasterDS ds) { linkedTS = linkedTemplateStruct; this.Name = name; this.FilePath = linkedTemplateStruct.FilePath; this.SavedPath = ""; this._SourceDataSet = ds; this.InitDataTable(); this.TreeNode = null; }
public TemplateStruct(Guid id, string name, string location, string description) { this._ID = id; this._Name = name; this._Location = location; this._Description = description; this._FilePath = ""; this._DocumentNames = new ArrayList(); this._TemplateValid = true; this._TreeNode = null; this._DataTable = null; this._SourceDataSet = null; this._NodeChecked = true; this._SavedPath = ""; this._Fields = new System.Collections.Hashtable(); this.linkedTS = null; }