每当我双击datetimepicker时,它会自动将其值发送到文本框。现在,我想在文本框中发送DateTimePicker的值,只有当我点击该日期,特定日期或年份时?
这是我的vb.net代码:
Private Sub DateTimePicker1_DOB_CloseUp(sender As Object, e As EventArgs) Handles DateTimePicker1_DOB.CloseUp
TextBox1_Date.Text = DateTimePicker1_DOB.Text
End Sub