示例#1
0
文件: Sheet.cs 项目: emtees/old-code
		public Cell CreateCell (int col, int row)
		{
			var cell = new Cell (this, col, row);

			Attach (cell);
			
			return cell;
		}
示例#2
0
文件: Sheet.cs 项目: emtees/old-code
		public void Attach (Cell cell)
		{
			long k = MakeKey (cell);

			cells [k] = cell;
		}
示例#3
0
文件: Sheet.cs 项目: emtees/old-code
		static long MakeKey (Cell cell)
		{
			return (cell.Col << 32) | cell.Row;
		}