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

  • 大小: 31KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-05
  • 語言: C/C++
  • 標簽: MFC??

資源簡介

MFC 計算器源代碼,支持基本的 + - * / 以及退格等功能,另外可以自行設置各個文本框的字體和整個窗體的顏色,等等。 另外可以根據MFC 計算器源代碼的設計過程文檔,自行擴展功能。

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“Computer.h“
#include?“ComputerDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CComputerApp

BEGIN_MESSAGE_MAP(CComputerApp?CWinApp)
//{{AFX_MSG_MAP(CComputerApp)
//?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()

/////////////////////////////////////////////////////////////////////////////
//?CComputerApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CComputerApp?object

CComputerApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CComputerApp?initialization

BOOL?CComputerApp::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

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

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????37396??2015-06-09?22:12??Computer\Computer.aps

?????文件???????2362??2015-07-08?17:22??Computer\Computer.clw

?????文件???????2091??2015-06-04?20:30??Computer\Computer.cpp

?????文件???????4195??2015-06-04?20:30??Computer\Computer.dsp

?????文件????????522??2015-06-04?20:30??Computer\Computer.dsw

?????文件???????1346??2015-06-04?20:30??Computer\Computer.h

?????文件??????58368??2015-07-08?17:22??Computer\Computer.ncb

?????文件??????49664??2015-07-08?17:22??Computer\Computer.opt

?????文件????????948??2015-06-16?07:03??Computer\Computer.plg

?????文件???????7390??2015-06-09?22:12??Computer\Computer.rc

?????文件??????11207??2015-06-16?07:06??Computer\ComputerDlg.cpp

?????文件???????2177??2015-06-10?18:15??Computer\ComputerDlg.h

?????文件???????3615??2015-06-04?20:30??Computer\ReadMe.txt

?????文件???????1078??2015-06-04?20:30??Computer\res\Computer.ico

?????文件????????400??2015-06-04?20:30??Computer\res\Computer.rc2

?????文件???????2207??2015-06-06?10:21??Computer\resource.h

?????文件????????210??2015-06-04?20:30??Computer\StdAfx.cpp

?????文件???????1054??2015-06-04?20:30??Computer\StdAfx.h

?????目錄??????????0??2015-06-04?20:30??Computer\res

?????目錄??????????0??2015-07-08?17:22??Computer

-----------?---------??----------?-----??----

???????????????186230????????????????????20


評論

共有 條評論