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

#ifndef InUserH
#define InUserH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <DB.hpp>
#include <DBCtrls.hpp>
#include <DBGrids.hpp>
#include <DBTables.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <Buttons.hpp>
//---------------------------------------------------------------------------
class TInUserForm : public TForm
{
__published:	// IDE-managed Components
        TDataSource *DataSource1;
        TQuery *Query1;
        TStringGrid *CuSG;
        TPanel *Panel1;
        TLabeledEdit *IdLE;
        TLabeledEdit *NameLE;
        TLabeledEdit *PhonLE;
        TLabeledEdit *AddLE;
        TRadioGroup *CalRG;
        TRadioGroup *DataRG;
        TRadioGroup *JsRG;
        TRadioGroup *PartRG;
        TRadioGroup *SellerRG;
        TRadioGroup *UserRG;
        TRadioGroup *ConfigRG;
        TBitBtn *SaveBt;
        TBitBtn *ReBt;
        TRadioGroup *CustomRG;
        TLabeledEdit *PasswdLE;
        TLabeledEdit *HpLE;
        TBitBtn *ReReadBt;
        TBitBtn *SearchBt;
        TLabeledEdit *SearchLE;
        void __fastcall FormActivate(TObject *Sender);
        void __fastcall SaveBtClick(TObject *Sender);
        void __fastcall CuSGDblClick(TObject *Sender);
        void __fastcall CuSGKeyPress(TObject *Sender, char &Key);
        void __fastcall ReBtClick(TObject *Sender);
        void __fastcall CuSGKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
        void __fastcall ReReadBtClick(TObject *Sender);
        void __fastcall SearchBtClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TInUserForm(TComponent* Owner);
        void DBRead(String id);
};
//---------------------------------------------------------------------------
extern PACKAGE TInUserForm *InUserForm;
//---------------------------------------------------------------------------
#endif
