📄 datachoice.h
字号:
#if !defined(AFX_DATACHOICE_H__C230F9DA_E38C_4A05_80C2_D707EF9DF833__INCLUDED_)
#define AFX_DATACHOICE_H__C230F9DA_E38C_4A05_80C2_D707EF9DF833__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DataChoice.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDataChoice dialog
class CDataChoice : public CDialog
{
// Construction
public:
void ComboData(CString table_name);
bool append_combo(CString strSQL);
void DataShow(CString table_name);
void ClearList();
void ClearListGear();
bool Gear_Data_List(CString table_name,CString attri);
bool ShowInformation(CString strSQL);
CDataChoice(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDataChoice)
enum { IDD = IDD_DIALOG_data_choice };
CListCtrl m_list_gear_control;
CComboBox m_combo_rela;
CComboBox m_combo_attri;
CListCtrl m_list_control;
CString m_edit_value;
//}}AFX_DATA
int fields_count_cutter,fields_count_gear,count_cutter;
CDatabase *m_pdatabase;
CRecordset *m_pset;
CRecordset m_pset_gear;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDataChoice)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDataChoice)
virtual BOOL OnInitDialog();
afx_msg void OnDestroy();
afx_msg void OnBUTTONask();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnBTNall();
afx_msg void OnClickLISTdatachoice(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DATACHOICE_H__C230F9DA_E38C_4A05_80C2_D707EF9DF833__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -