home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / sheriffa / licenced.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1997-09-02  |  1.1 KB  |  52 lines

  1. // LicenceDlg.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "SlsDemo.h"
  6. #include "LicenceDlg.h"
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CLicenceDlg dialog
  16.  
  17.  
  18. CLicenceDlg::CLicenceDlg(CWnd* pParent /*=NULL*/)
  19.     : CDialog(CLicenceDlg::IDD, pParent)
  20. {
  21.     //{{AFX_DATA_INIT(CLicenceDlg)
  22.     m_strReferenceCode = _T("");
  23.     m_strLicenceKey = _T("");
  24.     //}}AFX_DATA_INIT
  25. }
  26.  
  27.  
  28. void CLicenceDlg::DoDataExchange(CDataExchange* pDX)
  29. {
  30.     CDialog::DoDataExchange(pDX);
  31.     //{{AFX_DATA_MAP(CLicenceDlg)
  32.     DDX_Text(pDX, IDC_REFERENCE_CODE, m_strReferenceCode);
  33.     DDX_Text(pDX, IDC_LICENCE_KEY, m_strLicenceKey);
  34.     //}}AFX_DATA_MAP
  35. }
  36.  
  37.  
  38. BEGIN_MESSAGE_MAP(CLicenceDlg, CDialog)
  39.     //{{AFX_MSG_MAP(CLicenceDlg)
  40.     //}}AFX_MSG_MAP
  41. END_MESSAGE_MAP()
  42.  
  43. /////////////////////////////////////////////////////////////////////////////
  44. // CLicenceDlg message handlers
  45.  
  46. void CLicenceDlg::OnOK() 
  47. {
  48.     // TODO: Add extra validation here
  49.     
  50.     CDialog::OnOK();
  51. }
  52.