-
Notifications
You must be signed in to change notification settings - Fork 2
/
registrodocumentos.h
91 lines (87 loc) · 3.82 KB
/
registrodocumentos.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
//---------------------------------------------------------------------------
#ifndef registrodocumentosH
#define registrodocumentosH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <DBGrids.hpp>
#include <Grids.hpp>
#include <Menus.hpp>
#include <ComCtrls.hpp>
#include <ImgList.hpp>
#include <ToolWin.hpp>
#include <AppEvnts.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class TFormRegistroDocumentos : public TForm
{
__published: // IDE-managed Components
TDBGrid *DBGrid;
TMainMenu *MainMenu;
TMenuItem *MenuItemArchivo;
TMenuItem *MenuItemCerrar;
TMenuItem *MenuItemVer;
TMenuItem *MenuItemOrdenar;
TMenuItem *MenuItemDocumento;
TMenuItem *MenuItemImprimir;
TMenuItem *MenuItemAnular;
TMenuItem *MenuItemMostrar;
TMenuItem *MenuItemEditar;
TPopupMenu *PopupMenu;
TMenuItem *MenuItemMostrar2;
TMenuItem *MenuItemImprimir2;
TMenuItem *MenuItemEditar2;
TMenuItem *MenuItemAnular2;
TMenuItem *MenuItemImprimirPeriodo;
TToolBar *ToolBar;
TToolButton *ToolButtonImprimirPeriodo;
TImageList *ImageList;
TToolButton *ToolButtonEditar;
TToolButton *ToolButtonAnular;
TToolButton *ToolButtonMostrar;
TToolButton *ToolButton6;
TMenuItem *MenuItemVisualizarPeriodo;
TSaveDialog *SaveDialog;
TMenuItem *MenuItemHerramientas;
TMenuItem *MenuItemExportarPlanilla;
TMenuItem *MenuItemExportarVentas;
TMenuItem *MenuItemEliminar;
TMenuItem *MenuItemEliminar2;
void __fastcall MenuItemCerrarClick(TObject *Sender);
void __fastcall MenuItemMostrarClick(TObject *Sender);
void __fastcall MenuItemEditarClick(TObject *Sender);
void __fastcall MenuItemImprimirClick(TObject *Sender);
void __fastcall MenuItemAnularClick(TObject *Sender);
void __fastcall DBGridDrawColumnCell(TObject *Sender,
const TRect &Rect, int DataCol, TColumn *Column,
TGridDrawState State);
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
void __fastcall MenuItemDocumentoClick(TObject *Sender);
void __fastcall MenuItemImprimirPeriodoClick(TObject *Sender);
void __fastcall ToolButtonImprimirPeriodoClick(TObject *Sender);
void __fastcall ToolButtonMostrarClick(TObject *Sender);
void __fastcall ToolButtonEditarClick(TObject *Sender);
void __fastcall ToolButtonAnularClick(TObject *Sender);
void __fastcall MenuItemVisualizarPeriodoClick(TObject *Sender);
void __fastcall MenuItemExportarPlanillaClick(TObject *Sender);
void __fastcall MenuItemExportarVentasClick(TObject *Sender);
void __fastcall MenuItemEliminarClick(TObject *Sender);
private: // User declarations
void __fastcall MenuItemOrdCol(TObject *Sender);
void ImprimirPendientes(int tipodocumento);
public: // User declarations
__fastcall TFormRegistroDocumentos(TComponent* Owner);
/* Mis declaraciones */
void Mostrar();
void AnularDocumento(int tipodocumento, int numerodocumento);
void MostrarDocumento(int tipodocumento, int numerodocumento);
//void ReducirAnulados(int conservar);
void EliminarDocumento(int tipodocumento, int numerodocumento);
};
//---------------------------------------------------------------------------
extern PACKAGE TFormRegistroDocumentos *FormRegistroDocumentos;
//---------------------------------------------------------------------------
#endif