示例#1
0
        private void LoadData()
        {
            int _year = int.Parse(this.TE_YEAR.Text);

            this.schedulerControl1.LimitInterval.Start = new DateTime(_year, 1, 1);
            this.schedulerControl1.LimitInterval.End   = new DateTime(_year, 12, 31);
            this.schedulerControl1.Start = new DateTime(_year, 1, 1);
            this.schedulerControl1.SelectedInterval.Start = new DateTime(_year, 1, 1);
            using (CommonServiceClient _csc = new CommonServiceClient())
            {
                DateList     = _csc.GetDataInfo(_year).ToList <WC_DataInfo>();
                TJSB_Setting = _csc.GetTJSBSettings();
            }

            DrawDates(_year);
        }