rtrtrtrtrtrtdlg.h
来自「利用MFC编写的简单的库存系统」· C头文件 代码 · 共 99 行
H
99 行
// rtrtrtrtrtrtDlg.h : header file
//
#if !defined(AFX_RTRTRTRTRTRTDLG_H__7A7CD648_0FCA_4F55_9296_55E847EBE249__INCLUDED_)
#define AFX_RTRTRTRTRTRTDLG_H__7A7CD648_0FCA_4F55_9296_55E847EBE249__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CRtrtrtrtrtrtDlg dialog
struct goods
{
char num[10];
char amount[10];
char price[10];
char name[50];
};
struct sale
{
char code[10];
char num[10];
char sales[5];
char amount[5];
};
class CRtrtrtrtrtrtDlg : public CDialog
{
// Construction
public:
void DataInit();
FILE *fp;
int iCount;
bool bNewFile;
bool bFileEmpty;
bool bFileModified;
CRtrtrtrtrtrtDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CRtrtrtrtrtrtDlg)
enum { IDD = IDD_RTRTRTRTRTRT_DIALOG };
CListBox m_jiaoyilist;
CListBox m_seeklist;
CListBox m_salelist;
CListBox m_goodslist;
int m_zhao;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRtrtrtrtrtrtDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CRtrtrtrtrtrtDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnOpen();
afx_msg void OnPailie();
afx_msg void OnSeek();
afx_msg void OnChangeZhao();
afx_msg void OnJiaoyi();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RTRTRTRTRTRTDLG_H__7A7CD648_0FCA_4F55_9296_55E847EBE249__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?