home *** CD-ROM | disk | FTP | other *** search
/ HTBasic 9.3 / HTBasic 9.3.iso / 93win / data1.cab / DLL_Toolkit / Source / HTBPass / RegularRun.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2005-03-02  |  1.3 KB  |  63 lines

  1. /*************************************************
  2. HTBPass.dll
  3.  
  4. RegularRun.cpp
  5.  
  6. Copyright TransEra Corporation 1999
  7. *************************************************/
  8. #include "stdafx.h"
  9. #include "HTBPass.h"
  10. #include "RegularRun.h"
  11.  
  12. #ifdef _DEBUG
  13. #define new DEBUG_NEW
  14. #undef THIS_FILE
  15. static char THIS_FILE[] = __FILE__;
  16. #endif
  17.  
  18. /////////////////////////////////////////////////////////////////////////////
  19. // RegularRun dialog
  20.  
  21.  
  22. RegularRun::RegularRun(CWnd* pParent /*=NULL*/)
  23.     : CDialog(RegularRun::IDD, pParent)
  24. {
  25.     //{{AFX_DATA_INIT(RegularRun)
  26.     m_rUserName = _T("");
  27.     m_rPassword = _T("");
  28.     //}}AFX_DATA_INIT
  29. }
  30.  
  31.  
  32. void RegularRun::DoDataExchange(CDataExchange* pDX)
  33. {
  34.     CDialog::DoDataExchange(pDX);
  35.     //{{AFX_DATA_MAP(RegularRun)
  36.     DDX_Text(pDX, IDC_EDIT1, m_rUserName);
  37.     DDV_MaxChars(pDX, m_rUserName, 256);
  38.     DDX_Text(pDX, IDC_EDIT2, m_rPassword);
  39.     DDV_MaxChars(pDX, m_rPassword, 256);
  40.     //}}AFX_DATA_MAP
  41. }
  42.  
  43.  
  44. BEGIN_MESSAGE_MAP(RegularRun, CDialog)
  45.     //{{AFX_MSG_MAP(RegularRun)
  46.     ON_BN_CLICKED(IDOK, OnrOk)
  47.     ON_BN_CLICKED(IDCANCEL, OnRCancel)
  48.     //}}AFX_MSG_MAP
  49. END_MESSAGE_MAP()
  50.  
  51. /////////////////////////////////////////////////////////////////////////////
  52. // RegularRun message handlers
  53.  
  54. void RegularRun::OnrOk()  {
  55.     CDialog::OnOK();
  56.     
  57. }
  58.  
  59. void RegularRun::OnRCancel()  {
  60.     CDialog::OnCancel();
  61.     
  62. }
  63.