xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

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

資源簡(jiǎn)介

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

資源截圖

代碼片段和文件信息

//?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;
}

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

評(píng)論

共有 條評(píng)論