private void SetCustomDateTimePickerFormat() { yearPicker.Format = _dateManager.DateFormatType(); yearPicker.CustomFormat = _dateManager.DateFormat(); yearPicker.ShowUpDown = true; }