The situation is that:
I set the control as Time.
it cause a problem when the hour is set greater than 23 or smaller than 8.
And i debug through the program and found that the UpdateData() in OnDatetimechangeDatetimepicker1 method is why the problem caused.
Does anybody know how and why it happen?
and gives a solution about it.thx in advance.
I set the control as Time.
it cause a problem when the hour is set greater than 23 or smaller than 8.
And i debug through the program and found that the UpdateData() in OnDatetimechangeDatetimepicker1 method is why the problem caused.
Does anybody know how and why it happen?
and gives a solution about it.thx in advance.
设置为24小时显示格式