📄 daoworkdlg.h
字号:
// DaoWorkDlg.h : header file
//
#if !defined(AFX_DAOWORKDLG_H__C3ED7014_A9C1_48AD_8DFD_BF5D06170061__INCLUDED_)
#define AFX_DAOWORKDLG_H__C3ED7014_A9C1_48AD_8DFD_BF5D06170061__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CDaoWorkDlg dialog
#include "afxdao.h"
class CDaoWorkDlg : public CDialog
{
// Construction
public:
CDaoWorkDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDaoWorkDlg)
enum { IDD = IDD_DAOWORK_DIALOG };
CComboBox m_sample2;
CComboBox m_sample1;
CComboBox m_instrument;
CComboBox m_customerunits;
CComboBox m_customer;
CTreeCtrl m_tree;
CListCtrl m_list;
CTabCtrl m_tab1;
CTabCtrl m_tab2;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDaoWorkDlg)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CDaoWorkDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnSelchangedTree1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnSelchangeTab1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnSelchangeTab2(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg BOOL OnDatabaseLink();
afx_msg void OnButtonCustomerunits();
afx_msg void OnButtonCustomer();
afx_msg void OnButtonSample1();
afx_msg void OnButtonSample2instrument();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
int *x, *y, m_length;
HTREEITEM PreSelected;
CRect rectDraw;
CString m_filepathname;
CDaoDatabase m_MyDatabase;
BOOL bError;
BOOL bDraw;
BOOL InitCtrl();
int FindBalance(int *a, int length, int n);
BOOL DrawLine(CDC *pDC, CPoint O, CSize Range, int *x, int *y, int length);
BOOL IsError(CString strFilePathName);
BOOL Init();
LPCTSTR strBOOL(BOOL bFlag);
CString strVARIANT(const COleVariant &var);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DAOWORKDLG_H__C3ED7014_A9C1_48AD_8DFD_BF5D06170061__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -