C# toolstrip 上添加DateTimePicker Control控件
2021-01-20 16:11
标签:index picker log dex insert for date time void private void AddDTPtoToolstrip( n) 得到 DateTimePicker 值: C# toolstrip 上添加DateTimePicker Control控件 标签:index picker log dex insert for date time void 原文地址:https://www.cnblogs.com/wfy680/p/12128187.html
{
DateTimePicker dtp = DateTimePicker;
dtp.Width = 110;
dtp.Format = DateTimePickerFormat.Custom;
ToolStripControlHost host1 = ToolStripControlHost(dtp);
toolStrip1.Items.Insert(n, host1);
}
toolStrip1.Items[0].Text.; //得到index = 0Control控件值
上一篇:win7 环境变量配置
下一篇:(69)C# 流
文章标题:C# toolstrip 上添加DateTimePicker Control控件
文章链接:http://soscw.com/index.php/essay/44603.html