2024-07-07 09:35:27 +08:00
|
|
|
unit U_BaseInput;
|
|
|
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
uses
|
|
|
|
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
|
|
|
|
Vcl.Controls, Vcl.Forms, Vcl.Dialogs,U_WindowFormdesign, Data.DB,
|
2024-10-12 10:45:24 +08:00
|
|
|
Data.Win.ADODB, System.ImageList, Vcl.ImgList, Vcl.ToolWin, Vcl.ComCtrls,
|
|
|
|
cxImageList, cxGraphics;
|
2024-07-07 09:35:27 +08:00
|
|
|
|
|
|
|
type
|
|
|
|
TfrmBaseInput = class(TForm)
|
|
|
|
ADOQueryBaseCmd: TADOQuery;
|
|
|
|
ADOQueryBaseTemp: TADOQuery;
|
|
|
|
ImageList_new32: TImageList;
|
2024-10-12 10:45:24 +08:00
|
|
|
cxImageList_bar: TcxImageList;
|
2024-07-07 09:35:27 +08:00
|
|
|
procedure FormCreate(Sender: TObject);
|
|
|
|
procedure FormDestroy(Sender: TObject);
|
|
|
|
procedure FormShow(Sender: TObject);
|
|
|
|
private
|
|
|
|
fWindowDesign:TWindowFormdesign;
|
|
|
|
public
|
|
|
|
{ Public declarations }
|
|
|
|
end;
|
|
|
|
|
|
|
|
var
|
|
|
|
frmBaseInput: TfrmBaseInput;
|
|
|
|
|
|
|
|
|
|
|
|
implementation
|
|
|
|
uses
|
2024-10-12 10:45:24 +08:00
|
|
|
U_RTFun ,U_globalVar,U_dataLink;
|
2024-07-07 09:35:27 +08:00
|
|
|
{$R *.dfm}
|
|
|
|
|
|
|
|
procedure TfrmBaseInput.FormCreate(Sender: TObject);
|
|
|
|
begin
|
|
|
|
fWindowDesign:=TWindowFormDeSign.Create();
|
|
|
|
end;
|
|
|
|
|
|
|
|
procedure TfrmBaseInput.FormDestroy(Sender: TObject);
|
|
|
|
begin
|
|
|
|
fWindowDesign.free;
|
|
|
|
end;
|
|
|
|
|
|
|
|
procedure TfrmBaseInput.FormShow(Sender: TObject);
|
|
|
|
begin
|
2024-10-12 10:45:24 +08:00
|
|
|
if trim(gStructVer)='' then
|
2024-10-22 09:36:09 +08:00
|
|
|
fWindowDesign.FormStyleInit1(self,0,ADOQueryBaseTemp,ADOQueryBaseCmd)
|
2024-10-12 10:45:24 +08:00
|
|
|
else
|
|
|
|
fWindowDesign.FormStyleInit(self,0,ADOQueryBaseTemp,ADOQueryBaseCmd) ;
|
2024-07-07 09:35:27 +08:00
|
|
|
end;
|
|
|
|
|
|
|
|
end.
|