📄 s8_1view.h
字号:
// S8_1View.h : interface of the CS8_1View class
//
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "labelcontrol.h"
//}}AFX_INCLUDES
#if !defined(AFX_S8_1VIEW_H__35E21018_8040_45EA_BCE9_D2BB05C3F7EC__INCLUDED_)
#define AFX_S8_1VIEW_H__35E21018_8040_45EA_BCE9_D2BB05C3F7EC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CS8_1View : public CFormView
{
protected: // create from serialization only
CS8_1View();
DECLARE_DYNCREATE(CS8_1View)
public:
//{{AFX_DATA(CS8_1View)
enum { IDD = IDD_S8_1_FORM };
CComboBox m_MonthList;
CString m_sNote;
int m_nMonthProduct;
CString m_sRiseRate;
int m_nYear;
CLabelControl m_YearProduct;
//}}AFX_DATA
//代码编写开始
private:
int m_nCurrentMonth;
//代码编写结束
// Attributes
public:
CS8_1Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CS8_1View)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CS8_1View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CS8_1View)
afx_msg void OnChangeMonthNoteEdit();
afx_msg void OnChangeMonthProductEdit();
afx_msg void OnChangeYearEdit();
afx_msg void OnDeltaposYearSpin(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnSelchangeMonthCombox();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in S8_1View.cpp
inline CS8_1Doc* CS8_1View::GetDocument()
{ return (CS8_1Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_S8_1VIEW_H__35E21018_8040_45EA_BCE9_D2BB05C3F7EC__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -