示例#1
0
文件: Cell.cs 项目: zhuangyy/Motion
 /// <summary>
 /// Remove the link of the cell from the grid.
 /// For internal use only.
 /// </summary>
 public virtual void UnBindToGrid()
 {
     mGrid = null;
     mColumn = null;
     mRow = null;
 }
示例#2
0
文件: Cell.cs 项目: zhuangyy/Motion
 /// <summary>
 /// Link the cell at the specified grid.
 /// For internal use only.
 /// </summary>
 /// <param name="p_grid"></param>
 /// <param name="p_Position"></param>
 public virtual void BindToGrid(Grid p_grid, Position p_Position)
 {
     mGrid = p_grid;
     mRow = Grid.Rows[p_Position.Row];
     mColumn = Grid.Columns[p_Position.Column];
 }