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

正文內(nèi)容

mfc圖書管理系統(tǒng)-在線瀏覽

2024-09-17 15:15本頁(yè)面
  

【正文】 trBookID,(%Y%m%d),(%Y%m%d))。 (strSQL)。 } catch(CDBException e) { AfxMessageBox(錯(cuò)誤:+)。 AfxMessageBox(提交成功)。}還書界面的設(shè)計(jì):圖38書籍歸還界面還書編程的實(shí)現(xiàn):流程圖如下:圖39書籍歸還流程圖主要代碼如下:BOOL CBOOKBACK::OnInitDialog() { CDialog::OnInitDialog()。 (1,圖書ID,LVCFMT_LEFT,100)。 (3,應(yīng)還日期,LVCFMT_LEFT,100)。 (RGB(244,200,222))。 (RGB(0,00,60))。 // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE}void CBOOKBACK::Onbackbook() { // TODO: Add your control notification handler code here UpdateData()。 if(i0) { AfxMessageBox(請(qǐng)選擇要?dú)w還的圖書)。 } else { if(!(AFX_DB_USE_DEFAULT_TYPE,select * from BORROW where RID=39。)) { AfxMessageBox(數(shù)據(jù)庫(kù)打開失?。?。 } CTimeSpan time=CTime::GetCurrentTime()。 ()。 } try { ()。 ()。 ()。 return 。 ()。 ()。 return 。 ()。 (TRUE)。 (0,圖書ID,LVCFMT_LEFT,80)。 (2,借書日期,LVCFMT_LEFT,95)。 // TODO: Add extra initialization here return TRUE。 ()。 } if(!(AFX_DB_USE_DEFAULT_TYPE,select * from Borrow where RID=39。)) AfxMessageBox(數(shù)據(jù)表打開失敗)。 (CEdit*)GetDlgItem(IDC_EDIT1)SetFocus()。 CString str=_T()。 (i,)。 (i,1,)。 (i,2,str)。 (i,3,str)。 } (TRUE)。}void CBorrowDalyDlg::OnButton1() { // TODO: Add your control notification handler code here if(()) { AfxMessageBox(請(qǐng)選擇要續(xù)借的書籍!)。 } if(!(AFX_DB_USE_DEFAULT_TYPE,select * from Borrow where BID=39。)) AfxMessageBox(數(shù)據(jù)表打開失敗)。 ()。 ()。}void CBorrowDalyDlg::OnClickList1(NMHDR* pNMHDR, LRESULT* pResult) { // TODO: Add your control notification handler code here int i=()。 } UpdateData(FALSE)。}void CBorrowDalyDlg::OnButton4() { // TODO: Add your control notification handler code here EndDialog(IDCANCEL)。 if(()) ()。+m_ReaderID+39。 return 。 return 。 =CTime::GetCurrentTime()。 time+=(CTime::GetCurrentTime())。 } m_money=()*m_setmoney。 } } ()。}void CFMoneyDlg::OnKillfocusEdit13() { // TODO: Add your control notification handler code here OnKillfocusEdit1()。 CTimeSpan time(0,0,0,0)。 return 。 else { if(!(AFX_DB_USE_DEFAULT_TYPE,select * from Borrow where RID=39。)) { AfxMessageBox(打開Borrow表數(shù)據(jù)失??!)。 } else if(()) { AfxMessageBox(未找到:+m_ReaderID)。 } else { while(!()) { ()。 ()。 } (0)。 ()。 (0,讀者ID,LVCFMT_LEFT,100)。 (2,借書日期,LVCFMT_LEFT,100)。 (LVS_EX_FULLROWSELECT)。 (RGB(244,200,222))。 return TRUE。 UpdateData()。+m_ID+39。 return。 ()。 } else { int i=0。 while(!()) { ()。 ()。 str=(%Y%m%d)。 str=(%Y%m%d)。 ()。}void CLostIfom::OnOK() { // TODO: Add your control notification handler code here UpdateData()。 if(i0) { AfxMessageBox(請(qǐng)選擇要登記的圖書)。 } else { if(!(AFX_DB_USE_DEFAULT_TYPE,select * from BORROW where RID=39。)) { AfxMessageBox(數(shù)據(jù)庫(kù)打開失敗!)。 } CTimeSpan time=CTime::GetCurrentTime()。 ()。 } CString BID=。 if(!(AFX_DB_USE_DEFAULT_TYPE,select * from Book where BID=39。)) AfxMessageBox(數(shù)據(jù)表打開失敗)。 =已丟失。 ()。 ()。 (i)。 }}管理員可以同過(guò)本系統(tǒng)對(duì)書籍進(jìn)行管理:主要包括書籍的添加,刪除,修改,查詢,顯示全部書籍這些操作;亦可以管理借閱者信息,主要包括借閱者的刪除,添加操作;也可以管理管理員信息,主要包括借閱者的刪除,添加操作;同時(shí)也可以管理書籍類別信息,主要包括借閱者的刪除,添加操作; 管理員可以同過(guò)本系統(tǒng)對(duì)書籍進(jìn)行管理:主要包括書籍的添加,刪除,修改,查詢,顯示全部書籍這些操作。 // TODO: Change any attributes of the DC here // TODO: Return a different brush if the default is not desired return hbr。 if(i0) { ClearText()。 } CString str。 m_NAME=(i,1)。 m_PRESS=(i,3)。 (j)。%s\39。 if(!(AFX_DB_USE_DEFAULT_TYPE,str)) { AfxMessageBox(數(shù)據(jù)表BOOK打開失敗)。 } (amp。 str=(i,6)。 m_PRICE=(float)tempf。 m_DAYS=atoi(str)。 m_DESC=(i,9)。 ()。}void CBookSelectDlg::ClearText(){ m_FNO = _T()。 m_PRESS = _T()。 m_NAME = _T()。 m_DAYS = 0。 UpdateData(FALSE)。 CString str=(i,0)。 return。 } if(!(AFX_DB_USE_DEFAULT_TYPE,_T(select * from BOOK where BID=\39。))) { AfxMessageBox(數(shù)據(jù)表BOOK打開失敗)。 } try { ()。 } catch(...) { AfxMessageBox(可能該書在正在借閱中,不能刪除!)。 return。 ()。 (TRUE)。 if(()||()) { AfxMessageBox(存在空值!)。 } if(!()) { AfxMessageBox(數(shù)據(jù)庫(kù)打開失敗!)。 } try { ()。 ()。 } ()。 } else { (0)。 m_Days = 0。 UpdateData(FALSE)。 }}void CReaderADD::OnOUT() { // TODO: Add your control notification handler code here EndDialog(IDCANCEL)。 (0)。 // return TRUE unless you set the focus to a control}刪除借閱者的界面設(shè)計(jì):圖320刪除借閱者界面刪除借閱者的編程實(shí)現(xiàn):流程圖如下:圖321刪除借閱者流程圖主要代碼如下:BOOL CReaderDelete::OnInitDialog() { CDialog::OnInitDialog()。 (1,讀者姓名,LVCFMT_LEFT,100)。 (3,讀者類型,LVCFMT_LEFT,10
點(diǎn)擊復(fù)制文檔內(nèi)容
高考資料相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1