Exemplo n.º 1
0
        private void cmbConfigs_SelectedIndexChanged(object sender, EventArgs e)
        {
            string strConfigName = this.cmbConfigs.Text;

            //更改数据库配置
            this.ctl.SetConfigsNotUsed(strConfigName);
            this.ctl.SetConfigsUsed(strConfigName);
            reset_current_config_table(strConfigName);
            //重新初始化教室
            MemoryTable.RefreshRoomConfigTable();
            this.dtRoomConfig = MemoryTable.dtRoomConfig;
            this.InitialClassRoom();
        }