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

📄 tidedlg.h

📁 上海石洞口潮汐预测程序的MFC实现
💻 H
字号:
// TideDlg.h : header file
//

#if !defined(AFX_TIDEDLG_H__D3CE36CD_F0B8_43B0_8E5B_A2407C140E51__INCLUDED_)
#define AFX_TIDEDLG_H__D3CE36CD_F0B8_43B0_8E5B_A2407C140E51__INCLUDED_

#include "Calender.h"
#include "WinXPButtonST.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CTideDlg dialog

class CTideDlg : public CDialog
{
// Construction
public:
	CWinXPButtonST m_exitBtn;
	CWinXPButtonST m_forecastBtn;
	CTideDlg(CWnd* pParent = NULL);	// standard constructor

	CCalender m_calender;
/*public:
	int j,y,n;//闰年数 年份 日期序数
	int t;//时间,精确到分钟
	double t1,s,h,p,p1;//天文要素变量
	double V[12];//12个已选分潮的天文初相角
	double B[12];//12个已选分潮的角速率
	double f[12],u[12];//f[12]为12个分潮的交点因子;u[12]为天文相角的交角订正角
	double X[12],Y[12];//存放f[12]u[12]的相乘的积
	int k0[12],k1[12];
	int k2[12],k3[12],k4[12],k5[12];//12个分潮的5个杜德逊常数
	double H[1440];//一天之内每一分钟的潮高
*/

// Dialog Data
	//{{AFX_DATA(CTideDlg)
	enum { IDD = IDD_TIDE_DIALOG };
	CTime	m_time;
	int		m_year;
	int		m_month;
	int		m_day;
	CString	m_height1;
	CString	m_time1;
	CString	m_time2;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CTideDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnExitBtn();
	afx_msg void OnForecastBtn();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TIDEDLG_H__D3CE36CD_F0B8_43B0_8E5B_A2407C140E51__INCLUDED_)

⌨️ 快捷键说明

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