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

C#

 
Questionc++ Qt or C# or JAVA !! Pin
Dreamer_X15-Aug-15 3:51
Dreamer_X15-Aug-15 3:51 
AnswerRe: c++ Qt or C# or JAVA !! Pin
OriginalGriff15-Aug-15 3:54
mveOriginalGriff15-Aug-15 3:54 
GeneralRe: c++ Qt or C# or JAVA !! Pin
Nish Nishant15-Aug-15 5:18
sitebuilderNish Nishant15-Aug-15 5:18 
GeneralRe: c++ Qt or C# or JAVA !! Pin
Pete O'Hanlon15-Aug-15 9:16
mvePete O'Hanlon15-Aug-15 9:16 
Questioncreating events for dynamically created button Pin
Member 1126181115-Aug-15 0:48
Member 1126181115-Aug-15 0:48 
AnswerRe: creating events for dynamically created button Pin
OriginalGriff15-Aug-15 1:19
mveOriginalGriff15-Aug-15 1:19 
AnswerRe: creating events for dynamically created button Pin
BillWoodruff15-Aug-15 2:58
professionalBillWoodruff15-Aug-15 2:58 
QuestionTimeSpan Error?? Pin
Kevin Marois14-Aug-15 12:16
professionalKevin Marois14-Aug-15 12: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 14:16
professionalMatt T Heffron14-Aug-15 14:16 
GeneralRe: TimeSpan Error?? Pin
Kevin Marois17-Aug-15 3:59
professionalKevin Marois17-Aug-15 3:59 
GeneralRe: TimeSpan Error?? Pin
Pete O'Hanlon17-Aug-15 4:24
mvePete O'Hanlon17-Aug-15 4:24 
GeneralRe: TimeSpan Error?? Pin
Kevin Marois17-Aug-15 4:28
professionalKevin Marois17-Aug-15 4:28 
GeneralRe: TimeSpan Error?? Pin
Ravi Bhavnani17-Aug-15 5:12
professionalRavi Bhavnani17-Aug-15 5:12 
GeneralRe: TimeSpan Error?? Pin
Pete O'Hanlon17-Aug-15 5:15
mvePete O'Hanlon17-Aug-15 5:15 
GeneralRe: TimeSpan Error?? Pin
Kevin Marois17-Aug-15 5:24
professionalKevin Marois17-Aug-15 5:24 
GeneralRe: TimeSpan Error?? Pin
Dr. John L. Aven31-Aug-15 17:16
Dr. John L. Aven31-Aug-15 17:16 
GeneralRe: TimeSpan Error?? Pin
Ravi Bhavnani17-Aug-15 5:24
professionalRavi Bhavnani17-Aug-15 5:24 
GeneralRe: TimeSpan Error?? Pin
Kevin Marois17-Aug-15 5:25
professionalKevin Marois17-Aug-15 5:25 
GeneralRe: TimeSpan Error?? Pin
Ravi Bhavnani17-Aug-15 5:35
professionalRavi Bhavnani17-Aug-15 5:35 
GeneralRe: TimeSpan Error?? Pin
Matt T Heffron17-Aug-15 6:55
professionalMatt T Heffron17-Aug-15 6:55 
GeneralRe: TimeSpan Error?? Pin
Richard Deeming17-Aug-15 7:10
mveRichard Deeming17-Aug-15 7:10 
QuestionWhy don't I see a VSTO template Pin
Gary Huck14-Aug-15 9:47
Gary Huck14-Aug-15 9:47 
AnswerRe: Why don't I see a VSTO template Pin
Richard MacCutchan14-Aug-15 20:49
mveRichard MacCutchan14-Aug-15 20:49 
Question(Solved) How to send a message from a rich text box control to a form Pin
Leif Simon Goodwin14-Aug-15 0:56
Leif Simon Goodwin14-Aug-15 0:56 
AnswerRe: How to send a message from a rich text box control to a form Pin
Arthur V. Ratz14-Aug-15 2:08
professionalArthur V. Ratz14-Aug-15 2: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.