I use the DateTimerPicker component to use the calendar and set the date, but I would like to remove the component's treatments because it makes it difficult to use the user, I already gave an optimized one,
I use the DateTimerPicker component to use the calendar and set the date, but I would like to remove the component's treatments because it makes it difficult to use the user, I already gave an optimized one,
In the Load event use this:
dt.CustomFormat = " ";
dt.Format = DateTimePickerFormat.Custom;
private void dtData_Reserva_ValueChanged(object sender, EventArgs e) {
dtData_Reserva.CustomFormat = "dd/MM/yyyy";
dtData_Reserva.Format = DateTimePickerFormat.Custom;
}