예제 #1
0
파일: CellReference.cs 프로젝트: dzzzq/Giga
        public CellReference Offset(String relativeRef)
        {
            var newCell = new CellReference(Col, Row);

            newCell.Move(relativeRef);
            return(newCell);
        }
예제 #2
0
파일: CellReference.cs 프로젝트: dzzzq/Giga
        public CellReference Offset(int x, int y)
        {
            var newCell = new CellReference(Col, Row);

            newCell.Move(x, y);
            return(newCell);
        }
예제 #3
0
파일: CellReference.cs 프로젝트: dzzzq/Giga
 /// <summary>
 /// Move the range
 /// </summary>
 /// <param name="x">Delta X</param>
 /// <param name="y">Delta Y</param>
 public void Move(int x, int y)
 {
     _topLeft.Move(x, y);
     _bottomRight.Move(x, y);
 }