Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (1 == 1)
- {
- // var dblcd = new XRLine()
- // {
- // Top = (int)this.HeightF - BorderWidth - 3,
- // Left = currentLeft,
- // //Width = (int)this.Width + (int)iss.Width,
- // Width = 25,
- // BorderColor = Color.Red,
- // LineWidth = BorderWidth,
- // ForeColor = Color.Blue,
- // BorderWidth = 1,
- // Borders = ((DevExpress.XtraPrinting.BorderSide)
- //((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)))
- // };
- // borders.Add(dblcd);
- // this.Controls.Add(dblcd);
- XRLine line = new XRLine();
- line.Width = (int)this.Width + (int)iss.Width;
- line.Borders =
- ((DevExpress.XtraPrinting.BorderSide)
- ((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
- line.BorderWidth = BorderWidth;
- line.Height = 5;
- // line.AnchorVertical = VerticalAnchorStyles.Bottom;
- line.Padding = new PaddingInfo(0, 0, 0, 0);
- //line.Location = new Point(0, (this.Height - 1));
- line.TopF = this.HeightF - BorderWidth;
- line.LeftF = currentLeft;
- line.ForeColor = Color.White;
- this.Controls.Add(line);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement