Esempio n. 1
0
 DataTable dt         = null; //数据源
 private void WDLChart_Load(object sender, EventArgs e)
 {
     TreeNodeOperate.generatePlotTree(treeView2);
     cmbCropType.DataSource = DataManager.get_CropType();
     string[] items = { "柱状图", "线状图" };
     cmb_ChartType.DataSource = items;
     cmb_Type.SelectedIndex   = 1;
 }
Esempio n. 2
0
 private void MultPlotChart_Load(object sender, EventArgs e)
 {
     list_IndexType.DataSource = ChartOperate.get_chartIndexType();
     string[] items = { "线状图", "柱状图" };
     TreeNodeOperate.generatePlotTree(treeView2);
     cmb_StaticsType.DataSource = ChartOperate.get_chartStaticsType();
     cmb_ChartType.DataSource   = items;
     cmb_sensorType.DataSource  = ChartOperate.get_SensorSource();
 }
Esempio n. 3
0
 private void DataBaseManager_Load(object sender, EventArgs e)
 {
     TreeNodeOperate.generateTree(treeView1);
     cmbCropType.DataSource = DataManager.get_CropType();
     cmb_Type.SelectedIndex = 0;
 }