1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
program SuiviPaiements;
uses
...
FonctionsCommunes in '..\FonctionsCommunes.pas',
MainUnit in 'MainUnit.pas' {Main},
UnitDatas in 'UnitDatas.pas' {Datas: TDataModule},
UnitParam in 'UnitParam.pas' {FormParam},
UnitParamConnexion in 'UnitParamConnexion.pas' {FormConnexion},
UnitPaiements in 'UnitPaiements.pas' {FormPaiement},
UnitParamSQL in 'UnitParamSQL.pas' {FParamSQL},
UnitSplash in '..\UnitSplash.pas' {FormSplash},
UnitHistorique in 'UnitHistorique.pas' {FormHistorique},
UnitPass in 'UnitPass.pas' {FormPass},
UnitRelance in 'UnitRelance.pas' {FormRelance},
UnitTableauBord in 'UnitTableauBord.pas' {FormTableauBord},
ListViewSearchAdapter in '..\ListViewSearchAdapter.pas',
SearchListViewInterface in '..\SearchListViewInterface.pas';
{$R *.res}
begin
Application.Initialize;
FormPass := TFormPass.Create(nil) ; // saisie + controle mot de passe (3 essais)
if FormPass.ShowModal=1 then
begin
FormPass.Free;
Application.CreateForm(TFormSplash, FormSplash); // splashscreen suite, simple temporisation mais qui va charger la forme principale du projet
Application.Run;
end
else FormPass.Free;
end. |
Partager