📄 switchdlg.h
字号:
// SwitchDlg.h : 头文件
//
// CSwitchDlg 对话框
#include"MODIF.h"
#include<map>
#include<vector>
#include<string>
#include "afxwin.h"
#include<algorithm>
#include "ColorStatic.h"
#include "ColorButton.h"
#include "WinXPButtonSt.h"
#include"addnew.h"
using namespace std;
typedef pair <CString, CString> Str_Pair;
class CSwitchDlg : public CDialog
{
// 构造
public:
CSwitchDlg(CWnd* pParent = NULL); // 标准构造函数
map <CString,CString> Sea;
_ConnectionPtr m_pConnection;
_CommandPtr m_pCommand;
_RecordsetPtr m_pRecordset;
CWinXPButtonST m_Setting;
CWinXPButtonST m_SaveAll;
CWinXPButtonST m_Ex1;
CWinXPButtonST m_Ex2;
CBitmap m_bmpBackground;
CBitmap m_bmpAdd;
CBitmap m_bmpState;
CBitmap m_bmpLeftTitle;
CBitmap m_bmpRightTitle;
CBitmap m_bmpRightBar;
CColorStatic m_Sta_Input;
CColorStatic m_Sta_Memu;
CAddNew *Add_New;
// 对话框数据
enum { IDD = IDD_SWITCH_DIALOG };
CBitmapButton m_SearchBt;
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
// 实现
protected:
HICON m_hIcon;
// 生成的消息映射函数
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg void OnWriteAccess( CString ,CString ,CString);
afx_msg void OnReadAccess();
afx_msg void OnDelete();
afx_msg void OnModify(CString,CString );
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedSearch();
afx_msg void OnEnChangeInput();
public:
CListBox m_AccessList;
CString m_Input;
CString m_Detailed;
public:
afx_msg void OnLbnSelchangeListaccess();
afx_msg void OnLbnDblclkListaccess();
afx_msg LONG OnAddNewItem(WPARAM wP,LPARAM lP);
afx_msg void OnEnable(BOOL bEnable);
public:
afx_msg void OnBnClickedSaveall();
public:
afx_msg void OnDestroy();
public:
afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
public:
afx_msg void OnAddnew();
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -