Click here to Skip to main content
15,904,926 members
Home / Discussions / C#
   

C#

 
AnswerRe: how could I print or save datagrid view records?[modified] Pin
Dan Mos8-Mar-10 8:26
Dan Mos8-Mar-10 8:26 
AnswerRe: how could I print or save datagrid view records? Pin
Sandeep Mewara8-Mar-10 9:53
mveSandeep Mewara8-Mar-10 9:53 
AnswerRe: how could I print or save datagrid view records? Pin
David MacDermot8-Mar-10 10:08
David MacDermot8-Mar-10 10:08 
QuestionC# to control unicode bill printing in Dotmatrix printer Pin
Winmass8-Mar-10 7:43
Winmass8-Mar-10 7:43 
AnswerRe: C# to control unicode bill printing in Dotmatrix printer Pin
PIEBALDconsult8-Mar-10 11:47
mvePIEBALDconsult8-Mar-10 11:47 
AnswerRe: C# to control unicode bill printing in Dotmatrix printer Pin
98529322549-Mar-10 2:05
98529322549-Mar-10 2:05 
GeneralRe: C# to control unicode bill printing in Dotmatrix printer Pin
Winmass9-Mar-10 16:04
Winmass9-Mar-10 16:04 
QuestionForce static objects to load when program starts, not lazy (load when first used)? Pin
Matthew Klein8-Mar-10 6:24
Matthew Klein8-Mar-10 6:24 
AnswerRe: Force static objects to load when program starts, not lazy (load when first used)? Pin
Keith Barrow8-Mar-10 6:36
professionalKeith Barrow8-Mar-10 6:36 
GeneralRe: Force static objects to load when program starts, not lazy (load when first used)? Pin
harold aptroot8-Mar-10 6:53
harold aptroot8-Mar-10 6:53 
GeneralRe: Force static objects to load when program starts, not lazy (load when first used)? Pin
Keith Barrow8-Mar-10 7:02
professionalKeith Barrow8-Mar-10 7:02 
GeneralRe: Force static objects to load when program starts, not lazy (load when first used)? Pin
harold aptroot8-Mar-10 7:16
harold aptroot8-Mar-10 7:16 
GeneralRe: Force static objects to load when program starts, not lazy (load when first used)? Pin
Matthew Klein8-Mar-10 7:03
Matthew Klein8-Mar-10 7:03 
GeneralRe: Force static objects to load when program starts, not lazy (load when first used)? Pin
harold aptroot8-Mar-10 7:14
harold aptroot8-Mar-10 7:14 
AnswerRe: Force static objects to load when program starts, not lazy (load when first used)? Pin
Keith Barrow8-Mar-10 7:14
professionalKeith Barrow8-Mar-10 7:14 
QuestionRe: Force static objects to load when program starts, not lazy (load when first used)? Pin
Matthew Klein8-Mar-10 7:46
Matthew Klein8-Mar-10 7:46 
AnswerRe: Force static objects to load when program starts, not lazy (load when first used)? Pin
harold aptroot8-Mar-10 8:30
harold aptroot8-Mar-10 8:30 
GeneralRe: Force static objects to load when program starts, not lazy (load when first used)? Pin
Matthew Klein8-Mar-10 8:53
Matthew Klein8-Mar-10 8:53 
QuestionProblem with Display Scheme (Windows font size) Pin
sodevrom8-Mar-10 5:40
sodevrom8-Mar-10 5:40 
AnswerRe: Problem with Display Scheme (Windows font size) Pin
occcy8-Mar-10 20:53
occcy8-Mar-10 20:53 
GeneralRe: Problem with Display Scheme (Windows font size) Pin
sodevrom9-Mar-10 3:55
sodevrom9-Mar-10 3:55 
QuestionForce ClearType Text Rendering for TextBox Control Pin
occcy8-Mar-10 4:43
occcy8-Mar-10 4:43 
AnswerRe: Force ClearType Text Rendering for TextBox Control Pin
eonsimi2-Mar-11 22:02
eonsimi2-Mar-11 22:02 
the post it's rather old but i'll write an answer anyway for others to see it .. so here it is:

by overriding the OnPaint method should work just fine,

subclass the textbox class and in the constructor add the UserPaint style like this:

this.SetStyle(ControlStyles.UserPaint, true);


after that, override the OnPaint method and add the following line:

e.Graphics.TextRenderingHint = TextRenderingHint.ClearTypeGridFit;


now you may use e.Graphics.DrawString(this.Text, ...) to paint the text.
NO. Layers. Onions have layers. Ogres have layers. Onions have layers. You get it? We both have layers.

QuestionConverting powerpoint to .avi and 3gp format Pin
Muwanga Simon Peter8-Mar-10 4:32
Muwanga Simon Peter8-Mar-10 4:32 
AnswerRe: Converting powerpoint to .avi and 3gp format Pin
Som Shekhar8-Mar-10 6:49
Som Shekhar8-Mar-10 6:49 

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.