91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 9.31MB
    文件類型: .zip
    金幣: 2
    下載: 1 次
    發(fā)布日期: 2023-11-06
  • 語言: C/C++
  • 標簽: 超市??MFC??庫存??

資源簡介

用C++的MFC實現(xiàn)了超市庫存管理系統(tǒng),該系統(tǒng)包含了對庫存的基礎信息管理,日常業(yè)務管理,查詢統(tǒng)計管理,系統(tǒng)信息管理等,希望對有需求的同學有所幫助。

資源截圖

代碼片段和文件信息

//?baseComboBox.cpp?:?implementation?file
//

#include?“stdafx.h“
#include?“商品庫存管理系統(tǒng).h“
#include?“baseComboBox.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
extern?CMyApp?theApp;?
/////////////////////////////////////////////////////////////////////////////
//?CbaseComboBox

CbaseComboBox::CbaseComboBox()
{
}

CbaseComboBox::~CbaseComboBox()
{
}


BEGIN_MESSAGE_MAP(CbaseComboBox?CComboBox)
//{{AFX_MSG_MAP(CbaseComboBox)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CbaseComboBox?message?handlers

BOOL?CbaseComboBox::PreTranslateMessage(MSG*?pMsg)?
{
if(pMsg->message==WM_KEYDOWN?&&?pMsg->wParam==13)
pMsg->wParam=9;
return?CComboBox::PreTranslateMessage(pMsg);
}

bool?CbaseComboBox::SetRecordset(_RecordsetPtr?rRst?CString?sField)
{
CString?sText;
bool?returnvalue;
this->rst=rRst;
this->m_Field=sField;
if(theApp.GetRecordCount(rst)>0)
{
for(int?i=0;i {
rst->MoveFirst();
rst->Move(i);
try{
sText=(char*)(_bstr_t)rst->GetCollect((_bstr_t)sField);
this->AddString(sText);
}
catch(...)
{
returnvalue=false;
goto?err;
}
}
returnvalue=true;
}
else
returnvalue=false;
err: return?returnvalue;
}



void?CbaseComboBox::UpDating()
{
CString?sText;
this->ResetContent();
if(theApp.GetRecordCount(rst)>0)
{
for(int?i=0;i {
rst->MoveFirst();
rst->Move(i);
try{
sText=(char*)(_bstr_t)rst->GetCollect((_bstr_t)m_Field);
this->AddString(sText);
}
catch(...)
{
return;
}
}
}
}

BOOL?CbaseComboBox::DestroyWindow()?
{
rst->Close();
return?CComboBox::DestroyWindow();
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2010-07-12?23:30??源程序\
?????文件????????1864??2004-02-21?09:29??源程序\baseComboBox.cpp
?????文件????????1326??2004-02-21?09:28??源程序\baseComboBox.h
?????文件?????????948??2004-02-18?13:46??源程序\baseDateTimeCtrl.cpp
?????文件????????1285??2004-02-18?13:45??源程序\baseDateTimeCtrl.h
?????文件?????????843??2004-02-19?08:13??源程序\baseEdit.cpp
?????文件????????1197??2004-02-18?17:28??源程序\baseEdit.h
?????文件????????1911??2004-02-21?09:36??源程序\baseListBox.cpp
?????文件????????1388??2004-02-21?09:30??源程序\baseListBox.h
?????目錄???????????0??2010-11-06?09:05??源程序\BMP\
?????文件??????229194??2012-04-21?20:59??源程序\BMP\About.bmp
?????文件??????591654??2010-04-26?09:22??源程序\BMP\Black.bmp
?????文件???????69974??2004-02-18?14:10??源程序\BMP\Login.bmp
?????文件??????122110??2004-02-27?13:46??源程序\BMP\OutPut.bmp
?????文件??????122110??2004-02-24?14:18??源程序\BMP\Stock.bmp
?????文件???????43794??2004-02-18?17:14??源程序\BMP\User.bmp
?????文件????????3200??2004-03-03?16:14??源程序\DAbate.cpp
?????文件????????1333??2004-03-03?15:46??源程序\DAbate.h
?????文件????????1026??2004-03-03?16:19??源程序\DAbout.cpp
?????文件????????1184??2004-03-03?16:17??源程序\DAbout.h
?????文件????????6297??2010-05-07?15:35??源程序\DAdjust.cpp
?????文件????????1628??2010-05-07?15:35??源程序\DAdjust.h
?????文件????????4560??2004-03-03?14:33??源程序\DCheck.cpp
?????文件????????1597??2004-03-03?14:13??源程序\DCheck.h
?????文件????????3712??2004-06-05?15:02??源程序\DCheckDlg.cpp
?????文件????????1683??2004-03-03?14:36??源程序\DCheckDlg.h
?????文件????????2942??2005-01-28?08:49??源程序\DClient.cpp
?????文件????????1522??2004-02-24?15:52??源程序\DClient.h
?????文件???????12702??2004-06-05?14:06??源程序\DClient_Edit.cpp
?????文件????????2309??2004-02-23?10:06??源程序\DClient_Edit.h
?????文件????????6007??2004-02-18?13:26??源程序\DClime.cpp
............此處省略136個文件信息

評論

共有 條評論