dateTimepicker选择了日期后,日历没隐藏起来
publicpartialclassForm1:Form{publicForm1(){InitializeComponent();}privatevoiddtpBirth...
public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void dtpBirth_ValueChanged(object sender, EventArgs e) { dtpBirth.Format = DateTimePickerFormat.Short; dtpBirth.CustomFormat = null; } private void Form1_Load(object sender, EventArgs e) { dtpBirth.Format = DateTimePickerFormat.Custom; dtpBirth.CustomFormat = " "; }
我选择了日期后,日历不收起来 展开
我选择了日期后,日历不收起来 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询