//--------------------------------------------------------------------------- #ifndef FrmLinkGradeSetFH #define FrmLinkGradeSetFH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- //--------------------------------------------------------------------------- #include "CDSCodeF.h" #include "cxButtons.hpp" #include "cxClasses.hpp" #include "cxContainer.hpp" #include "cxControls.hpp" #include "cxCustomData.hpp" #include "cxData.hpp" #include "cxDataStorage.hpp" #include "cxDropDownEdit.hpp" #include "cxEdit.hpp" #include "cxFilter.hpp" #include "cxGraphics.hpp" #include "cxGrid.hpp" #include "cxGridCustomTableView.hpp" #include "cxGridCustomView.hpp" #include "cxGridLevel.hpp" #include "cxGridTableView.hpp" #include "cxGroupBox.hpp" #include "cxLabel.hpp" #include "cxLookAndFeelPainters.hpp" #include "cxLookAndFeels.hpp" #include "cxMaskEdit.hpp" #include "cxStyles.hpp" #include "cxTextEdit.hpp" #include "dxSkinBlack.hpp" #include "dxSkinBlue.hpp" #include "dxSkinsCore.hpp" #include "dxSkinscxPCPainter.hpp" //--------------------------------------------------------------------------- class TFrmLinkGradeSet : public TForm { __published: // IDE-managed Components TShape *ShpList; TPanel *Panel1; TcxGroupBox *cxGroupBox1; TcxGroupBox *cxGroupBox3; TImage *ImgDesc01; TImage *ImgDesc27; TImage *ImgDesc15; TImage *ImgDesc37; TImage *ImgDesc28; TLabel *Label16; TLabel *Label26; TImage *ImgDesc25; TLabel *Label15; TLabel *Label1; TLabel *Label3; TLabel *Label2; TcxTextEdit *EdId; TcxTextEdit *EdLevel; TcxTextEdit *EdStId; TcxTextEdit *EdEdId; TcxTextEdit *EdEdName; TcxTextEdit *EdStName; TcxTextEdit *EdLength; TcxGrid *CxList; TcxGridTableView *TvList; TcxGridColumn *Column01; TcxGridColumn *Column02; TcxGridColumn *Column03; TcxGridColumn *Column04; TcxGridLevel *GlList; TcxComboBox *CbTrfGrade; TcxButton *BtnApply; TcxLabel *lblCnfm; TcxLabel *lblOk; void __fastcall FormClose(TObject *Sender, TCloseAction &Action); void __fastcall FormDestroy(TObject *Sender); void __fastcall CbTrfGradePropertiesChange(TObject *Sender); void __fastcall BtnApplyClick(TObject *Sender); private: // User declarations TItsCode *FCodeLTC; // ¼ÒÅëµî±Þ String FTitle; public: String m_sLinkId; int m_nLinkLevel; void __fastcall SetInfo(String sLinkId, int nLinkLevel); void __fastcall DisplayTrafficGrade(); public: // User declarations __fastcall TFrmLinkGradeSet(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TFrmLinkGradeSet *FrmLinkGradeSet; //--------------------------------------------------------------------------- #endif