資源簡介
商品庫存管理系統.rar
代碼片段和文件信息
//?baseComboBox.cpp?:?implementation?file
//
#include?“stdafx.h“
#include?“商品庫存管理系統.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();
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2454??2005-12-12?15:57??商品庫存管理系統\ReadMe.txt
?????文件?????929844??1998-06-17?00:00??商品庫存管理系統\商品庫存管理系統\MFC42D.DLL
?????文件?????798773??1998-06-17?00:00??商品庫存管理系統\商品庫存管理系統\MFCO42D.DLL
?????文件?????385100??1998-06-17?00:00??商品庫存管理系統\商品庫存管理系統\MSVCRTD.DLL
?????文件????1974272??2005-06-07?15:18??商品庫存管理系統\商品庫存管理系統\spkc.mdb
?????文件????1876070??2005-01-28?08:47??商品庫存管理系統\商品庫存管理系統\商品庫存管理系統.exe
?????文件?????????81??2004-04-15?11:06??商品庫存管理系統\商品庫存管理系統\密碼.txt
?????文件???????1864??2004-02-21?09:29??商品庫存管理系統\源程序\ba
?????文件???????1326??2004-02-21?09:28??商品庫存管理系統\源程序\ba
?????文件????????948??2004-02-18?13:46??商品庫存管理系統\源程序\ba
?????文件???????1285??2004-02-18?13:45??商品庫存管理系統\源程序\ba
?????文件????????843??2004-02-19?08:13??商品庫存管理系統\源程序\ba
?????文件???????1197??2004-02-18?17:28??商品庫存管理系統\源程序\ba
?????文件???????1911??2004-02-21?09:36??商品庫存管理系統\源程序\ba
?????文件???????1388??2004-02-21?09:30??商品庫存管理系統\源程序\ba
?????文件?????229194??2004-03-03?17:08??商品庫存管理系統\源程序\BMP\About.bmp
?????文件?????591654??2004-06-05?15:05??商品庫存管理系統\源程序\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
?????文件???????6155??2004-06-03?09:02??商品庫存管理系統\源程序\DAdjust.cpp
?????文件???????1599??2004-03-02?15:48??商品庫存管理系統\源程序\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
............此處省略141個文件信息
- 上一篇:商品銷售管理系統.rar
- 下一篇:控件參考手冊.WDL.rar
評論
共有 條評論