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

📄 ticketdlg.h

📁 一个好的旅游管理系统,分享一下.不错的啊 .
💻 H
字号:
#if !defined(AFX_TICKETDLG_H__84E61842_88C0_11D8_9001_00D0F83032C6__INCLUDED_)
#define AFX_TICKETDLG_H__84E61842_88C0_11D8_9001_00D0F83032C6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TICKETDLG.h : header file
//
#include "TicketDlgSet.h"
/////////////////////////////////////////////////////////////////////////////
// TICKETDLG dialog

class TICKETDLG : public CDialog
{
// Construction
public:
	TICKETDLG(CWnd* pParent = NULL);   // standard constructor
    
    CDatabase*  m_database;
     TicketDlgSet * m_pSet;
	void getdata();
	void SetButtonState();
	BOOL IsFirstRecord();
    BOOL IsLastRecord();
	void SetEdit(bool bFlag);
	void Clear();
    void SetButtonText(BOOL blSet);
	void SetValue();	
    void SetNavButtonVisible(int isVisible);
	BOOL isEmpty();
	void SetNoRecordBtnState();
	BOOL isEdit;
	BOOL isAdd;







// Dialog Data
	//{{AFX_DATA(TICKETDLG)
	enum { IDD = IDD_TICKETDLG };
	CHuXpButton	m_ok;
	CHuXpButton	m_pre;
	CHuXpButton	m_next;
	CHuXpButton	m_last;
	CHuXpButton	m_first;
	CHuXpButton	m_edit;
	CHuXpButton	m_del;
	CHuXpButton	m_add;
	CString	m_adultprice;
	CString	m_childprice;
	CString	m_jitiprice;
	CString	m_resname;
	CString	m_stuprice;
	CString	m_beizhu;
	int		m_id;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(TICKETDLG)
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	virtual BOOL OnInitDialog();
	afx_msg void OnPre();
	afx_msg void OnNext();
	afx_msg void OnLast();
	afx_msg void OnFirst();
	afx_msg void OnAdd();
	afx_msg void OnDel();
	afx_msg void OnEdit();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TICKETDLG_H__84E61842_88C0_11D8_9001_00D0F83032C6__INCLUDED_)

⌨️ 快捷键说明

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