BDS0010MF.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. //---------------------------------------------------------------------------
  2. #ifndef BDS0010MFH
  3. #define BDS0010MFH
  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 "cxContainer.hpp"
  26. #include "cxControls.hpp"
  27. #include "cxEdit.hpp"
  28. #include "cxGraphics.hpp"
  29. #include "cxGroupBox.hpp"
  30. #include "cxLabel.hpp"
  31. #include "cxLookAndFeelPainters.hpp"
  32. #include "cxLookAndFeels.hpp"
  33. #include "cxSplitter.hpp"
  34. #include "cxTextEdit.hpp"
  35. #include "dxSkinBlack.hpp"
  36. #include "dxSkinBlue.hpp"
  37. #include "dxSkinsCore.hpp"
  38. #include "FRAME_BlackBoxListF.h"
  39. class TBDS0010M : public TForm
  40. {
  41. __published: // IDE-managed Components
  42. TTimer *TmrShow;
  43. TShape *ShpTitle;
  44. TcxButton *BtnClose;
  45. TLabel *LblCaption;
  46. TShape *ShpList;
  47. TEdit *EdFocus;
  48. TPanel *PnlBack;
  49. TPanel *PnlLeft;
  50. TcxSplitter *cxSplitter1;
  51. TcxGroupBox *cxGroupBox3;
  52. TPanel *PnlBottom;
  53. TFRAMEBlackBoxList *FRAMEBlackBoxList1;
  54. TPanel *PnlMenu;
  55. TcxButton *BtnEdit;
  56. TcxButton *BtnInsert;
  57. TcxButton *BtnDelete;
  58. TcxButton *BtnSave;
  59. TcxGroupBox *GrpInfo;
  60. TImage *ImgDesc01;
  61. TImage *ImgDesc02;
  62. TImage *ImgDesc03;
  63. TImage *ImgDesc04;
  64. TImage *ImgDesc05;
  65. TImage *ImgDesc06;
  66. TImage *ImgDesc99;
  67. TcxLabel *cxLabel1;
  68. TcxLabel *cxLabel2;
  69. TcxLabel *cxLabel3;
  70. TcxLabel *cxLabel6;
  71. TcxLabel *cxLabel8;
  72. TcxLabel *cxLabel9;
  73. TcxLabel *cxLabel15;
  74. TcxTextEdit *EdId;
  75. TcxTextEdit *BDS_MNGM_NMBR;
  76. TcxTextEdit *OPNC_NMBR;
  77. TcxTextEdit *MDM_NMBR;
  78. TcxTextEdit *USIM_NMBR;
  79. TcxTextEdit *VHCL_NMBR;
  80. TcxTextEdit *OWNR_NM;
  81. TcxTextEdit *PRCT_NM;
  82. void __fastcall FormShow(TObject *Sender);
  83. void __fastcall TmrShowTimer(TObject *Sender);
  84. void __fastcall BtnCloseClick(TObject *Sender);
  85. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  86. void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  87. void __fastcall BtnEditClick(TObject *Sender);
  88. void __fastcall BtnInsertClick(TObject *Sender);
  89. void __fastcall BtnDeleteClick(TObject *Sender);
  90. void __fastcall BtnSaveClick(TObject *Sender);
  91. void __fastcall FRAMEBlackBoxList1TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo,
  92. TMouseButton AButton, TShiftState AShift, bool &AHandled);
  93. private: // User declarations
  94. void __fastcall CommClose();
  95. TcxDataController *m_pGDC;
  96. String FTitle;
  97. bool FUpdate;
  98. bool FNewDb;
  99. public:
  100. public: // User declarations
  101. __fastcall TBDS0010M(TComponent* Owner);
  102. void __fastcall FormInit();
  103. void __fastcall DisplayInfo(TBlackBox* AObj);
  104. void __fastcall ChangeEditMode(int AEdit);
  105. };
  106. //---------------------------------------------------------------------------
  107. extern PACKAGE TBDS0010M *BDS0010M;
  108. //---------------------------------------------------------------------------
  109. #endif