Click here to Skip to main content
15,911,139 members
Home / Discussions / C#
   

C#

 
GeneralRe: Data Adapter passing by reference to stored procedure Pin
leckey21-Jun-06 10:39
leckey21-Jun-06 10:39 
GeneralRe: Data Adapter passing by reference to stored procedure Pin
Josh Smith21-Jun-06 10:44
Josh Smith21-Jun-06 10:44 
QuestionPaint Event Handler Pin
ZeAugusto21-Jun-06 7:23
ZeAugusto21-Jun-06 7:23 
AnswerRe: Paint Event Handler Pin
Josh Smith21-Jun-06 7:25
Josh Smith21-Jun-06 7:25 
GeneralRe: Paint Event Handler Pin
ZeAugusto21-Jun-06 7:42
ZeAugusto21-Jun-06 7:42 
GeneralRe: Paint Event Handler [modified] Pin
led mike21-Jun-06 8:01
led mike21-Jun-06 8:01 
GeneralRe: Paint Event Handler Pin
Josh Smith21-Jun-06 8:06
Josh Smith21-Jun-06 8:06 
GeneralRe: Paint Event Handler Pin
Jun Du21-Jun-06 9:05
Jun Du21-Jun-06 9:05 
I think a proper way is using double-buffering. You maintain a graphical buffer and you draw to the buffer. Whenever you want to update the screen, copy the buffer to the screen. There are two approaches to the buffer drawing:
1) If you just add (not erase, not change) contents to the screen, grab the graphic object and draw to the buffer on the top of existing contents.
2) If you erase or change any existing contents on the screen, you need to repaint the buffer's background and then redraw it completely.

I've assumed you have fair understanding about how Windows graphics work. If you need more guidance, drop a line.

Best,
Jun
GeneralRe: Paint Event Handler Pin
ZeAugusto21-Jun-06 12:05
ZeAugusto21-Jun-06 12:05 
GeneralRe: Paint Event Handler Pin
Jun Du22-Jun-06 4:27
Jun Du22-Jun-06 4:27 
AnswerRe: Paint Event Handler Pin
led mike21-Jun-06 7:28
led mike21-Jun-06 7:28 
QuestionOpacity Control Pin
Cubzfan21-Jun-06 6:57
Cubzfan21-Jun-06 6:57 
AnswerRe: Opacity Control Pin
led mike21-Jun-06 7:27
led mike21-Jun-06 7:27 
GeneralRe: Opacity Control Pin
Cubzfan21-Jun-06 7:32
Cubzfan21-Jun-06 7:32 
GeneralRe: Opacity Control Pin
led mike21-Jun-06 7:41
led mike21-Jun-06 7:41 
GeneralRe: Opacity Control Pin
Cubzfan21-Jun-06 7:51
Cubzfan21-Jun-06 7:51 
GeneralRe: Opacity Control Pin
led mike21-Jun-06 7:59
led mike21-Jun-06 7:59 
GeneralRe: Opacity Control Pin
Cubzfan21-Jun-06 8:07
Cubzfan21-Jun-06 8:07 
GeneralRe: Opacity Control Pin
led mike21-Jun-06 9:29
led mike21-Jun-06 9:29 
QuestionRe: Opacity Control Pin
Dustin Metzgar21-Jun-06 8:33
Dustin Metzgar21-Jun-06 8:33 
AnswerRe: Opacity Control Pin
Cubzfan21-Jun-06 9:31
Cubzfan21-Jun-06 9:31 
GeneralRe: Opacity Control Pin
Dustin Metzgar21-Jun-06 10:04
Dustin Metzgar21-Jun-06 10:04 
GeneralRe: Opacity Control Pin
Cubzfan21-Jun-06 10:10
Cubzfan21-Jun-06 10:10 
GeneralRe: Opacity Control Pin
Alexander Wiseman21-Jun-06 11:59
Alexander Wiseman21-Jun-06 11:59 
GeneralRe: Opacity Control Pin
Cubzfan21-Jun-06 12:17
Cubzfan21-Jun-06 12:17 

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.