www.pudn.com > LoadMachineCode111.rar > Onlinelogin.h
#if !defined(AFX_ONLINELOGIN_H__7D4C12FF_DE91_4272_BF95_253376255558__INCLUDED_)
#define AFX_ONLINELOGIN_H__7D4C12FF_DE91_4272_BF95_253376255558__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Onlinelogin.h : header file
//
#include "PersonSet.h"
/////////////////////////////////////////////////////////////////////////////
// COnlinelogin dialog
typedef struct _tagUser
{
char name[18];
int oper;
char password[16];
}USERINFO;
class COnlinelogin : public CDialog
{
// Construction
public:
COnlinelogin(CWnd* pParent = NULL); // standard constructor
public:
DWORD m_oper;
// Dialog Data
//{{AFX_DATA(COnlinelogin)
enum { IDD = IDD_ONLINELOGIN };
CComboBox m_cboUserCtrl;
CString m_cboUser;
CString m_password;
//}}AFX_DATA
CPersonSet m_pset;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(COnlinelogin)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(COnlinelogin)
virtual BOOL OnInitDialog();
afx_msg void OnLogin();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ONLINELOGIN_H__7D4C12FF_DE91_4272_BF95_253376255558__INCLUDED_)