action.h

来自「根据客户提供的轮胎规格,单价,完成天数计算价格,并形成记录,可根据记录自行选择轮」· C头文件 代码 · 共 93 行

H
93 行
字号
#if !defined(AFX_ACTION_H__EABF9C48_6EC3_4F59_A3A8_1EEA40AC5759__INCLUDED_)
#define AFX_ACTION_H__EABF9C48_6EC3_4F59_A3A8_1EEA40AC5759__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// action.h : header file
//
#include "fstream.h"
/////////////////////////////////////////////////////////////////////////////
// action dialog

class action : public CDialog
{
// Construction
public:
	int compare(CString a, CString b);
	CString dateyear(CString date,int n);
	float num;
	void clean();
	CString readnote(fstream &files);
	action(CWnd* pParent = NULL);
	int page;
	// standard constructor

// Dialog Data
	//{{AFX_DATA(action)
	enum { IDD = IDD_DIALOG3 };
	CString	m_mtype1;
	CString	m_mtype2;
	CString	m_mtype3;
	CString	m_meach1;
	CString	m_meach2;
	CString	m_meach3;
	CString	m_meach4;
	CString	m_meach5;
	CString	m_mprice1;
	CString	m_mprice2;
	CString	m_mprice3;
	CString	m_mprice4;
	CString	m_mprice5;
	CString	m_mtime1;
	CString	m_mtime2;
	CString	m_mtime3;
	CString	m_mtime4;
	CString	m_mtime5;
	CString	m_mtime6;
	CString	m_mtime7;
	CString	m_mtime8;
	CString	m_mtime9;
	CString	m_mtime10;
	CString	m_mtype4;
	CString	m_mtype5;
	BOOL	m_chk1;
	BOOL	m_chk2;
	BOOL	m_chk3;
	BOOL	m_chk4;
	BOOL	m_chk5;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(action)
	afx_msg void OnOk4();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnCancel3();
	afx_msg void OnChangeEdit2();
	afx_msg void OnChangeEdit5();
	afx_msg void OnChangeEdit8();
	afx_msg void OnChangeEdit11();
	afx_msg void OnChangeEdit14();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_ACTION_H__EABF9C48_6EC3_4F59_A3A8_1EEA40AC5759__INCLUDED_)

⌨️ 快捷键说明

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