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

C#

 
AnswerRe: visual studio 2013 community edition and uml modeling Pin
Nathan Minier19-Aug-16 1:00
professionalNathan Minier19-Aug-16 1:00 
AnswerRe: visual studio 2013 community edition and uml modeling Pin
Gerry Schmitz20-Aug-16 8:12
mveGerry Schmitz20-Aug-16 8:12 
QuestionHow to get the currently opened directory in Windows Explorer in .net Pin
srikrishnathanthri17-Aug-16 19:28
srikrishnathanthri17-Aug-16 19:28 
AnswerRe: How to get the currently opened directory in Windows Explorer in .net Pin
Richard MacCutchan17-Aug-16 21:35
mveRichard MacCutchan17-Aug-16 21:35 
Questionconcatenative approach to TTS Pin
Member 1266621417-Aug-16 4:28
Member 1266621417-Aug-16 4:28 
AnswerRe: concatenative approach to TTS Pin
OriginalGriff17-Aug-16 4:51
mveOriginalGriff17-Aug-16 4:51 
AnswerRe: concatenative approach to TTS Pin
Gerry Schmitz17-Aug-16 6:01
mveGerry Schmitz17-Aug-16 6:01 
AnswerRe: concatenative approach to TTS Pin
Bernhard Hiller17-Aug-16 21:51
Bernhard Hiller17-Aug-16 21:51 
QuestionHow to make a border less form draggable inside specified location in .net? Pin
srikrishnathanthri17-Aug-16 1:34
srikrishnathanthri17-Aug-16 1:34 
AnswerRe: How to make a border less form draggable inside specified location in .net? Pin
BillWoodruff17-Aug-16 3:03
professionalBillWoodruff17-Aug-16 3:03 
GeneralRe: How to make a border less form draggable inside specified location in .net? Pin
srikrishnathanthri17-Aug-16 19:09
srikrishnathanthri17-Aug-16 19:09 
GeneralRe: How to make a border less form draggable inside specified location in .net? Pin
BillWoodruff17-Aug-16 21:41
professionalBillWoodruff17-Aug-16 21:41 
Generalhow to create user rights for different forms c# Pin
Member 308047017-Aug-16 1:14
Member 308047017-Aug-16 1:14 
GeneralRe: how to create user rights for different forms c# Pin
Aless Alessio17-Aug-16 1:35
Aless Alessio17-Aug-16 1:35 
GeneralRe: how to create user rights for different forms c# Pin
Richard MacCutchan17-Aug-16 2:01
mveRichard MacCutchan17-Aug-16 2:01 
QuestionC# and MS SQL DeadLock Pin
Zeyad Jalil16-Aug-16 23:41
professionalZeyad Jalil16-Aug-16 23:41 
AnswerRe: C# and MS SQL DeadLock Pin
Pete O'Hanlon17-Aug-16 0:15
mvePete O'Hanlon17-Aug-16 0:15 
AnswerRe: C# and MS SQL DeadLock Pin
Gerry Schmitz17-Aug-16 6:09
mveGerry Schmitz17-Aug-16 6:09 
AnswerRe: C# and MS SQL DeadLock Pin
Andrea Simonassi16-Sep-16 3:46
Andrea Simonassi16-Sep-16 3:46 
Questionhow to copy controls of one flowlayoutpanel to other? Pin
Le@rner16-Aug-16 20:30
Le@rner16-Aug-16 20:30 
AnswerRe: how to copy controls of one flowlayoutpanel to other? Pin
Richard MacCutchan16-Aug-16 21:22
mveRichard MacCutchan16-Aug-16 21:22 
GeneralRe: how to copy controls of one flowlayoutpanel to other? Pin
Le@rner16-Aug-16 22:30
Le@rner16-Aug-16 22:30 
GeneralRe: how to copy controls of one flowlayoutpanel to other? Pin
OriginalGriff16-Aug-16 22:55
mveOriginalGriff16-Aug-16 22:55 
GeneralRe: how to copy controls of one flowlayoutpanel to other? Pin
Le@rner18-Aug-16 19:02
Le@rner18-Aug-16 19:02 
QuestionC# GDI+ simulation of inclined plane Pin
Member 1268837716-Aug-16 5:59
Member 1268837716-Aug-16 5:59 
Hi,

I'm trying to make a simulation of an object going down an inclined plane with friction. I have all the calculations I need, but I'm having some problems with figuring out how to actually draw this using GDI+.

At the moment I can draw the inclined plane and the object at a custom angle using Matrix.RotateAt. I also use a timer tick event to set the coordinates of the object and then invalidate the form to refresh it.

But what I can't figure out is how to calculate the coordinates of my object so it moves down on the inclined plane like it is actually sliding on it?

Any idea is appreciated!

Thanks in advance!

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.