Example #1
0
        public void SetColType(int iColumn, SortColumnType iColType)
        {
            int I;

            try
            {
                if (ColtypesCollection.Count < iColumn)
                {
                    for (I = ColtypesCollection.Count; I < iColumn; I++)
                    {
                        ColtypesCollection.Add(new hitColumnHeader(SortColumnType.StringType));
                    }
                }
                ColtypesCollection[iColumn - 1].SortType = iColType;
            }
            catch (Exception ex)
            {
                throw new Exception("SetColType:" + ex.Message);
            }
        }
Example #2
0
 public hitColumnHeader(SortColumnType SortType, HorizontalAlignment Alignment)
 {
     _SortType  = SortType;
     _Alignment = Alignment;
 }
Example #3
0
 public hitColumnHeader(SortColumnType SortType)
 {
     _SortType  = SortType;
     _Alignment = HorizontalAlignment.Left;
 }
 public NumberTextComparer(SortColumnType columnType)
 {
     ColumnType = columnType;
 }