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

#ifndef Unit8H
#define Unit8H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class TForm8 : public TForm
{
__published:	// IDE-managed Components
        TBitBtn *BitBtn1;
        TBitBtn *BitBtn2;
        TBitBtn *BitBtn3;
        TBitBtn *BitBtn4;
        TOpenDialog *OpenDialog1;
        TLabel *Label1;
        TLabel *Label2;
        TLabel *Label3;
        TGroupBox *GroupBox1;
        TRadioButton *RadioButton1;
        TRadioButton *RadioButton2;
        void __fastcall BitBtn1Click(TObject *Sender);
        void __fastcall BitBtn2Click(TObject *Sender);
        void __fastcall BitBtn3Click(TObject *Sender);
        void __fastcall BitBtn4Click(TObject *Sender);
        void __fastcall RadioButton1Click(TObject *Sender);
        void __fastcall RadioButton2Click(TObject *Sender);
private:	String sn[300],sn1[300],sn2[300];
                    int i2;// User declarations
                    //
                    int js,jsi,tracknum,trackwidth,dj,Name_Height,j,ljcs[30],ccltwz[30][500],totaldpnum;
                    AnsiString Jh[300],Yczmc[300],Dymc[300],Jhc[300],Yczmcc[300],Dymcc[300],Bz[300],Bzc[300],Jh1[300],Yczmc1[300],Dymc1[300],Bz1[300];
                    String cc1[50],cc2[50],str16[50][500],str20[50][500];
                    float a21lj[30][500];
                    AnsiString la_Location[50];
                    AnsiString jhw[50][500];
                    float xcw[50][500], dsw[50][500],hdw[50][500],dbsd[50][500],syhd[50][500],yxhdd[50][500],yx[50][500];
                    AnsiString la_Name[50],File_name;
                    AnsiString dbf_Name[50];
                    int Xh[300],Xh1[300],Xhc[300],Switch,a8[10],i9;
                    String newname[30];
public:	int turn,num;
                    String ckjm,mbjm[300];      //参考井名，目标井名	// User declarations
        __fastcall TForm8(TComponent* Owner);
        String LAB1;
        String LAB2;
        String LAB3;
        int SearchRange;
};
//---------------------------------------------------------------------------
extern PACKAGE TForm8 *Form8;
//---------------------------------------------------------------------------
#endif
