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

            dtView = new TDateTimeView(textBlock1.Text);// TDateTimeView  构造函数传入日期时间
        }