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

#ifndef CFG0000MFH
#define CFG0000MFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Graphics.hpp>
#include <ExtCtrls.hpp>
#include <ComCtrls.hpp>
#include <Menus.hpp>
#include "cxButtonEdit.hpp"
#include "cxButtons.hpp"
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGroupBox.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "cxMaskEdit.hpp"
#include "cxTextEdit.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"
#include <Dialogs.hpp>
#include "cxCheckBox.hpp"
#include "cxSpinEdit.hpp"
#include "cxClasses.hpp"
#include "cxCustomData.hpp"
#include "cxData.hpp"
#include "cxDataStorage.hpp"
#include "cxDBData.hpp"
#include "cxFilter.hpp"
#include "cxGrid.hpp"
#include "cxGridCustomTableView.hpp"
#include "cxGridCustomView.hpp"
#include "cxGridDBTableView.hpp"
#include "cxGridLevel.hpp"
#include "cxGridTableView.hpp"
#include "cxStyles.hpp"
#include "dxSkinscxPCPainter.hpp"
#include <DB.hpp>
#include "dxSkinsForm.hpp"
//---------------------------------------------------------------------------

class TCFG0000M : public TForm
{
__published:	// IDE-managed Components
    TTimer *TmrShow;
    TShape *ShpTitle;
    TcxButton *BtnClose;
    TLabel *LblCaption;
    TShape *ShpList;
    TEdit *EdFocus;
    TcxButton *BtnSave;
    TOpenDialog *OpenDialog1;
    TPanel *Panel1;
    TcxGroupBox *cxGroupBox4;
    TLabel *Label1;
    TImage *ImgDesc01;
    TLabel *Label2;
    TImage *ImgDesc02;
    TcxTextEdit *EdCenterId;
    TcxTextEdit *EdCenterName;
    TcxGroupBox *cxGroupBox1;
    TLabel *Label36;
    TImage *ImgDesc03;
    TcxButtonEdit *EdGisFile;
    TcxGroupBox *cxGroupBox2;
    TImage *ImgDesc04;
    TLabel *Label3;
    TImage *ImgDesc05;
    TLabel *Label4;
    TImage *ImgDesc07;
    TLabel *Label5;
    TLabel *Label6;
    TImage *ImgDesc06;
    TcxTextEdit *EdDbProvider;
    TcxTextEdit *EdDbUser;
    TcxTextEdit *EdDbSource;
    TcxTextEdit *EdDbPasswd;
    TcxGroupBox *cxGroupBox3;
    TLabel *Label7;
    TImage *ImgDesc08;
    TcxTextEdit *EdProcessId;
    TcxGroupBox *cxGroupBox5;
    TcxCheckBox *ChkAutoLogout;
    TLabel *Label11;
    TImage *Image1;
    TcxSpinEdit *SeInterevalMin;
    TImage *ImgDesc09;
    TLabel *Label8;
    TLabel *Label9;
    TImage *ImgDesc10;
    TImage *ImgDesc11;
    TLabel *Label10;
    TcxTextEdit *EdTaskId;
    TcxTextEdit *EdNodeId;
    TcxTextEdit *EdSequence;
    TdxSkinController *dxSkinController1;
    TcxButton *BtnDbTest;
    TcxCheckBox *ChkSaveForm;
    void __fastcall FormCreate(TObject *Sender);
    void __fastcall FormShow(TObject *Sender);
    void __fastcall TmrShowTimer(TObject *Sender);
    void __fastcall BtnCloseClick(TObject *Sender);
    void __fastcall BtnSaveClick(TObject *Sender);
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall EdGisFilePropertiesButtonClick(TObject *Sender, int AButtonIndex);
    void __fastcall BtnDbTestClick(TObject *Sender);
private:	// User declarations
    void __fastcall CommClose();
    String          FTitle;
    String          FIniFile;

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

    void __fastcall RefreshData();
    String __fastcall GetConfigValue(String sSection, String sIdent, String sDefVal);
    void __fastcall SetConfigValue(String sSection, String sIdent, String sSetVal);    
    __property String IniFile = {read=FIniFile, write=FIniFile};
};
//---------------------------------------------------------------------------
extern PACKAGE TCFG0000M *CFG0000M;
//---------------------------------------------------------------------------

#endif

