📄 mydlgaddname.h
字号:
//{{AFX_INCLUDES()
#include "datagrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_MYDLGADDNAME_H__F9D5948B_1F53_452C_A6B2_714D60B691C6__INCLUDED_)
#define AFX_MYDLGADDNAME_H__F9D5948B_1F53_452C_A6B2_714D60B691C6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyDlgAddName.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMyDlgAddName dialog
class CMyDlgAddName : public CPropertyPage
{
DECLARE_DYNCREATE(CMyDlgAddName)
// Construction
public:
void InitNum();
void InitUnit();
void InitDataGrid();
CMyDlgAddName();
~CMyDlgAddName();
_RecordsetPtr p_recordset;
_ConnectionPtr p_connection;
_RecordsetPtr p_rec;
CString str_Name;
CString str_PinYin;
CString str_Unit;
CString str_Plant;
CString str_Num;
CString str_Spec;
// Dialog Data
//{{AFX_DATA(CMyDlgAddName)
enum { IDD = IDD_DIALOG_ADDNAME };
CStatic m_Static_Text;
CEdit m_Edit_Spec;
CEdit m_Edit_Plant;
CEdit m_Edit_PinYin;
CEdit m_Edit_Num;
CComboBox m_Combo_Unit;
CEdit m_Edit_Name;
CDataGrid m_DataGrid;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CMyDlgAddName)
public:
virtual void OnFinalRelease();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CMyDlgAddName)
virtual void OnOK();
virtual BOOL OnInitDialog();
afx_msg void OnButton1DelName();
afx_msg void OnButtonCommend();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
// Generated OLE dispatch map functions
//{{AFX_DISPATCH(CMyDlgAddName)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_DISPATCH
DECLARE_DISPATCH_MAP()
DECLARE_INTERFACE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYDLGADDNAME_H__F9D5948B_1F53_452C_A6B2_714D60B691C6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -