External/Aga.Controls/Tree/ColumnCollection.cs
author moel.mich
Sun, 21 Jul 2013 21:02:55 +0000
changeset 415 a67db9051d19
permissions -rw-r--r--
Fixed an issue where the voltages, temperatures, fans and controls arrays could be null (instead of zero length) causing NullReferenceExceptions in SuperIOHardware.
     1 using System;
     2 using System.Collections.Generic;
     3 using System.Text;
     4 using System.Collections.ObjectModel;
     5 
     6 namespace Aga.Controls.Tree
     7 {
     8 	/*internal class ColumnCollection: Collection<Column>
     9 	{
    10 		public int TotalWidth
    11 		{
    12 			get
    13 			{
    14 				int res = 0;
    15 				foreach (Column c in Items)
    16 					res += c.Width;
    17 				return res;
    18 			}
    19 		}
    20 	}*/
    21 }