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

#ifndef FrmPswdChngeFH
#define FrmPswdChngeFH
//---------------------------------------------------------------------------
#include <vcl.h>
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
#include <jpeg.hpp>
#include <Menus.hpp>
//---------------------------------------------------------------------------
#include "ITSDbF.h"
#include "cxButtons.hpp"
#include "cxGraphics.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "dxSkinBlack.hpp"
#include "dxSkinBlue.hpp"
#include "dxSkinCaramel.hpp"
#include "dxSkinCoffee.hpp"
#include "dxSkinDarkRoom.hpp"
#include "dxSkinDarkSide.hpp"
#include "dxSkinFoggy.hpp"
#include "dxSkinGlassOceans.hpp"
#include "dxSkiniMaginary.hpp"
#include "dxSkinLilian.hpp"
#include "dxSkinLiquidSky.hpp"
#include "dxSkinLondonLiquidSky.hpp"
#include "dxSkinMcSkin.hpp"
#include "dxSkinMoneyTwins.hpp"
#include "dxSkinOffice2007Black.hpp"
#include "dxSkinOffice2007Blue.hpp"
#include "dxSkinOffice2007Green.hpp"
#include "dxSkinOffice2007Pink.hpp"
#include "dxSkinOffice2007Silver.hpp"
#include "dxSkinOffice2010Black.hpp"
#include "dxSkinOffice2010Blue.hpp"
#include "dxSkinOffice2010Silver.hpp"
#include "dxSkinsCore.hpp"
#include "dxSkinSeven.hpp"
#include "dxSkinSharp.hpp"
#include "dxSkinSilver.hpp"
#include "dxSkinStardust.hpp"
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
class TFRMPswdChnge : public TForm
{
__published:	// IDE-managed Components
    TPanel *Panel3;
    TPanel *Panel1;
    TPanel *Panel2;
    TPanel *Panel4;
    TEdit *EdUserID;
    TEdit *EdPswd;
    TEdit *EdNewPswd;
    TEdit *EdCnfmNewPswd;
    TShape *ShpList;
    TShape *ShpInfo;
    TcxButton *BtnConfirm;
    TcxButton *BtnClose;
    TPanel *Panel5;
    TPanel *Panel6;
    TPanel *Panel7;
    TPanel *Panel8;
    TPanel *Panel9;
    void __fastcall btnPswdChngeClick(TObject *Sender);
    void __fastcall btnCloseClick(TObject *Sender);
    void __fastcall FormCreate(TObject *Sender);
    void __fastcall ShpCaptionMouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
    void __fastcall EdUserIDKeyPress(TObject *Sender, wchar_t &Key);
    void __fastcall EdPswdKeyPress(TObject *Sender, wchar_t &Key);
    void __fastcall EdNewPswdKeyPress(TObject *Sender, wchar_t &Key);
    void __fastcall EdCnfmNewPswdKeyPress(TObject *Sender, wchar_t &Key);
private:	// User declarations
public:		// User declarations
    __fastcall TFRMPswdChnge(TComponent* Owner);

    bool __fastcall ValidateInputField(void);
	void __fastcall SetLocalSkin();
    void __fastcall CreateParams(TCreateParams &Params);
    int __fastcall UpdateUserPassword(String strUserID, String strNewPswd);
public:
};
//---------------------------------------------------------------------------
extern PACKAGE TFRMPswdChnge *FRMPswdChnge;
//---------------------------------------------------------------------------
#endif
