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

  • 大小: 4.77MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-10-28
  • 語言: C/C++
  • 標(biāo)簽: 抽獎??c++??mfc??vc6??

資源簡介

使用vc++6.0MFC開發(fā),抽獎方式分為兩種:1.分別隨機抽出獎票編號的后幾位數(shù)字并依次顯示,不同獎項抽取的位數(shù)和組數(shù)不同,所持獎票相應(yīng)位數(shù)相符的員工即獲獎;2.隨機從員工信息數(shù)據(jù)庫中抽出員工的“ID-姓名”并顯示,不同獎項一次性抽取的數(shù)量不同。采用第2種方式抽獎時,若中獎員工均在場領(lǐng)獎,則本次抽獎結(jié)束;否則,點擊“備選”按鍵補充抽取。

資源截圖

代碼片段和文件信息

//?Awards.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“Awards.h“
#include?“AwardsDlg.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CAwardsApp

BEGIN_MESSAGE_MAP(CAwardsApp?CWinApp)
//{{AFX_MSG_MAP(CAwardsApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CAwardsApp?construction

CAwardsApp::CAwardsApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CAwardsApp?object

CAwardsApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CAwardsApp?initialization

BOOL?CAwardsApp::InitInstance()
{
AfxEnableControlContainer();

//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.

#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif

CAwardsDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}

//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-08-29?12:58??抽獎\
?????文件????????1084??2015-10-31?10:57??抽獎\awardList.txt
?????文件?????1796748??2015-10-31?10:58??抽獎\Awards.aps
?????文件????????1159??2015-10-31?10:57??抽獎\Awards.clw
?????文件????????2063??2015-10-31?10:57??抽獎\Awards.cpp
?????文件????????4256??2015-10-31?10:57??抽獎\Awards.dsp
?????文件?????????535??2015-10-31?10:57??抽獎\Awards.dsw
?????文件????????1324??2015-10-31?10:57??抽獎\Awards.h
?????文件???????58368??2015-10-31?10:57??抽獎\Awards.ncb
?????文件???????53760??2015-10-31?10:57??抽獎\Awards.opt
?????文件?????????248??2015-10-31?10:57??抽獎\Awards.plg
?????文件????????5621??2015-10-31?10:57??抽獎\Awards.rc
?????文件???????19988??2015-10-31?10:57??抽獎\AwardsDlg.cpp
?????文件????????1965??2015-10-31?10:57??抽獎\AwardsDlg.h
?????文件??????????56??2015-10-31?10:57??抽獎\awardType.txt
?????目錄???????????0??2015-10-31?10:58??抽獎\Debug\
?????文件?????????154??2015-10-31?10:57??抽獎\employeeList.txt
?????文件??????468096??2015-10-31?10:57??抽獎\employeeList1.txt
?????目錄???????????0??2016-08-29?12:55??抽獎\Image\
?????文件??????377303??2015-10-31?10:57??抽獎\Image\1.jpg
?????文件??????752774??2015-10-31?10:57??抽獎\Image\13.bmp
?????文件??????380472??2015-10-31?10:57??抽獎\Image\2.JPG
?????文件?????1761054??2015-10-31?10:58??抽獎\Image\3.bmp
?????文件???????83385??2015-10-31?10:57??抽獎\Image\3.jpg
?????文件???????11776??2015-10-31?10:57??抽獎\Image\Thumbs.db
?????文件????????3579??2015-10-31?10:57??抽獎\ReadMe.txt
?????目錄???????????0??2015-10-31?10:58??抽獎\Release\
?????目錄???????????0??2016-08-29?12:55??抽獎\res\
?????文件?????????958??2015-10-31?10:57??抽獎\Resource.h
?????文件????????1078??2015-10-31?10:57??抽獎\res\Awards.ico
?????文件?????????398??2015-10-31?10:57??抽獎\res\Awards.rc2
............此處省略15個文件信息

評論

共有 條評論