private void DateTimePicker_ValueChanged(object sender, EventArgs e) { if (!CheckBoxVisible) { ApplyValueFormat(); } FireValueChanged(); }