コード例 #1
0
        /// <summary>
        /// Handles invocation of PostRenderGroupBox events
        /// </summary>
        internal void DoPostRenderGroupBoxEvent(Graphics g,
            GridGroupByRow groupByRow, GridGroupBox box, RenderParts parts, Rectangle bounds)
        {
            if (PostRenderGroupBox != null)
            {
                GridPostRenderGroupBoxEventArgs ev = new
                    GridPostRenderGroupBoxEventArgs(g, groupByRow.GridPanel, groupByRow, box, parts, bounds);

                PostRenderGroupBox(this, ev);
            }
        }
コード例 #2
0
        /// <summary>
        /// Handles invocation of PreRenderGroupBox events
        /// </summary>
        internal bool DoPreRenderGroupBoxEvent(Graphics g,
            GridGroupByRow groupByRow, GridGroupBox box, RenderParts parts, Rectangle bounds)
        {
            if (PreRenderGroupBox != null)
            {
                GridPreRenderGroupBoxEventArgs ev = new
                    GridPreRenderGroupBoxEventArgs(g, groupByRow.GridPanel, groupByRow, box, parts, bounds);

                PreRenderGroupBox(this, ev);

                return (ev.Cancel);
            }

            return (false);
        }
コード例 #3
0
        /// <summary>
        /// Handles invocation of PostRenderGroupBoxConnector events
        /// </summary>
        internal void DoPostRenderGroupBoxConnectorEvent(Graphics g,
            GridGroupByRow groupByRow, GridGroupBox box1, GridGroupBox box2)
        {
            if (PostRenderGroupBoxConnector != null)
            {
                GridPostRenderGroupBoxConnectorEventArgs ev = new
                    GridPostRenderGroupBoxConnectorEventArgs(g, groupByRow.GridPanel, groupByRow, box1, box2);

                PostRenderGroupBoxConnector(this, ev);
            }
        }
コード例 #4
0
        /// <summary>
        /// Handles invocation of PreRenderGroupBoxConnector events
        /// </summary>
        internal bool DoPreRenderGroupBoxConnectorEvent(Graphics g,
            GridGroupByRow groupByRow, GridGroupBox box1, GridGroupBox box2)
        {
            if (PreRenderGroupBoxConnector != null)
            {
                GridPreRenderGroupBoxConnectorEventArgs ev = new
                    GridPreRenderGroupBoxConnectorEventArgs(g, groupByRow.GridPanel, groupByRow, box1, box2);

                PreRenderGroupBoxConnector(this, ev);

                return (ev.Cancel);
            }

            return (false);
        }
コード例 #5
0
 ///<summary>
 /// GridPreRenderGroupBoxEventArgs
 ///</summary>
 ///<param name="graphics"></param>
 ///<param name="gridPanel"></param>
 ///<param name="groupByRow"></param>
 ///<param name="gridGroupBox"></param>
 ///<param name="parts"></param>
 ///<param name="bounds"></param>
 public GridPreRenderGroupBoxEventArgs(Graphics graphics, GridPanel gridPanel,
     GridGroupByRow groupByRow, GridGroupBox gridGroupBox, RenderParts parts, Rectangle bounds)
     : base(graphics, gridPanel, groupByRow, gridGroupBox, parts, bounds)
 {
 }
コード例 #6
0
        /// <summary>
        /// Handles invocation of ConfigureGroupBox events
        /// </summary>
        internal void DoConfigureGroupBoxEvent(
            GridGroupByRow groupByRow, GridGroupBox gridGroupBox)
        {
            if (ConfigureGroupBox != null)
            {
                GridConfigureGroupBoxEventArgs ev = new
                    GridConfigureGroupBoxEventArgs(groupByRow.GridPanel, groupByRow, gridGroupBox);

                ConfigureGroupBox(this, ev);
            }
        }
コード例 #7
0
 ///<summary>
 /// GridPostRenderGroupBoxEventArgs
 ///</summary>
 ///<param name="graphics"></param>
 ///<param name="gridPanel"></param>
 ///<param name="groupByRow"></param>
 ///<param name="gridGroupBox"></param>
 ///<param name="parts"></param>
 ///<param name="bounds"></param>
 public GridPostRenderGroupBoxEventArgs(Graphics graphics, GridPanel gridPanel,
     GridGroupByRow groupByRow, GridGroupBox gridGroupBox, RenderParts parts, Rectangle bounds)
     : base(gridPanel)
 {
     _Graphics = graphics;
     _GroupByRow = groupByRow;
     _GridGroupBox = gridGroupBox;
     _RenderParts = parts;
     _Bounds = bounds;
 }
コード例 #8
0
 ///<summary>
 /// GridPreRenderGroupBoxConnectorEventArgs
 ///</summary>
 ///<param name="graphics"></param>
 ///<param name="gridPanel"></param>
 ///<param name="groupByRow"></param>
 ///<param name="groupBox1"></param>
 ///<param name="groupBox2"></param>
 public GridPreRenderGroupBoxConnectorEventArgs(Graphics graphics, GridPanel gridPanel,
     GridGroupByRow groupByRow, GridGroupBox groupBox1, GridGroupBox groupBox2)
     : base(graphics, gridPanel, groupByRow, groupBox1, groupBox2)
 {
 }
コード例 #9
0
 ///<summary>
 /// GridPostRenderGroupBoxConnectorEventArgs
 ///</summary>
 ///<param name="graphics"></param>
 ///<param name="gridPanel"></param>
 ///<param name="groupByRow"></param>
 ///<param name="groupBox1"></param>
 ///<param name="groupBox2"></param>
 public GridPostRenderGroupBoxConnectorEventArgs(Graphics graphics,
     GridPanel gridPanel, GridGroupByRow groupByRow, GridGroupBox groupBox1, GridGroupBox groupBox2)
     : base(gridPanel)
 {
     _Graphics = graphics;
     _GroupByRow = groupByRow;
     _GridGroupBox1 = groupBox1;
     _GridGroupBox2 = groupBox2;
 }
コード例 #10
0
 ///<summary>
 /// GridConfigureGroupBoxEventArgs
 ///</summary>
 ///<param name="gridPanel"></param>
 ///<param name="groupByRow"></param>
 ///<param name="gridGroupBox"></param>
 public GridConfigureGroupBoxEventArgs(GridPanel gridPanel,
     GridGroupByRow groupByRow, GridGroupBox gridGroupBox)
     : base(gridPanel)
 {
     _GroupByRow = groupByRow;
     _GridGroupBox = gridGroupBox;
 }
コード例 #11
0
ファイル: GridGroupBy.cs プロジェクト: huamanhtuyen/VNACCS
        internal GridGroupBox(GridGroupByRow groupBy, GridColumn column)
        {
            _GridGroupBy = groupBy;
            _Column = column;

            _GroupBoxStyle = groupBy.GroupBoxStyle;
        }