workpiece.h

来自「基于SQLSERVER2000的机械工艺数据库系统」· C头文件 代码 · 共 80 行

H
80
字号
#if !defined(AFX_WORKPIECE_H__69F53D73_2B7D_48B1_88CC_0305FBB4D4B7__INCLUDED_)
#define AFX_WORKPIECE_H__69F53D73_2B7D_48B1_88CC_0305FBB4D4B7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// WORKPIECE.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CWORKPIECE dialog

class CWORKPIECE : public CDialog
{
// Construction
public:
	CWORKPIECE(CWnd* pParent = NULL);   // standard constructor
    HBITMAP m_hBitmap;
// Dialog Data
	//{{AFX_DATA(CWORKPIECE)
	enum { IDD = IDD_WORKPIECE };
	CListCtrl	m_Pislist;
	CString	m_sPisID;
	CString	m_sPisname;
	CString	m_sPismateria;
	CString	m_sPispicdir;
	CString	m_sPiscard;
	CString	m_sPiscode;
	int flag;
	CWnd* tx_pisid;
	CWnd* tx_pisname;
	CWnd* tx_pistype;
    CWnd* tx_pismateria;
	CWnd* tx_pisrigid;
    CWnd* tx_machinetype;
    CWnd* tx_picdir;
	CWnd* tx_piscard;
    CWnd* tx_piscode;
	CWnd* bt_add;
	CWnd* bt_save;
	CWnd* bt_modify;
	CWnd* bt_delete;
	CWnd* bt_browse;
	CString	m_sPistype;
	CString	m_sPisrigid;
	CString	m_sMachinetype;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CWORKPIECE)
	afx_msg void OnWorkpieceAdd();
	afx_msg void OnWorkpieceBrowse();
	afx_msg void OnWorkpieceDelete();
	afx_msg void OnWorkpieceModify();
	afx_msg void OnWorkpieceSAVE();
	afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CString m_sOldPisid;
};

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

#endif // !defined(AFX_WORKPIECE_H__69F53D73_2B7D_48B1_88CC_0305FBB4D4B7__INCLUDED_)

⌨️ 快捷键说明

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