Пример #1
0
        public Node(int templateIndex, int selectedTemplateIndex, ICollection dataList, Resco.Controls.AdvancedTree.Mapping fieldNames) : this(templateIndex, selectedTemplateIndex)
        {
            int num = Math.Max(fieldNames.FieldCount, dataList.Count);

            this.m_htMap = fieldNames;
            this.m_oData = new object[num];
            dataList.CopyTo(this.m_oData, 0);
        }
Пример #2
0
 public Node(int templateIndex, int selectedTemplateIndex, ICollection dataList, Resco.Controls.AdvancedTree.Mapping fieldNames)
     : this(templateIndex, selectedTemplateIndex)
 {
     int num = Math.Max(fieldNames.FieldCount, dataList.Count);
     this.m_htMap = fieldNames;
     this.m_oData = new object[num];
     dataList.CopyTo(this.m_oData, 0);
 }
Пример #3
0
 protected Node(int templateIndex, int selectedTemplateIndex)
 {
     this.m_pressedButtonIndex  = -1;
     this.ActualHeight          = -1;
     this.m_recalculationNeeded = true;
     this.m_iTemplate           = templateIndex;
     this.m_iSelectedTemplate   = selectedTemplateIndex;
     this.m_htMap     = null;
     this.m_oData     = new object[0];
     this.m_ncNodes   = new NodeCollection(this);
     this.m_bExpanded = false;
     this.m_nodeSpecificCellProperties = new Hashtable();
 }
Пример #4
0
 internal static void DisposeEmptyMapping()
 {
     s_Empty = null;
 }
Пример #5
0
 public BoundNode(int templateIndex, int selectedTemplateIndex, System.Data.DataRow row, Resco.Controls.AdvancedTree.Mapping fieldNames) : base(templateIndex, selectedTemplateIndex, fieldNames)
 {
     this.m_data       = row;
     this.m_properties = ((ITypedList)row.Table.DefaultView).GetItemProperties(null);
     try
     {
         int index = row.Table.Rows.IndexOf(row);
         row.Table.DefaultView[index].PropertyChanged += (new PropertyChangedEventHandler(this.OnBindPropertyChanged));
     }
     catch
     {
     }
 }
Пример #6
0
 protected Node(int templateIndex, int selectedTemplateIndex)
 {
     this.m_pressedButtonIndex = -1;
     this.ActualHeight = -1;
     this.m_recalculationNeeded = true;
     this.m_iTemplate = templateIndex;
     this.m_iSelectedTemplate = selectedTemplateIndex;
     this.m_htMap = null;
     this.m_oData = new object[0];
     this.m_ncNodes = new NodeCollection(this);
     this.m_bExpanded = false;
     this.m_nodeSpecificCellProperties = new Hashtable();
 }
Пример #7
0
 public Node(int templateIndex, int selectedTemplateIndex, int fieldCount)
     : this(templateIndex, selectedTemplateIndex)
 {
     this.m_oData = new object[fieldCount];
     this.m_htMap = Resco.Controls.AdvancedTree.Mapping.Empty;
 }
Пример #8
0
 public Node(int templateIndex, int selectedTemplateIndex, Resco.Controls.AdvancedTree.Mapping fieldNames)
     : this(templateIndex, selectedTemplateIndex)
 {
     this.m_htMap = fieldNames;
     this.m_oData = new object[fieldNames.FieldCount];
 }
Пример #9
0
 internal static void DisposeEmptyMapping()
 {
     s_Empty = null;
 }
Пример #10
0
 public Node(int templateIndex, int selectedTemplateIndex, int fieldCount) : this(templateIndex, selectedTemplateIndex)
 {
     this.m_oData = new object[fieldCount];
     this.m_htMap = Resco.Controls.AdvancedTree.Mapping.Empty;
 }
Пример #11
0
 public Node(int templateIndex, int selectedTemplateIndex, Resco.Controls.AdvancedTree.Mapping fieldNames) : this(templateIndex, selectedTemplateIndex)
 {
     this.m_htMap = fieldNames;
     this.m_oData = new object[fieldNames.FieldCount];
 }
Пример #12
0
 public Node(Resco.Controls.AdvancedTree.Mapping fieldNames) : this(0, 0, fieldNames)
 {
 }