Click here to Skip to main content
15,914,795 members
Home / Discussions / C#
   

C#

 
QuestionHow to get assembly version for a remote type? Pin
mav.northwind22-Jun-06 22:13
mav.northwind22-Jun-06 22:13 
AnswerRe: How to get assembly version for a remote type? Pin
leppie22-Jun-06 23:07
leppie22-Jun-06 23:07 
GeneralRe: How to get assembly version for a remote type? Pin
mav.northwind23-Jun-06 0:17
mav.northwind23-Jun-06 0:17 
GeneralRe: How to get assembly version for a remote type? Pin
Not Active23-Jun-06 3:47
mentorNot Active23-Jun-06 3:47 
GeneralRe: How to get assembly version for a remote type? Pin
mav.northwind23-Jun-06 6:21
mav.northwind23-Jun-06 6:21 
QuestionC# WMI Connection Pin
Shaps22-Jun-06 21:55
Shaps22-Jun-06 21:55 
AnswerRe: C# WMI Connection Pin
Mattias Olgerfelt7-Mar-07 1:24
Mattias Olgerfelt7-Mar-07 1:24 
QuestionPaint Event Handler [modified] Pin
printscreen1234522-Jun-06 21:38
printscreen1234522-Jun-06 21:38 
The paint event is handled upon a form is loaded:

Panel.Paint += new System.Windows.Forms.PaintEventHandler(Panel_Paint);

And I have added the panel.Invalidate() method in the treeView1_AfterSelect event. There are unwanted text for the default node. But when I select another node and get back to the default node, the unwanted text is gone.

I tried to debug it and accidentally found that the paint event is handled even without the Invalidate() method (well, it works for the first few nodes but not the rest). I'm just wondering how does the program know when to paint those text - ie. when it is triggered to paint.

It seemed to me that only the text for the default node has been painted twice. So if I can understand how the paint event is triggered, that might help to confirm whether it has been painted twice.



-- modified at 3:40 Friday 23rd June, 2006
QuestionTreeView visible Pin
ytubis22-Jun-06 21:12
ytubis22-Jun-06 21:12 
QuestionDataGridView Problem? [modified] Pin
Jax_qqq22-Jun-06 19:53
Jax_qqq22-Jun-06 19:53 
QuestionHtml reset button is called when esc button is clicked. how can i avoid it? Pin
nachisaravanan22-Jun-06 18:49
nachisaravanan22-Jun-06 18:49 
AnswerRe: Html reset button is called when esc button is clicked. how can i avoid it? Pin
Vasudevan Deepak Kumar22-Jun-06 20:43
Vasudevan Deepak Kumar22-Jun-06 20:43 
QuestionWhat is "this" Pin
urbane.tiger22-Jun-06 17:01
urbane.tiger22-Jun-06 17:01 
AnswerRe: What is "this" Pin
Esmo200022-Jun-06 17:18
Esmo200022-Jun-06 17:18 
GeneralRe: What is "this" Pin
urbane.tiger22-Jun-06 18:17
urbane.tiger22-Jun-06 18:17 
GeneralRe: What is "this" Pin
Robert Rohde22-Jun-06 20:33
Robert Rohde22-Jun-06 20:33 
GeneralRe: What is "this" Pin
urbane.tiger22-Jun-06 22:01
urbane.tiger22-Jun-06 22:01 
AnswerRe: What is "this" Pin
BoneSoft23-Jun-06 5:37
BoneSoft23-Jun-06 5:37 
QuestionSerialization from c++ to C# Pin
Esmo200022-Jun-06 16:48
Esmo200022-Jun-06 16:48 
QuestionTouch Screen Development Pin
oskardiazdeleon22-Jun-06 16:18
oskardiazdeleon22-Jun-06 16:18 
AnswerRe: Touch Screen Development Pin
Robert Rohde22-Jun-06 20:41
Robert Rohde22-Jun-06 20:41 
GeneralRe: Touch Screen Development Pin
oskardiazdeleon22-Jun-06 21:43
oskardiazdeleon22-Jun-06 21:43 
GeneralRe: Touch Screen Development Pin
Robert Rohde22-Jun-06 23:14
Robert Rohde22-Jun-06 23:14 
QuestionStatusBar Stops Updating on Minimize ? Pin
Mike Bluett22-Jun-06 14:40
Mike Bluett22-Jun-06 14:40 
AnswerRe: StatusBar Stops Updating on Minimize ? Pin
Judah Gabriel Himango22-Jun-06 17:39
sponsorJudah Gabriel Himango22-Jun-06 17:39 

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.