Example #1
0
        public W30684(string programID, string programName) : base(programID, programName)
        {
            InitializeComponent();
            daoVPR    = new VPR();
            this.Text = _ProgramID + "─" + _ProgramName;
            txtStartDate.DateTimeValue = GlobalInfo.OCF_DATE;
            txtEndDate.DateTimeValue   = GlobalInfo.OCF_DATE;

#if DEBUG
            txtStartDate.DateTimeValue = DateTime.ParseExact("2017/12/18", "yyyy/MM/dd", null);
            txtEndDate.DateTimeValue   = DateTime.ParseExact("2017/12/19", "yyyy/MM/dd", null);
            this.Text += "(開啟測試模式),Date=2017/12/18~2017/12/19";
#endif
        }