Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.77 KB | None | 0 0
  1. if (1 == 1)
  2.                     {
  3.                      //   var dblcd = new XRLine()
  4.                      //   {
  5.                      //       Top = (int)this.HeightF - BorderWidth - 3,
  6.                      //       Left = currentLeft,
  7.                      //       //Width = (int)this.Width + (int)iss.Width,
  8.                      //       Width = 25,
  9.                      //       BorderColor = Color.Red,
  10.                      //       LineWidth = BorderWidth,
  11.                      //       ForeColor = Color.Blue,
  12.                      //       BorderWidth = 1,
  13.                      //       Borders = ((DevExpress.XtraPrinting.BorderSide)
  14.                      //((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)))
  15.                      //   };
  16.  
  17.                      //   borders.Add(dblcd);
  18.                      //   this.Controls.Add(dblcd);
  19.                         XRLine line = new XRLine();
  20.                         line.Width = (int)this.Width + (int)iss.Width;
  21.                         line.Borders =
  22.                             ((DevExpress.XtraPrinting.BorderSide)
  23.                              ((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
  24.                         line.BorderWidth = BorderWidth;
  25.                         line.Height = 5;
  26.  
  27.                         // line.AnchorVertical = VerticalAnchorStyles.Bottom;
  28.                         line.Padding = new PaddingInfo(0, 0, 0, 0);
  29.                         //line.Location = new Point(0, (this.Height - 1));
  30.                         line.TopF = this.HeightF - BorderWidth;
  31.                         line.LeftF = currentLeft;
  32.                         line.ForeColor = Color.White;
  33.                         this.Controls.Add(line);
  34.                     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement