📄 ustomertypedlg.h
字号:
#if !defined(AFX_USTOMERTYPEDLG_H__4D55C54E_5DC4_4DC5_B616_CDAD268A8C3B__INCLUDED_)
#define AFX_USTOMERTYPEDLG_H__4D55C54E_5DC4_4DC5_B616_CDAD268A8C3B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ustomerTypeDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CustomerTypeDlg dialog
#include "BtnST.h"
#include "3DBar.h"
class CustomerTypeDlg : public CDialog
{
// Construction
public:
CustomerTypeDlg(CWnd* pParent = NULL); // standard constructor
void InitialListView();
void InsertData();
void InitialCtrl();
void SetButtonBkColor();
BOOL bIsAdd;
BOOL bIsModify;
// Dialog Data
//{{AFX_DATA(CustomerTypeDlg)
enum { IDD = IDD_DIALOG_CUSTOMER_TYPE };
CButtonST m_save;
CButtonST m_modify;
CButtonST m_add;
CButtonST m_cancel;
CButtonST m_ok;
CListCtrl m_list;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CustomerTypeDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
C3DBar bar;//画边框
// Generated message map functions
//{{AFX_MSG(CustomerTypeDlg)
virtual BOOL OnInitDialog();
afx_msg void OnClickListCustomerType(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnButtonCustomerTypeAdd();
afx_msg void OnButtonCustomerTypeModify();
afx_msg void OnButtonCustomerTypeSave();
afx_msg void OnPaint();
afx_msg void OnDeleteType();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_USTOMERTYPEDLG_H__4D55C54E_5DC4_4DC5_B616_CDAD268A8C3B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -