unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Borland.Vcl.StdCtrls, System.ComponentModel, Borland.Vcl.ComCtrls, System.Collections,
Borland.Vcl.ExtCtrls, Microsoft.Win32, System.IO, System.Data.OleDb,
System.Collections.Specialized, System.Text.RegularExpressions, System.Threading, System.Diagnostics,
System.Data.SqlClient, System.Data, comobj;
type
TMainform =
class(TForm)
ProgressBar1: TProgressBar;
Button1: TButton;
Label1: TLabel;
Label2: TLabel;
procedure Button1Click(Sender: TObject);
procedure FormClose(Sender: TObject;
var Action: TCloseAction);
procedure FormCreate(Sender: TObject);
private
adresstimer: TTimer;
protected
procedure WndProc(
var msg : TMessage);
override;
end;
var
Mainform: TMainform;
implementation
procedure TMainform.FormCreate(Sender: TObject);
begin
adresstimer := TTimer.Create(application.MainForm);
adresstimer.OnTimer := Button1Click;
adresstimer.Interval := 60000;
adresstimer.Enabled := true;
end;
procedure TMainform.Button1Click(Sender: TObject);
begin
addlogtext('
Starte abgleich');
end;
end.