⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gear_para_main.h

📁 C# 教学示例程序
💻 H
字号:
#if !defined(AFX_GEAR_PARA_MAIN_H__F6942CD8_73CA_4845_B95C_F609913FC666__INCLUDED_)
#define AFX_GEAR_PARA_MAIN_H__F6942CD8_73CA_4845_B95C_F609913FC666__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Gear_Para_Main.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CGear_Para_Main dialog

class CGear_Para_Main : public CDialog
{
// Construction
public:
	CGear_Para_Main(CWnd* pParent = NULL);   // standard constructor
    CDatabase *m_pdatabase;
    CRecordset *m_pset;
	
    BOOL ShowInformation(CString strSQL);
	void ClearList();
	void DataShow(CString table_name);
	void DataDelete(CString table_name,CString attri);
	bool Edit_Data_Gain(CString table_name,CString attri);
	void Gear_Para_Modify();
	void Gear_Para_Append();
	bool append_combox(CString strSQL);
	void ComboxData(CString table_name);
	
// Dialog Data
	//{{AFX_DATA(CGear_Para_Main)
	enum { IDD = IDD_DIALOG_main_gear };
	CComboBox	m_combo_rela;
	CComboBox	m_combo_attri;
	CListCtrl	m_list_control;
	CString	m_edit_value;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGear_Para_Main)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	CToolBar    m_wndToolBar;
	// Generated message map functions
	//{{AFX_MSG(CGear_Para_Main)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	afx_msg void OnBUTTONappend();
	afx_msg void OnBUTTONdelete();
	afx_msg void OnBUTTONfind();
	afx_msg void OnBUTTONmodify();
	afx_msg void OnBUTTONexit();
	afx_msg void OnDblclkLISTgearparaview(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnBUTTONask();
	afx_msg void OnButtonallpara();
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GEAR_PARA_MAIN_H__F6942CD8_73CA_4845_B95C_F609913FC666__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -