Beispiel #1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="txt"></param>
 public DateTimePicker(string txt)
     : this()
 {
     dtView = new TDateTimeView(txt);// TDateTimeView  构造函数传入日期时间
 }
Beispiel #2
0
 public DateTimePicker()
 {
     InitializeComponent();
     dtView = new TDateTimeView(textBlock1.Text);
 }