Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
99 lines
2.5 KiB
C++
99 lines
2.5 KiB
C++
// AuthDBManagerDlg.h : header file
|
||
//
|
||
|
||
#if !defined(AFX_AuthDBManagerDLG_H__E7BBB14C_99A2_40F4_A212_B00B1FF8EEF2__INCLUDED_)
|
||
#define AFX_AuthDBManagerDLG_H__E7BBB14C_99A2_40F4_A212_B00B1FF8EEF2__INCLUDED_
|
||
|
||
#if _MSC_VER > 1000
|
||
#pragma once
|
||
#endif // _MSC_VER > 1000
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
// CAuthDBManagerDlg dialog
|
||
#include "AuthDBManager.h"
|
||
|
||
#include "Led\Led.h"
|
||
|
||
#include "ConnectDlg.h"
|
||
#include "SearchDlg.h"
|
||
#include "UserList.h"
|
||
|
||
class CAuthDBManagerDlg : public CDialog
|
||
{
|
||
// Construction
|
||
public:
|
||
CAuthDBManagerDlg(CWnd* pParent = NULL); // standard constructor
|
||
|
||
// Dialog Data
|
||
//{{AFX_DATA(CAuthDBManagerDlg)
|
||
enum { IDD = IDD_AuthDBManager_DIALOG };
|
||
CComboBox m_Sex;
|
||
CUserList m_UserList;
|
||
CLed m_QueryLed;
|
||
CLed m_ConnectionLed;
|
||
CString m_ErrorLog;
|
||
CString m_SelectedCount;
|
||
CString m_SelectedRow;
|
||
CString m_SelectedUID;
|
||
CString m_SelectedID;
|
||
CString m_TotalRow;
|
||
CString m_Address;
|
||
CString m_Birth;
|
||
CString m_Email;
|
||
CString m_ID;
|
||
CString m_IDNumber;
|
||
CString m_Job;
|
||
CString m_Mobile;
|
||
CString m_Name;
|
||
CString m_Password;
|
||
CString m_Phone;
|
||
CString m_ZipCode;
|
||
//}}AFX_DATA
|
||
|
||
// ClassWizard generated virtual function overrides
|
||
//{{AFX_VIRTUAL(CAuthDBManagerDlg)
|
||
protected:
|
||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||
//}}AFX_VIRTUAL
|
||
|
||
// Implementation
|
||
protected:
|
||
HICON m_hIcon;
|
||
char m_Select[2][10];
|
||
|
||
// Generated message map functions
|
||
//{{AFX_MSG(CAuthDBManagerDlg)
|
||
virtual BOOL OnInitDialog();
|
||
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
|
||
afx_msg void OnEndlabeleditUserList(NMHDR* pNMHDR, LRESULT* pResult);
|
||
afx_msg void OnPaint();
|
||
afx_msg HCURSOR OnQueryDragIcon();
|
||
afx_msg void OnAbout();
|
||
afx_msg void OnConnect();
|
||
afx_msg void OnDisconnect();
|
||
afx_msg void OnClickUserList(NMHDR* pNMHDR, LRESULT* pResult);
|
||
afx_msg void OnAddUser();
|
||
afx_msg void OnDeleteUser();
|
||
afx_msg void OnInitLogintime();
|
||
afx_msg void OnRefesh();
|
||
afx_msg void OnSearch();
|
||
afx_msg void OnKeydownUserList(NMHDR* pNMHDR, LRESULT* pResult);
|
||
//}}AFX_MSG
|
||
DECLARE_MESSAGE_MAP()
|
||
|
||
public:
|
||
int m_Align; // <20><><EFBFBD><EFBFBD>
|
||
int m_AlignType;
|
||
int m_SearchType; // <20>˻<EFBFBD>
|
||
char m_Search[256];
|
||
|
||
public:
|
||
bool ConnectDB(int Type, CString DataSource, CString Server, CString DataBase, CString User, CString Pass);
|
||
bool UpdateUserTable(void);
|
||
};
|
||
|
||
//{{AFX_INSERT_LOCATION}}
|
||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||
|
||
#endif // !defined(AFX_AuthDBManagerDLG_H__E7BBB14C_99A2_40F4_A212_B00B1FF8EEF2__INCLUDED_)
|