📄 ruledefineview.h
字号:
#if !defined(AFX_RULEDEFINEVIEW_H__9B18F1CF_DB84_407E_AB47_F467D8F29BB2__INCLUDED_)
#define AFX_RULEDEFINEVIEW_H__9B18F1CF_DB84_407E_AB47_F467D8F29BB2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RuleDefineView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CRuleDefineView form view
#include "TabSheet.h"
#include "RegRulePage.h"
#include "BlurRulePage.h"
#include "NetWorkPage.h"
#include "BlurMergePage.h"
//#include "MHDialog.h"
#include "ado.h"
#include "savefunDlg.h"
//先声明这三个类
class CRuleWizardView ;
class CNodeTreeView;
class CTipView ;
class CMainFrame;
//class CMHDialog;
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
class CRuleDefineView : public CFormView
{
protected:
CRuleDefineView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CRuleDefineView)
// Form Data
public:
//{{AFX_DATA(CRuleDefineView)
enum { IDD = IDD_RULEDEFINE_FORM };
CTabSheet m_cTabSheets;
CRegRulePage m_cRegPage;
CBlurRulePage m_cBlurPage;
CBlurMergePage m_cBlurMergePage;
CNetWorkPage m_cNetWorkPage;
CsavefunDlg m_csavefunDlg;
//}}AFX_DATA
// Attributes
public:
CView* GetView(CRuntimeClass* pClass);
bool SetCorMenu(int index);//改变相应功能切换菜单的选中项
bool SetBasicInfo(CString strObjname,CString strNodename,int levelnum,int nodeorder);
bool ShowRegRules();
bool ClearEditBox();
bool SetRegRule(CString str);
bool SetBlurRule(CString str);
bool SetBlurFun(int ntype);
bool SetFun(int ntype);
CString getid();
CString GetRegRule();
CString GetBlurRule();
bool SetRegDefaultOrder(int order);
void SetDefaultOrderNo();
void GetRegRules();
void ShowImage(CString strName);
void GetBlurRules();
void GetFuseRules();
void GetCurBlurFun();
bool ShowBlurRules();
bool ShowFuseRules();
bool CheckRuleFormat(CString str);
void SetRegEditSel();
bool ShowBlurFun();
void GetBlurFun();
bool ShowFun();
void GetCurFun();
void savefun();
bool ShowRule();
void setnodesn();
void setoutnode();
private:
CRuleWizardView *m_pRwView;
CNodeTreeView *m_pNtView;
CTipView *m_pTipView;
CMainFrame *m_pMainWnd;
CADORecordset m_RecordSet;
CADORecordset m_RecordSetfun;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRuleDefineView)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CRuleDefineView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CRuleDefineView)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnSelchangeTab4sheets(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnButtonNew();
afx_msg void OnButtonSave();
afx_msg void OnKillfocusEditRegrule();
afx_msg void OnButtonLast();
afx_msg void OnButtonNext();
afx_msg void OnButtonDelete();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RULEDEFINEVIEW_H__9B18F1CF_DB84_407E_AB47_F467D8F29BB2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -