void CDLGFileType::OnBnClickedButtonNew() { // TODO: Add your control notification handler code here UpdateData(TRUE); if(m_e_new.IsEmpty()) { MessageBox(ConvertString("文件后缀不能为空")); return ; } SQLDB.Type_Add_Lock(m_c_new,m_e_new.GetBuffer(0)); typeList.clear(); SQLDB.Type_Read(typeList); //初始化列表 DisplayVideoList(); DisplayMusicList(); DisplaySubList(); DisplayOtherList(); }