bill.dpr

来自「工商收费系统,主要是管理非税收收入的费用的管理」· DPR 代码 · 共 69 行

DPR
69
字号
library Bill;

{ Important note about DLL memory management: ShareMem must be the
  first unit in your library's USES clause AND your project's (select
  Project-View Source) USES clause if your DLL exports any procedures or
  functions that pass strings as parameters or function results. This
  applies to all strings passed to and from your DLL--even those that
  are nested in records and classes. ShareMem is the interface unit to
  the BORLNDMM.DLL shared memory manager, which must be deployed along
  with your DLL. To avoid using BORLNDMM.DLL, pass string information
  using PChar or ShortString parameters. }

uses
  Forms,
  SysUtils,
  Classes,
  GlobalLibUnit in '..\..\..\科海万能票据V3.0\科海万能票据V3.0Dev\杭州票据源程序\template\GlobalLibUnit.pas',
  A0107F002Unit in '..\..\..\科海万能票据V3.0\科海万能票据V3.0Dev\杭州票据源程序\template\A0107F002Unit.pas' {A0107F002Frm},
  DataLinkUnit in '..\..\..\科海万能票据V3.0\科海万能票据V3.0Dev\杭州票据源程序\template\DataLinkUnit.pas' {DMMain: TDataModule},
  F007Unit in '..\..\..\科海万能票据V3.0\科海万能票据V3.0Dev\杭州票据源程序\template\F007Unit.pas' {F007Frm},
  A0106F002Unit in '..\..\..\科海万能票据V3.0\科海万能票据V3.0Dev\杭州票据源程序\template\A0106F002Unit.pas' {A0106F002Frm},
  EdtBillUnit in 'EdtBillUnit.pas' {A04040F002Frm},
  BillUnit in 'BillUnit.pas' {A04040Rep},
  LeftAndTopUnit in '..\..\..\科海万能票据V3.0\科海万能票据V3.0Dev\杭州票据源程序\TEMPLATE\LeftAndTopUnit.pas' {LeftAndTopFrm};

{$R *.RES}
function EditCheque(strMain:string;gstrOperaterName,gstrInputMethod:string;strDatabase:string;intLeft,intTop:integer):string;
begin
   Application.Initialize;
   gstrDBPath := strDatabase;
   gintleft:=intleft;
   ginttop:=inttop;
   Application.CreateForm(TDMMain, DMMain);
  Application.CreateForm(TA04040F002Frm, A04040F002Frm);
  A04040F002Frm.gstrOperaterName:=gstrOperaterName;
   A04040F002Frm.gstrInputMethod:=gstrInputMethod;
   A04040F002Frm.Tag:=0;
   A04040F002Frm.striniHelpName:=ExtractFilePath(Application.EXEName)+'\ini\Help.ini';;
   A04040F002Frm.strEditArray[0]:=strMain;
   A04040F002Frm.ShowModal;

   A04040F002Frm.Free;
   DMMain.Free;
end;

function AddCheque(gstrOperaterName,gstrInputMethod:string;strDatabase:string;intLeft,intTop:integer):string;
begin
   Application.Initialize;
   gstrDBPath := strDatabase;
   gintleft:=intleft;
   ginttop:=inttop;
   Application.CreateForm(TDMMain, DMMain);
   Application.CreateForm(TA04040F002Frm, A04040F002Frm);
    A04040F002Frm.gstrOperaterName:=gstrOperaterName;
   A04040F002Frm.gstrInputMethod:=gstrInputMethod;
   A04040F002Frm.Tag:=1;
   A04040F002Frm.striniHelpName:=ExtractFilePath(Application.EXEName)+'\ini\Help.ini';;
   A04040F002Frm.ShowModal;

   A04040F002Frm.Free;
   DMMain.Free;
end;}

Exports EditCheque,AddCheque;


begin
end.

⌨️ 快捷键说明

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