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

📄 computerdlg.h

📁 关于移动通信工程常用的计算工具
💻 H
字号:
// ComputerDlg.h : header file
//

#if !defined(AFX_COMPUTERDLG_H__4445E987_FECC_4D22_BCDA_84BCDDFDDFE4__INCLUDED_)
#define AFX_COMPUTERDLG_H__4445E987_FECC_4D22_BCDA_84BCDDFDDFE4__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CComputerDlg dialog
#include "MyTotalP.h"
#include "MyXLS.h"
#include "MybjC.h"
#include "MyLength.h"
#include "MyExplain.h"

#include "xShadeButton.h"
#include "MyConvert.h"

class CComputerDlg : public CDialog
{
// Construction
public:
	bool m_shift;//shift键按下
	bool m_finish;//完成运算
	bool m_counting;//正在运算
	char m_ch;//运算符
	double m_count1;
	double m_count2;
	double m_F;//频率
	CMyConvert * MyConvert;
	CMyLength * MyLength;
	CMyExplain * MyExplain;
	CMybjC * MybjC;
	CMyTotalP * MyTotalP;
	CMyXLS * MyXLS;
	bool m_dot;
	bool m_valid;
	CComputerDlg(CWnd* pParent = NULL);	// standard constructor
    bool m_z;  //正负
	int m_wdd;//判断W、dBm与dBμV 
// Dialog Data
	//{{AFX_DATA(CComputerDlg)
	enum { IDD = IDD_COMPUTER_DIALOG };
	CxShadeButton	m_convert;
	CxShadeButton	m_dotbutton;
	CxShadeButton	m_0button;
	CxShadeButton	m_3button;
	CxShadeButton	m_2button;
	CxShadeButton	m_1button;
	CxShadeButton	m_6button;
CxShadeButton	m_5button;
	CxShadeButton	m_4button;
	CxShadeButton	m_9button;
	CxShadeButton	m_8button;
	CxShadeButton	m_7button;
	CxShadeButton	m_zfbutton;
	CxShadeButton	m_logbutton;
	CxShadeButton	m_lnbutton;
	CxShadeButton	m_xybutton;
	CxShadeButton	m_ebutton;
	CxShadeButton	m_zbutton;
	CxShadeButton	m_fbutton;
	CxShadeButton	m_starbutton;
	CxShadeButton	m_divbutton;
	CxShadeButton	m_cbutton;
	CxShadeButton	m_backspace;
	CxShadeButton	m_MyLength;
	CxShadeButton	m_bjC;
	CxShadeButton	m_xls;
	CxShadeButton	m_totalw;
	CString	m_show;
	int		m_radio1;
	int		m_radio2;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CComputerDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CComputerDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnRadio1();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnButton5();
	afx_msg void OnButton6();
	afx_msg void OnButton7();
	afx_msg void OnButton8();
	afx_msg void OnButton9();
	afx_msg void OnButton10();
	afx_msg void OnButton12();
	afx_msg void OnButton11();
	afx_msg void OnButton13();
	afx_msg void OnRadio2();
	afx_msg void OnRadio3();
	afx_msg void OnButton14();
	afx_msg void OnButton15();
	afx_msg void OnButton16();
	afx_msg void OnButton17();
	afx_msg void OnButton18();
	afx_msg void OnRadio4();
	afx_msg void OnRadio5();
	afx_msg void OnRadio6();
	afx_msg void OnRadio7();
	afx_msg void OnButton22();
	afx_msg void OnButton21();
	afx_msg void OnButton20();
	afx_msg void OnButton19();
	afx_msg void OnButton23();
	afx_msg void OnButton24();
	afx_msg void OnP();
	afx_msg void Onsh();
	afx_msg void Oncq();
	afx_msg void Onlength();
	afx_msg void OnButton25();
	afx_msg void OnButton26();
	virtual void OnOK();
	afx_msg void Onexit();
	afx_msg void Onabout();
	afx_msg void OnHelp();
	afx_msg void OnButton27();
	afx_msg void OnconvertF();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_COMPUTERDLG_H__4445E987_FECC_4D22_BCDA_84BCDDFDDFE4__INCLUDED_)

⌨️ 快捷键说明

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