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

📄 condition.h

📁 本程序是基于winCE开发应用sqlite数据库 数据库在程序当中附有 可以在虚拟机以及设别上查看功能!WinCE编译通过
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -