DSRM010MF.h 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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 "FRAME_DsrcListF.h"
  25. #include "FRAME_FlashMapF.h"
  26. #include "cxButtons.hpp"
  27. #include "cxCheckBox.hpp"
  28. #include "cxContainer.hpp"
  29. #include "cxControls.hpp"
  30. #include "cxDropDownEdit.hpp"
  31. #include "cxEdit.hpp"
  32. #include "cxGraphics.hpp"
  33. #include "cxGroupBox.hpp"
  34. #include "cxLabel.hpp"
  35. #include "cxLookAndFeelPainters.hpp"
  36. #include "cxLookAndFeels.hpp"
  37. #include "cxMaskEdit.hpp"
  38. #include "cxSpinEdit.hpp"
  39. #include "cxSplitter.hpp"
  40. #include "cxTextEdit.hpp"
  41. #include "dxSkinBlack.hpp"
  42. #include "dxSkinBlue.hpp"
  43. #include "dxSkinsCore.hpp"
  44. class TDSRM010M : public TForm
  45. {
  46. __published: // IDE-managed Components
  47. TTimer *TmrShow;
  48. TShape *ShpTitle;
  49. TcxButton *BtnClose;
  50. TLabel *LblCaption;
  51. TShape *ShpList;
  52. TEdit *EdFocus;
  53. TPanel *PnlBack;
  54. TPanel *PnlLeft;
  55. TcxSplitter *cxSplitter1;
  56. TcxGroupBox *cxGroupBox3;
  57. TcxGroupBox *GrpMap;
  58. TFRAMEDsrcList *FRAMEDsrcList1;
  59. TcxGroupBox *GrpInfo;
  60. TPanel *PnlMenu;
  61. TcxSplitter *cxSplitter2;
  62. TcxButton *BtnEdit;
  63. TcxButton *BtnInsert;
  64. TcxButton *BtnDelete;
  65. TcxButton *BtnSave;
  66. TcxTextEdit *EdRseId;
  67. TcxTextEdit *EdRoadSpotId;
  68. TcxTextEdit *EdLogCnncId;
  69. TcxTextEdit *EdLogCnncPwd;
  70. TcxTextEdit *EdIstlLctnNm;
  71. TcxTextEdit *EdIP;
  72. TcxTextEdit *EdPort;
  73. TcxTextEdit *EdId;
  74. TcxSpinEdit *SePosX;
  75. TcxSpinEdit *SePosY;
  76. TcxLabel *cxLabel1;
  77. TImage *ImgDesc01;
  78. TcxLabel *cxLabel2;
  79. TImage *ImgDesc02;
  80. TcxLabel *cxLabel3;
  81. TcxLabel *cxLabel4;
  82. TcxLabel *cxLabel5;
  83. TcxLabel *cxLabel6;
  84. TcxLabel *cxLabel7;
  85. TcxLabel *cxLabel8;
  86. TcxLabel *cxLabel9;
  87. TcxLabel *cxLabel10;
  88. TImage *ImgDesc03;
  89. TImage *ImgDesc04;
  90. TImage *ImgDesc05;
  91. TImage *ImgDesc06;
  92. TImage *ImgDesc07;
  93. TImage *ImgDesc08;
  94. TImage *ImgDesc09;
  95. TImage *ImgDesc10;
  96. TcxComboBox *CbMnfcCmpyCd;
  97. TcxLabel *cxLabel11;
  98. TcxLabel *cxLabel12;
  99. TcxLabel *cxLabel13;
  100. TcxLabel *cxLabel14;
  101. TcxLabel *cxLabel15;
  102. TcxLabel *cxLabel16;
  103. TcxCheckBox *ChkViewIcon;
  104. TcxLabel *cxLabel17;
  105. TImage *ImgDesc11;
  106. TcxLabel *cxLabel18;
  107. TFRAMEFlashMap *FRAMEGisMap1;
  108. TcxCheckBox *ChkViewName;
  109. TcxLabel *cxLabel19;
  110. TImage *ImgDesc12;
  111. TcxSpinEdit *SeCLCT_ABNR_BASI;
  112. TcxGroupBox *cxGroupBox1;
  113. TcxLabel *cxLabel20;
  114. TcxSpinEdit *SeAbnrAll;
  115. TcxButton *BtnSaveAll;
  116. void __fastcall FormShow(TObject *Sender);
  117. void __fastcall TmrShowTimer(TObject *Sender);
  118. void __fastcall BtnCloseClick(TObject *Sender);
  119. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  120. void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  121. void __fastcall FRAMEDsrcList1TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo,
  122. TMouseButton AButton, TShiftState AShift, bool &AHandled);
  123. void __fastcall ChkViewIconClick(TObject *Sender);
  124. void __fastcall BtnEditClick(TObject *Sender);
  125. void __fastcall BtnInsertClick(TObject *Sender);
  126. void __fastcall BtnDeleteClick(TObject *Sender);
  127. void __fastcall BtnSaveClick(TObject *Sender);
  128. void __fastcall BtnSaveAllClick(TObject *Sender);
  129. private: // User declarations
  130. void __fastcall CommClose();
  131. TcxDataController *m_pGDC;
  132. String FTitle;
  133. bool FUpdate;
  134. bool FNewDb;
  135. bool MapStart;
  136. public:
  137. public: // User declarations
  138. __fastcall TDSRM010M(TComponent* Owner);
  139. void __fastcall FormInit();
  140. void __fastcall UpdateRseIcon();
  141. void __fastcall DisplayInfo(TItsDsrc* AObj);
  142. void __fastcall ChangeEditMode(int AEdit);
  143. void __fastcall ShockwaveFlash1FlashCall1(TObject *ASender, const WideString request);
  144. };
  145. //---------------------------------------------------------------------------
  146. extern PACKAGE TDSRM010M *DSRM010M;
  147. //---------------------------------------------------------------------------
  148. #endif