exceleditdlg.h
来自「快餐管理系统 这个快餐管理系统,实现了实际数据库管理功能,能给相关开发的朋友提」· C头文件 代码 · 共 80 行
H
80 行
#if !defined(AFX_EXCELEDITDLG_H__F4EF252F_D49A_481C_B0F7_6D3E033D5C64__INCLUDED_)
#define AFX_EXCELEDITDLG_H__F4EF252F_D49A_481C_B0F7_6D3E033D5C64__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ExcelEditDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// ExcelEditDlg dialog
class ExcelEditDlg : public CDialog
{
// Construction
public:
ExcelEditDlg(CListCtrl* Grid,CWnd* pParent = NULL); // standard constructor
void Enable(bool flag = true);
void Match(CString &str, COleVariant vResult);
// Dialog Data
//{{AFX_DATA(ExcelEditDlg)
enum { IDD = IDD_EDIT_INFOR_DIALOG };
CButton m_Undo_Button;
CButton m_Update_Button;
CButton m_Save_Button;
CButton m_Delete_Button;
CButton m_Add_Button;
CEdit m_Type;
CEdit m_Pack;
CEdit m_Memo;
CEdit m_LotNo;
CEdit m_Count;
CEdit m_Brand;
COLORREF m_Color;
//}}AFX_DATA
CListCtrl* m_pGrid;
CString smType;
CString smBrand;
CString smLotNo;
CString smCount;
CString smPack;
CString smMemo;
/* to flag update or Add */
int action; // 1 -> Insert, 2 -> Update, 3 -> Delete
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(ExcelEditDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(ExcelEditDlg)
afx_msg void OnExitButton();
afx_msg void OnAddButton();
virtual BOOL OnInitDialog();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnUpdateButton();
afx_msg void OnUndoButton();
afx_msg void OnSaveButton();
afx_msg void OnDeleteButton();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EXCELEDITDLG_H__F4EF252F_D49A_481C_B0F7_6D3E033D5C64__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?