📄 sdlg.h
字号:
// sDlg.h : header file
//
#if !defined(AFX_SDLG_H__E6BE8C33_FE5B_48EA_B60B_33C80D4B2214__INCLUDED_)
#define AFX_SDLG_H__E6BE8C33_FE5B_48EA_B60B_33C80D4B2214__INCLUDED_
#include "StdAfx.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CSDlg dialog
#include "finddata.h"
#include "SetStaticColor.h"
#include "Mybutton.h"
class CSDlg : public CDialog
{
// Construction
public:
CBrush m_brush;
void SetEditROnly(BOOL m_show);
BOOL SameBaseinModify(CStringList &m_list);
CString xh;
BOOL SameDataBase(CStringList &m_list);
void SetSame();
void ModifyDatabase();
BOOL modify;
BOOL DeleDataBase();
void ReSetEdit();
BOOL bonew;
void SetStitleToList(CStringList &m_list,stitle m_stitle);
void GetDataBase(CStringList &m_list);
void AddData();
void ShowEditData();
stitle SetListtostitle(CStringList &m_list);
// CStringList m_stlist;
stitle GetEditData();
void SetEditdata(stitle m_stitle);
BOOL OpenDatabase();
finddata m_find;
_RecordsetPtr m_Recordset;
Fields * GetField(_RecordsetPtr m_Recordset1);
static CString title[];
CSDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSDlg)
enum { IDD = IDD_S_DIALOG };
CComboBox m_combo1;
CSetStaticColor m_staticall2;
Mybutton m_butfirst;
CSetStaticColor m_staticall;
CSetStaticColor m_static9;
CSetStaticColor m_static8;
CSetStaticColor m_static7;
CSetStaticColor m_static6;
CSetStaticColor m_static5;
CSetStaticColor m_static4;
CSetStaticColor m_static3;
CSetStaticColor m_static2;
CSetStaticColor m_static16;
CSetStaticColor m_static15;
CSetStaticColor m_static14;
CSetStaticColor m_static13;
CSetStaticColor m_static12;
CSetStaticColor m_static11;
CSetStaticColor m_static10;
CSetStaticColor m_static1;
Mybutton m_butexit;
Mybutton m_butup;
Mybutton m_butnext;
Mybutton m_butmodify;
Mybutton m_butlast;
Mybutton m_butfind;
Mybutton m_butdel;
Mybutton m_butadd;
CEdit m_edit9;
CEdit m_edit8;
CEdit m_edit7;
CEdit m_edit6;
CEdit m_edit5;
CEdit m_edit4;
CEdit m_edit3;
CEdit m_edit2;
CEdit m_edit16;
CEdit m_edit15;
CEdit m_edit14;
CEdit m_edit13;
CEdit m_edit12;
CEdit m_edit11;
CEdit m_edit10;
CEdit m_edit1;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CSDlg)
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnBuexit();
virtual BOOL OnInitDialog();
afx_msg void OnButfirst();
afx_msg void OnButup();
afx_msg void OnButnext();
afx_msg void OnButlast();
afx_msg void OnButfind();
afx_msg void OnButadd();
afx_msg void OnButdel();
afx_msg void OnButmodify();
afx_msg void OnKillfocusEdit1();
afx_msg void OnKillfocusEdit2();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnButton1();
afx_msg void OnButtfirst();
afx_msg void OnKillfocusCombo1();
afx_msg void OnSetfocusCombo1();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SDLG_H__E6BE8C33_FE5B_48EA_B60B_33C80D4B2214__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -