parser_tecgra_com/mainFORM.h
2021-09-01 19:46:41 +02:00

56 lines
2.0 KiB
C++

//---------------------------------------------------------------------------
#ifndef mainFORMH
#define mainFORMH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <Buttons.hpp>
#include <ComCtrls.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TPanel *Panel1;
TLabel *Label1;
TComboBox *filelist;
TStringGrid *sg;
TSpeedButton *doFilter;
TPanel *Panel2;
TSpeedButton *btPost;
TSpeedButton *btVerDetalles;
TLabel *Label2;
TComboBox *tipoCambio;
TLabel *Label3;
TComboBox *columnaCambio;
TLabel *Label4;
TEdit *Edit1;
TUpDown *UpDown1;
TSpeedButton *SpeedButton1;
void __fastcall btPostClick(TObject *Sender);
void __fastcall btVerDetallesClick(TObject *Sender);
void __fastcall SpeedButton1Click(TObject *Sender);
void __fastcall doFilterClick(TObject *Sender);
private: // User declarations
bool __fastcall emptyLine( char *line );
bool __fastcall getPRE(char *line, char *pre);
bool __fastcall getHEAD( char *line, int *width, char *text );
bool __fastcall getFIXED_ROWS( char *line, int *fr );
bool __fastcall getANDsetDATA( char *line );
bool __fastcall loadFile(AnsiString filename);
bool __fastcall readline(FILE *f,char *line);
bool __fastcall saveFILE( AnsiString filename );
bool __fastcall loadFiles(void);
char varPRE[80];
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif