Click here to Skip to main content
15,881,898 members
Home / Discussions / C#
   

C#

 
QuestionRe: how to create multiple connections in a client application Pin
Ajithevn22-Oct-09 1:04
Ajithevn22-Oct-09 1:04 
QuestionText blurring using Graphics.Drawstring Pin
Björn T.J.M. Spruit21-Oct-09 23:04
Björn T.J.M. Spruit21-Oct-09 23:04 
AnswerRe: Text blurring using Graphics.Drawstring Pin
Björn T.J.M. Spruit22-Oct-09 1:54
Björn T.J.M. Spruit22-Oct-09 1:54 
GeneralRe: Text blurring using Graphics.Drawstring Pin
Covean22-Oct-09 2:15
Covean22-Oct-09 2:15 
GeneralRe: Text blurring using Graphics.Drawstring [modified] Pin
Björn T.J.M. Spruit22-Oct-09 2:54
Björn T.J.M. Spruit22-Oct-09 2:54 
GeneralRe: Text blurring using Graphics.Drawstring Pin
Covean22-Oct-09 3:18
Covean22-Oct-09 3:18 
GeneralRe: Text blurring using Graphics.Drawstring Pin
Björn T.J.M. Spruit22-Oct-09 3:27
Björn T.J.M. Spruit22-Oct-09 3:27 
NewsRe: Text blurring using Graphics.Drawstring Pin
Björn T.J.M. Spruit30-Oct-09 4:25
Björn T.J.M. Spruit30-Oct-09 4:25 
The plot thickens...
I was somewhat bored and still not satisfied with how the Graphics.DrawString() was working for me.
So I went on a Google hunt for some answers.

After looking around I came to a forum where a user had somewhat similar problems.
There he had linked a convo he had with a Microsoft MVP.
For more information please check this link:
http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/362ab21b-1dc4-4140-a39a-a366beea9e40[^]

Quote:
"They couldn't fix the bugz in Graphics.DrawString() because way too much .NET 1.x code depended on its quirks. That's what Application.SetCompatibleTextRenderingDefault() is all about too. If you really want to use GDI+, you'll have to find the workarounds for the bugs yourself. Right now, using Graphics.DrawString() in a Paint event is a bug."

Quote:
"Graphics.DrawString() is too broken to be usable. It got replaced by TextRenderer.DrawText()."

To simplify things:
If you care for precision work, in particular with text rendering, then use the old GDI.
GDI+ is bugged and unusable for precision work.
If you don't care for precision work and you don't use text rendering (or very little of it or the quality isn't important), then use the new GDI+.
GeneralRe: Text blurring using Graphics.Drawstring Pin
User 680178026-Feb-10 8:05
User 680178026-Feb-10 8:05 
QuestionHow to pass any text value from form to Crystal Report ? Pin
E_Gold21-Oct-09 22:53
E_Gold21-Oct-09 22:53 
AnswerRe: How to pass any text value from form to Crystal Report ? Pin
Arun Kallingal22-Oct-09 18:24
Arun Kallingal22-Oct-09 18:24 
QuestionSort and get element Pin
abbd21-Oct-09 22:47
abbd21-Oct-09 22:47 
AnswerRe: Sort and get element Pin
nagendrathecoder21-Oct-09 22:53
nagendrathecoder21-Oct-09 22:53 
GeneralRe: Sort and get element Pin
abbd21-Oct-09 22:57
abbd21-Oct-09 22:57 
GeneralRe: Sort and get element Pin
nagendrathecoder21-Oct-09 23:24
nagendrathecoder21-Oct-09 23:24 
AnswerRe: Sort and get element Pin
stancrm21-Oct-09 23:29
stancrm21-Oct-09 23:29 
QuestionWindows programming in C# - API and All? Pin
CelestialCoder21-Oct-09 22:08
CelestialCoder21-Oct-09 22:08 
AnswerRe: Windows programming in C# - API and All? Pin
Richard MacCutchan21-Oct-09 22:49
mveRichard MacCutchan21-Oct-09 22:49 
QuestionClient Server Application C# Pin
Anjum12321-Oct-09 22:03
Anjum12321-Oct-09 22:03 
AnswerRe: Client Server Application C# Pin
SeMartens21-Oct-09 22:22
SeMartens21-Oct-09 22:22 
QuestionIEnumerable<t></t> Pin
mehran.asg21-Oct-09 20:18
mehran.asg21-Oct-09 20:18 
AnswerRe: IEnumerable Pin
SeMartens21-Oct-09 20:32
SeMartens21-Oct-09 20:32 
GeneralRe: IEnumerable Pin
mehran.asg21-Oct-09 20:39
mehran.asg21-Oct-09 20:39 
AnswerRe: IEnumerable Pin
Abhishek Sur21-Oct-09 21:17
professionalAbhishek Sur21-Oct-09 21:17 
AnswerRe: IEnumerable Pin
Lutosław21-Oct-09 21:59
Lutosław21-Oct-09 21:59 

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.