摘要:
codeproject上下载的,感谢那位国际友.代码如下[代码] 阅读全文
摘要:
问题描述: 项目中用到ComboBox.DropDown事件,来打开DateTimePicker?代码如下: private void comboBox1_DropDown(object sender, EventArgs e) { dateTimePicker1.Focus(); SendKeys.SendWait("%{DOWN}"); comboBox1.Items.Add(dateTimePicker1.Value.ToString("dd/MM/yyyy")); comboBox1.SelectedIndex=0; } private void dateTimePicker1_V 阅读全文