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

#ifndef PlugInSetChartFH
#define PlugInSetChartFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <jpeg.hpp>
#include <Buttons.hpp>
#include <ImgList.hpp>
#include <Graphics.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
#include "DataTypesF.h"
#include <Menus.hpp>
#include "cxButtons.hpp"
#include "cxCheckBox.hpp"
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxDropDownEdit.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxImageComboBox.hpp"
#include "cxLabel.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "cxMaskEdit.hpp"
#include "cxTextEdit.hpp"
#include "dxSkinBlack.hpp"
#include "dxSkinBlue.hpp"
#include "dxSkinsCore.hpp"


//---------------------------------------------------------------------------
class TPlugInSetChart : public TForm
{
__published:	// IDE-managed Components
	TTimer *TmrRefresh;
    TShape *ShpInfo;
    TcxButton *BtnSave;
    TcxLabel *cxLabel1;
    TcxLabel *cxLabel2;
    TcxLabel *cxLabel3;
    TcxLabel *cxLabel4;
    TColorDialog *ColorDialog;
    TcxCheckBox *ChkVisible;
    TPanel *PnlItemColor;
    TcxImageComboBox *CbChartKind;
    TImage *ImgDesc01;
    TImage *ImgDesc02;
    TImage *ImgDesc03;
    TImage *ImgDesc04;
    TcxTextEdit *EdtItemNm;
	void __fastcall FormShow(TObject *Sender);
	void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
	void __fastcall TmrRefreshTimer(TObject *Sender);
    void __fastcall BtnSaveClick(TObject *Sender);
    void __fastcall PnlItemColorClick(TObject *Sender);
private:	// User declarations

public:
    int     m_nSrsType;
    bool    m_bUpdate;

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

    void __fastcall LoadLocalSkin();
	void __fastcall CommClose();
    void __fastcall FormInit();

	void __fastcall RefreshData();
};
//---------------------------------------------------------------------------
//extern PACKAGE TPlugInSetChart *PlugInSetChart;
//---------------------------------------------------------------------------
#endif
