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

#ifndef PRK0011MFH
#define PRK0011MFH
//---------------------------------------------------------------------------
#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 "cxButtonEdit.hpp"
#include "cxButtons.hpp"
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGroupBox.hpp"
#include "cxLabel.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "cxMaskEdit.hpp"
#include "cxTextEdit.hpp"
#include "dxSkinBlack.hpp"
#include "dxSkinMcSkin.hpp"
#include "dxSkinsCore.hpp"

class TPRK0011M : public TForm
{
__published:	// IDE-managed Components
    TTimer *TmrShow;
    TShape *ShpTitle;
    TcxButton *BtnClose;
    TLabel *LblCaption;
    TEdit *EdFocus;
    TSaveDialog *SaveDialog;
    TOpenPictureDialog *OpenBmp;
    TcxGroupBox *cxGroupBox1;
    TPanel *PnlCmd;
    TImage *ImgDesc01;
    TPanel *PnlInfo2;
    TScrollBox *ScrollBox1;
    TImage *PRK_PLCE_IMAGE_DATA;
    TcxButtonEdit *EdImageFileName;
    TcxLabel *cxLabel3;
    TcxButton *BtnSelect;
    void __fastcall FormShow(TObject *Sender);
    void __fastcall TmrShowTimer(TObject *Sender);
    void __fastcall BtnCloseClick(TObject *Sender);
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall EdImageFileNameClick(TObject *Sender);
    void __fastcall OpenBmpCanClose(TObject *Sender, bool &CanClose);
    void __fastcall BtnSaveImgFileClick(TObject *Sender);
    void __fastcall BtnSelectClick(TObject *Sender);



private:	// User declarations
    void __fastcall CommClose();
    String          FTitle;

    TImage *FPRK_PLCE_IMAGE_DATA;

public:

    bool    FSelected;
    String  FPRK_PLCE_IMAGE_TYPE;

public:		// User declarations
    __fastcall TPRK0011M(TComponent* Owner, TImage *APRK_PLCE_IMAGE_DATA, String APRK_PLCE_IMAGE_TYPE);


    void __fastcall FormInit();


    void __fastcall ClearImage();
    bool __fastcall AssignPrkFlrImage(String AExt, TMemoryStream *AImgStream);

};
//---------------------------------------------------------------------------
extern PACKAGE TPRK0011M *PRK0011M;
//---------------------------------------------------------------------------

#endif

