Example #1
0
        // PJD TEA change
        /// <summary>
        /// Raises the ColumnModelChanged event
        /// </summary>
        /// <param name="e">An EventArgs that contains the event data</param>
        protected virtual void OnColumnModelChanged(TableEventArgs e)
        {
            if (this.CanRaiseEvents)
            {
                this.PerformLayout();
                this.Invalidate();

                if (ColumnModelChanged != null)
                {
                    ColumnModelChanged(this, e);
                }
            }
        }
Example #2
0
        // PJD TEA change
        /// <summary>
        /// Raises the TableModelChanged event
        /// </summary>
        /// <param name="e">An EventArgs that contains the event data</param>
        protected internal virtual void OnTableModelChanged(TableEventArgs e)
        {
            if (this.CanRaiseEvents)
            {
                this.PerformLayout();
                this.Invalidate();

                if (TableModelChanged != null)
                {
                    TableModelChanged(this, e);
                }
            }
        }