📄 accounttrans.pas
字号:
unit AccountTrans;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls,
Forms, Dialogs,Account,AccountCode,AccessDB;
type
IAccountTrans = interface(IInterface)
function Excute(aAccount:TAccount): Boolean; stdcall;
end;
TAccountTrans = class(TObject, IAccountTrans)
public
constructor Create(aDB:IAccessDB);
function Excute(aAccount:TAccount): Boolean; virtual; stdcall;
end;
TAccountTransItem = class(TAccountTrans, IAccountTrans)
public
function Excute(aAccount:TAccount): Boolean; override; stdcall;
end;
TAccountTransTotal = class(TAccountTrans, IAccountTrans)
public
function Excute(aAccount:TAccount): Boolean; override; stdcall;
end;
implementation
{
******************************** TAccountTrans *********************************
}
constructor TAccountTrans.Create(aDB:IAccessDB);
begin
end;
function TAccountTrans.Excute(aAccount:TAccount): Boolean;
begin
{ TODO -cMM : Interface wizard: Implement interface method }
end;
{
****************************** TAccountTransItem *******************************
}
function TAccountTransItem.Excute(aAccount:TAccount): Boolean;
begin
Result := inherited Excute(aAccount);
end;
{
****************************** TAccountTransTotal ******************************
}
function TAccountTransTotal.Excute(aAccount:TAccount): Boolean;
begin
Result := inherited Excute(aAccount);
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -