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
|
// Demande.cpp : fichier d'implémentation
//
#include "stdafx.h"
#include "tante.h"
#include "Demande.h"
#include ".\demande.h"
#include "Client.h"
#include "Pret.h"
// Boîte de dialogue CDemande
IMPLEMENT_DYNAMIC(Cdemande, CDialog)
Cdemande::Cdemande(CWnd* pParent /*=NULL*/)
: CDialog(Cdemande::IDD, pParent)
{
pret = new Cpret; //CONSTRUCTION
}
Cdemande::~Cdemande()
{
delete pret; //DESTRUCTION
}
void CGnHrdemande::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Control(pDX, IDC_CALCULER, calculer);
DDX_Control(pDX, IDC_PRIX_GENERE, prix_gen);
DDX_Control(pDX, IDC_VAL_PRET, val_prix);
DDX_Control(pDX, IDC_GLOB_PRIX, glob_prix);
DDX_Control(pDX, IDC_EURO, aff_euro);
}
BEGIN_MESSAGE_MAP(Cdemande, CDialog)
ON_BN_CLICKED(IDC_CALCULER, OnBnClickedCalculer)
ON_BN_CLICKED(IDC_VAL_PRET, OnBnClickedValPret)
END_MESSAGE_MAP()
// Gestionnaires de messages CDemande |
Partager