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

#ifndef capg_gfactH
#define capg_gfactH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <Db.hpp>
#include <DBTables.hpp>
#include <DB.hpp>
//---------------------------------------------------------------------------
class TgFact : public TForm
{
__published:	// IDE-managed Components
        TPanel *Panel1;
        TLabel *Label4;
        TBevel *Bevel1;
        TMemo *Memo1;
        TBitBtn *BitBtn1;
        TProgressBar *ProgressBar1;
        TComboBox *ComboBox1;
        TComboBox *ComboBox2;
        TTable *TbAbonados;
        TDataSource *DsAbonados;
        TTable *TbFacturas;
        void __fastcall BitBtn1Click(TObject *Sender);
private:	// User declarations
        Currency ImportesPeriodo[4];
        TDateTime __fastcall TgFact::DiasEnPeriodoDesde( TDateTime fechaE );
        Currency __fastcall TgFact::ImporteDelPeriodo();
public:		// User declarations
        __fastcall TgFact(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TgFact *gFact;
//---------------------------------------------------------------------------
#endif
