PC Review


Reply
Thread Tools Rate Thread

DrawLine vs Label

 
 
google_groups3@hotmail.com
Guest
Posts: n/a
 
      13th Aug 2004
Hi, is it better practise to draw a line on my form using the
Graphics.DrawLine command or should I use a label control instead?

I am refering to overall speed of the form and amount of memory used.

TIA
 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      13th Aug 2004
> Hi, is it better practise to draw a line on my form using the
> Graphics.DrawLine command or should I use a label control instead?
>
> I am refering to overall speed of the form and amount of memory used.
>

I have seen in this newsgroup that someone using the Graphics.Drawline was
complaining about the time it took.

I hope this gives you an idea?

Cor


 
Reply With Quote
 
Jay B. Harlow [MVP - Outlook]
Guest
Posts: n/a
 
      13th Aug 2004
The following article discusses how you can create a "line" control in .NET

http://www.codeproject.com/cs/miscctrl/hvrules1.asp

The sample is in C#, however it should be easily converted to VB.NET.

Hope this helps
Jay


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi, is it better practise to draw a line on my form using the
> Graphics.DrawLine command or should I use a label control instead?
>
> I am refering to overall speed of the form and amount of memory used.
>
> TIA



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GDI DrawLine Michele Santucci Microsoft Dot NET Framework 1 17th Feb 2010 06:22 PM
DrawLine with And or Or Pattern bern11 Microsoft C# .NET 1 18th Apr 2007 01:18 AM
GDI - DrawLine problem.... Stu Microsoft VB .NET 2 6th Aug 2005 06:52 AM
How to apply DrawLine in VB .NET? Dr. Zharkov Microsoft VB .NET 2 29th Nov 2003 09:51 AM
Re: DrawLine very slow! Neil Cowburn [MVP] Microsoft Dot NET Compact Framework 6 11th Jul 2003 01:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:21 AM.