-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUnit6.cpp
More file actions
29 lines (25 loc) · 791 Bytes
/
Copy pathUnit6.cpp
File metadata and controls
29 lines (25 loc) · 791 Bytes
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
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Unit6.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "frxClass"
#pragma link "frxCtrls"
#pragma link "frxDesgnCtrls"
#pragma resource "*.dfm"
TForm6 *Form6;
//---------------------------------------------------------------------------
__fastcall TForm6::TForm6(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm6::Button1Click(TObject *Sender)
{
if(PrintDialog1->Execute())
{
Form6->Print();
}
}
//---------------------------------------------------------------------------