i need to select a date in my winforms app and wish to find something like an openFileDialog, and that is when i click on a button, a calendar shows up and lets me select a date. Is there such a function built in c# ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You don’t have it as a Dialog window, but you have a component called DateTimePicker.
If you really need it on a dialog window, you can put this component on it’s own form and open that form with
ShowDialog.A bit more manual work, but it should work just fine.