0

I want to draws lines with effect in C# Windows Form In addition a number in middle of line. For example I put a picture for understand better. And as you see lines starts form gray color to full color black.

image

Termininja
  • 6,620
  • 12
  • 48
  • 49
behnam
  • 1,095
  • 2
  • 11
  • 30
  • 1
    Check out [`LinearGradientBrush`](https://msdn.microsoft.com/en-us/library/system.drawing.drawing2d.lineargradientbrush(v=vs.110).aspx) – Matthew Watson Sep 05 '16 at 09:52
  • The number will be a different DrawSting or TextRenderer.DrawText operation. You may want to encaspulate both in a [Line class or your own](http://stackoverflow.com/questions/32919918/how-to-draw-line-and-select-it-in-panel/32920894#32920894).. – TaW Sep 05 '16 at 10:00
  • Did you resolve your problem? – TaW Oct 08 '16 at 11:11

0 Answers0