?? oiltransdlg.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 + -