-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUnit1.h
More file actions
50 lines (49 loc) · 1.79 KB
/
Unit1.h
File metadata and controls
50 lines (49 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TGroupBox *GroupBox1;
TGroupBox *GroupBox2;
TButton *Btn_Calcular;
TImage *Image1;
TRadioButton *Rdb_Corriente;
TRadioButton *Rdb_Voltaje;
TRadioButton *Rdb_Resistencia;
TLabel *Label_Corriente;
TLabel *Label_Voltaje;
TLabel *Label_Resistencia;
TLabel *LabelA;
TLabel *LabelV;
TLabel *LabelOhms;
TEdit *Txt_Corriente;
TEdit *Txt_Voltaje;
TEdit *Txt_Resistencia;
TButton *Btn_Salir;
TLabel *Label_Potencia;
TEdit *Txt_Potencia;
TLabel *LabelWatts;
TRadioButton *Rdb_Potencia;
void __fastcall Btn_SalirClick(TObject *Sender);
void __fastcall Rdb_CorrienteClick(TObject *Sender);
void __fastcall Rdb_VoltajeClick(TObject *Sender);
void __fastcall Rdb_ResistenciaClick(TObject *Sender);
void __fastcall Btn_CalcularClick(TObject *Sender);
void __fastcall Rdb_PotenciaClick(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif