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

C#

 
GeneralRe: updatepanel usage with three dropdownlists values into a single textbox Pin
Gerry Schmitz6-Apr-18 7:34
mveGerry Schmitz6-Apr-18 7:34 
QuestionHow do i to create a bouncing ball in C# Pin
Member 137644515-Apr-18 5:15
Member 137644515-Apr-18 5:15 
AnswerRe: How do i to create a bouncing ball in C# Pin
OriginalGriff5-Apr-18 5:21
mveOriginalGriff5-Apr-18 5:21 
GeneralRe: How do i to create a bouncing ball in C# Pin
Member 137644515-Apr-18 7:29
Member 137644515-Apr-18 7:29 
GeneralRe: How do i to create a bouncing ball in C# Pin
OriginalGriff5-Apr-18 8:10
mveOriginalGriff5-Apr-18 8:10 
PraiseRe: How do i to create a bouncing ball in C# Pin
Member 137644515-Apr-18 8:16
Member 137644515-Apr-18 8:16 
GeneralRe: How do i to create a bouncing ball in C# Pin
OriginalGriff5-Apr-18 8:21
mveOriginalGriff5-Apr-18 8:21 
AnswerRe: How do i to create a bouncing ball in C# Pin
Eddy Vluggen5-Apr-18 6:53
professionalEddy Vluggen5-Apr-18 6:53 
Member 13764451 wrote:
How do i create a windows form of a bouncing ball such that when the ball collides with an edge, its movement in the direction perpendicular to the edge should be inverted, while the movement in the direction parallel to the edge should remain unchanged.
Perpen.. cats?

You know how gravity works, yes? So, you could calculate a trajectory? Add some simple drawing-routines and you have a bouncy ball. It was one of the excercises in the AMOS Basic manual, where bouncing apples would fall from a tree. You can Google the code, but that won't translate easily to a modern C#.

Member 13764451 wrote:
There should be a numeric up-down control that controls the interval of the timer that controls the movement of the ball. The interval of the timer should be updated immediately when the value of this numeric up-down control is changed
You can do it! Good luck Thumbs Up | :thumbsup:
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

Questioncopy paste file remotly Pin
Member 79659463-Apr-18 19:41
Member 79659463-Apr-18 19:41 
AnswerRe: copy paste file remotly Pin
OriginalGriff3-Apr-18 20:07
mveOriginalGriff3-Apr-18 20:07 
GeneralRe: copy paste file remotly Pin
Member 79659464-Apr-18 21:34
Member 79659464-Apr-18 21:34 
GeneralRe: copy paste file remotly Pin
OriginalGriff4-Apr-18 21:43
mveOriginalGriff4-Apr-18 21:43 
SuggestionRe: copy paste file remotly Pin
Richard Deeming4-Apr-18 1:40
mveRichard Deeming4-Apr-18 1:40 
GeneralRe: copy paste file remotly Pin
Member 79659464-Apr-18 21:03
Member 79659464-Apr-18 21:03 
GeneralRe: copy paste file remotly Pin
Eddy Vluggen4-Apr-18 23:48
professionalEddy Vluggen4-Apr-18 23:48 
GeneralRe: copy paste file remotly Pin
Member 79659467-Apr-18 19:39
Member 79659467-Apr-18 19:39 
AnswerRe: copy paste file remotly Pin
Member 79659467-Apr-18 19:40
Member 79659467-Apr-18 19:40 
GeneralRe: copy paste file remotly Pin
Eddy Vluggen8-Apr-18 0:19
professionalEddy Vluggen8-Apr-18 0:19 
QuestionOCR project Pin
Member 130706852-Apr-18 7:40
Member 130706852-Apr-18 7:40 
AnswerRe: OCR project Pin
Pete O'Hanlon2-Apr-18 7:45
mvePete O'Hanlon2-Apr-18 7:45 
QuestionWorking on OCR as my final year project. Pin
Member 130706852-Apr-18 7:17
Member 130706852-Apr-18 7:17 
AnswerRe: Working on OCR as my final year project. Pin
Dave Kreskowiak2-Apr-18 8:41
mveDave Kreskowiak2-Apr-18 8:41 
AnswerRe: Working on OCR as my final year project. Pin
User 41802543-Apr-18 14:22
User 41802543-Apr-18 14:22 
QuestionOCR project Pin
Member 130706852-Apr-18 7:13
Member 130706852-Apr-18 7:13 
AnswerRe: OCR project Pin
Dave Kreskowiak2-Apr-18 8:39
mveDave Kreskowiak2-Apr-18 8: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.