資源簡介
運行程序,選擇左側列表中的圖標,單擊加班按鈕,進行加班登記,如果因臨時有事而取消加班則雙擊右側的加班列表。
代碼片段和文件信息
//?Overtime.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Overtime.h“
#include?“OvertimeDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?COvertimeApp
BEGIN_MESSAGE_MAP(COvertimeApp?CWinApp)
//{{AFX_MSG_MAP(COvertimeApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?COvertimeApp?construction
COvertimeApp::COvertimeApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?COvertimeApp?object
COvertimeApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?COvertimeApp?initialization
BOOL?COvertimeApp::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
COvertimeDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????814380??2007-05-08?08:52??Overtime\Overtime.aps
?????文件???????1400??2007-05-08?08:52??Overtime\Overtime.clw
?????文件???????2093??2007-05-08?08:52??Overtime\Overtime.cpp
?????文件???????7281??2007-05-08?08:52??Overtime\Overtime.dsp
?????文件????????539??2007-05-08?08:52??Overtime\Overtime.dsw
?????文件???????1346??2007-05-08?08:52??Overtime\Overtime.h
?????文件??????82944??2007-05-08?08:52??Overtime\Overtime.ncb
?????文件???????1798??2007-05-08?08:52??Overtime\Overtime.plg
?????文件???????7525??2007-05-08?08:52??Overtime\Overtime.rc
?????文件??????11008??2007-05-08?08:52??Overtime\OvertimeDlg.cpp
?????文件???????1737??2007-05-08?08:52??Overtime\OvertimeDlg.h
?????文件???????3615??2007-05-08?08:52??Overtime\ReadMe.txt
?????文件????????210??2007-05-08?08:52??Overtime\StdAfx.cpp
?????文件???????1054??2007-05-08?08:52??Overtime\StdAfx.h
?????文件????????203??2007-05-08?08:52??Overtime\employee.ini
?????文件?????????10??2007-05-08?08:52??Overtime\overtime.ini
?????文件???????3077??2007-05-08?08:52??Overtime\resource.h
?????文件???????5694??2007-05-08?08:52??Overtime\res\1.ico
?????文件???????5694??2007-05-08?08:52??Overtime\res\10.ico
?????文件???????5694??2007-05-08?08:52??Overtime\res\11.ico
?????文件???????5694??2007-05-08?08:52??Overtime\res\12.ico
?????文件???????5694??2007-05-08?08:52??Overtime\res\13.ico
?????文件???????5694??2007-05-08?08:52??Overtime\res\14.ico
?????文件???????5694??2007-05-08?08:52??Overtime\res\15.ico
?????文件???????5694??2007-05-08?08:52??Overtime\res\16.ico
?????文件???????5694??2007-05-08?08:52??Overtime\res\17.ico
?????文件???????5694??2007-05-08?08:52??Overtime\res\18.ico
?????文件???????5694??2007-05-08?08:52??Overtime\res\19.ico
?????文件???????5694??2007-05-08?08:52??Overtime\res\2.ico
?????文件???????5694??2007-05-08?08:52??Overtime\res\20.ico
............此處省略20個文件信息
評論
共有 條評論