示例#1
0
 // Can be copied with sharing iff reference is within sheet
 public override Expr CopyTo(int col, int row)
 {
     if (raref.ValidAt(col, row))
     {
         return(this);
     }
     return
         (Error.refError);
 }
示例#2
0
 // Can copy cell area with sharing iff corners are within sheet
 public override Expr CopyTo(int col, int row)
 {
     if (ul.ValidAt(col, row) && lr.ValidAt(col, row))
     {
         return(this);
     }
     else
     {
         return(Error.refError);
     }
 }