www.pudn.com > Producer&cusuom.rar > Unit1.h


//--------------------------------------------------------------------------- 
#ifndef Unit1H 
#define Unit1H 
//--------------------------------------------------------------------------- 
#include "unitthreadproducter.h" 
#include  
#include  
#include  
#include  
#include  
#include  
#include "unitStreadProduct.h" 
#include  
#include  
typedef struct FreeProducts 
 { 
  TStreamProduct *TSP; 
  struct FreeProducts *PTRStread; 
 }freeproducts; 
extern TStreamProduct *Thread1; 
extern TStreamProduct *Thread2,*Thread3,*Thread4,*TmpProducterThread; 
extern freeproducts *lpHead; 
extern freeproducts *lpEnd; 
extern freeproducts *Tmppt; 
extern TCriticalSection *TQ; 
//--------------------------------------------------------------------------- 
class TForm1 : public TForm 
{ 
__published:	// IDE-managed Components 
        TPanel *Panel1; 
        TPanel *Panel2; 
        TGroupBox *GroupBox1; 
        TGroupBox *GroupBox2; 
        TProgressBar *ProgressBar1; 
        TButton *Button1; 
        TLabel *Label1; 
        TEdit *Edit1; 
        TPanel *Panel3; 
        TPanel *Panel4; 
        TProgressBar *ProgressBar2; 
        TButton *Button2; 
        TLabel *Label2; 
        TEdit *Edit2; 
        TProgressBar *ProgressBar3; 
        TButton *Button3; 
        TLabel *Label3; 
        TEdit *Edit3; 
        TProgressBar *ProgressBar4; 
        TProgressBar *ProgressBar5; 
        TButton *Button4; 
        TButton *Button5; 
        TLabel *Label4; 
        TLabel *Label5; 
        TEdit *Edit4; 
        TEdit *Edit5; 
        TTimer *Timer1; 
        TTimer *Timer2; 
        TMainMenu *MainMenu1; 
        TMenuItem *Exit; 
        TMenuItem *N1; 
        void __fastcall Button1Click(TObject *Sender); 
        void __fastcall Button2Click(TObject *Sender); 
        void __fastcall Button4Click(TObject *Sender); 
        void __fastcall Button3Click(TObject *Sender); 
        void __fastcall Button5Click(TObject *Sender); 
        void __fastcall Timer1Timer(TObject *Sender); 
        void __fastcall FormCreate(TObject *Sender); 
        void __fastcall FormDestroy(TObject *Sender); 
        void __fastcall Timer2Timer(TObject *Sender); 
        void __fastcall ExitClick(TObject *Sender); 
        void __fastcall N1Click(TObject *Sender); 
private:	// User declarations 
public:		// User declarations 
        __fastcall TForm1(TComponent* Owner); 
}; 
//--------------------------------------------------------------------------- 
extern PACKAGE TForm1 *Form1; 
//--------------------------------------------------------------------------- 
#endif