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

#ifndef FrmVmsIfscTrafFH
#define FrmVmsIfscTrafFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
#include <Menus.hpp>
#include <ImgList.hpp>
#include <ComCtrls.hpp>
#include <jpeg.hpp>
#include <AppEvnts.hpp>
//---------------------------------------------------------------------------
#include <windows.h>
#include <ADODB.hpp>
#include <DB.hpp>
#include "ITSUtilF.h"
#include "AppGlobalF.h"
#include "cxClasses.hpp"
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxHint.hpp"
#include "cxLabel.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "cxMaskEdit.hpp"
#include "cxPC.hpp"
#include "cxPCdxBarPopupMenu.hpp"
#include "cxSpinEdit.hpp"
#include "cxTextEdit.hpp"
#include "dxBar.hpp"
#include "dxCustomHint.hpp"
#include "dxRibbon.hpp"
#include "dxRibbonGallery.hpp"
#include "dxRibbonSkins.hpp"
#include "dxRibbonStatusBar.hpp"
#include "dxScreenTip.hpp"
#include "dxSkinBlack.hpp"
#include "dxSkinBlue.hpp"
#include "dxSkinCaramel.hpp"
#include "dxSkinChooserGallery.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 "dxSkinsdxBarPainter.hpp"
#include "dxSkinsdxRibbonPainter.hpp"
#include "dxSkinSeven.hpp"
#include "dxSkinsForm.hpp"
#include "dxSkinSharp.hpp"
#include "dxSkinSilver.hpp"
#include "dxSkinStardust.hpp"
#include "dxStatusBar.hpp"
#include "dxTabbedMDI.hpp"
#include <GIFImg.hpp>
#include <OleCtnrs.hpp>
#include "cxButtons.hpp"
#include "cxCalendar.hpp"
#include "cxDropDownEdit.hpp"
#include "cxGroupBox.hpp"
#include "cxSplitter.hpp"
#include "cxTimeEdit.hpp"
#include "cxCalc.hpp"
#include "cxCheckBox.hpp"
#include "cxCustomData.hpp"
#include "cxData.hpp"
#include "cxDataStorage.hpp"
#include "cxFilter.hpp"
#include "cxGrid.hpp"
#include "cxGridCustomTableView.hpp"
#include "cxGridCustomView.hpp"
#include "cxGridLevel.hpp"
#include "cxGridTableView.hpp"
#include "cxStyles.hpp"
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
#include "CDSVmsIfscF.h"
#include "cxGridBandedTableView.hpp"

//---------------------------------------------------------------------------
class TFrmVmsIfscTraf : public TForm//TdxCustomRibbonForm//TForm
{
__published:	// IDE-managed Components
    TcxHintStyleController *cxHintStyleController1;
    TdxSkinController *dxSkinController1;
    TShape *ShpTitle;
    TLabel *LblCaption;
    TShape *ShpList;
    TcxButton *BtnClose;
    TEdit *EdFocus;
    TPanel *PnlBack;
    TcxButton *BtnSearch;
    TTimer *TmrShow;
    TColorDialog *ColorDialog;
    TcxPageControl *PgVmsIfscTraf;
    TcxTabSheet *TabVmsIfscTraf;
    TcxGrid *CxList;
    TcxGridBandedTableView *TvList;
    TcxGridBandedColumn *Col00;
    TcxGridBandedColumn *Col01;
    TcxGridBandedColumn *Col02;
    TcxGridBandedColumn *Col03;
    TcxGridBandedColumn *Col04;
    TcxGridBandedColumn *Col11;
    TcxGridBandedColumn *Col05;
    TcxGridBandedColumn *Col06;
    TcxGridBandedColumn *Col12;
    TcxGridBandedColumn *Col08;
    TcxGridBandedColumn *Col07;
    TcxGridBandedColumn *Col44;
    TcxGridBandedColumn *Col21;
    TcxGridBandedColumn *Col22;
    TcxGridBandedColumn *Col31;
    TcxGridBandedColumn *Col41;
    TcxGridBandedColumn *Col32;
    TcxGridBandedColumn *Col42;
    TcxGridBandedColumn *Col43;
    TcxGridLevel *GlList;
    TcxPageControl *cxPageControl1;
    TcxTabSheet *cxTabSheet1;
    TcxGrid *CxIfsc;
    TcxGridTableView *TvIfsc;
    TcxGridColumn *ColI00;
    TcxGridColumn *ColI01;
    TcxGridColumn *ColI02;
    TcxGridColumn *ColI03;
    TcxGridColumn *ColI07;
    TcxGridColumn *ColI08;
    TcxGridColumn *ColI09;
    TcxGridColumn *ColI05;
    TcxGridColumn *ColI06;
    TcxGridColumn *ColI04;
    TcxGridLevel *GlIfsc;
    TcxGridBandedColumn *ColMem;
    void __fastcall FormCreate(TObject *Sender);
    void __fastcall FormShow(TObject *Sender);
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall BtnCloseClick(TObject *Sender);
    void __fastcall TmrShowTimer(TObject *Sender);
    void __fastcall BtnSearchClick(TObject *Sender);
    void __fastcall Col06CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
          bool &ADone);
    void __fastcall Col43CustomDrawCell(TcxCustomGridTableView *Sender, TcxCanvas *ACanvas, TcxGridTableDataCellViewInfo *AViewInfo,
          bool &ADone);
    void __fastcall TvListCellDblClick(TcxCustomGridTableView *Sender, TcxGridTableDataCellViewInfo *ACellViewInfo, TMouseButton AButton,
          TShiftState AShift, bool &AHandled);


private:	// User declarations
    String              FTitle;
public:
    void __fastcall SetColorScheme(String ASkinName);

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

	void __fastcall CommClose();
    void __fastcall FormInit();
    void __fastcall RefreshData();
    void __fastcall SelListData();
    void __fastcall DispIfscLinkTraf(TVmsIfsc* AVmsIfsc);

};
//---------------------------------------------------------------------------
extern PACKAGE TFrmVmsIfscTraf *FrmVmsIfscTraf;
//---------------------------------------------------------------------------
#endif

