71 lines
2.0 KiB
ObjectPascal
71 lines
2.0 KiB
ObjectPascal
![]() |
unit U_DataLink;
|
|||
|
|
|||
|
interface
|
|||
|
|
|||
|
uses
|
|||
|
SysUtils, Classes, DB, ADODB, ImgList, Controls, cxStyles, cxLookAndFeels,
|
|||
|
Windows,Messages,forms,OleCtnrs,DateUtils, cxClasses;
|
|||
|
var
|
|||
|
DConString:String; {ȫ<><C8AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD>}
|
|||
|
server, dtbase, user, pswd: String; {<7B><><EFBFBD>ݿ<EFBFBD><DDBF><EFBFBD><EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD>}
|
|||
|
DCurHandle:hwnd; //<2F><>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
DName:string ; //#<23>û<EFBFBD><C3BB><EFBFBD>#//
|
|||
|
DCode:string ; //#<23>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD>#//
|
|||
|
Ddatabase:string; //#<23><><EFBFBD>ݿ<EFBFBD><DDBF><EFBFBD><EFBFBD><EFBFBD>#//
|
|||
|
DTitCaption:string; //#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>#//
|
|||
|
DParameters1,DParameters2,DParameters3,DParameters4,DParameters5:string;// <20>ⲿ<EFBFBD><E2B2BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
DParameters6,DParameters7,DParameters8,DParameters9,DParameters10:string;//<2F>ⲿ<EFBFBD><E2B2BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
OldDllApp:Tapplication; //<2F><><EFBFBD><EFBFBD>ԭ<EFBFBD>о<EFBFBD><D0BE><EFBFBD>
|
|||
|
NewDllApp: Tapplication;//<2F><>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD>
|
|||
|
MainApplication: Tapplication ;
|
|||
|
DFormCode:integer; //<2F><>ǰ<EFBFBD><C7B0><EFBFBD>ں<EFBFBD>
|
|||
|
IsDelphiLanguage:integer;
|
|||
|
DServerDate:TdateTime; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>
|
|||
|
DCompany:string; //<2F><>˾
|
|||
|
type
|
|||
|
TDataLink_PBMDDJ = class(TDataModule)
|
|||
|
AdoDataLink: TADOQuery;
|
|||
|
ADOLink: TADOConnection;
|
|||
|
ThreeImgList: TImageList;
|
|||
|
ThreeLookAndFeelCol: TcxLookAndFeelController;
|
|||
|
ThreeColorBase: TcxStyleRepository;
|
|||
|
SHuangSe: TcxStyle;
|
|||
|
SkyBlue: TcxStyle;
|
|||
|
Default: TcxStyle;
|
|||
|
QHuangSe: TcxStyle;
|
|||
|
Red: TcxStyle;
|
|||
|
FontBlue: TcxStyle;
|
|||
|
TextSHuangSe: TcxStyle;
|
|||
|
FonePurple: TcxStyle;
|
|||
|
FoneClMaroon: TcxStyle;
|
|||
|
FoneRed: TcxStyle;
|
|||
|
RowColor: TcxStyle;
|
|||
|
handBlack: TcxStyle;
|
|||
|
cxBlue: TcxStyle;
|
|||
|
SHuangSeCu: TcxStyle;
|
|||
|
procedure DataModuleDestroy(Sender: TObject);
|
|||
|
private
|
|||
|
{ Private declarations }
|
|||
|
public
|
|||
|
{ Public declarations }
|
|||
|
end;
|
|||
|
TMakebar = procedure(ucData:pchar;nDataLen:integer;nErrLevel:integer;nMask:integer;nBarEdition:integer;szBmpFileName:pchar;nScale:integer);stdcall;
|
|||
|
TMixtext = procedure( szSrcBmpFileName:PChar;szDstBmpFileName:PChar;sztext:PChar;fontsize,txtheight,hmargin,vmargin,txtcntoneline:integer);stdcall;
|
|||
|
var
|
|||
|
DataLink_PBMDDJ: TDataLink_PBMDDJ;
|
|||
|
|
|||
|
implementation
|
|||
|
{$R *.dfm}
|
|||
|
|
|||
|
|
|||
|
procedure TDataLink_PBMDDJ.DataModuleDestroy(Sender: TObject);
|
|||
|
begin
|
|||
|
DataLink_PBMDDJ:=nil;
|
|||
|
end;
|
|||
|
|
|||
|
end.
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|