Click here to Skip to main content
15,917,808 members
Home / Discussions / C#
   

C#

 
QuestionIdentifying which user is running a process? Pin
bbranded18-Mar-09 9:55
bbranded18-Mar-09 9:55 
AnswerRe: Identifying which user is running a process? Pin
Anthony Mushrow18-Mar-09 10:29
professionalAnthony Mushrow18-Mar-09 10:29 
GeneralRe: Identifying which user is running a process? Pin
bbranded18-Mar-09 10:39
bbranded18-Mar-09 10:39 
QuestionNeed Advice about Inserting Pin
soulidentities18-Mar-09 9:00
soulidentities18-Mar-09 9:00 
AnswerRe: Need Advice about Inserting [modified] Pin
fly90418-Mar-09 9:16
fly90418-Mar-09 9:16 
GeneralRe: Need Advice about Inserting Pin
soulidentities18-Mar-09 9:18
soulidentities18-Mar-09 9:18 
GeneralRe: Need Advice about Inserting Pin
fly90418-Mar-09 9:36
fly90418-Mar-09 9:36 
GeneralRe: Need Advice about Inserting Pin
soulidentities18-Mar-09 9:43
soulidentities18-Mar-09 9:43 
QuestionOutlook Macro/Addon Pin
partialdata18-Mar-09 8:58
partialdata18-Mar-09 8:58 
QuestionWhat's better : SmartCard or CardSpace ? [modified] Pin
hdv21218-Mar-09 8:35
hdv21218-Mar-09 8:35 
QuestionHelp cleaning up C# Code (WMI code) - Neewbie Pin
Buck_Murdock18-Mar-09 8:19
Buck_Murdock18-Mar-09 8:19 
QuestionForeignKeyConstraint requires the child key values to exist in the parent table! Pin
Lodeclaw18-Mar-09 8:17
Lodeclaw18-Mar-09 8:17 
AnswerRe: ForeignKeyConstraint requires the child key values to exist in the parent table! Pin
Fayu18-Mar-09 9:58
Fayu18-Mar-09 9:58 
AnswerRe: ForeignKeyConstraint requires the child key values to exist in the parent table! Pin
Matt Graham24-Mar-11 7:44
Matt Graham24-Mar-11 7:44 
QuestionDatagridview cell painting Pin
Dan Neely18-Mar-09 8:11
Dan Neely18-Mar-09 8:11 
AnswerRe: Datagridview cell painting Pin
Henry Minute19-Mar-09 7:18
Henry Minute19-Mar-09 7:18 
GeneralRe: Datagridview cell painting Pin
Dan Neely19-Mar-09 8:02
Dan Neely19-Mar-09 8:02 
GeneralRe: Datagridview cell painting Pin
Henry Minute19-Mar-09 11:41
Henry Minute19-Mar-09 11:41 
GeneralRe: Datagridview cell painting Pin
Dan Neely20-Mar-09 5:36
Dan Neely20-Mar-09 5:36 
GeneralRe: Datagridview cell painting Pin
Henry Minute20-Mar-09 9:50
Henry Minute20-Mar-09 9:50 
I figured that was what you were trying to do, or at least something like that.
The only way I know that will do that is to use DrawString, or a TextRenderer.

Of course the *ahem* 'correct' way to do this sort of thing is to create your own DataGridViewCell class and include that in your own DataGridViewColumn class. One advantage of that is, of course that it will be available for use in other situations.

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

GeneralRe: Datagridview cell painting Pin
Dan Neely20-Mar-09 10:12
Dan Neely20-Mar-09 10:12 
GeneralRe: Datagridview cell painting Pin
Henry Minute20-Mar-09 10:18
Henry Minute20-Mar-09 10:18 
AnswerRe: Datagridview cell painting Pin
Jake Myers29-Apr-09 22:34
Jake Myers29-Apr-09 22:34 
GeneralRe: Datagridview cell painting Pin
Dan Neely30-Apr-09 8:41
Dan Neely30-Apr-09 8:41 
GeneralRe: Datagridview cell painting Pin
Jake Myers1-May-09 4:20
Jake Myers1-May-09 4:20 

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.