Click here to Skip to main content
15,848,555 members
Home / Discussions / C#
   

C#

 
Questionc++ Qt or C# or JAVA !! Pin
Dreamer_X15-Aug-15 4:51
Dreamer_X15-Aug-15 4:51 
AnswerRe: c++ Qt or C# or JAVA !! Pin
OriginalGriff15-Aug-15 4:54
mveOriginalGriff15-Aug-15 4:54 
GeneralRe: c++ Qt or C# or JAVA !! Pin
Nish Nishant15-Aug-15 6:18
sitebuilderNish Nishant15-Aug-15 6:18 
GeneralRe: c++ Qt or C# or JAVA !! Pin
Pete O'Hanlon15-Aug-15 10:16
subeditorPete O'Hanlon15-Aug-15 10:16 
Questioncreating events for dynamically created button Pin
Member 1126181115-Aug-15 1:48
Member 1126181115-Aug-15 1:48 
AnswerRe: creating events for dynamically created button Pin
OriginalGriff15-Aug-15 2:19
mveOriginalGriff15-Aug-15 2:19 
AnswerRe: creating events for dynamically created button Pin
BillWoodruff15-Aug-15 3:58
professionalBillWoodruff15-Aug-15 3:58 
QuestionTimeSpan Error?? Pin
Kevin Marois14-Aug-15 13:16
professionalKevin Marois14-Aug-15 13:16 
I have this code:
TimelineStart = new DateTime(2015, 08, 11, 10, 00, 00);
TimelineEnd   = new DateTime(2015, 08, 14, 20, 00, 00);

TotalHours = (TimelineEnd - TimelineStart).TotalHours; // Returns 82???
Day 1 = 10 Hours
Day 2 = 24 Hours
Day 3 = 24 Hours
Day 4 = 20 Hours
TOTAL   78 Hours        

The TimeSpan is showing TotalHours = 82.

What's wrong here?
If it's not broken, fix it until it is

AnswerRe: TimeSpan Error?? Pin
Matt T Heffron14-Aug-15 15:16
professionalMatt T Heffron14-Aug-15 15:16 
GeneralRe: TimeSpan Error?? Pin
Kevin Marois17-Aug-15 4:59
professionalKevin Marois17-Aug-15 4:59 
GeneralRe: TimeSpan Error?? Pin
Pete O'Hanlon17-Aug-15 5:24
subeditorPete O'Hanlon17-Aug-15 5:24 
GeneralRe: TimeSpan Error?? Pin
Kevin Marois17-Aug-15 5:28
professionalKevin Marois17-Aug-15 5:28 
GeneralRe: TimeSpan Error?? Pin
Ravi Bhavnani17-Aug-15 6:12
professionalRavi Bhavnani17-Aug-15 6:12 
GeneralRe: TimeSpan Error?? Pin
Pete O'Hanlon17-Aug-15 6:15
subeditorPete O'Hanlon17-Aug-15 6:15 
GeneralRe: TimeSpan Error?? Pin
Kevin Marois17-Aug-15 6:24
professionalKevin Marois17-Aug-15 6:24 
GeneralRe: TimeSpan Error?? Pin
Dr. John L. Aven31-Aug-15 18:16
Dr. John L. Aven31-Aug-15 18:16 
GeneralRe: TimeSpan Error?? Pin
Ravi Bhavnani17-Aug-15 6:24
professionalRavi Bhavnani17-Aug-15 6:24 
GeneralRe: TimeSpan Error?? Pin
Kevin Marois17-Aug-15 6:25
professionalKevin Marois17-Aug-15 6:25 
GeneralRe: TimeSpan Error?? Pin
Ravi Bhavnani17-Aug-15 6:35
professionalRavi Bhavnani17-Aug-15 6:35 
GeneralRe: TimeSpan Error?? Pin
Matt T Heffron17-Aug-15 7:55
professionalMatt T Heffron17-Aug-15 7:55 
GeneralRe: TimeSpan Error?? Pin
Richard Deeming17-Aug-15 8:10
mveRichard Deeming17-Aug-15 8:10 
QuestionWhy don't I see a VSTO template Pin
Gary Huck14-Aug-15 10:47
Gary Huck14-Aug-15 10:47 
AnswerRe: Why don't I see a VSTO template Pin
Richard MacCutchan14-Aug-15 21:49
mveRichard MacCutchan14-Aug-15 21:49 
Question(Solved) How to send a message from a rich text box control to a form Pin
Leif Simon Goodwin14-Aug-15 1:56
Leif Simon Goodwin14-Aug-15 1:56 
AnswerRe: How to send a message from a rich text box control to a form Pin
Arthur V. Ratz14-Aug-15 3:08
professionalArthur V. Ratz14-Aug-15 3:08 

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.