freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

學(xué)生選修課信息管理系統(tǒng)-閱讀頁(yè)

2024-08-26 17:42本頁(yè)面
  

【正文】 stQuitMessage(NULL)。}BOOL CMainWindow::OnInitDialog() { CDialog::OnInitDialog()。 // 初始化ListBox // Set the icon for this dialog. The framework does this automatically // when the application39。 // Set big icon SetIcon(m_hIcon, FALSE)。 str += pDlgm_strUserName。 int index=pDlgm_nCurLogin。 str += 同學(xué)。 // 設(shè)置樣式 // LVS_EX_CHECKBOXES表示第項(xiàng)都加一個(gè)CheckBox // LVS_EX_FULLROWSELECT表示選取整行 (LVS_EX_CHECKBOXES | LVS_EX_FULLROWSELECT)。 // 插入字段 (1,課程代碼,LVCFMT_LEFT,75)。 (3,上課時(shí)間,LVCFMT_LEFT,90)。 (5,學(xué)分,LVCFMT_LEFT,45)。 (7,余量,LVCFMT_LEFT,45)。 (9, 開課院系,LVCFMT_LEFT,109)。 // 載入課程信息 ShowCourseInfo()。 (0, 課程名稱,LVCFMT_LEFT,180)。 (2,學(xué)分,LVCFMT_LEFT,50)。 (4,上課地點(diǎn),LVCFMT_LEFT,110)。 (9, 開課院系,LVCFMT_LEFT,109)。 return TRUE。 ifstream infile。 if (infile) { char buf[50]。 while(!()) { infilebuf。 infilebuf。 infilebuf。 infilebuf。 infilebuf。 infilebuf。 infilebuf。 infilebuf。 infilebuf。 infilebuf。 (tmpCourseInfo)。 }}void CMainWindow::OnModifiedPersonalInfo() { // TODO: Add your control notification handler code here CModifiedInfo dlg。 if (()==IDOK) { CString str=歡迎您:。 str += 。 str += pDlgm_StuInfo[index].m_strName。 SetDlgItemText(IDC_WELCOME,str)。 //保存StudentInfo }}void CMainWindow::OnBtnSubmit() { // TODO: Add your control notification handler code here if ((pDlgm_StuInfo[pDlgm_nCurLogin]).m_nCourseCnt1) { MessageBox(每學(xué)期每位同學(xué)最多只能選修兩門課程!, Error, MB_OK|MB_ICONERROR)。 } for (int i=0。 i++) { setint* pSet。((pDlgm_StuInfo[pDlgm_nCurLogin]).m_nSelCourse)。amp。 break。 int index=FindIndexFromCourseInfo((i,1), (i,2),(i,3))。 //該門課的余量減少1 m_vCourseInfo[index].(%d,margin)。 } } SaveCourseInfo()。 pDlgSaveStudentInfo()。}void CMainWindow::LoadSelectedCourse(){ int i=0。 i1。 i=0。 (SW_NORMAL)。 it!=(pDlgm_StuInfo[pDlg m_nCurLogin]).()。 (i,1,m_vCourseInfo[*it].CTeacher)。 (i,3,m_vCourseInfo[*it].CTimeOn)。 (i,5,m_vCourseInfo[*it].CCharacter)。 } if((pDlgm_StuInfo[pDlg m_nCurLogin]).()2) (SW_HIDE)。}void CMainWindow::OnDblclkCourse(NMHDR* pNMHDR, LRESULT* pResult) // 雙擊列表選中項(xiàng){ // TODO: Add your control notification handler code here //UpdateData(TRUE)。 Indx=(1,LVNI_SELECTED)。 else (Indx,TRUE)。}void CMainWindow::OnSelchangeMargin() { // TODO: Add your control notification handler code here ShowCourseInfo()。 str+=(0,0)。 pSet=amp。 setint::iterator it=pSetbegin()。 int margin=atoi(m_vCourseInfo[*it].CMargin)。 pSeterase(it)。 int margin=atoi(m_vCourseInfo[*(++it)].CMargin)。 pSeterase(it)。 SaveCourseInfo()。 pDlgSaveStudentInfo()。 str+=(1,0)。 pSet=amp。 setint::iterator it=pSetbegin()。 int margin=atoi(m_vCourseInfo[*it].CMargin)。 pSeterase(it)。 int margin=atoi(m_vCourseInfo[*(++it)].CMargin)。 pSeterase(it)。 SaveCourseInfo()。 pDlgSaveStudentInfo()。}// 查找該課程的編號(hào)int CMainWindow::FindIndexFromCourseInfo(CString CCode,CString CTeacher,CString CTimeOn){ for (int i=0。 i++) { if( m_vCourseInfo[i].CCode==CCode amp。 m_vCourseInfo[i].CTeacher==CTeacher amp。 m_vCourseInfo[i].CTimeOn==CTimeOn) return i。}void CMainWindow::SaveCourseInfo(){ ofstream outfile。 if (outfile) { //for( i()。 for(int i=0。 it++) { if(i++) outfileendl。 outfile\t。 outfile\t。 outfile\t。 outfile\t。 outfile\t。 outfile\t。 outfile\t。 outfile\t。 outfile\t。 } ()。 Invalidate()。 CString strC, strT, strD。 bool bMargin。 ((),department)。 ((),margin)。 strD=department。 for (int i=0,j=0。 i++) { int nMargin=atoi(m_vCourseInfo[i].CMargin)。 if(department==ALL) strD=m_vCourseInfo[i].CDepartment。 if(margin==有 amp。 nMargin=0) bMargin=FALSE。 if( strC == m_vCourseInfo[i].CCharacter amp。 strD == m_vCourseInfo[i].CDepartment amp。 strT == m_vCourseInfo[i].CTimeOn amp。 bMargin) { (j,m_vCourseInfo[i].CName)。 (j,2,m_vCourseInfo[i].CTeacher)。 (j,4,m_vCourseInfo[i].CAddress)。 (j,6,m_vCourseInfo[i].CTotal)。 (j,8,m_vCourseInfo[i].CCharacter)。 } } }void CMainWindow::InitComboBox(){ // 有無(wú)余量 (有)。 (0)。 (專業(yè)必修課)。 (科學(xué)素養(yǎng)課)。 (0)。 (周三第5,6節(jié))。 (0)。 (政治與法律系)。 (外語(yǔ)系)。 (教育科學(xué)系)。 (美術(shù)系)。 (物理與信息工程系)。 (化學(xué)與材料科學(xué)系)。 (體育科學(xué)系)。 (思想政治理論課教學(xué)部)。}void CMainWindow::OnSelchangeDepartment() { // TODO: Add your control notification handler code here ShowCourseInfo()。}void CMainWindow::OnSelchangeTime() { // TODO: Add your control notification handler code here ShowCourseInfo()。 if(m_Query==) return。 // 清除以前的課程 (0)。 (0)。 for (int i=0,j=0。 i++) { CString tmp=m_vCourseInfo[i].CName。 //轉(zhuǎn)為小寫 ()。 if((m_Query,0) != string::npos) { (j,m_vCourseInfo[i].CName)。 (j,2,m_vCourseInfo[i].CTeacher)。 (j,4,m_vCourseInfo[i].CAddress)。 (j,6,m_vCourseInfo[i].CTotal)。 (j,8,m_vCourseInfo[i].CCharacter)。 } }}void CMainWindow::OnShowALL() { // TODO: Add your control notification handler code here (0)。 (0)。 m_Query=。 ShowCourseInfo()。 PostMessage(WM_CLOSE)。endif/////////////////////////////////////////////////////////////////////////////// CShowStuInfo dialogCShowStuInfo::CShowStuInfo(CWnd* pParent /*=NULL*/) : CDialog(CShowStuInfo::IDD, pParent){ //{{AFX_DATA_INIT(CShowStuInfo) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT}void CShowStuInfo::DoDataExchange(CDataExchange* pDX){ CDialog::DoDataExchange(pDX)。 //}}AFX_DATA_MAP}BEGIN_MESSAGE_MAP(CShowStuInfo, CDialog) //{{AFX_MSG_MAP(CShowStuInfo) //}}AFX_MSG_MAPEND_MESSAGE_MAP()///////////////////////////////////////////////////////////////////////////////
點(diǎn)擊復(fù)制文檔內(nèi)容
物理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1