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

📄 unit_cedlg.h

📁 度量衡转换器WCE 源代码。包含长度
💻 H
字号:
// unit_CEDlg.h : header file
//

#if !defined(AFX_UNIT_CEDLG_H__35E2F7C8_626D_11D2_8759_0000210056C3__INCLUDED_)
#define AFX_UNIT_CEDLG_H__35E2F7C8_626D_11D2_8759_0000210056C3__INCLUDED_

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

#include "resource.h"
#include "paredit.h"

/////////////////////////////////////////////////////////////////////////////
// CUnit_CEDlg dialog

class CUnit_CEDlg : public CDialog
{
// Construction
public:
	CUnit_CEDlg(CWnd* pParent = NULL);	// standard constructor
	
    void DoCalculate();
	void ChangePromptBetweenEC();

	BOOL IsTemperature();
protected:
	CParsedEdit edit1, edit2;
	int m_nActiveEdit;
	int m_nTimerID;
	
	
// Dialog Data
	//{{AFX_DATA(CUnit_CEDlg)
	enum { IDD = IDD_UNIT_CE_DIALOG };
	int		m_nCurUnitClass;
	int		m_nCurUnit1;
	int		m_nCurUnit2;
	double	m_dValue1;
	double	m_dValue2;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CUnit_CEDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnChangeEdit1();
	afx_msg void OnChangeEdit2();
	afx_msg void OnCalc();
	afx_msg void OnSelchangeComboUnit1();
	afx_msg void OnSelchangeComboUnit2();
	afx_msg void OnSelchangeComboClass();
	afx_msg void OnCalc2();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnClose();
	afx_msg void OnButtonHelp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_UNIT_CEDLG_H__35E2F7C8_626D_11D2_8759_0000210056C3__INCLUDED_)

⌨️ 快捷键说明

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