/// <summary> /// 触发报表项属性值变化事件 /// </summary> /// <param name="p_item"></param> /// <param name="p_cell"></param> public void OnItemValueChanged(RptItemBase p_item, Cell p_cell) { ValueChangedCmd cmd = RptCmds.ValueChanged; if (!cmd.IsSetting) { ItemValueChanged?.Invoke(p_cell, p_cell); if (p_item is RptText pt && TextChanged != null) { TextChanged(pt, p_cell); } p_cell.AcceptChanges(); } }
private void OnItemValueChanged(object o, EventArgs ev) { ItemValueChanged?.Invoke(o, ev); }