123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- //---------------------------------------------------------------------------
- #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
|