-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathuMainForm.cpp
More file actions
76 lines (64 loc) · 2.1 KB
/
uMainForm.cpp
File metadata and controls
76 lines (64 loc) · 2.1 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
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
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "uMainForm.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "cxButtons"
#pragma link "cxClasses"
#pragma link "cxControls"
#pragma link "cxCustomData"
#pragma link "cxData"
#pragma link "cxDataStorage"
#pragma link "cxDBData"
#pragma link "cxEdit"
#pragma link "cxFilter"
#pragma link "cxGraphics"
#pragma link "cxGrid"
#pragma link "cxGridCustomTableView"
#pragma link "cxGridCustomView"
#pragma link "cxGridDBTableView"
#pragma link "cxGridLevel"
#pragma link "cxGridTableView"
#pragma link "cxLookAndFeelPainters"
#pragma link "cxLookAndFeels"
#pragma link "cxNavigator"
#pragma link "cxStyles"
#pragma link "dxDateRanges"
#pragma link "dxReport"
#pragma link "dxScrollbarAnnotations"
#pragma link "dxmdaset"
#pragma link "cxContainer"
#pragma link "cxLabel"
#pragma link "dxBackend"
#pragma link "dxBackend.ConnectionString.JSON"
#pragma link "dxBackend.ConnectionString.JSON.DataSet"
#pragma resource "*.dfm"
TMainForm *MainForm;
//---------------------------------------------------------------------------
__fastcall TMainForm::TMainForm(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
void __fastcall TMainForm::btnShowDesignerClick(TObject *Sender)
{
dxReport1->ShowDesigner();
}
//---------------------------------------------------------------------------
void __fastcall TMainForm::btnViewReportClick(TObject *Sender)
{
dxReport1->ShowViewer();
}
//---------------------------------------------------------------------------
void __fastcall TMainForm::btnSetLanguageUSClick(TObject *Sender)
{
dxReport1->Language = "en-US";
}
//---------------------------------------------------------------------------
void __fastcall TMainForm::btnSetLanguageDEClick(TObject *Sender)
{
dxReport1->Language = "de-DE";
}
//---------------------------------------------------------------------------