📄 mythreaddlg.h
字号:
// MyThreadDlg.h : header file
//
#if !defined(AFX_MYTHREADDLG_H__A70B51A6_390E_4F28_92FD_965E315BB0B8__INCLUDED_)
#define AFX_MYTHREADDLG_H__A70B51A6_390E_4F28_92FD_965E315BB0B8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "afxmt.h"
#include "Thread1.h"
#include "SendThread1.h"
#include "Thread2.h"
#include "Thread3.h"
#include "Reg.h"
class SendThread1;
class Thread1;
class Thread2;
class Thread3;
class SmgpOperate;
/////////////////////////////////////////////////////////////////////////////
// CMyThreadDlg dialog
class CMyThreadDlg : public CDialog
{
// Construction
public:
SendThread1* send_thread1;
Thread1* m_thread1;
Thread2* m_thread2;
Thread3* m_thread3;
Reg reg;
CCriticalSection g_cs;
BOOL m_active;
BOOL db_active;
int send_speed;
CString db_user;
CString db_password;
CString db_server;
//CWinThread m_thread1;
BOOL AddString(char* s1);
BOOL ConnectDB();
CMyThreadDlg(CWnd* pParent = NULL); // standard constructor
_ConnectionPtr m_connection;
HRESULT hr;
_variant_t RecordsAffected;
// Dialog Data
//{{AFX_DATA(CMyThreadDlg)
enum { IDD = IDD_MYTHREAD_DIALOG };
CButton m_stop;
CButton m_start;
CListBox m_List1;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyThreadDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMyThreadDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButtonStart();
afx_msg void OnButtonStop();
afx_msg void OnReg();
afx_msg void OnAbout1();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYTHREADDLG_H__A70B51A6_390E_4F28_92FD_965E315BB0B8__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -