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

📄 oiltransdlg.h

📁 本程序是采用VC++和Mysql编写的一款油量换算软件
💻 H
字号:
// OilTransDlg.h : header file
//

#if !defined(AFX_OILTRANSDLG_H__154052FC_254F_45A6_9E29_6C349960B233__INCLUDED_)
#define AFX_OILTRANSDLG_H__154052FC_254F_45A6_9E29_6C349960B233__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "MyTab.h"
#include "CmpDlg.h"
#include "SysSetDlg.h"
#include "TankDlg.h"

/////////////////////////////////////////////////////////////////////////////
// COilTransDlg dialog
typedef struct Sys_Attri
{
	BOOL bDB;
	CString sDBName;
	int nTankNum;
	int nTankOil[8];
    BOOL bTankC;
	BOOL bSR;
	BOOL bSAVE;
	BOOL bInfo;
}CSys;

class COilTransDlg : public CDialog
{
// Construction
public:
	void UpdateSR(BOOL b);
	
	void UpdateTankC(BOOL b);
	void UpdateOT(int nN,int nO);
	void UpdateTankN(int n);
	void UpdateDBB(BOOL b);
	void UpdateDBN(CString s);
	CSys theSys;
	void SetCheckO(BOOL bT);
	COilTransDlg(CWnd* pParent = NULL);	// standard constructor
    virtual ~COilTransDlg();
	//CLogoInfo logoInfo;
// Dialog Data
	//{{AFX_DATA(COilTransDlg)
	enum { IDD = IDD_OILTRANS_DIALOG };
	CMyTab	m_cTab;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(COilTransDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	afx_msg LONG OnGetTV(WPARAM ch, LPARAM mark);
	afx_msg LONG OnGetDB(WPARAM ch, LPARAM mark);
	afx_msg LONG OnGetDBN(WPARAM ch, LPARAM mark);
	afx_msg LONG OnGetSR(WPARAM ch, LPARAM mark);
	afx_msg LONG OnGetSave(WPARAM ch, LPARAM mark);
	afx_msg LONG OnNewTank(WPARAM ch, LPARAM mark);
	afx_msg LONG OnNewTankOil(WPARAM ch, LPARAM mark);
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(COilTransDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void Save();
	CCmpDlg *m_dlgCmp;
	CSysSetDlg *m_dlgSet;
	CTankDlg *m_dlgTank;

	

};

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

#endif // !defined(AFX_OILTRANSDLG_H__154052FC_254F_45A6_9E29_6C349960B233__INCLUDED_)

⌨️ 快捷键说明

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