Click here to Skip to main content
15,557,965 members
Home / Discussions / C#
   

C#

 
GeneralRe: MVC unit testing Pin
User 571134828-Jul-14 1:54
User 571134828-Jul-14 1:54 
QuestionMouse set in the form Pin
PozzaVecia27-Jul-14 2:47
PozzaVecia27-Jul-14 2:47 
AnswerRe: Mouse set in the form Pin
Pete O'Hanlon27-Jul-14 2:53
mvaPete O'Hanlon27-Jul-14 2:53 
GeneralRe: Mouse set in the form Pin
PozzaVecia27-Jul-14 3:13
PozzaVecia27-Jul-14 3:13 
AnswerRe: Mouse set in the form Pin
OriginalGriff27-Jul-14 3:34
mveOriginalGriff27-Jul-14 3:34 
AnswerRe: Mouse set in the form Pin
User 873938131-Jul-14 0:44
User 873938131-Jul-14 0:44 
GeneralProblem with Windows forms monthcalendar control Pin
Member 1094245026-Jul-14 20:17
Member 1094245026-Jul-14 20:17 
GeneralRe: Problem with Windows forms monthcalendar control Pin
OriginalGriff26-Jul-14 22:33
mveOriginalGriff26-Jul-14 22:33 
The MaxDate property works up to the exact DateTime that you set: but DateTime.Now includes the hours, minutes and seconds - so setting MaxDate to it pretty much excludes the final date from a range as it has already passed (I think - I haven;t looked at the .NET code). What you need to do is set it to the end of day that you want to include:
C#
myMonthCalendar.MaxDate = DateTime.Now.AddDays(1).Date.AddSeconds(-1);
Should do it.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

GeneralRe: Problem with Windows forms monthcalendar control Pin
Pete O'Hanlon27-Jul-14 2:44
mvaPete O'Hanlon27-Jul-14 2:44 
GeneralRe: Problem with Windows forms monthcalendar control Pin
OriginalGriff27-Jul-14 3:29
mveOriginalGriff27-Jul-14 3:29 
GeneralRe: Problem with Windows forms monthcalendar control Pin
Member 1094245027-Jul-14 8:00
Member 1094245027-Jul-14 8:00 
GeneralRe: Problem with Windows forms monthcalendar control Pin
OriginalGriff27-Jul-14 22:09
mveOriginalGriff27-Jul-14 22:09 
GeneralRe: Problem with Windows forms monthcalendar control Pin
Pete O'Hanlon26-Jul-14 22:34
mvaPete O'Hanlon26-Jul-14 22:34 
GeneralRe: Problem with Windows forms monthcalendar control Pin
OriginalGriff26-Jul-14 22:50
mveOriginalGriff26-Jul-14 22:50 
Questioncannot send text encryption via email Pin
KaKoten25-Jul-14 22:20
KaKoten25-Jul-14 22:20 
AnswerRe: cannot send text encryption via email Pin
OriginalGriff25-Jul-14 22:52
mveOriginalGriff25-Jul-14 22:52 
GeneralRe: cannot send text encryption via email Pin
KaKoten27-Jul-14 19:20
KaKoten27-Jul-14 19:20 
AnswerRe: cannot send text encryption via email Pin
Eddy Vluggen26-Jul-14 0:45
professionalEddy Vluggen26-Jul-14 0:45 
GeneralRe: cannot send text encryption via email Pin
KaKoten26-Jul-14 23:16
KaKoten26-Jul-14 23:16 
GeneralRe: cannot send text encryption via email Pin
Eddy Vluggen27-Jul-14 1:15
professionalEddy Vluggen27-Jul-14 1:15 
GeneralRe: cannot send text encryption via email Pin
KaKoten27-Jul-14 19:13
KaKoten27-Jul-14 19:13 
GeneralRe: cannot send text encryption via email Pin
Eddy Vluggen28-Jul-14 3:54
professionalEddy Vluggen28-Jul-14 3:54 
GeneralRe: cannot send text encryption via email Pin
KaKoten28-Jul-14 12:54
KaKoten28-Jul-14 12:54 
GeneralRe: cannot send text encryption via email Pin
Eddy Vluggen28-Jul-14 13:17
professionalEddy Vluggen28-Jul-14 13:17 
GeneralRe: cannot send text encryption via email Pin
KaKoten28-Jul-14 17:53
KaKoten28-Jul-14 17:53 

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.