📄 数据库dlg.h
字号:
// 数据库Dlg.h : header file
//
#if !defined(AFX_DLG_H__623495CF_667A_4061_9D03_BDA8B5BA9799__INCLUDED_)
#define AFX_DLG_H__623495CF_667A_4061_9D03_BDA8B5BA9799__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CMyDlg dialog
class CMyDlg : public CDialog
{
// Construction
public:
CString fileprint;
CString filepath;
int zuozhe;
void CMyDlg::close(CDaoRecordset rs,CDaoTableDef m_table);
int couters;
void open();
CDaoTableDef *m_table;
CDaoRecordset *rs;
CDaoTableDef *m_table2;
CDaoRecordset *rs2;
CString database1;
CString patient;
CString thing;
CString doctor;
CMyDlg(CWnd* pParent = NULL); // standard constructor
CDaoDatabase m_db;
// Dialog Data
//{{AFX_DATA(CMyDlg)
enum { IDD = IDD_MY_DIALOG };
CStatic m_picture;
CButton m_getmoney;
CListBox m_list2;
CListBox m_list1;
CEdit m_givenmoneycontrol;
CEdit m_doctorcontrol;
CEdit m_eatpillcontrol;
CEdit m_patientcontrol;
CEdit m_thingcontrol;
CStatic m_zuozhe;
CEdit m_moneys;
CEdit m_pills;
CString m_thing;
CString m_patient;
CString m_pill;
CString m_doctor;
double m_money;
CString m_eatpill;
double m_givenmoney;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMyDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void Onnewdef();
afx_msg void Onopendef();
afx_msg void Onfirstrecord();
afx_msg void Onlastrecord();
afx_msg void Onnextrecord();
afx_msg void Onpre();
afx_msg void Onfindrecord();
afx_msg void Oninsetrecord();
afx_msg void Onmaderecord();
afx_msg void Onprintrecord();
afx_msg void Onrecordcouter();
afx_msg void OnClose();
afx_msg void Ondeleterecord();
afx_msg void Onfirstrecord2();
afx_msg void Onlastrecord2();
afx_msg void Onnextrecord2();
afx_msg void Onpre2();
afx_msg void OnClose2();
afx_msg void Ondeleterecord2();
afx_msg void Onfindrecord2();
afx_msg void Oninsetrecord2();
afx_msg void Onmaderecord2();
afx_msg void Onopendef2();
afx_msg void Onprintrecord2();
afx_msg void Onrecordcouter2();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnChangepill();
afx_msg void OnButton1();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLG_H__623495CF_667A_4061_9D03_BDA8B5BA9799__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -