Results 1 to 3 of 3

Thread: draw a line

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2001
    Location
    india
    Posts
    108

    draw a line

    how can i draw a line on a form....is there is any control like shape (in vb)....

    anand
    Anand Thakur

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    In the Forms paint event

    Dim pen As New Pen(Color.Red)
    e.Graphics.DrawLine(pen, 0, 0, Me.ClientSize.Width, Me.ClientSize.Height)
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width