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

#ifndef USBMessage_FormH
#define USBMessage_FormH

#include "Com.h"
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------------------------------------------
class TUSBMessageForm : public TForm
{
__published:	// IDE-managed Components
	TLabel *Label1;
	TLabel *Label2;
	TLabel *BoardNameLabel;
	TLabel *Label3;
	TLabel *ErrorMessageLabel;
	TButton *Button1;
	TButton *IgnoreButton;
	TButton *CancelButton;
	TLabel *Label5;
	void __fastcall IgnoreButtonClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
	__fastcall TUSBMessageForm(TComponent* Owner);
	int __fastcall ShowMessage(AnsiString boardName, AnsiString message);
  void __fastcall SetPacketHeader(TUSBDataHeader *txHeader, TUSBDataHeader *rxHeader);
};
//---------------------------------------------------------------------------
extern PACKAGE TUSBMessageForm *USBMessageForm;
//---------------------------------------------------------------------------
#endif
