📄 dlgcustomerinfo.h
字号:
#if !defined(AFX_DLGCUSTOMERINFO_H__9E1F4B9B_E029_4203_82D8_451FD0B13053__INCLUDED_)
#define AFX_DLGCUSTOMERINFO_H__9E1F4B9B_E029_4203_82D8_451FD0B13053__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgCustomerInfo.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDlgCustomerInfo dialog
class CDlgCustomerInfo : public CDialog
{
// Construction
public:
int m_iTitle;
CDlgCustomerInfo(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDlgCustomerInfo)
enum { IDD = IDD_CUSTOMER_INFO };
CButton m_ButExit;
CButton m_ButUndo;
CButton m_ButSave;
CListCtrl m_list;
CButton m_ButDel;
CButton m_ButEdit;
CButton m_ButAdd;
CString m_code;
CString m_companyName;
CString m_contactName;
CString m_address;
CString m_city;
CString m_email;
CString m_fax;
CString m_homePage;
CString m_phone;
CString m_postalCode;
CString m_remark;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgCustomerInfo)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void Refresh();
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CDlgCustomerInfo)
virtual BOOL OnInitDialog();
afx_msg void OnDblclkList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnAdd();
afx_msg void OnChange();
afx_msg void OnDel();
afx_msg void OnSave();
afx_msg void OnUndo();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
BOOL IsHave(const CString &sName, const CString &sNum,const int &iType);
void ClearFrom();
void Enabled(BOOL bEnabled);
int m_iAddOrChange;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGCUSTOMERINFO_H__9E1F4B9B_E029_4203_82D8_451FD0B13053__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -