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

#ifndef login_dlgH
#define login_dlgH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <jpeg.hpp>

//---------------------------------------------------------------------------
class Tlogin : public TForm
{
__published:	// IDE-managed Components
        TImage *Image1;
        TLabel *lb_login;
        TLabel *lb_pass;
        TEdit *user;
        TEdit *pass;
        TBitBtn *BitBtn1;
        TBitBtn *BitBtn2;
        void __fastcall BitBtn1Click(TObject *Sender);
        void __fastcall FormShow(TObject *Sender);
        void __fastcall BitBtn2Click(TObject *Sender);
private:	// User declarations
        bool __fastcall validateUserPass(AnsiString user, AnsiString pass);
public:		// User declarations
        __fastcall Tlogin(TComponent* Owner);
        bool auth;
        
};
//---------------------------------------------------------------------------
extern PACKAGE Tlogin *login;
//---------------------------------------------------------------------------
#endif
