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

📄 gasstationdlg.h

📁 只是老师布置的一个作业而已。VC下编写的加油站系统
💻 H
字号:
// GasStationDlg.h : header file
//

#if !defined(AFX_LIBMISDLG_H__BA11FE45_C51C_4C5C_BBCE_2E45BD13E105__INCLUDED_)
#define AFX_LIBMISDLG_H__BA11FE45_C51C_4C5C_BBCE_2E45BD13E105__INCLUDED_

#include "WorkerMgrDlg.h"
#include "DepotMgrDlg.h"
#include "MemberMgrDlg.h"
#include "GasTypeMgrDlg.h"
#include "StockRecordDlg.h"
#include "SellRecordDlg.h"
#include "StorageQueryDlg.h"
#include "AccountMgrDlg.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CGasStationDlg dialog

class CGasStationDlg : public CDialog
{
// Construction
public:
	CGasStationDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CGasStationDlg)
	enum { IDD = IDD_GAS_STATION_DIALOG };
	CButton	m_btnWorkerMgr;
	CButton	m_btnStorageQuery;
	CButton	m_btnStockRecord;
	CButton	m_btnSellRecord;
	CButton	m_btnMemberMgr;
	CButton	m_btnGasTypeMgr;
	CButton	m_btnDepotMgr;
	CButton	m_btnAccountMgr;
	CButton	m_btnLogin;
	//}}AFX_DATA

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

// Implementation
protected:
	BOOL InitChildDialog();
	BOOL ConnectToSQLServer(BOOL bConnected);
	HICON m_hIcon;
	CWorkerMgrDlg m_workerMgrDlg;
	CDepotMgrDlg m_depotMgrDlg;
	CMemberMgrDlg m_memberMgrDlg;
	CGasTypeMgrDlg m_gasTypeMgrDlg;
	CStorageQueryDlg m_storageQueryDlg;
	CAccountMgrDlg m_accountMgrDlg;

	// Generated message map functions
	//{{AFX_MSG(CGasStationDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnLogin();
	afx_msg void OnWorkerMgr();
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg void OnDepotMgr();
	afx_msg void OnMemberMgr();
	afx_msg void OnGasTypeMgr();
	afx_msg void OnStockRecord();
	afx_msg void OnSellRecord();
	afx_msg void OnStorageQuery();
	afx_msg void OnAccountMgr();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_LIBMISDLG_H__BA11FE45_C51C_4C5C_BBCE_2E45BD13E105__INCLUDED_)

⌨️ 快捷键说明

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