示例#1
0
        private void DisplayChartForm_Load(object sender, EventArgs e)
        {
            _ListData   = new List <Utility.StockPriceProfile>();
            _ListNikkei = new List <Utility.NikkeiAverageEntity>();
            _ListDY     = new List <Utility.DollarYenEntity>();

            _List1Year = new List <Utility.StockPriceProfile>();
            Utility.StockPriceUtil util = new Utility.StockPriceUtil();
            _List1Year = util.GetListStockPriceProfile(DateTime.Now.AddMonths(-3).Date, DateTime.Now.Date);
        }
示例#2
0
        private void btnDisplay12_Click(object sender, EventArgs e)
        {
            Utility.StockPriceUtil util = new Utility.StockPriceUtil();
            _ListData   = util.GetListStockPriceProfile(DateTime.Now.AddMonths(-12).Date, DateTime.Now.Date);
            _ListNikkei = util.GetListNikkeiAverage(DateTime.Now.AddMonths(-12).Date, DateTime.Now.Date);
            _ListDY     = util.GetListDollarYenEntity(DateTime.Now.AddMonths(-12).Date, DateTime.Now.Date);

            _currentPageNum = 1;
            // 1ページ目を表示
            this.Paging(_currentPageNum);

            this.CreateNikkeiChart(this.chartNikkei);
            this.CreateDollarYenChart(this.chartDollarYen);
        }