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

  1. /*************************************************
  2. HTBPass.dll
  3.  
  4. PasswordRun.cpp
  5.  
  6. Copyright TransEra Corporation 1999
  7. *************************************************/
  8. #include "stdafx.h"
  9. #include "HTBPass.h"
  10. #include "PasswordRun.h"
  11.  
  12. #ifdef _DEBUG
  13. #define new DEBUG_NEW
  14. #undef THIS_FILE
  15. static char THIS_FILE[] = __FILE__;
  16. #endif
  17.  
  18. PasswordRun::PasswordRun(CWnd* pParent /*=NULL*/)
  19.     : CDialog(PasswordRun::IDD, pParent) {
  20.     //{{AFX_DATA_INIT(PasswordRun)
  21.     m_UserName = _T("");
  22.     m_Password = _T("");
  23.     //}}AFX_DATA_INIT
  24. }
  25.  
  26. void PasswordRun::DoDataExchange(CDataExchange* pDX) {
  27.     CDialog::DoDataExchange(pDX);
  28.     //{{AFX_DATA_MAP(PasswordRun)
  29.     DDX_Text(pDX, IDC_EDIT1, m_UserName);
  30.     DDV_MaxChars(pDX, m_UserName, 256);
  31.     DDX_Text(pDX, IDC_EDIT2, m_Password);
  32.     DDV_MaxChars(pDX, m_Password, 256);
  33.     //}}AFX_DATA_MAP
  34. }
  35.  
  36. BEGIN_MESSAGE_MAP(PasswordRun, CDialog)
  37.     //{{AFX_MSG_MAP(PasswordRun)
  38.     //}}AFX_MSG_MAP
  39. END_MESSAGE_MAP()
  40.  
  41. void PasswordRun::OnOK()  {            
  42.     CDialog::OnOK();
  43. }
  44.  
  45. void PasswordRun::OnCancel()  {
  46.     CDialog::OnCancel();
  47. }
  48.