Click here to Skip to main content
15,890,579 members
Home / Discussions / C#
   

C#

 
GeneralRe: Get rid of label margins Pin
Tony Pottier18-Dec-08 9:58
Tony Pottier18-Dec-08 9:58 
GeneralRe: Get rid of label margins Pin
DaveyM6918-Dec-08 11:21
professionalDaveyM6918-Dec-08 11:21 
GeneralRe: Get rid of label margins Pin
Tony Pottier18-Dec-08 11:27
Tony Pottier18-Dec-08 11:27 
GeneralRe: Get rid of label margins Pin
Luc Pattyn18-Dec-08 12:50
sitebuilderLuc Pattyn18-Dec-08 12:50 
GeneralRe: Get rid of label margins Pin
Tony Pottier18-Dec-08 13:34
Tony Pottier18-Dec-08 13:34 
GeneralRe: Get rid of label margins Pin
Luc Pattyn18-Dec-08 13:46
sitebuilderLuc Pattyn18-Dec-08 13:46 
GeneralRe: Get rid of label margins Pin
#realJSOP18-Dec-08 23:52
mve#realJSOP18-Dec-08 23:52 
GeneralRe: Get rid of label margins Pin
Luc Pattyn19-Dec-08 0:15
sitebuilderLuc Pattyn19-Dec-08 0:15 
I will do such things only if I see no reasonable alternative; I try and avoid creating a new Graphics as much as I can. In OnPaint the Graphics is for free, so why not take advantage of that one?

In the few 100K lines of C# code I have at hand, I found only two instances of Graphics.FromHwnd;
I do use Graphics.FromImage of course when drawing onto a Bitmap, there simply is no alternative there.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Fixturized forever. Confused | :confused:


QuestionHi Pin
bhatted18-Dec-08 7:20
bhatted18-Dec-08 7:20 
AnswerRe: Hi Pin
Dave Kreskowiak18-Dec-08 8:30
mveDave Kreskowiak18-Dec-08 8:30 
QuestionStatus Strip Progress bar graphics not accurate???!!! Pin
LongRange.Shooter18-Dec-08 6:50
LongRange.Shooter18-Dec-08 6:50 
AnswerRe: Status Strip Progress bar graphics not accurate???!!! Pin
led mike18-Dec-08 7:57
led mike18-Dec-08 7:57 
AnswerRe: Status Strip Progress bar graphics not accurate???!!! Pin
Dave Kreskowiak18-Dec-08 8:03
mveDave Kreskowiak18-Dec-08 8:03 
GeneralRe: Status Strip Progress bar graphics not accurate???!!! Pin
LongRange.Shooter19-Dec-08 3:37
LongRange.Shooter19-Dec-08 3:37 
GeneralRe: Status Strip Progress bar graphics not accurate???!!! Pin
Dave Kreskowiak19-Dec-08 12:06
mveDave Kreskowiak19-Dec-08 12:06 
AnswerRe: Status Strip Progress bar graphics not accurate???!!! Pin
Alan N18-Dec-08 8:07
Alan N18-Dec-08 8:07 
AnswerRe: Status Strip Progress bar graphics not accurate???!!! Pin
Tony Pottier18-Dec-08 8:48
Tony Pottier18-Dec-08 8:48 
QuestionSockets Best Practices Pin
menzelAtPCA18-Dec-08 6:43
menzelAtPCA18-Dec-08 6:43 
AnswerRe: Sockets Best Practices Pin
led mike18-Dec-08 7:53
led mike18-Dec-08 7:53 
AnswerRe: Sockets Best Practices Pin
Ben Fair18-Dec-08 8:54
Ben Fair18-Dec-08 8:54 
Questionenter instead tab key Pin
ArielR18-Dec-08 6:25
ArielR18-Dec-08 6:25 
AnswerRe: enter instead tab key Pin
Giorgi Dalakishvili18-Dec-08 7:19
mentorGiorgi Dalakishvili18-Dec-08 7:19 
QuestionHow to add video in Visual Studio C# Pin
Sokka9318-Dec-08 5:59
Sokka9318-Dec-08 5:59 
AnswerRe: How to add video in Visual Studio C# Pin
Dave Kreskowiak18-Dec-08 8:28
mveDave Kreskowiak18-Dec-08 8:28 
QuestionKeeping data at the top of the command prompt Pin
SuperSken18-Dec-08 4:32
SuperSken18-Dec-08 4:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.