Ejemplo n.º 1
0
        //
        public override bool IsSameLayout(DataField aField)
        {
            if (!aField.IsTableField)
            {
                return(false);
            }

            TableField field = (TableField)aField;

            return(field.ColumnSpan == ColumnSpan && field.RowSpan == RowSpan);
        }
Ejemplo n.º 2
0
        //
        public override bool IsSameAs(DataField aField)
        {
            if (!aField.IsTableField)
            {
                return(false);
            }

            TableField field = (TableField)aField;

            //Check that our fields have same position and size then
            return(field.Column == Column && field.Row == Row && field.ColumnSpan == ColumnSpan && field.RowSpan == RowSpan);
        }