//---------------------------------------------------------------------------

#ifndef VMSM700MFH
#define VMSM700MFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <DB.hpp>
#include <DBClient.hpp>
#include <FMTBcd.hpp>
#include <Provider.hpp>
#include <SqlExpr.hpp>
#include <Menus.hpp>
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
#include <ComCtrls.hpp>
#include <ADODB.hpp>
#include <Dialogs.hpp>
#include <ExtDlgs.hpp>
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
#include "WindowMsgF.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"
//---------------------------------------------------------------------------

class TVMSM700M : public TForm
{
__published:	// IDE-managed Components
    TTimer *TmrShow;
    TShape *ShpTitle;
    TcxButton *BtnClose;
    TLabel *LblCaption;
    TShape *ShpList;
    TEdit *EdFocus;
    TPanel *PanelBack;
    TPanel *PnlLeft;
    TcxSplitter *cxSplitter1;
    TcxGroupBox *GrpList;
    TPanel *Panel1;
    TPanel *Panel3;
    TcxGroupBox *GrpSchedule;
    TPanel *PnlMenu;
    TcxButton *BtnDelete;
    TcxButton *BtnSave;
    TPanel *Panel4;
    TImage *ImgDesc01;
    TcxLabel *cxLabel18;
    TcxComboBox *CbSizeType;
    TcxButton *BtnSearch;
    TcxTextEdit *EdVmsNmbr;
    TcxPageControl *PgVmsSch;
    TcxTabSheet *TabSheet3;
    TcxTabSheet *TabSheet0;
    TcxTabSheet *TabSheet1;
    TcxTabSheet *TabSheet2;
    TcxTabSheet *TabSheet4;
    TPanel *PnlTraffic;
    TcxGroupBox *cxGroupBox5;
    TPanel *PnlCmd;
    TcxButton *BtnListAdd0;
    TcxButton *BtnListDelete0;
    TcxGroupBox *cxGroupBox6;
    TcxGrid *CxForm0;
    TcxGridTableView *TvForm0;
    TcxGridColumn *ColFrm001;
    TcxGridColumn *ColFrm002;
    TcxGridColumn *ColFrm003;
    TcxGridColumn *ColFrm004;
    TcxGridColumn *ColFrm005;
    TcxGridColumn *ColFrm006;
    TcxGridColumn *ColFrm007;
    TcxGridColumn *ColFrm008;
    TcxGridColumn *ColFrm009;
    TcxGridLevel *GlForm0;
    TPanel *PnlDolbal;
    TcxGroupBox *cxGroupBox2;
    TcxGrid *CxGrid1;
    TcxGridTableView *TvGrid1;
    TcxGridColumn *cxGridColumn1;
    TcxGridColumn *cxGridColumn2;
    TcxGridColumn *cxGridColumn3;
    TcxGridColumn *cxGridColumn4;
    TcxGridColumn *cxGridColumn5;
    TcxGridColumn *cxGridColumn6;
    TcxGridColumn *cxGridColumn7;
    TcxGridColumn *cxGridColumn8;
    TcxGridColumn *cxGridColumn9;
    TcxGridLevel *GlGrid1;
    TPanel *Panel5;
    TcxButton *BtnListAdd1;
    TcxButton *BtnListDelete1;
    TcxGroupBox *cxGroupBox3;
    TcxGrid *CxForm1;
    TcxGridTableView *TvForm1;
    TcxGridColumn *cxGridColumn10;
    TcxGridColumn *cxGridColumn11;
    TcxGridColumn *cxGridColumn12;
    TcxGridColumn *cxGridColumn13;
    TcxGridColumn *cxGridColumn14;
    TcxGridColumn *cxGridColumn15;
    TcxGridColumn *cxGridColumn16;
    TcxGridColumn *cxGridColumn17;
    TcxGridColumn *cxGridColumn18;
    TcxGridLevel *GlForm1;
    TPanel *PnlGongsa;
    TcxGroupBox *cxGroupBox4;
    TcxGrid *CxGrid2;
    TcxGridTableView *TvGrid2;
    TcxGridColumn *cxGridColumn19;
    TcxGridColumn *cxGridColumn20;
    TcxGridColumn *cxGridColumn21;
    TcxGridColumn *cxGridColumn22;
    TcxGridColumn *cxGridColumn23;
    TcxGridColumn *cxGridColumn24;
    TcxGridColumn *cxGridColumn25;
    TcxGridColumn *cxGridColumn26;
    TcxGridColumn *cxGridColumn27;
    TcxGridLevel *GlGrid2;
    TPanel *Panel6;
    TcxButton *BtnListAdd2;
    TcxButton *BtnListDelete2;
    TcxGroupBox *cxGroupBox7;
    TcxGrid *CxForm2;
    TcxGridTableView *TvForm2;
    TcxGridColumn *cxGridColumn28;
    TcxGridColumn *cxGridColumn29;
    TcxGridColumn *cxGridColumn30;
    TcxGridColumn *cxGridColumn31;
    TcxGridColumn *cxGridColumn32;
    TcxGridColumn *cxGridColumn33;
    TcxGridColumn *cxGridColumn34;
    TcxGridColumn *cxGridColumn35;
    TcxGridColumn *cxGridColumn36;
    TcxGridLevel *GlForm2;
    TPanel *PnlHongbo;
    TcxGroupBox *cxGroupBox8;
    TcxGrid *CxGrid3;
    TcxGridTableView *TvGrid3;
    TcxGridColumn *cxGridColumn37;
    TcxGridColumn *cxGridColumn38;
    TcxGridColumn *cxGridColumn39;
    TcxGridColumn *cxGridColumn40;
    TcxGridColumn *cxGridColumn41;
    TcxGridColumn *cxGridColumn42;
    TcxGridColumn *cxGridColumn43;
    TcxGridColumn *cxGridColumn44;
    TcxGridColumn *cxGridColumn45;
    TcxGridLevel *GlGrid3;
    TPanel *Panel7;
    TcxButton *BtnListAdd3;
    TcxButton *BtnListDelete3;
    TcxGroupBox *cxGroupBox9;
    TcxGrid *CxForm3;
    TcxGridTableView *TvForm3;
    TcxGridColumn *cxGridColumn46;
    TcxGridColumn *cxGridColumn47;
    TcxGridColumn *cxGridColumn48;
    TcxGridColumn *cxGridColumn49;
    TcxGridColumn *cxGridColumn50;
    TcxGridColumn *cxGridColumn51;
    TcxGridColumn *cxGridColumn52;
    TcxGridColumn *cxGridColumn53;
    TcxGridColumn *cxGridColumn54;
    TcxGridLevel *GlForm3;
    TPanel *PnlDeture;
    TcxGroupBox *cxGroupBox10;
    TcxGrid *CxGrid4;
    TcxGridTableView *TvGrid4;
    TcxGridColumn *cxGridColumn55;
    TcxGridColumn *cxGridColumn56;
    TcxGridColumn *cxGridColumn57;
    TcxGridColumn *cxGridColumn58;
    TcxGridColumn *cxGridColumn59;
    TcxGridColumn *cxGridColumn60;
    TcxGridColumn *cxGridColumn61;
    TcxGridColumn *cxGridColumn62;
    TcxGridColumn *cxGridColumn63;
    TcxGridLevel *GlGrid4;
    TPanel *Panel8;
    TcxButton *BtnListAdd4;
    TcxButton *BtnListDelete4;
    TcxGroupBox *cxGroupBox11;
    TcxGrid *CxForm4;
    TcxGridTableView *TvForm4;
    TcxGridColumn *cxGridColumn64;
    TcxGridColumn *cxGridColumn65;
    TcxGridColumn *cxGridColumn66;
    TcxGridColumn *cxGridColumn67;
    TcxGridColumn *cxGridColumn68;
    TcxGridColumn *cxGridColumn69;
    TcxGridColumn *cxGridColumn70;
    TcxGridColumn *cxGridColumn71;
    TcxGridColumn *cxGridColumn72;
    TcxGridLevel *GlForm4;
    TcxGridColumn *TvGrid1Column1;
    TcxGridColumn *TvGrid1Column2;
    TcxGridColumn *TvGrid1Column3;
    TcxGridColumn *TvGrid1Column4;
    TcxGridColumn *TvGrid2Column1;
    TcxGridColumn *TvGrid2Column2;
    TcxGridColumn *TvGrid2Column3;
    TcxGridColumn *TvGrid2Column4;
    TcxGridColumn *TvGrid3Column1;
    TcxGridColumn *TvGrid3Column2;
    TcxGridColumn *TvGrid3Column3;
    TcxGridColumn *TvGrid3Column4;
    TcxGridColumn *TvGrid4Column1;
    TcxGridColumn *TvGrid4Column2;
    TcxGridColumn *TvGrid4Column3;
    TcxGridColumn *TvGrid4Column4;
    TcxButton *BtnAllEdit;
    TcxButton *BtnAllAdd;
    TcxGridColumn *TvGrid1Column5;
    TcxGridColumn *TvGrid2Column5;
    TcxGridColumn *TvGrid3Column5;
    TcxGridColumn *TvGrid4Column5;
    TcxLabel *cxLabel1;
    TcxGridColumn *TvGrid1Column6;
    TcxGridColumn *TvGrid2Column6;
    TcxGridColumn *TvGrid3Column6;
    TcxGridColumn *TvGrid4Column6;
    TcxGridColumn *TvGrid1Column7;
    TcxGridColumn *TvGrid2Column7;
    TcxGridColumn *TvGrid3Column7;
    TcxGridColumn *TvGrid4Column7;
    TPanel *PnlTemp;
    TPanel *PnlEdtBack;
    TPanel *PnlEditForm;
    TImage *ImgForm;
    VmsDesigner *VmsDesigner1;
    TFRAMEVmsSchList *FRAMEVmsSchList1;
    TcxTabSheet *TabSheet5;
    TPanel *PnlCongest;
    TcxGroupBox *cxGroupBox1;
    TcxGrid *CxGrid5;
    TcxGridTableView *TvGrid5;
    TcxGridColumn *cxGridColumn73;
    TcxGridColumn *cxGridColumn74;
    TcxGridColumn *cxGridColumn75;
    TcxGridColumn *cxGridColumn76;
    TcxGridColumn *cxGridColumn77;
    TcxGridColumn *cxGridColumn78;
    TcxGridColumn *cxGridColumn79;
    TcxGridColumn *cxGridColumn80;
    TcxGridColumn *cxGridColumn81;
    TcxGridColumn *cxGridColumn82;
    TcxGridColumn *cxGridColumn83;
    TcxGridColumn *cxGridColumn84;
    TcxGridColumn *cxGridColumn85;
    TcxGridColumn *cxGridColumn86;
    TcxGridColumn *cxGridColumn87;
    TcxGridColumn *cxGridColumn88;
    TcxGridLevel *GlGrid5;
    TPanel *Panel9;
    TcxButton *BtnListAdd5;
    TcxButton *BtnListDelete5;
    TcxGroupBox *cxGroupBox12;
    TcxGrid *CxForm5;
    TcxGridTableView *TvForm5;
    TcxGridColumn *cxGridColumn89;
    TcxGridColumn *cxGridColumn90;
    TcxGridColumn *cxGridColumn91;
    TcxGridColumn *cxGridColumn92;
    TcxGridColumn *cxGridColumn93;
    TcxGridColumn *cxGridColumn94;
    TcxGridColumn *cxGridColumn95;
    TcxGridColumn *cxGridColumn96;
    TcxGridColumn *cxGridColumn97;
    TcxGridLevel *GlForm5;
    TcxGridColumn *TvGrid1Column8;
    TcxGridColumn *TvGrid1Column9;
    TcxGridColumn *TvGrid1Column10;
    TcxGridColumn *TvGrid1Column11;
    TcxGridColumn *TvGrid2Column8;
    TcxGridColumn *TvGrid2Column9;
    TcxGridColumn *TvGrid2Column10;
    TcxGridColumn *TvGrid2Column11;
    TcxGridColumn *TvGrid3Column8;
    TcxGridColumn *TvGrid3Column9;
    TcxGridColumn *TvGrid3Column10;
    TcxGridColumn *TvGrid3Column11;
    TcxGridColumn *TvGrid4Column8;
    TcxGridColumn *TvGrid4Column9;
    TcxGridColumn *TvGrid4Column10;
    TcxGridColumn *TvGrid4Column11;
    TcxGridColumn *TvGrid5Column1;
    TcxGridColumn *TvGrid5Column2;
    TcxGridColumn *TvGrid5Column3;
    TcxGridColumn *TvGrid5Column4;
    TcxLabel *lblTitle;
    TcxLabel *lblErr2;
    TcxLabel *lblErr3;
    TcxLabel *lblErr4;
    TcxTabSheet *TabSheet7;
    TcxTabSheet *TabSheet8;
    TcxTabSheet *TabSheet6;
    TPanel *PnlSafe;
    TcxGroupBox *cxGroupBox13;
    TcxGrid *CxGrid6;
    TcxGridTableView *TvGrid6;
    TcxGridColumn *cxGridColumn98;
    TcxGridColumn *cxGridColumn99;
    TcxGridColumn *cxGridColumn100;
    TcxGridColumn *cxGridColumn101;
    TcxGridColumn *cxGridColumn102;
    TcxGridColumn *cxGridColumn103;
    TcxGridColumn *cxGridColumn104;
    TcxGridColumn *cxGridColumn105;
    TcxGridColumn *cxGridColumn106;
    TcxGridColumn *cxGridColumn107;
    TcxGridColumn *cxGridColumn108;
    TcxGridColumn *cxGridColumn109;
    TcxGridColumn *cxGridColumn110;
    TcxGridColumn *cxGridColumn111;
    TcxGridColumn *cxGridColumn112;
    TcxGridColumn *cxGridColumn113;
    TcxGridColumn *cxGridColumn114;
    TcxGridColumn *cxGridColumn115;
    TcxGridColumn *cxGridColumn116;
    TcxGridColumn *cxGridColumn117;
    TcxGridLevel *GlGrid6;
    TPanel *Panel10;
    TcxButton *BtnListAdd6;
    TcxButton *BtnListDelete6;
    TcxGroupBox *cxGroupBox14;
    TcxGrid *CxForm6;
    TcxGridTableView *TvForm6;
    TcxGridColumn *cxGridColumn118;
    TcxGridColumn *cxGridColumn119;
    TcxGridColumn *cxGridColumn120;
    TcxGridColumn *cxGridColumn121;
    TcxGridColumn *cxGridColumn122;
    TcxGridColumn *cxGridColumn123;
    TcxGridColumn *cxGridColumn124;
    TcxGridColumn *cxGridColumn125;
    TcxGridColumn *cxGridColumn126;
    TcxGridLevel *GlForm6;
    TPanel *PnlVideo;
    TcxGroupBox *cxGroupBox15;
    TPanel *Panel11;
    TcxButton *BtnListAdd7;
    TcxButton *BtnListDelete7;
    TcxGroupBox *cxGroupBox16;
    TcxGrid *CxForm7;
    TcxGridTableView *TvForm7;
    TcxGridColumn *cxGridColumn147;
    TcxGridColumn *cxGridColumn148;
    TcxGridColumn *cxGridColumn149;
    TcxGridColumn *cxGridColumn150;
    TcxGridColumn *cxGridColumn151;
    TcxGridColumn *cxGridColumn152;
    TcxGridColumn *cxGridColumn153;
    TcxGridColumn *cxGridColumn154;
    TcxGridColumn *cxGridColumn155;
    TcxGridLevel *GlForm7;
    TPanel *PnlStream;
    TcxGroupBox *cxGroupBox17;
    TPanel *Panel13;
    TcxButton *BtnListAdd8;
    TcxButton *BtnListDelete8;
    TcxGroupBox *cxGroupBox18;
    TcxGrid *CxForm8;
    TcxGridTableView *TvForm8;
    TcxGridColumn *cxGridColumn176;
    TcxGridColumn *cxGridColumn177;
    TcxGridColumn *cxGridColumn178;
    TcxGridColumn *cxGridColumn179;
    TcxGridColumn *cxGridColumn180;
    TcxGridColumn *cxGridColumn181;
    TcxGridColumn *cxGridColumn182;
    TcxGridColumn *cxGridColumn183;
    TcxGridColumn *cxGridColumn184;
    TcxGridLevel *GlForm8;
    TcxGridColumn *TvGrid1Column12;
    TcxGridColumn *TvGrid1Column13;
    TcxGridColumn *TvGrid2Column12;
    TcxGridColumn *TvGrid2Column13;
    TcxGridColumn *TvGrid3Column12;
    TcxGridColumn *TvGrid3Column13;
    TcxGridColumn *TvGrid4Column12;
    TcxGridColumn *TvGrid4Column13;
    TcxGridColumn *TvGrid5Column5;
    TcxGridColumn *TvGrid5Column6;
    TcxGridColumn *TvGrid6Column1;
    TcxGridColumn *TvGrid6Column2;
    TcxGrid *CxGrid8;
    TcxGridTableView *TvGrid8;
    TcxGridColumn *ColSch001;
    TcxGridColumn *ColSch002;
    TcxGridColumn *ColSch003;
    TcxGridColumn *ColSch004;
    TcxGridColumn *ColSch005;
    TcxGridColumn *ColSch006;
    TcxGridColumn *ColSch007;
    TcxGridColumn *ColSch008;
    TcxGridColumn *ColSch009;
    TcxGridColumn *cxGridColumn156;
    TcxGridColumn *cxGridColumn157;
    TcxGridColumn *cxGridColumn158;
    TcxGridColumn *cxGridColumn159;
    TcxGridColumn *cxGridColumn160;
    TcxGridColumn *cxGridColumn161;
    TcxGridColumn *cxGridColumn162;
    TcxGridColumn *cxGridColumn163;
    TcxGridColumn *cxGridColumn164;
    TcxGridColumn *cxGridColumn165;
    TcxGridColumn *cxGridColumn166;
    TcxGridLevel *GlGrid8;
    TcxGrid *CxGrid0;
    TcxGridTableView *TvGrid0;
    TcxGridColumn *cxGridColumn167;
    TcxGridColumn *cxGridColumn168;
    TcxGridColumn *cxGridColumn169;
    TcxGridColumn *cxGridColumn170;
    TcxGridColumn *cxGridColumn171;
    TcxGridColumn *cxGridColumn172;
    TcxGridColumn *cxGridColumn173;
    TcxGridColumn *cxGridColumn174;
    TcxGridColumn *cxGridColumn175;
    TcxGridColumn *cxGridColumn185;
    TcxGridColumn *cxGridColumn186;
    TcxGridColumn *cxGridColumn187;
    TcxGridColumn *cxGridColumn188;
    TcxGridColumn *cxGridColumn189;
    TcxGridColumn *cxGridColumn190;
    TcxGridColumn *cxGridColumn191;
    TcxGridColumn *cxGridColumn192;
    TcxGridColumn *cxGridColumn193;
    TcxGridColumn *cxGridColumn194;
    TcxGridColumn *cxGridColumn195;
    TcxGridLevel *GlGird0;
    TcxGrid *CxGrid7;
    TcxGridTableView *TvGrid7;
    TcxGridColumn *cxGridColumn127;
    TcxGridColumn *cxGridColumn128;
    TcxGridColumn *cxGridColumn129;
    TcxGridColumn *cxGridColumn130;
    TcxGridColumn *cxGridColumn131;
    TcxGridColumn *cxGridColumn132;
    TcxGridColumn *cxGridColumn133;
    TcxGridColumn *cxGridColumn134;
    TcxGridColumn *cxGridColumn135;
    TcxGridColumn *cxGridColumn136;
    TcxGridColumn *cxGridColumn137;
    TcxGridColumn *cxGridColumn138;
    TcxGridColumn *cxGridColumn139;
    TcxGridColumn *cxGridColumn140;
    TcxGridColumn *cxGridColumn141;
    TcxGridColumn *cxGridColumn142;
    TcxGridColumn *cxGridColumn143;
    TcxGridColumn *cxGridColumn144;
    TcxGridColumn *cxGridColumn145;
    TcxGridColumn *cxGridColumn146;
    TcxGridLevel *GlGrid7;
    TcxGridColumn *TvGrid0Column1;
    TcxGridColumn *TvGrid0Column2;
    TcxGridColumn *TvGrid7Column1;
    TcxGridColumn *TvGrid7Column2;
    TcxGridColumn *TvGrid8Column1;
    TcxGridColumn *TvGrid8Column2;
    TLabel *LblInfo1;
    TLabel *LblInfo;
    TcxGridColumn *TvForm8Column1;
    TcxGridColumn *TvForm7Column1;
    TcxGridColumn *TvForm6Column1;
    TcxGridColumn *TvForm5Column1;
    TcxGridColumn *TvForm4Column1;
    TcxGridColumn *TvForm3Column1;
    TcxGridColumn *TvForm2Column1;
    TcxGridColumn *TvForm1Column1;
    TcxGridColumn *TvForm0Column1;
    TcxCheckBox *ChkAutoWidth;
    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 BtnListAdd0Click(TObject *Sender);
    void __fastcall BtnListDelete0Click(TObject *Sender);
    void __fastcall TvGridCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo,
          TMouseButton AButton, TShiftState AShift,
          bool &AHandled);
    void __fastcall TvFormCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo,
          TMouseButton AButton, TShiftState AShift,
          bool &AHandled);
    void __fastcall BtnAllEditClick(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);

