//---------------------------------------------------------------------------

#ifndef ProgressFormH
#define ProgressFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
//---------------------------------------------------------------------------
class TProgressForm : public TForm
{
__published:	// IDE-managed Components
    TProgressBar *ProgressBar;
    TButton *ButtonStop;
    void __fastcall ButtonStopClick(TObject* Sender);
    void __fastcall FormCloseQuery(TObject* Sender, bool& CanClose);
private:	// User declarations
public:		// User declarations
        __fastcall TProgressForm(TComponent* Owner, TThread* Thread);
public:
   bool IsClosed;
private:
   TThread* FThread;
};
//---------------------------------------------------------------------------
extern PACKAGE TProgressForm *ProgressForm;
//---------------------------------------------------------------------------
#endif
