Exemplo n.º 1
0
        public W30680(string programID, string programName) : base(programID, programName)
        {
            InitializeComponent();
            daoVIXS          = new VIXS();
            daoVIX           = new VIX();
            daoVOLS          = new VOLS();
            daoVOLD          = new VOLD();
            this.Text        = _ProgramID + "─" + _ProgramName;
            txtStartYMD.Text = GlobalInfo.OCF_DATE.ToString("yyyy/MM/01");
            txtEndYMD.Text   = GlobalInfo.OCF_DATE.ToString("yyyy/MM/dd");
            labMsg.Visible   = false;

            //Winni test
            //20180410-0420
        }
Exemplo n.º 2
0
        public W30685(string programID, string programName) : base(programID, programName)
        {
            InitializeComponent();
            daoVPR    = new VPR();
            daoVOLS   = new VOLS();
            daoVOLD   = new VOLD();
            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
        }