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

#ifndef VDSM101MFH
#define VDSM101MFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <DB.hpp>
#include <DBClient.hpp>
#include <FMTBcd.hpp>
#include <Provider.hpp>
#include <SqlExpr.hpp>
#include <Menus.hpp>
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
#include <ComCtrls.hpp>
#include <ADODB.hpp>
//---------------------------------------------------------------------------
#include "DataTypesF.h"
#include "cxButtons.hpp"
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxDropDownEdit.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGroupBox.hpp"
#include "cxLabel.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "cxMaskEdit.hpp"
#include "cxSpinEdit.hpp"
#include "cxTextEdit.hpp"
#include "dxSkinBlue.hpp"
#include "dxSkinsCore.hpp"
//---------------------------------------------------------------------------

class TVDSM101M : public TForm
{
__published:	// IDE-managed Components
    TcxButton *BtnClose;
    TEdit *EdFocus;
    TcxGroupBox *cxGroupBox1;
    TShape *ShpList;
    TcxButton *BtnSave;
    TLabel *Label1;
    TImage *ImgDesc01;
    TImage *ImgDesc27;
    TLabel *Label3;
    TLabel *Label2;
    TImage *ImgDesc28;
    TcxComboBox *Cb_CMRA_DRCT_CD;
    TcxSpinEdit *Se_VDS_CMRA_NO;
    TcxSpinEdit *Se_DETECT_LANE;
    TcxTextEdit *EdCmraNm;
    TcxComboBox *CbCCAM;
    TcxLabel *cxLabel3;
    TImage *ImgDesc03;
    TcxTextEdit *Ed_ROAD_NAME;
    TLabel *Label4;
    TcxTextEdit *Ed_CROSS_NAME;
    TLabel *Label5;
    TLabel *Label6;
    TcxTextEdit *Ed_DIR_NAME;
    TLabel *Label7;
    void __fastcall FormShow(TObject *Sender);
    void __fastcall BtnCloseClick(TObject *Sender);
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall BtnSaveClick(TObject *Sender);
private:	// User declarations
    void __fastcall CommClose();

public:
    int     FDbMode;
    bool    FUpdated;

public:		// User declarations
    __fastcall TVDSM101M(TComponent* Owner);

    String __fastcall GetCCAM_NMBR();
};
//---------------------------------------------------------------------------
extern PACKAGE TVDSM101M *VDSM101M;
//---------------------------------------------------------------------------

#endif

