Example #1
0
        private void fullcbFanAn()
        {
            string apppath = Path.GetDirectoryName(Application.ExecutablePath);
            string mdbPath = apppath + "\\config.mdb";

            cfm   = new ConfigMannager(mdbPath);
            FanAn = cfm.selectAllConfig();
            foreach (DataRow dr in FanAn.Rows)
            {
                cbFanAn.Items.Add(dr["name"].ToString());
            }
        }
Example #2
0
 //显示所有配置方案
 private void displayAllConfig()
 {
     //dt = cdb.SelectAllData();
     dt = cfgMannager.selectAllConfig();
     this.dgvFanAn.DataSource = dt;
 }