Click here to Skip to main content
15,887,464 members
Home / Discussions / C#
   

C#

 
GeneralRe: Pascal to C# Convert Pin
PIEBALDconsult13-Dec-16 9:06
mvePIEBALDconsult13-Dec-16 9:06 
GeneralRe: Pascal to C# Convert Pin
NotPolitcallyCorrect13-Dec-16 9:26
NotPolitcallyCorrect13-Dec-16 9:26 
GeneralRe: Pascal to C# Convert Pin
Daniel Pfeffer13-Dec-16 20:24
professionalDaniel Pfeffer13-Dec-16 20:24 
GeneralRe: Pascal to C# Convert Pin
OriginalGriff13-Dec-16 21:41
mveOriginalGriff13-Dec-16 21:41 
QuestionRe: Pascal to C# Convert Pin
Gerry Schmitz13-Dec-16 22:27
mveGerry Schmitz13-Dec-16 22:27 
QuestionHow to Draw tracking Line of plane in Radar - C# Pin
Khant Nyar Kyaw13-Dec-16 7:51
Khant Nyar Kyaw13-Dec-16 7:51 
AnswerRe: How to Draw tracking Line of plane in Radar - C# Pin
OriginalGriff13-Dec-16 8:06
mveOriginalGriff13-Dec-16 8:06 
AnswerRe: How to Draw tracking Line of plane in Radar - C# Pin
Dave Kreskowiak13-Dec-16 9:00
mveDave Kreskowiak13-Dec-16 9:00 
You're going about this all wrong.

Specifically, you're liberal use of PictureBoxes. The PB control is just a quick'n'dirty control to show an image. It is not designed to handle layering and animation and is just going to complicate things for you, immensly.

What you should do is get rid of all the PictureBox controls and handle all the drawing yourself on the surface of a control, like a Panel. You get the greatest amount of control this way. This is kind of what you're doing in the Paint event of whatever control that is.

Also, SetStyle calls should never show up in a Paint handler or any other drawing code. That's a one-time use call that should show up only in the constructor of a custom control or form.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

AnswerRe: How to Draw tracking Line of plane in Radar - C# Pin
V.13-Dec-16 19:01
professionalV.13-Dec-16 19:01 
AnswerRe: How to Draw tracking Line of plane in Radar - C# Pin
Gerry Schmitz13-Dec-16 22:20
mveGerry Schmitz13-Dec-16 22:20 
Questionfingerprint transaction system Pin
Member 1290211313-Dec-16 2:45
Member 1290211313-Dec-16 2:45 
AnswerRe: fingerprint transaction system Pin
OriginalGriff13-Dec-16 2:46
mveOriginalGriff13-Dec-16 2:46 
AnswerRe: fingerprint transaction system Pin
Pete O'Hanlon13-Dec-16 2:50
mvePete O'Hanlon13-Dec-16 2:50 
AnswerRe: fingerprint transaction system Pin
Simon_Whale13-Dec-16 3:14
Simon_Whale13-Dec-16 3:14 
AnswerRe: fingerprint transaction system Pin
Dave Kreskowiak13-Dec-16 4:35
mveDave Kreskowiak13-Dec-16 4:35 
AnswerRe: fingerprint transaction system Pin
Gerry Schmitz13-Dec-16 6:47
mveGerry Schmitz13-Dec-16 6:47 
AnswerRe: fingerprint transaction system Pin
Patrice T14-Dec-16 12:50
mvePatrice T14-Dec-16 12:50 
QuestionHow to Invoke Function from Form through Controls event? Pin
manju 312-Dec-16 20:03
manju 312-Dec-16 20:03 
AnswerRe: How to Invoke Function from Form through Controls event? Pin
Richard MacCutchan12-Dec-16 21:53
mveRichard MacCutchan12-Dec-16 21:53 
AnswerRe: How to Invoke Function from Form through Controls event? Pin
Dave Kreskowiak13-Dec-16 2:15
mveDave Kreskowiak13-Dec-16 2:15 
AnswerRe: How to Invoke Function from Form through Controls event? Pin
Gerry Schmitz13-Dec-16 7:16
mveGerry Schmitz13-Dec-16 7:16 
QuestionWCF multiple bindings and prevent external user to use my tcp binding Pin
Tridip Bhattacharjee12-Dec-16 3:21
professionalTridip Bhattacharjee12-Dec-16 3:21 
AnswerRe: WCF multiple bindings and prevent external user to use my tcp binding Pin
Wastedtalent12-Dec-16 4:40
professionalWastedtalent12-Dec-16 4:40 
GeneralRe: WCF multiple bindings and prevent external user to use my tcp binding Pin
Tridip Bhattacharjee12-Dec-16 20:51
professionalTridip Bhattacharjee12-Dec-16 20:51 
GeneralRe: WCF multiple bindings and prevent external user to use my tcp binding Pin
Wastedtalent13-Dec-16 1:55
professionalWastedtalent13-Dec-16 1:55 

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.