private Cell GetAGap(IGap sourcecell, int x, int y)
        {
            CommonLabel cl = new CommonLabel(sourcecell as Cell);

            cl.Border.NoneBorder();
            cl.Height = sourcecell.GapHeight;
            cl.X      = x;
            cl.SetY(y);
            cl.Width = 2;
            cl.Tag   = "NoMore";
            //cl.BackColor = Color.Red;
            return(cl);
        }
        private Cell MoreLabel(bool bmore, Cell sourcecell, int x, int y, int w, int h)
        {
            CommonLabel cl = new CommonLabel(sourcecell);

            cl.X = x;
            cl.SetY(y);
            cl.Width        = w;
            cl.Height       = h;
            cl.CaptionAlign = ContentAlignment.TopLeft;
            if (bmore)
            {
                cl.Caption = U8ResService.GetResStringEx("U8.UAP.Report.ViewAll");
                _currentreport.RowsCount   = (sourcecell.Tag as SemiRowsContainerPerhaps4Matrix).RowsCount;
                _currentreport.PageRecords = (sourcecell as IIndicatorMetrix).PageSize;
                cl.Report = _currentreport;
                (sourcecell.Tag as SemiRowsContainerPerhaps4Matrix).SetDrillTag(new DrillData(_viewid, _currentreport.ViewID), _cellnametocolumnname);
                cl.Tag = sourcecell.Tag;
            }
            else
            {
                if (sourcecell.Tag is SemiRowsContainer)
                {
                    (sourcecell.Tag as SemiRowsContainer).Canceled();
                }
                cl.Tag = "NoMore";
            }

            cl.Border.Left   = false;
            cl.Border.Bottom = false;
            cl.Border.Right  = false;

            cl.ServerFont.UnderLine = true;
            cl.ForeColor            = Color.Blue;

            //cl.BackColor = Color.Red;
            return(cl);
        }