Click here to Skip to main content
15,891,431 members
Home / Discussions / C#
   

C#

 
GeneralRe: Events not firing Pin
FoxholeWilly10-Aug-06 4:32
FoxholeWilly10-Aug-06 4:32 
QuestionC# Socket not receiving messages Pin
Paradox227-Aug-06 9:43
Paradox227-Aug-06 9:43 
AnswerRe: C# Socket not receiving messages Pin
vineas7-Aug-06 18:28
vineas7-Aug-06 18:28 
Questionname of Dialog shown by ImageEditor Pin
SJ_Phoenix7-Aug-06 9:31
SJ_Phoenix7-Aug-06 9:31 
QuestionTree View Question Pin
joshp12177-Aug-06 9:31
joshp12177-Aug-06 9:31 
AnswerRe: Tree View Question Pin
Josh Smith7-Aug-06 10:19
Josh Smith7-Aug-06 10:19 
QuestionDataGridView - how to databind cell data AND tooltip Pin
Rafferty Uy7-Aug-06 9:18
Rafferty Uy7-Aug-06 9:18 
QuestionForm.Paint() the sequence of events in this process? Pin
LongRange.Shooter7-Aug-06 9:12
LongRange.Shooter7-Aug-06 9:12 
I seem to recall, but am not sure, that when you have a Form.Paint() event,
that it paints its' background and borders, then iterates through all controls issuing their Paint() method.

Now I have some logic that is keying off of the DataGridView.RowPrePaintEvent but I want to make sure that once I did the painting of the rows the very first time, that I no longer go through the long chunky code I have to implement. So my thinking is this:

I overload my Form.Paint method
Form.Paint does a base.Paint();
the base form paint method then calls all the controls
each DataGridView.RowPrePaintEvent is fired and processes correctly.
since it is the first event I also execute the ugly code that is long and bulky
when base.Paint() returns, I can safely say I painted my form the first time and set my state to processed.


Does that sound quite accurate in the sequence of events???
QuestionFolderBrowserDialog doesn't show tree structure Pin
Saamir7-Aug-06 7:18
Saamir7-Aug-06 7:18 
AnswerRe: FolderBrowserDialog doesn't show tree structure Pin
leppie7-Aug-06 7:22
leppie7-Aug-06 7:22 
GeneralRe: FolderBrowserDialog doesn't show tree structure Pin
Saamir7-Aug-06 11:02
Saamir7-Aug-06 11:02 
Questionhow to Call a function Pin
dinabandhu patra7-Aug-06 7:09
dinabandhu patra7-Aug-06 7:09 
AnswerRe: how to Call a function Pin
Josh Smith7-Aug-06 7:54
Josh Smith7-Aug-06 7:54 
QuestionHow to identify active control on a form [modified] Pin
dennisd457-Aug-06 7:00
dennisd457-Aug-06 7:00 
AnswerRe: How to identify active control on a form Pin
Josh Smith7-Aug-06 7:55
Josh Smith7-Aug-06 7:55 
GeneralRe: How to identify active control on a form Pin
dennisd457-Aug-06 8:14
dennisd457-Aug-06 8:14 
GeneralRe: How to identify active control on a form Pin
Josh Smith7-Aug-06 8:46
Josh Smith7-Aug-06 8:46 
QuestionHow To Rotate text when I print Pin
galigal157-Aug-06 6:27
galigal157-Aug-06 6:27 
AnswerRe: How To Rotate text when I print Pin
Judah Gabriel Himango7-Aug-06 8:23
sponsorJudah Gabriel Himango7-Aug-06 8:23 
Question3D form Pin
FlipTheLip7-Aug-06 6:20
FlipTheLip7-Aug-06 6:20 
AnswerRe: 3D form Pin
Dustin Metzgar7-Aug-06 6:50
Dustin Metzgar7-Aug-06 6:50 
QuestionCustom Print Settings Pin
michmela447-Aug-06 5:22
michmela447-Aug-06 5:22 
Questionplaying PCM / audio data Pin
t4ure4n7-Aug-06 4:54
t4ure4n7-Aug-06 4:54 
AnswerRe: playing PCM / audio data Pin
Rob Philpott7-Aug-06 5:07
Rob Philpott7-Aug-06 5:07 
Questionhow do i execute file in program Pin
bspman7-Aug-06 4:48
bspman7-Aug-06 4:48 

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.