Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 527
  • Last Modified:

DateTimePicker

Is there a  property of the DateTimePicker for when the drop-down calendar disappears and the updated date is displayed on the DateTimePicker?  
The change property for the DateTimePicker fires off each time the user navigates through the drop down calendar of the dateTimePicker?
I need an event for when the drop-down calendar of the DateTimePicker disappears not each time it is clicked.
0
dastaub
Asked:
dastaub
  • 2
1 Solution
 
kris_perCommented:

You can use the 'CloseUp' event that occurs when the calendar drop down is closed up.
0
 
kris_perCommented:

public Form7()
{
            InitializeComponent();

            this.dateTimePicker1.CloseUp += new System.EventHandler(this.dateTimePicker1_CloseUp);
}

private void dateTimePicker1_CloseUp(object sender, EventArgs e)
{
}
0
 
dastaubAuthor Commented:
that was it, thank you
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now