-
Notifications
You must be signed in to change notification settings - Fork 2
/
dialogoproducto.h
71 lines (64 loc) · 2.31 KB
/
dialogoproducto.h
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
//---------------------------------------------------------------------------
#ifndef dialogoproductoH
#define dialogoproductoH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <DBCtrls.hpp>
#include <Mask.hpp>
#include <Buttons.hpp>
//---------------------------------------------------------------------------
enum {
DLG_PTO_AGREGAR,
DLG_PTO_EDITAR,
DLG_PTO_N
};
class TFormDialogoProducto : public TForm
{
__published: // IDE-managed Components
TPanel *Panel1;
TPanel *Panel3;
TDBEdit *DBEditCodigo;
TLabel *Label1;
TLabel *Label2;
TDBEdit *DBEditFecha;
TBitBtn *BitBtnAceptar;
TBitBtn *BitBtnCancelar;
TPanel *Panel2;
TLabel *Label12;
TDBEdit *DBEditDescripcion;
TLabel *Label13;
TDBLookupComboBox *DBLookupComboBoxFamilia;
TBitBtn *BitBtnFamilias;
TLabel *Label17;
TDBLookupComboBox *DBLookupComboBoxUnidad;
TBitBtn *BitBtnUnidades;
TLabel *LabelPrecio1;
TDBEdit *DBEditPrecio1;
TLabel *LabelPrecio2;
TDBEdit *DBEditPrecio2;
TLabel *LabelPrecio3;
TDBEdit *DBEditPrecio3;
TLabel *Label3;
TDBEdit *DBEditGramos;
void __fastcall BitBtnAceptarClick(TObject *Sender);
void __fastcall BitBtnCancelarClick(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall FormShow(TObject *Sender);
void __fastcall BitBtnFamiliasClick(TObject *Sender);
void __fastcall DBEditPrecio1KeyPress(TObject *Sender, char &Key);
void __fastcall DBEditCodigoKeyPress(TObject *Sender, char &Key);
private: // User declarations
public: // User declarations
__fastcall TFormDialogoProducto(TComponent* Owner);
/* Mis declaraciones */
TModalResult Mostrar(int);
};
//---------------------------------------------------------------------------
extern PACKAGE TFormDialogoProducto *FormDialogoProducto;
//---------------------------------------------------------------------------
#endif