condition.h

来自「本程序是基于winCE开发应用sqlite数据库 数据库在程序当中附有 可以在虚」· C头文件 代码 · 共 81 行

H
81
字号
#if !defined(AFX_CONDITION_H__0993D1DF_92F8_4585_AF68_DE41F905A47C__INCLUDED_)
#define AFX_CONDITION_H__0993D1DF_92F8_4585_AF68_DE41F905A47C__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CCondition dialog
#include "sqlite3.h"

class CCondition : public CPropertyPage
{
	DECLARE_DYNCREATE(CCondition)

// Construction
public:
	CCondition();
	~CCondition();
	void OpenSqlite();
	int GetByteValue(CString value);
	
	CString GetAddStart();
	CString GetAddEnd();
	CString GetAddWeek();
	CString GetAddCompany();


// Dialog Data
	//{{AFX_DATA(CCondition)
	enum { IDD = IDD_CONDITION };
	CComboBox	m_Company;
	CDateTimeCtrl	m_DataCtr;
	CComboBox	m_AddEnd;
	CComboBox m_AddStart;
	CButton	m_Train;
	CButton	m_Airplane;

	CStatic m_StaticAddStart;
	CStatic m_StaticAddEnd;
	CStatic m_StaticData;
	CStatic m_StaticCompany;
	sqlite3 *db;
	//}}AFX_DATA


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

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CCondition)
	virtual BOOL OnInitDialog();
	afx_msg void OnDropdownCOMBOStart();
	afx_msg void OnDropdownCOMBOEnd();
	afx_msg void OnEditchangeCOMBOStart();
	afx_msg void OnCloseupCOMBOStart();
	afx_msg void OnCloseupCOMBOEnd();
	afx_msg void OnEditchangeCOMBOEnd();
	afx_msg void OnEditchangeCOMBOCompany();
	afx_msg void OnCloseupCOMBOCompany();
	afx_msg void OnDatetimechangeDATETIMStart(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnPaint();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

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

#endif // !defined(AFX_CONDITION_H__0993D1DF_92F8_4585_AF68_DE41F905A47C__INCLUDED_)

⌨️ 快捷键说明

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