private:	// User declarations
    void __fastcall CommClose();
    TcxDataController *m_pGDC;
    String          FTitle;
    bool            FUpdate;
    bool            FNewDb;
    bool            EditMode;
	TList          *FListSymb;

    int             FSelIdx;
    String          FVmsTypeCd;
    int             FVmsWidth;
    int             FVmsHeight;

public:
    String              FVMS_SCH_TYPE;
    int                 FEN_DSPL_SCH_TYPE;
    TcxGridTableView   *FListSch[eSchTp_max];
    TcxGridTableView   *FListFrm[eSchTp_max];
    TcxTabSheet        *FTabSheet[eSchTp_max];
    TcxLabel           *FLabel[eSchTp_max];
    TcxButton          *FButtonAdd[eSchTp_max];
    TcxButton          *FButtonDel[eSchTp_max];

    TVmsFormDesigner   *m_pEdtDesigner;
    String              FIfscId[10];

public:		// User declarations
    __fastcall TVMSM700M(TComponent* Owner);

    void __fastcall InitTcxList(TcxGridTableView *AView);
    void __fastcall FormInit();
    void __fastcall RefreshData();

    void __fastcall ClearSymbloList();

    void __fastcall DisplayInfo();

    void __fastcall ChangeEditMode(int AEdit);

    void __fastcall FormClear();

    void __fastcall LoadVmsScheduleInfo(String AVmsNmbr);

    bool __fastcall CheckVmsFormUse(String AFormId);

    bool __fastcall LoadVmsFormList(String AFormSizeCd);

    bool __fastcall SaveVmsScenario(String AVmsNmbr, TcxGridTableView *AListSch);
    bool __fastcall SaveVmsScenarioWeek(String AVmsNmbr, TcxGridTableView *AListSch);
    bool __fastcall DeleteVmsScenario(String AVmsNmbr);

    void __fastcall DrawTrafficScenarioForm();
    bool __fastcall LoadTrafficFormObjectInfo(String AFormId, String ABkColor, TVmsFormDesigner *ADesigner);

    void __fastcall DrawVideoStreamScenarioForm(int AFormScheType);
    bool __fastcall LoadVideoStreamFormObjectInfo(String AFormId, String ABkColor, TVmsFormDesigner *ADesigner, String ASymbLibNmbr, String AStreamAddr);
};
//---------------------------------------------------------------------------
extern PACKAGE TVMSM700M *VMSM700M;
//---------------------------------------------------------------------------

#endif

