DSRM010MF.h 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. //---------------------------------------------------------------------------
  2. #ifndef DSRM010MFH
  3. #define DSRM010MFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <DB.hpp>
  10. #include <DBClient.hpp>
  11. #include <FMTBcd.hpp>
  12. #include <Provider.hpp>
  13. #include <SqlExpr.hpp>
  14. #include <Menus.hpp>
  15. #include <ExtCtrls.hpp>
  16. #include <Graphics.hpp>
  17. #include <ComCtrls.hpp>
  18. #include <ADODB.hpp>
  19. #include <Dialogs.hpp>
  20. #include <ExtDlgs.hpp>
  21. //---------------------------------------------------------------------------
  22. //---------------------------------------------------------------------------
  23. #include "WindowMsgF.h"
  24. #include "cxButtons.hpp"
  25. #include "cxCalendar.hpp"
  26. #include "cxContainer.hpp"
  27. #include "cxControls.hpp"
  28. #include "cxDropDownEdit.hpp"
  29. #include "cxEdit.hpp"
  30. #include "cxGraphics.hpp"
  31. #include "cxGroupBox.hpp"
  32. #include "cxLabel.hpp"
  33. #include "cxLookAndFeelPainters.hpp"
  34. #include "cxLookAndFeels.hpp"
  35. #include "cxMaskEdit.hpp"
  36. #include "cxPC.hpp"
  37. #include "cxPCdxBarPopupMenu.hpp"
  38. #include "cxSpinEdit.hpp"
  39. #include "cxSplitter.hpp"
  40. #include "cxTextEdit.hpp"
  41. #include "cxTimeEdit.hpp"
  42. #include "dxSkinBlack.hpp"
  43. #include "dxSkinBlue.hpp"
  44. #include "dxSkinCaramel.hpp"
  45. #include "dxSkinCoffee.hpp"
  46. #include "dxSkinDarkRoom.hpp"
  47. #include "dxSkinDarkSide.hpp"
  48. #include "dxSkinFoggy.hpp"
  49. #include "dxSkinGlassOceans.hpp"
  50. #include "dxSkiniMaginary.hpp"
  51. #include "dxSkinLilian.hpp"
  52. #include "dxSkinLiquidSky.hpp"
  53. #include "dxSkinLondonLiquidSky.hpp"
  54. #include "dxSkinMcSkin.hpp"
  55. #include "dxSkinMoneyTwins.hpp"
  56. #include "dxSkinOffice2007Black.hpp"
  57. #include "dxSkinOffice2007Blue.hpp"
  58. #include "dxSkinOffice2007Green.hpp"
  59. #include "dxSkinOffice2007Pink.hpp"
  60. #include "dxSkinOffice2007Silver.hpp"
  61. #include "dxSkinOffice2010Black.hpp"
  62. #include "dxSkinOffice2010Blue.hpp"
  63. #include "dxSkinOffice2010Silver.hpp"
  64. #include "dxSkinsCore.hpp"
  65. #include "dxSkinscxPCPainter.hpp"
  66. #include "dxSkinSeven.hpp"
  67. #include "dxSkinSharp.hpp"
  68. #include "dxSkinSilver.hpp"
  69. #include "dxSkinStardust.hpp"
  70. #include "FRAME_DsrcListF.h"
  71. #include "cxRadioGroup.hpp"
  72. #include "cxClasses.hpp"
  73. #include "cxCustomData.hpp"
  74. #include "cxData.hpp"
  75. #include "cxDataStorage.hpp"
  76. #include "cxDBData.hpp"
  77. #include "cxFilter.hpp"
  78. #include "cxGrid.hpp"
  79. #include "cxGridCustomTableView.hpp"
  80. #include "cxGridCustomView.hpp"
  81. #include "cxGridDBTableView.hpp"
  82. #include "cxGridLevel.hpp"
  83. #include "cxGridTableView.hpp"
  84. #include "cxStyles.hpp"
  85. #include "FRAME_GisMapF.h"
  86. #include "cxCheckBox.hpp"
  87. class TDSRM010M : public TForm
  88. {
  89. __published: // IDE-managed Components
  90. TTimer *TmrShow;
  91. TShape *ShpTitle;
  92. TcxButton *BtnClose;
  93. TLabel *LblCaption;
  94. TShape *ShpList;
  95. TEdit *EdFocus;
  96. TPanel *PnlBack;
  97. TPanel *PnlLeft;
  98. TcxSplitter *cxSplitter1;
  99. TcxGroupBox *cxGroupBox3;
  100. TcxGroupBox *GrpMap;
  101. TFRAMEDsrcList *FRAMEDsrcList1;
  102. TcxGroupBox *GrpInfo;
  103. TPanel *PnlMenu;
  104. TcxSplitter *cxSplitter2;
  105. TcxButton *BtnEdit;
  106. TcxButton *BtnInsert;
  107. TcxButton *BtnDelete;
  108. TcxButton *BtnSave;
  109. TcxTextEdit *EdRseId;
  110. TcxTextEdit *EdRoadSpotId;
  111. TcxTextEdit *EdLogCnncId;
  112. TcxTextEdit *EdLogCnncPwd;
  113. TcxTextEdit *EdIstlLctnNm;
  114. TcxTextEdit *EdIP;
  115. TcxTextEdit *EdPort;
  116. TcxTextEdit *EdId;
  117. TcxSpinEdit *SePosX;
  118. TcxSpinEdit *SePosY;
  119. TcxLabel *cxLabel1;
  120. TImage *ImgDesc01;
  121. TcxLabel *cxLabel2;
  122. TImage *ImgDesc02;
  123. TcxLabel *cxLabel3;
  124. TcxLabel *cxLabel4;
  125. TcxLabel *cxLabel5;
  126. TcxLabel *cxLabel6;
  127. TcxLabel *cxLabel7;
  128. TcxLabel *cxLabel8;
  129. TcxLabel *cxLabel9;
  130. TcxLabel *cxLabel10;
  131. TImage *ImgDesc03;
  132. TImage *ImgDesc04;
  133. TImage *ImgDesc05;
  134. TImage *ImgDesc06;
  135. TImage *ImgDesc07;
  136. TImage *ImgDesc08;
  137. TImage *ImgDesc09;
  138. TImage *ImgDesc10;
  139. TcxComboBox *CbMnfcCmpyCd;
  140. TcxLabel *cxLabel11;
  141. TcxLabel *cxLabel12;
  142. TcxLabel *cxLabel13;
  143. TcxLabel *cxLabel14;
  144. TcxLabel *cxLabel15;
  145. TcxLabel *cxLabel16;
  146. TcxCheckBox *ChkViewIcon;
  147. TFRAMEGisMap *FRAMEGisMap1;
  148. TcxLabel *cxLabel17;
  149. TImage *ImgDesc11;
  150. TcxLabel *cxLabel18;
  151. TImage *ImgDesc12;
  152. TcxLabel *cxLabel19;
  153. TcxSpinEdit *SeCLCT_ABNR_BASI;
  154. TcxGroupBox *cxGroupBox1;
  155. TcxLabel *cxLabel20;
  156. TcxSpinEdit *SeAbnrAll;
  157. TcxButton *BtnSaveAll;
  158. void __fastcall FormShow(TObject *Sender);
  159. void __fastcall TmrShowTimer(TObject *Sender);
  160. void __fastcall BtnCloseClick(TObject *Sender);
  161. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  162. void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  163. void __fastcall FRAMEGisMap1xclntMapMouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
  164. void __fastcall FRAMEDsrcList1TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo,
  165. TMouseButton AButton, TShiftState AShift, bool &AHandled);
  166. void __fastcall ChkViewIconClick(TObject *Sender);
  167. void __fastcall BtnEditClick(TObject *Sender);
  168. void __fastcall BtnInsertClick(TObject *Sender);
  169. void __fastcall BtnDeleteClick(TObject *Sender);
  170. void __fastcall BtnSaveClick(TObject *Sender);
  171. void __fastcall BtnSaveAllClick(TObject *Sender);
  172. private: // User declarations
  173. void __fastcall CommClose();
  174. TcxDataController *m_pGDC;
  175. String FTitle;
  176. bool FUpdate;
  177. bool FNewDb;
  178. public:
  179. public: // User declarations
  180. __fastcall TDSRM010M(TComponent* Owner);
  181. void __fastcall FormInit();
  182. void __fastcall UpdateRseIcon();
  183. void __fastcall DisplayInfo(TItsDsrc* AObj);
  184. void __fastcall ChangeEditMode(int AEdit);
  185. };
  186. //---------------------------------------------------------------------------
  187. extern PACKAGE TDSRM010M *DSRM010M;
  188. //---------------------------------------------------------------------------
  189. #endif