mortcalc.odl

来自「<win2k程序设计>的源码.麦格劳希尔,清华出版.作者:Raj R」· ODL 代码 · 共 48 行

ODL
48
字号
// MortCalc.odl : type library source for MortCalc.exe

// This file will be processed by the MIDL compiler to produce the
// type library (MortCalc.tlb).

[ uuid(0109A0D4-1969-11D1-97B2-000000000000), version(1.0) ]
library MortCalc
{
	importlib("stdole32.tlb");
	

	//  Primary dispatch interface for CMortCalcDoc
	
	[ uuid(0109A0D5-1969-11D1-97B2-000000000000) ]
	dispinterface IMortCalc
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CMortCalcDoc)
			[id(1)] float Principal;
			[id(2)] float Rate;
			[id(3)] long Period;
			[id(4)] float Payment;
			//}}AFX_ODL_PROP
			
		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CMortCalcDoc)
			[id(5)] void Reset();
			[id(6)] void SetLoanInfo(float Principal, float Rate, long Period);
			//}}AFX_ODL_METHOD

	};

	//  Class information for CMortCalcDoc
	
	[ uuid(0109A0D3-1969-11D1-97B2-000000000000) ]
	coclass Document
	{
		[default] dispinterface IMortCalc;
	};

	//{{AFX_APPEND_ODL}}
	//}}AFX_APPEND_ODL}}
};

⌨️ 快捷键说明

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