Click here to Skip to main content
12,761,421 members (34,159 online)
   

C#

 
QuestionMessageBox with textbox WPF Pin
juliogyn10-Sep-13 4:57
memberjuliogyn10-Sep-13 4:57 
AnswerRe: MessageBox with textbox WPF Pin
Richard MacCutchan10-Sep-13 6:17
mvpRichard MacCutchan10-Sep-13 6:17 
QuestionTake the first day of the month and the last day of the month ? Pin
Member 24584679-Sep-13 23:59
memberMember 24584679-Sep-13 23:59 
AnswerRe: Take the first day of the month and the last day of the month ? Pin
Richard MacCutchan10-Sep-13 0:43
mvpRichard MacCutchan10-Sep-13 0:43 
GeneralRe: Take the first day of the month and the last day of the month ? Pin
Pete O'Hanlon10-Sep-13 1:44
protectorPete O'Hanlon10-Sep-13 1:44 
AnswerRe: Take the first day of the month and the last day of the month ? Pin
Pete O'Hanlon10-Sep-13 1:38
protectorPete O'Hanlon10-Sep-13 1:38 
AnswerRe: Take the first day of the month and the last day of the month ? Pin
Pete O'Hanlon10-Sep-13 3:22
protectorPete O'Hanlon10-Sep-13 3:22 
AnswerRe: Take the first day of the month and the last day of the month ? Pin
ExcellentOrg10-Sep-13 6:27
groupExcellentOrg10-Sep-13 6:27 
Nothing is wrong with this code, fellas. This approach is format, Culture independent.

I've used this kind of logic many many times and its very compact.

As is obvious to all, 1st of a month is never a problem because all months have 1st.

Instead of writing yet another variant in C++/C# for "30 days hath sep...", simply add 1 to month to the variable you had for 1st of month, and then subtract 1 day from the Resulting date.

It is meant to done in date arithmetic with valid values in Date's class.
GeneralRe: Take the first day of the month and the last day of the month ? Pin
jschell10-Sep-13 9:52
memberjschell10-Sep-13 9:52 
QuestionUnable to change default color of Progress Bar control in winforms Pin
superselector8-Sep-13 22:02
membersuperselector8-Sep-13 22:02 
AnswerRe: Unable to change default color of Progress Bar control in winforms Pin
Abhinav S8-Sep-13 23:28
mvpAbhinav S8-Sep-13 23:28 
AnswerRe: Unable to change default color of Progress Bar control in winforms Pin
Eddy Vluggen8-Sep-13 23:33
mvpEddy Vluggen8-Sep-13 23:33 
QuestionC# code making prolem when calling secure conection. Pin
Shinu K8-Sep-13 21:15
memberShinu K8-Sep-13 21:15 
AnswerRe: C# code making prolem when calling secure conection. Pin
Abhinav S8-Sep-13 23:25
mvpAbhinav S8-Sep-13 23:25 
QuestionC# vs Delphi. any ideas? Pin
Swinkaran8-Sep-13 21:13
memberSwinkaran8-Sep-13 21:13 
AnswerRe: C# vs Delphi. any ideas? Pin
Abhinav S8-Sep-13 23:22
mvpAbhinav S8-Sep-13 23:22 
AnswerRe: C# vs Delphi. any ideas? Pin
Eddy Vluggen8-Sep-13 23:33
mvpEddy Vluggen8-Sep-13 23:33 
QuestionCurrent Row Select in DataGridView ... Pin
smh13928-Sep-13 7:46
membersmh13928-Sep-13 7:46 
AnswerRe: Current Row Select in DataGridView ... Pin
Richard Andrew x648-Sep-13 15:20
professionalRichard Andrew x648-Sep-13 15:20 
AnswerRe: Current Row Select in DataGridView ... Pin
Eddy Vluggen9-Sep-13 9:06
mvpEddy Vluggen9-Sep-13 9:06 
Questionwordlist generator Pin
mory_2607-Sep-13 22:50
membermory_2607-Sep-13 22:50 
SuggestionRe: wordlist generator Pin
Richard MacCutchan8-Sep-13 1:39
mvpRichard MacCutchan8-Sep-13 1:39 
AnswerRe: wordlist generator Pin
Eddy Vluggen9-Sep-13 9:13
mvpEddy Vluggen9-Sep-13 9:13 
QuestionAvoid space at the Start of the textbox Pin
smh13927-Sep-13 11:21
membersmh13927-Sep-13 11:21 
AnswerRe: Avoid space at the Start of the textbox Pin
Dave Kreskowiak7-Sep-13 13:55
mvpDave Kreskowiak7-Sep-13 13: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.


Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 26 Feb 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid