示例#1
0
        /// <summary>
        /// Handles invocation of PostRenderRow events
        /// </summary>
        internal void DoPostRenderRowEvent(
            Graphics g, GridRow gridRow, RenderParts parts, Rectangle bounds)
        {
            if (PostRenderRow != null)
            {
                GridPostRenderRowEventArgs ev = new
                    GridPostRenderRowEventArgs(g, gridRow.GridPanel, gridRow, parts, bounds);

                PostRenderRow(this, ev);
            }
        }
示例#2
0
        /// <summary>
        /// Handles invocation of PostRenderGroupHeader events
        /// </summary>
        internal void DoPostRenderGroupHeaderEvent(
            Graphics g, GridGroup gridGroup, RenderParts parts, Rectangle bounds)
        {
            if (PostRenderGroupHeader != null)
            {
                GridPanel panel = gridGroup.GridPanel;

                GridPostRenderRowEventArgs ev = new
                    GridPostRenderRowEventArgs(g, panel, gridGroup, parts, bounds);

                PostRenderGroupHeader(this, ev);
            }
        }