home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Anthology
/
aDELPHI.iso
/
ActiveX
/
BtPrinterList.ActiveX.Control.v1.1.0.0.Win9x.Cracked-KAC
/
Btprtl_t.exe
/
CMain.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1999-10-31
|
2KB
|
54 lines
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "CMain.h"
#include "CActions.h"
#include "CDetails.h"
#include "CHelpers.h"
#include "CLists.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "BTPRINTERLISTCTRLLib_OCX"
#pragma resource "*.dfm"
TFormMain *FormMain;
//---------------------------------------------------------------------------
__fastcall TFormMain::TFormMain(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TFormMain::bnListsClick(TObject *Sender)
{
FormList = new TFormList(this);
FormList->ShowModal();
delete FormList;
}
//---------------------------------------------------------------------------
void __fastcall TFormMain::bnDetailsClick(TObject *Sender)
{
FormDetail = new TFormDetail(this);
FormDetail->ShowModal();
delete FormDetail;
}
//---------------------------------------------------------------------------
void __fastcall TFormMain::bnActionsClick(TObject *Sender)
{
FormActions = new TFormActions(this);
FormActions->ShowModal();
delete FormActions;
}
//---------------------------------------------------------------------------
void __fastcall TFormMain::bnHelpersClick(TObject *Sender)
{
FormHelper = new TFormHelper(this);
FormHelper->ShowModal();
delete FormHelper;
}
//---------------------------------------------------------------------------