Exemple #1
0
        public void value(int _columnIndex, int _rowIndex, object _value)
        {
            PM_GridRow _row = row(_rowIndex);

            if (_row == null)
            {
                return;
            }
            PM_GridCell _cell = _row.cell(_columnIndex);

            if (_cell != null)
            {
                _cell.value = _value;
            }
        }
Exemple #2
0
 string value(PM_GridRow _row)
 {
     Contract.Requires(_row != null);
     if (__column >= 0 && __column < _row.cells.Length)
     {
         PM_GridCell _cell = _row.cell(__column);
         if (_cell != null)
         {
             return((string)_cell.value);
         }
         else
         {
             return("");
         }
     }
     else
     {
         throw new Exception("__column out of range.");
     }
 }
Exemple #3
0
        public PM_GridCell cell(int _columnIndex, int _rowIndex)
        {
            PM_GridRow _row = row(_rowIndex);

            return((_row == null) ? null : _row.cell(_columnIndex));
        }
Exemple #4
0
 DateTime value(PM_GridRow _row)
 {
     return((DateTime)((_row.cell(__column).value)));
 }
Exemple #5
0
 double value(PM_GridRow _row)
 {
     return((double)((_row.cell(__column).value)));
 }
Exemple #6
0
 int value(PM_GridRow _row)
 {
     return((int)((_row.cell(__column).value)));
 }