private void ResizeDisplayBox() { _displayBox.Width = _dateTimePicker.Width - 22 - 2; _displayBox.Height = _dateTimePicker.Height - 7; }