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

#ifndef FrmResourceFH
#define FrmResourceFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxLabel.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "dxSkinBlack.hpp"
#include "dxSkinBlue.hpp"
#include "dxSkinsCore.hpp"
#include "cxButtons.hpp"
#include <Menus.hpp>
#include <ExtCtrls.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 "dxSkinSeven.hpp"
#include "dxSkinSharp.hpp"
#include "dxSkinSilver.hpp"
#include "dxSkinStardust.hpp"
#include "VmsDesignerF.h"
//---------------------------------------------------------------------------
class TFrmLang : public TForm
{
__published:	// IDE-managed Components
    TcxLabel *lblCancel;
    TcxLabel *lblEdit;
    TcxLabel *lblDelete;
    TcxLabel *lblModify;
    TcxLabel *lblNew;
    TcxLabel *lblDbErr;
    TcxLabel *lblEidtConfirm;
    TcxButton *BtnEdit2;
    TcxButton *BtnEdit1;
    TcxLabel *lblEditHint1;
    TcxLabel *lblEditHint2;
    TcxLabel *lblClctErr;
    TcxLabel *lblUnknown;
    TcxLabel *lblFill47;
    TcxLabel *lblFill37;
    TcxLabel *lblFill27;
    TcxLabel *lblDbSave;
    TcxLabel *lblFAN1;
    TcxLabel *lblOperF;
    TcxLabel *lblOperD;
    TcxLabel *lblRegErr1;
    TcxLabel *lblRegErr2;
    TcxLabel *lblRegErr3;
    TPanel *Panel1;
    TcxLabel *cxLabel1;
    TcxLabel *cxLabel2;
    TcxLabel *cxLabel3;
    TcxLabel *cxLabel4;
    TcxLabel *cxLabel5;
    TcxLabel *cxLabel6;
    TcxLabel *cxLabel7;
    TcxLabel *cxLabel8;
    TcxLabel *cxLabel9;
    TcxLabel *cxLabel10;
    TcxLabel *cxLabel11;
    TcxLabel *cxLabel12;
    TcxLabel *cxLabel13;
    TcxLabel *cxLabel14;
    TcxLabel *cxLabel15;
    TcxLabel *cxLabel16;
    TcxLabel *cxLabel17;
    TcxLabel *cxLabel18;
    TcxLabel *cxLabel19;
    TcxLabel *cxLabel20;
    TcxLabel *cxLabel21;
    TcxLabel *cxLabel22;
    TcxLabel *cxLabel23;
    TcxLabel *cxLabel24;
    TcxLabel *cxLabelReq;
    TcxLabel *cxLabelRes;
    TcxLabel *lblMissing;
    TcxLabel *lblUp;
    TcxLabel *lblDown;
    TcxLabel *lblEA;
    TcxLabel *lblQryEnd;
    TcxLabel *lblQrySel;
    TcxLabel *lblHEAT0;
    TcxLabel *lblHEAT1;
    TcxLabel *lblPOWER0;
    TcxLabel *lblPOWER1;
    TcxLabel *lblOperA;
    TcxLabel *lblWebCam;
    TcxLabel *lblCMS0;
    TcxLabel *lblCMS1;
    TcxLabel *lblNull;
    TcxLabel *lblCDS1;
    TcxLabel *lblCDS0;
    TcxLabel *lblComm1;
    TcxLabel *lblComm0;
    TcxLabel *lblComm2;
    TcxLabel *lblHamTemp;
    TcxLabel *lblSch0;
    TcxLabel *lblSch1;
    TcxLabel *lblNecessary;
    TcxLabel *lblLTC1;
    TcxLabel *lblLTC2;
    TcxLabel *lblLTC3;
    TcxLabel *lblLTC0;
    TcxLabel *lblSch2;
    TcxLabel *lblSch3;
    TcxLabel *lblSch4;
    TcxLabel *lblSch5;
    TcxLabel *lblNmVms;
    TcxLabel *lblForm11;
    TcxLabel *lblForm12;
    TcxLabel *lblForm13;
    TcxLabel *lblForm14;
    TcxLabel *lblFill91;
    TcxLabel *lblFill92;
    TcxLabel *lblFill17;
    TcxLabel *lblFontName;
    TcxLabel *lblInc1;
    TcxLabel *lblInc2;
    TcxLabel *lblInc3;
    TcxLabel *lblInc4;
    TcxLabel *lblInc0;
    TcxLabel *lblState0;
    TcxLabel *lblState1;
    TcxLabel *lblNoSchedule;
    TcxLabel *lblVUTN;
    TcxLabel *lblVUTF;
    TcxLabel *lblFAN0;
    TcxLabel *lblNoForm;
    TcxLabel *lblSchErr1;
    TcxLabel *lblText1;
    TcxLabel *lblText2;
    TcxLabel *lblText3;
    TcxLabel *lblImage1;
    TcxLabel *lblImage2;
    TcxLabel *lblImage3;
    TcxLabel *lblImage4;
    TcxLabel *lblImage5;
    TcxLabel *lblImage6;
    TcxLabel *lblImage7;
    TcxLabel *lblImage8;
    TcxLabel *lblImage9;
    TcxLabel *lblImage10;
    TcxLabel *lblImage13;
    TcxLabel *lblImage11;
    TcxLabel *lblImage12;
    TcxLabel *lblSch6;
    TcxLabel *lblSch7;
    TcxLabel *lblSch8;
    TcxLabel *lblSch9;
    TcxLabel *lblSch10;
    TPanel *PnlEditForm;
    VmsDesigner *VmsDesigner1;
    TImage *ImgForm;
    TListBox *LstVmsFormId;
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall FormCreate(TObject *Sender);
private:	// User declarations
public:
    int  __fastcall CheckImageUseCount(String ASYMB_LIB_NMBR);
    bool __fastcall DelVmsImage(String ASYMB_LIB_NMBR, bool ADelIfsc);
    bool __fastcall GetNextVmsImgeId(int &ANmbr, int AFromId, int AToId);
    bool __fastcall UpdateVmsImage(String ASYMB_LIB_NMBR, String ASYMB_EXPL, TImage *AImage=NULL, String ASYMB_TYPE="");

    bool              FFontInit;
    TVmsFormDesigner *m_pEdtDesigner;
    void __fastcall UpdateVmsFormImage(String ASYMB_LIB_NMBR, String AOldWidth, String AOldHeight, String ANewWidth, String ANewHeight);
    void __fastcall UpdateVmsFormImageType(String ASYMB_LIB_NMBR, String AOldWidth, String AOldHeight, String ANewWidth, String ANewHeight);
    void __fastcall UpdateVmsFormImageBlob(String AVMS_FORM_ID);
    bool __fastcall GetVmsFormImage(TImage *AImage, String AVMS_FORM_ID);

public:
    void ITSSkin_ButtonClick(TcxButton *ASearch, TcxButton *AEdit, TcxButton *AAdd, TcxButton *ADel, TcxButton *AApply);

public:		// User declarations
    __fastcall TFrmLang(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFrmLang *FrmLang;
//---------------------------------------------------------------------------
#endif
