📄 ~roomseldlg1.~h
字号:
#if !defined(AFX_ROOMSELDLG1_H__B8C92514_77DE_46B6_AEAA_E9BA816DD758__INCLUDED_)
#define AFX_ROOMSELDLG1_H__B8C92514_77DE_46B6_AEAA_E9BA816DD758__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RoomSelDlg1.h : header file
//
#include "LinkButton.h"
#include "MySocket.h" // Added by ClassView
#define MAX_ROOM 10
/////////////////////////////////////////////////////////////////////////////
// CRoomSelDlg dialog
class CRoomSelDlg : public CDialog
{
// Construction
public:
void SendgotoRoomInfo();
CMySocket * m_pSocket;
CString username;
char SelRoom;
CString IP;
int port;
CString roomname;
void CSetRoomInfo(CString pac);
CRoomSelDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CRoomSelDlg)
enum { IDD = IDD_DIALOG_SELECTROOM };
// CLinkButton m_room1;
// CLinkButton m_room2;
CLinkButton m_room[MAX_ROOM];
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRoomSelDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL PreCreateWindow(CREATESTRUCT &cs);
//}}AFX_VIRTUAL
// Implementation
protected:
int RoomNum;
CString name[10];
CString num[10];
// Generated message map functions
//{{AFX_MSG(CRoomSelDlg)
virtual BOOL OnInitDialog();
virtual void OnButton0();
virtual void OnButton1();
virtual void OnButton2();
virtual void OnButton3();
virtual void OnButton4();
virtual void OnButton5();
virtual void OnButton6();
virtual void OnButton7();
virtual void OnButton8();
virtual void OnButton9();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ROOMSELDLG1_H__B8C92514_77DE_46B6_AEAA_E9BA816DD758__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -