//--------------------------------------------------------------------------- #ifndef FrmVmsMsgPubrMngrFH #define FrmVmsMsgPubrMngrFH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //--------------------------------------------------------------------------- //--------------------------------------------------------------------------- #include "WindowMsgF.h" #include "CDSCenterCommF.h" #include "cxButtons.hpp" #include "cxCalendar.hpp" #include "cxContainer.hpp" #include "cxControls.hpp" #include "cxDropDownEdit.hpp" #include "cxEdit.hpp" #include "cxGraphics.hpp" #include "cxGroupBox.hpp" #include "cxLabel.hpp" #include "cxLookAndFeelPainters.hpp" #include "cxLookAndFeels.hpp" #include "cxMaskEdit.hpp" #include "cxPC.hpp" #include "cxPCdxBarPopupMenu.hpp" #include "cxSpinEdit.hpp" #include "cxSplitter.hpp" #include "cxTextEdit.hpp" #include "cxTimeEdit.hpp" #include "dxSkinBlack.hpp" #include "dxSkinBlue.hpp" #include "dxSkinCaramel.hpp" #include "dxSkinCoffee.hpp" #include "dxSkinDarkRoom.hpp" #include "dxSkinDarkSide.hpp" #include "dxSkinFoggy.hpp" #include "dxSkinGlassOceans.hpp" #include "dxSkiniMaginary.hpp" #include "dxSkinLilian.hpp" #include "dxSkinLiquidSky.hpp" #include "dxSkinLondonLiquidSky.hpp" #include "dxSkinMcSkin.hpp" #include "dxSkinMoneyTwins.hpp" #include "dxSkinOffice2007Black.hpp" #include "dxSkinOffice2007Blue.hpp" #include "dxSkinOffice2007Green.hpp" #include "dxSkinOffice2007Pink.hpp" #include "dxSkinOffice2007Silver.hpp" #include "dxSkinOffice2010Black.hpp" #include "dxSkinOffice2010Blue.hpp" #include "dxSkinOffice2010Silver.hpp" #include "dxSkinsCore.hpp" #include "dxSkinscxPCPainter.hpp" #include "dxSkinSeven.hpp" #include "dxSkinSharp.hpp" #include "dxSkinSilver.hpp" #include "dxSkinStardust.hpp" #include "cxRadioGroup.hpp" #include "cxClasses.hpp" #include "cxCustomData.hpp" #include "cxData.hpp" #include "cxDataStorage.hpp" #include "cxDBData.hpp" #include "cxFilter.hpp" #include "cxGrid.hpp" #include "cxGridCustomTableView.hpp" #include "cxGridCustomView.hpp" #include "cxGridDBTableView.hpp" #include "cxGridLevel.hpp" #include "cxGridTableView.hpp" #include "cxStyles.hpp" #include "cxCheckBox.hpp" #include "cxImage.hpp" #include "cxButtonEdit.hpp" #include "cxBlobEdit.hpp" #include "cxColorComboBox.hpp" #include "cxCalc.hpp" //--------------------------------------------------------------------------- #include "CDSVmsCtlrF.h" #include "CDSVmsObjTypeF.h" #include "VmsDesignerF.h" #include "FRAME_VmsSchListF.h" #include "cxHint.hpp" #include "dxCustomHint.hpp" #include "dxScreenTip.hpp" #include "dxSkinsForm.hpp" #include "dxGDIPlusClasses.hpp" //--------------------------------------------------------------------------- class TFrmVmsMsgPubrMngr : public TForm { __published: // IDE-managed Components TTimer *TmrShow; TcxButton *BtnClose; TShape *ShpList; TEdit *EdFocus; TPanel *PanelBack; TPanel *PnlLeft; TcxSplitter *cxSplitter1; TcxGroupBox *GrpList; TPanel *Panel1; TPanel *Panel3; TcxGroupBox *GrpSchedule; TPanel *Panel4; TImage *ImgDesc01; TcxLabel *cxLabel18; TcxComboBox *CbSizeType; TcxButton *BtnSearch; TcxTextEdit *EdVmsNmbr; TcxPageControl *PgVmsSch; TcxTabSheet *TsEdit; TPanel *PnlTraffic; TcxGroupBox *cxGroupBox5; TPanel *PnlCmd; TcxButton *BtnListAdd; TcxButton *BtnListDelete; TcxGroupBox *cxGroupBox6; TcxGrid *CxForm; TcxGridTableView *TvForm; TcxGridColumn *ColFrm00; TcxGridColumn *ColFrm01; TcxGridColumn *ColFrm03; TcxGridColumn *ColFrm04; TcxGridColumn *ColFrm05; TcxGridColumn *ColFrm06; TcxGridColumn *ColFrm07; TcxGridColumn *ColFrm08; TcxGridColumn *ColFrm09; TcxGridLevel *GlForm; VmsDesigner *VmsDesigner1; TFRAMEVmsSchList *FRAMEVmsSchList1; TcxLabel *lblTitle; TcxLabel *lblErr2; TcxLabel *lblErr3; TcxLabel *lblErr4; TcxGridColumn *ColFrm02; TcxHintStyleController *cxHintStyleController1; TdxSkinController *dxSkinController1; TcxTabSheet *TsPreview; TcxButton *BtnSave; TcxGroupBox *GrpPreview; TScrollBox *ScrollBox2; TPanel *PnlPreview; TcxButton *BtnUp; TcxButton *BtnDown; TcxGrid *CxSche; TcxGridTableView *TvSche; TcxGridColumn *Col00; TcxGridColumn *Col01; TcxGridColumn *Col02; TcxGridColumn *Col0003; TcxGridColumn *Col04; TcxGridColumn *Col05; TcxGridColumn *ColUse; TcxGridColumn *Col07; TcxGridColumn *Col08; TcxGridColumn *Col03; TcxGridColumn *Col10; TcxGridColumn *Col11; TcxGridColumn *Col12; TcxGridColumn *Col13; TcxGridColumn *Col14; TcxGridColumn *Col15; TcxGridColumn *Col16; TcxGridColumn *Col17; TcxGridColumn *Col18; TcxGridColumn *Col19; TcxGridColumn *Col20; TcxGridColumn *Col21; TcxGridColumn *Col22; TcxGridColumn *Col23; TcxGridColumn *Col24; TcxGridColumn *ColWeek1; TcxGridColumn *ColWeek2; TcxGridColumn *ColWeek3; TcxGridColumn *ColWeek4; TcxGridColumn *ColWeek5; TcxGridColumn *ColWeek6; TcxGridColumn *ColWeek7; TcxGridColumn *Col25; TcxGridLevel *GlSche; TImage *ImgPreview; TPanel *Panel2; TcxButton *BtnMonitoringMngr; TcxCheckBox *ChkAutoWidth; TcxButton *BtnBestFit; TcxGrid *CxView; TcxGridTableView *TvView; TcxGridColumn *ColView00; TcxGridColumn *ColView03; TcxGridColumn *ColView01; TcxGridColumn *ColView02; TcxGridColumn *TvViewColumn40; TcxGridColumn *TvViewColumn41; TcxGridLevel *GlView; TImage *ImgCaption; TLabel *LblCaption; TImage *ImgCaptionLeft; TcxLabel *cxLabel1; TPanel *Panel5; TPanel *Panel6; TcxButton *BtnAllEdit; TcxButton *BtnAllAdd; TPanel *PnlMenu; TcxButton *BtnMsgDisp; void __fastcall FormShow(TObject *Sender); void __fastcall TmrShowTimer(TObject *Sender); void __fastcall BtnCloseClick(TObject *Sender); void __fastcall FormClose(TObject *Sender, TCloseAction &Action); void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose); void __fastcall CbSizeTypePropertiesChange(TObject *Sender); void __fastcall BtnSearchClick(TObject *Sender); void __fastcall FormCreate(TObject *Sender); void __fastcall BtnListAddClick(TObject *Sender); void __fastcall BtnListDeleteClick(TObject *Sender); void __fastcall BtnSaveClick(TObject *Sender); void __fastcall FRAMEVmsSchList1TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton, TShiftState AShift, bool &AHandled); void __fastcall FRAMEVmsSchList1TvListFocusedRecordChanged(TcxCustomGridTableView *Sender, TcxCustomGridRecord *APrevFocusedRecord, TcxCustomGridRecord *AFocusedRecord, bool ANewItemRecordFocusingChanged); void __fastcall cxGridColumn172CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone); void __fastcall BtnUpClick(TObject *Sender); void __fastcall BtnDownClick(TObject *Sender); void __fastcall TvScheFocusedRecordChanged(TcxCustomGridTableView *Sender, TcxCustomGridRecord *APrevFocusedRecord, TcxCustomGridRecord *AFocusedRecord, bool ANewItemRecordFocusingChanged); void __fastcall TvFormFocusedRecordChanged(TcxCustomGridTableView *Sender, TcxCustomGridRecord *APrevFocusedRecord, TcxCustomGridRecord *AFocusedRecord, bool ANewItemRecordFocusingChanged); void __fastcall BtnBestFitClick(TObject *Sender); void __fastcall Col05CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo, bool &ADone); void __fastcall TvScheCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton, TShiftState AShift, bool &AHandled); void __fastcall BtnAllEditClick(TObject *Sender); void __fastcall ChkAutoWidthPropertiesChange(TObject *Sender); void __fastcall BtnMsgDispClick(TObject *Sender); private: // User declarations void __fastcall CommClose(); TcxDataController *m_pGDC; String FTitle; bool FUpdate; bool FNewDb; bool EditMode; TList *FListSymb; int FSelIdx; String FSelVmsCtrlId; String FVmsTypeCd; int FVmsWidth; int FVmsHeight; public: TItsMap FFormLists; TCommTarget *FCommCtrlTarget; // VMS Á¦¾î public: // User declarations __fastcall TFrmVmsMsgPubrMngr(TComponent* Owner); void __fastcall SetColorScheme(String ASkinName); void __fastcall FormInit(); void __fastcall RefreshData(); void __fastcall InitDbLoading(); void __fastcall ClearSymbloList(); void __fastcall DisplayInfo(); void __fastcall FormClear(); bool __fastcall CheckExistScheduleFormId(String AVmsFormId); bool __fastcall LoadVmsFormList(String AFormSizeCd); bool __fastcall LoadVmsScheduleInfo(String AVmsCtlrId); bool __fastcall DeleteVmsScenario(String AVmsCtlrId); bool __fastcall SaveVmsScenario(String AVmsCtlrId); void __fastcall LoadPreviewForm(String AVmsFormId); void __fastcall EditPreviewForm(); }; //--------------------------------------------------------------------------- extern PACKAGE TFrmVmsMsgPubrMngr *FrmVmsMsgPubrMngr; //--------------------------------------------------------------------------- #endif