home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
CUST.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
1KB
|
37 lines
//----------------------------------------------------------------------------
//Borland C++Builder
//Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
//----------------------------------------------------------------------------
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Cust.h"
#include "FindCust.h"
#include "About.h"
#include "DM.h"
//---------------------------------------------------------------------------
#pragma resource "*.dfm"
TfmCustomers *fmCustomers;
//---------------------------------------------------------------------------
__fastcall TfmCustomers::TfmCustomers(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TfmCustomers::AboutItemClick(TObject *Sender)
{
TfmAboutBox* fmAbout = new TfmAboutBox(this);
fmAbout->ShowModal();
delete fmAbout;
}
//---------------------------------------------------------------------
void __fastcall TfmCustomers::BitBtn1Click(TObject *Sender)
{
fmFindCust->ShowModal();
if (fmFindCust->ModalResult == mrOk)
DM2->Customer->GotoCurrent(DM2->CustLookup);
}
//---------------------------------------------------------------------