CFG0000MF.h 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. //---------------------------------------------------------------------------
  2. #ifndef CFG0000MFH
  3. #define CFG0000MFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <Graphics.hpp>
  10. #include <ExtCtrls.hpp>
  11. #include <ComCtrls.hpp>
  12. #include <Menus.hpp>
  13. #include "cxButtonEdit.hpp"
  14. #include "cxButtons.hpp"
  15. #include "cxContainer.hpp"
  16. #include "cxControls.hpp"
  17. #include "cxEdit.hpp"
  18. #include "cxGraphics.hpp"
  19. #include "cxGroupBox.hpp"
  20. #include "cxLookAndFeelPainters.hpp"
  21. #include "cxLookAndFeels.hpp"
  22. #include "cxMaskEdit.hpp"
  23. #include "cxTextEdit.hpp"
  24. #include "dxSkinBlack.hpp"
  25. #include "dxSkinBlue.hpp"
  26. #include "dxSkinCaramel.hpp"
  27. #include "dxSkinCoffee.hpp"
  28. #include "dxSkinDarkRoom.hpp"
  29. #include "dxSkinDarkSide.hpp"
  30. #include "dxSkinFoggy.hpp"
  31. #include "dxSkinGlassOceans.hpp"
  32. #include "dxSkiniMaginary.hpp"
  33. #include "dxSkinLilian.hpp"
  34. #include "dxSkinLiquidSky.hpp"
  35. #include "dxSkinLondonLiquidSky.hpp"
  36. #include "dxSkinMcSkin.hpp"
  37. #include "dxSkinMoneyTwins.hpp"
  38. #include "dxSkinOffice2007Black.hpp"
  39. #include "dxSkinOffice2007Blue.hpp"
  40. #include "dxSkinOffice2007Green.hpp"
  41. #include "dxSkinOffice2007Pink.hpp"
  42. #include "dxSkinOffice2007Silver.hpp"
  43. #include "dxSkinOffice2010Black.hpp"
  44. #include "dxSkinOffice2010Blue.hpp"
  45. #include "dxSkinOffice2010Silver.hpp"
  46. #include "dxSkinsCore.hpp"
  47. #include "dxSkinSeven.hpp"
  48. #include "dxSkinSharp.hpp"
  49. #include "dxSkinSilver.hpp"
  50. #include "dxSkinStardust.hpp"
  51. #include <Dialogs.hpp>
  52. #include "cxCheckBox.hpp"
  53. #include "cxSpinEdit.hpp"
  54. #include "cxClasses.hpp"
  55. #include "cxCustomData.hpp"
  56. #include "cxData.hpp"
  57. #include "cxDataStorage.hpp"
  58. #include "cxDBData.hpp"
  59. #include "cxFilter.hpp"
  60. #include "cxGrid.hpp"
  61. #include "cxGridCustomTableView.hpp"
  62. #include "cxGridCustomView.hpp"
  63. #include "cxGridDBTableView.hpp"
  64. #include "cxGridLevel.hpp"
  65. #include "cxGridTableView.hpp"
  66. #include "cxStyles.hpp"
  67. #include "dxSkinscxPCPainter.hpp"
  68. #include <DB.hpp>
  69. #include "dxSkinsForm.hpp"
  70. //---------------------------------------------------------------------------
  71. class TCFG0000M : public TForm
  72. {
  73. __published: // IDE-managed Components
  74. TTimer *TmrShow;
  75. TShape *ShpTitle;
  76. TcxButton *BtnClose;
  77. TLabel *LblCaption;
  78. TShape *ShpList;
  79. TEdit *EdFocus;
  80. TcxButton *BtnSave;
  81. TOpenDialog *OpenDialog1;
  82. TPanel *Panel1;
  83. TcxGroupBox *cxGroupBox4;
  84. TLabel *Label1;
  85. TImage *ImgDesc01;
  86. TLabel *Label2;
  87. TImage *ImgDesc02;
  88. TcxTextEdit *EdCenterId;
  89. TcxTextEdit *EdCenterName;
  90. TcxGroupBox *cxGroupBox1;
  91. TLabel *Label36;
  92. TImage *ImgDesc03;
  93. TcxButtonEdit *EdGisFile;
  94. TcxGroupBox *cxGroupBox2;
  95. TImage *ImgDesc04;
  96. TLabel *Label3;
  97. TImage *ImgDesc05;
  98. TLabel *Label4;
  99. TImage *ImgDesc07;
  100. TLabel *Label5;
  101. TLabel *Label6;
  102. TImage *ImgDesc06;
  103. TcxTextEdit *EdDbProvider;
  104. TcxTextEdit *EdDbUser;
  105. TcxTextEdit *EdDbSource;
  106. TcxTextEdit *EdDbPasswd;
  107. TcxGroupBox *cxGroupBox3;
  108. TLabel *Label7;
  109. TImage *ImgDesc08;
  110. TcxTextEdit *EdProcessId;
  111. TcxGroupBox *cxGroupBox5;
  112. TcxCheckBox *ChkAutoLogout;
  113. TLabel *Label11;
  114. TImage *Image1;
  115. TcxSpinEdit *SeInterevalMin;
  116. TImage *ImgDesc09;
  117. TLabel *Label8;
  118. TLabel *Label9;
  119. TImage *ImgDesc10;
  120. TImage *ImgDesc11;
  121. TLabel *Label10;
  122. TcxTextEdit *EdTaskId;
  123. TcxTextEdit *EdNodeId;
  124. TcxTextEdit *EdSequence;
  125. TdxSkinController *dxSkinController1;
  126. TcxButton *BtnDbTest;
  127. TcxCheckBox *ChkSaveForm;
  128. void __fastcall FormCreate(TObject *Sender);
  129. void __fastcall FormShow(TObject *Sender);
  130. void __fastcall TmrShowTimer(TObject *Sender);
  131. void __fastcall BtnCloseClick(TObject *Sender);
  132. void __fastcall BtnSaveClick(TObject *Sender);
  133. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  134. void __fastcall EdGisFilePropertiesButtonClick(TObject *Sender, int AButtonIndex);
  135. void __fastcall BtnDbTestClick(TObject *Sender);
  136. private: // User declarations
  137. void __fastcall CommClose();
  138. String FTitle;
  139. String FIniFile;
  140. public:
  141. public: // User declarations
  142. __fastcall TCFG0000M(TComponent* Owner);
  143. void __fastcall RefreshData();
  144. String __fastcall GetConfigValue(String sSection, String sIdent, String sDefVal);
  145. void __fastcall SetConfigValue(String sSection, String sIdent, String sSetVal);
  146. __property String IniFile = {read=FIniFile, write=FIniFile};
  147. };
  148. //---------------------------------------------------------------------------
  149. extern PACKAGE TCFG0000M *CFG0000M;
  150. //---------------------------------------------------------------------------
  151. #endif