private void DateTimePicker_KeyDown(object sender, KeyEventArgs e)
{
if (!CheckBoxVisible)
{
if ((e.KeyCode == Keys.Back
|| e.KeyCode == Keys.Delete))
{
e.SuppressKeyPress = true;
if (ApplyBlankFormat())
{
FireValueChanged();
}
}
else if (e.KeyCode != Keys.ShiftKey && IsNull())
{
ApplyValueFormat();
}
}
}