コード例 #1
0
        private void FillTimes()
        {
            _EnrolmentExcessInputDateList = UDTTransfer.UDTEnrolmentExcessInputDateSelect();

            if (_EnrolmentExcessInputDateList.Count >= 1)
            {
                UDT_EnrolmentExcessInputDate each = _EnrolmentExcessInputDateList[0];

                string startTime = each.StartDate.HasValue ? each.StartDate.Value.ToString(DateTimeFormat) : "";
                string endTime   = each.EndDate.HasValue ? each.EndDate.Value.ToString(DateTimeFormat) : "";

                tbStartDateTime.Text = startTime;
                tbEndDateTime.Text   = endTime;
            }
        }
コード例 #2
0
 static void _bgWorker_DoWork(object sender, DoWorkEventArgs e)
 {
     UDTTransfer.UDTEnrolmentExcessCreditsSelect();
     UDTTransfer.UDTEnrolmentExcessInputDateSelect();
 }