Пример #1
0
        public void InitializeControls()
        {
            largedataAnalysisLogBusiness    = new LargedataAnalysisLogBusiness();
            largedataAnalysisConfigBusiness = new LargedataAnalysisConfigBusiness();
            gridLookUpEditName.Properties.ImmediatePopup = true;
            gridLookUpEditName.Properties.TextEditStyle  = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; //允许输入
            gridLookUpEditName.Properties.NullText       = "请输入模型名称";                                               //清空默认值
            gridLookUpEditName.Properties.DataSource     = largedataAnalysisConfigBusiness.GetLargeDataAnalysisConfigListForCurve(DateTime.Now.ToString("yyyy-MM-dd"));

            dateEditStart.EditValue = DateTime.Now;
        }
Пример #2
0
 private void dateEditStart_EditValueChanged(object sender, System.EventArgs e)
 {
     gridLookUpEditName.Properties.DataSource = largedataAnalysisConfigBusiness.GetLargeDataAnalysisConfigListForCurve(this.dateEditStart.EditValue.ToString());
     this.chartControl1.SeriesSerializable[0].Points.Clear();
     this.chartControl1.Refresh();
 }