calculator.clw

来自「VC++实现的一个计算器」· CLW 代码 · 共 83 行

CLW
83
字号
; CLW file contains information for the MFC ClassWizard

[General Info]
Version=1
LastClass=CCalculatorDlg
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "calculator.h"
LastPage=0

ClassCount=4
Class1=CCalculatorApp
Class2=CAboutDlg
Class3=CCalculatorDlg
Class4=CXPButton

ResourceCount=2
Resource1=IDD_ABOUTBOX
Resource2=IDD_CALCULATOR_DIALOG

[CLS:CCalculatorApp]
Type=0
BaseClass=CWinApp
HeaderFile=Calculator.h
ImplementationFile=Calculator.cpp

[CLS:CAboutDlg]
Type=0
BaseClass=CDialog
HeaderFile=CalculatorDlg.cpp
ImplementationFile=CalculatorDlg.cpp

[CLS:CCalculatorDlg]
Type=0
BaseClass=CDialog
HeaderFile=CalculatorDlg.h
ImplementationFile=CalculatorDlg.cpp
LastObject=IDC_DIVIDE
Filter=D
VirtualFilter=dWC

[CLS:CXPButton]
Type=0
BaseClass=CButton
HeaderFile=XPButton.h
ImplementationFile=XPButton.cpp

[DLG:IDD_ABOUTBOX]
Type=1
Class=CAboutDlg
ControlCount=4
Control1=IDC_STATIC,static,1342177283
Control2=IDC_STATIC,static,1342308480
Control3=IDC_STATIC,static,1342308352
Control4=IDOK,button,1342373889

[DLG:IDD_CALCULATOR_DIALOG]
Type=1
Class=CCalculatorDlg
ControlCount=21
Control1=IDC_POWER,button,1342242816
Control2=IDC_CLEAR,button,1342242816
Control3=IDC_BACKSPACE,button,1342242816
Control4=IDC_EVOLUTION,button,1342242816
Control5=IDC_NUM1,button,1342242816
Control6=IDC_NUM2,button,1342242816
Control7=IDC_NUM3,button,1342242816
Control8=IDC_NUM4,button,1342242816
Control9=IDC_NUM5,button,1342242816
Control10=IDC_NUM6,button,1342242816
Control11=IDC_NUM7,button,1342242816
Control12=IDC_NUM8,button,1342242816
Control13=IDC_NUM9,button,1342242816
Control14=IDC_NUM0,button,1342242816
Control15=IDC_POINT,button,1342242816
Control16=IDC_EQUAL,button,1342242816
Control17=IDC_EDIT,edit,1350631552
Control18=IDC_ADD,button,1342242816
Control19=IDC_REDUCE,button,1342242816
Control20=IDC_MUTIPLY,button,1342242816
Control21=IDC_DIVIDE,button,1342242816

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?