Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
AnswerRe: How To Identify Control In C# Click Event [modified] Pin
I Believe In GOD5-Jun-09 12:23
I Believe In GOD5-Jun-09 12:23 
AnswerRe: How To Identify Control In C# Click Event Pin
Member 44650075-Jun-09 14:29
Member 44650075-Jun-09 14:29 
QuestionApplying a TextDecoration within a TextRange in RithcTextBox Pin
paradisonoir5-Jun-09 10:53
paradisonoir5-Jun-09 10:53 
AnswerAttempt to bump post!! Pin
Henry Minute5-Jun-09 11:55
Henry Minute5-Jun-09 11:55 
GeneralRe: Attempt to bump post!! Pin
paradisonoir9-Jun-09 13:51
paradisonoir9-Jun-09 13:51 
QuestionA Problem with Graphics object in GDI draw functions ??? Pin
magicii5-Jun-09 10:04
magicii5-Jun-09 10:04 
AnswerRe: A Problem with Graphics object in GDI draw functions ??? Pin
Henry Minute5-Jun-09 10:12
Henry Minute5-Jun-09 10:12 
AnswerRe: A Problem with Graphics object in GDI draw functions ??? Pin
ARon_5-Jun-09 11:40
ARon_5-Jun-09 11:40 
Shucks | :-\ Actually the PictureBox was not a bad choice and in fact if you are going to do a simple animation it is a decent choice. You can draw some background image save it. Load it in the Picture box draw on top of your static image. The real problem, like any other control, is that you drawing on what is essential temporary surface. Every time the control refreshes and redraws itself and your stuff is lost. That is why you hook in to the paint event to redraw your stuff on every refresh but if it is static save the image after you draw it and reload it and it is a null issue. You might have to hook the resize event and redraw it to avoid you image being distorted but it pretty simple too. Hell, I did in VB6 with excellent results.

ARon

GeneralRe: A Problem with Graphics object in GDI draw functions ??? Pin
Christian Graus5-Jun-09 11:59
protectorChristian Graus5-Jun-09 11:59 
GeneralRe: A Problem with Graphics object in GDI draw functions ??? Pin
ARon_5-Jun-09 12:31
ARon_5-Jun-09 12:31 
GeneralRe: A Problem with Graphics object in GDI draw functions ??? Pin
Christian Graus5-Jun-09 14:59
protectorChristian Graus5-Jun-09 14:59 
Question[Message Deleted] Pin
hkjghkj15-Jun-09 8:50
hkjghkj15-Jun-09 8:50 
AnswerRe: Sounds Pin
Dave Kreskowiak5-Jun-09 9:56
mveDave Kreskowiak5-Jun-09 9:56 
AnswerRe: Sounds Pin
DaveyM695-Jun-09 10:23
professionalDaveyM695-Jun-09 10:23 
AnswerRe: Sounds Pin
ARon_5-Jun-09 11:22
ARon_5-Jun-09 11:22 
QuestionRichTextBox does not have string property Pin
paradisonoir5-Jun-09 8:39
paradisonoir5-Jun-09 8:39 
AnswerRe: RichTextBox does not have string property Pin
Blue_Boy5-Jun-09 9:42
Blue_Boy5-Jun-09 9:42 
AnswerRe: RichTextBox does not have string property Pin
paradisonoir5-Jun-09 9:45
paradisonoir5-Jun-09 9:45 
QuestionSYSTEM RESTORE Pin
rick05565-Jun-09 7:19
rick05565-Jun-09 7:19 
AnswerRe: SYSTEM RESTORE Pin
EliottA5-Jun-09 7:27
EliottA5-Jun-09 7:27 
GeneralRe: SYSTEM RESTORE Pin
rick05565-Jun-09 13:22
rick05565-Jun-09 13:22 
AnswerRe: SYSTEM RESTORE Pin
I Believe In GOD5-Jun-09 7:29
I Believe In GOD5-Jun-09 7:29 
AnswerRe: SYSTEM RESTORE Pin
0x3c05-Jun-09 8:02
0x3c05-Jun-09 8:02 
AnswerRe: SYSTEM RESTORE Pin
Dave Kreskowiak5-Jun-09 9:51
mveDave Kreskowiak5-Jun-09 9:51 
GeneralRe: SYSTEM RESTORE Pin
rick05565-Jun-09 13:19
rick05565-Jun-09 13:19 

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.