예제 #1
0
 public void AddRows(int row, int count)
 {
     if ((count > 0) && !this.Suspended)
     {
         if (this.Manager.GetExpression(new CalcRangeIdentity(row, 1, true)) == null)
         {
             CalcExpressionHelper.ValidateIntersectedArrayFormula(this.Manager, row, -1, 1, -1, true);
         }
         FormulaOperatorHelper.Insert(this._formulaOperatorSource, row, count, true, false, true, true);
     }
 }
예제 #2
0
 public void RemoveColumns(int column, int count)
 {
     if ((count > 0) && !this.Suspended)
     {
         if (this.Manager.GetExpression(new CalcRangeIdentity(column, count, false)) == null)
         {
             CalcExpressionHelper.ValidateIntersectedArrayFormula(this.Manager, -1, column, -1, count, false);
         }
         FormulaOperatorHelper.Remove(this._formulaOperatorSource, column, count, false, false, true, true);
     }
 }