first commit (2012-02-01)

This commit is contained in:
2021-09-01 19:41:31 +02:00
commit 918912ee10
80 changed files with 16890 additions and 0 deletions

38
src/login_dlg.h Normal file
View File

@ -0,0 +1,38 @@
//---------------------------------------------------------------------------
#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