Esempio n. 1
0
        private void DataQueryForm_Load(object sender, EventArgs e)
        {
            Control.CheckForIllegalCrossThreadCalls = false;
            FatherForm.Enabled = false;

            ArrayList list = DBUtil.getTableList();

            dataTableComboBox.Items.Clear();
            foreach (String s in list)
            {
                dataTableComboBox.Items.Add(s);
            }
            dataTableComboBox.SelectedIndex = 0;
        }
Esempio n. 2
0
        private void DataQueryForm_Load(object sender, EventArgs e)
        {
            Control.CheckForIllegalCrossThreadCalls = false;
            FatherForm.Enabled = false;
            DBUtil    mydb = new DBUtil();
            ArrayList list = mydb.getTableList();

            dataTableComboBox.Items.Clear();
            foreach (String s in list)
            {
                dataTableComboBox.Items.Add(mydb.englishtochinese[s]);
            }
            dataTableComboBox.SelectedIndex = 0;
            segmentComboBox.Items.Clear();
            segmentComboBox.Items.Add("数据插入时间");
            segmentComboBox.Items.Add("仪器标识");
        }
Esempio n. 3
0
 private void DataQueryForm_Load(object sender, EventArgs e)
 {
     Control.CheckForIllegalCrossThreadCalls = false;
     FatherForm.Enabled = false;
     DBUtil mydb = new DBUtil();
     ArrayList list = mydb.getTableList();
     dataTableComboBox.Items.Clear();
     foreach (String s in list)
     {
         dataTableComboBox.Items.Add(mydb.englishtochinese[s]);
     }
     dataTableComboBox.SelectedIndex = 0;
     segmentComboBox.Items.Clear();
     segmentComboBox.Items.Add("数据插入时间");
     segmentComboBox.Items.Add("仪器标识");
 }