Topaz
Topaz 's Blog

Topaz 's Blog

dateTimePicker不显示默认值的解决方案

Photo by Agê Barros on Unsplash

dateTimePicker不显示默认值的解决方案

Topaz
·Nov 28, 2010·

1 min read

<div id="blogDetailDiv">

private void Form1\_Load(object sender, EventArgs e)

 {

dateTimePicker1.Format = DateTimePickerFormat.Custom;

dateTimePicker1.CustomFormat = "       ";

}

</div>
 
Share this